Skip to content

Commit 018a886

Browse files
committed
convert to Sub::Quote
1 parent 0567d9b commit 018a886

File tree

153 files changed

+135
-12074
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+135
-12074
lines changed

.appveyor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,3 @@ build: off
2626

2727
test_script:
2828
- 'prove -lv t xt'
29-
- 'set MOO_XS_DISABLE=1'
30-
- 'prove -lv t xt'

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*~
1111
*#
1212
.#*
13-
/Moo-*/
14-
/Moo-*.tar.gz
13+
/Sub-Quote-*/
14+
/Sub-Quote-*.tar.gz
1515
/cover_db/
1616
/_eumm/
1717

.proverc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,7 @@ matrix:
2323
env: AUTHOR_TESTING=0
2424
sudo: false
2525
before_install:
26-
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
27-
- source ~/travis-perl-helpers/init
28-
- build-perl
29-
- perl -V
30-
- build-dist
31-
- cd $BUILD_DIR
32-
install:
33-
- cpan-install ExtUtils::MakeMaker~6.68 git://github.com/moose/Role-Tiny
34-
- cpan-install git://git.shadowcat.co.uk/p5sagit/strictures.git
35-
- cpan-install --deps
36-
- cpan-install --coverage
37-
before_script:
38-
- coverage-setup
39-
script:
40-
- export MOO_FATAL_WARNINGS=1
41-
- prove -lv $(test-dirs)
42-
- MOO_XS_DISABLE=1 prove -lv $(test-dirs)
43-
after_success:
44-
- coverage-report
26+
- eval $(curl https://travis-perl.github.io/init) --auto
4527
branches:
4628
except:
4729
- /^wip\//

Changes

Lines changed: 3 additions & 557 deletions
Large diffs are not rendered by default.

Makefile.PL

Lines changed: 6 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use warnings FATAL => 'all';
33
use 5.006;
44

55
my %META = (
6-
name => 'Moo',
6+
name => 'Sub-Quote',
77
license => 'perl_5',
88
prereqs => {
99
configure => { requires => {
@@ -16,101 +16,45 @@ my %META = (
1616
'Test::More' => 0.94,
1717
'Test::Fatal' => 0.003,
1818
},
19-
recommends => {
20-
'CPAN::Meta' => 0,
21-
'CPAN::Meta::Requirements' => 0,
22-
},
2319
},
2420
runtime => {
2521
requires => {
26-
'Class::Method::Modifiers' => 1.10, # for RT#80194
27-
'Module::Runtime' => 0.014, # for RT#86394
28-
'Role::Tiny' => 2.000004,
29-
'Devel::GlobalDestruction' => 0.11, # for RT#78617
3022
'Scalar::Util' => 0,
3123
'perl' => 5.006,
32-
'Exporter' => 5.57, # Import 'import'
3324
},
3425
recommends => {
35-
'Class::XSAccessor' => 1.18,
3626
'Sub::Name' => 0.08,
37-
'strictures' => 2,
3827
},
3928
},
4029
develop => {
41-
requires => {
42-
'strictures' => 2,
43-
'indirect' => 0,
44-
'multidimensional' => 0,
45-
'bareword::filehandles' => 0,
46-
'Moose' => 0,
47-
'Mouse' => 0,
48-
'namespace::clean' => 0,
49-
'namespace::autoclean' => 0,
50-
'MooseX::Types::Common::Numeric' => 0,
51-
'Type::Tiny' => 0,
52-
'Class::Tiny' => 1.001,
53-
},
30+
requires => {},
5431
},
5532
},
5633
resources => {
5734
repository => {
58-
url => 'https://github.com/moose/Moo.git',
59-
web => 'https://github.com/moose/Moo',
35+
url => 'https://github.com/moose/Sub-Quote.git',
36+
web => 'https://github.com/moose/Sub-Quote',
6037
type => 'git',
6138
},
6239
x_IRC => 'irc://irc.perl.org/#moose',
6340
bugtracker => {
64-
web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Moo',
65-
mailto => 'bug-Moo@rt.cpan.org',
41+
web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Sub-Quote',
42+
mailto => 'bug-Sub-Quote@rt.cpan.org',
6643
},
6744
license => [ 'http://dev.perl.org/licenses/' ],
6845
},
6946
no_index => {
7047
directory => [ 't', 'xt' ]
7148
},
72-
x_breaks => {
73-
'HTML::Restrict' => '== 2.1.5',
74-
'MySQL::Workbench::Parser' => '<= 0.05',
75-
'MooX::Emulate::Class::Accessor::Fast' => '<= 0.02',
76-
'WebService::Shutterstock' => '<= 0.006',
77-
'File::DataClass' => '<= 0.54.1',
78-
'App::Commando' => '<= 0.012',
79-
},
8049
x_authority => 'cpan:MSTROUT',
81-
x_cpants => { ignore => {
82-
use_strict => 'internal module used to apply strict',
83-
use_warnings => 'internal module used to apply warnings',
84-
} },
8550
);
8651

8752
my %MM_ARGS = (
8853
PREREQ_PM => {
8954
("$]" >= 5.008_000 ? () : ('Task::Weaken' => 0)),
90-
("$]" >= 5.010_000 ? () : ('MRO::Compat' => 0)),
9155
},
9256
);
9357

94-
{
95-
package MY;
96-
97-
sub test_via_harness {
98-
my($self, $perl, $tests) = @_;
99-
$perl .= ' -I'.$self->catdir('t','lib').' "-MTestEnv=$(MOO_TEST_ENV)"';
100-
return $self->SUPER::test_via_harness($perl, $tests);
101-
}
102-
103-
sub postamble {
104-
my $MOO_TEST_ENV = !-f 'META.yml' ? "MOO_FATAL_WARNINGS" : '';
105-
<<"POSTAMBLE";
106-
MOO_TEST_ENV=$MOO_TEST_ENV
107-
fulltest: test test_no_xs
108-
test_no_xs: pure_all
109-
\t\$(NOECHO)\$(MAKE) test MOO_TEST_ENV="\$(MOO_TEST_ENV),MOO_XS_DISABLE"
110-
POSTAMBLE
111-
}
112-
}
113-
11458
## BOILERPLATE ###############################################################
11559
require ExtUtils::MakeMaker;
11660
(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Moo
1+
Sub::Quote
22
===
3-
Moo is a minimalist Object Orientation system for Perl 5 that aims to be fully
4-
interoperable with Moose.
3+
Sub::Quote is used for generation of subs via string eval. This includes
4+
allowing for closed over variables and inlining. Used heavily by Moo for code
5+
generation.
56

6-
* [Moo on CPAN](https://metacpan.org/pod/Moo) contains the main documentation
7-
* [Role::Tiny on CPAN](https://metacpan.org/pod/Role::Tiny)
8-
* [Moose on CPAN](https://metacpan.org/pod/Moose)
7+
* [Sub::Quote on CPAN](https://metacpan.org/pod/Sub::Quote) contains the main documentation
8+
* [Moo on CPAN](https://metacpan.org/pod/Moo) contains the Moo documentation
99

1010
--------
11-
[![Travis Build Status](https://travis-ci.org/moose/Moo.png?branch=master)](https://travis-ci.org/moose/Moo)
12-
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/github/moose/Moo?branch=master&svg=true)](https://ci.appveyor.com/project/moose/moo/branch/master)
13-
[![Coverage Status](http://codecov.io/github/moose/Moo/coverage.svg?branch=master)](http://codecov.io/github/moose/Moo?branch=master)
14-
[![CPAN version](https://badge.fury.io/pl/Moo.svg)](https://metacpan.org/pod/Moo)
11+
[![Travis Build Status](https://travis-ci.org/moose/Sub-Quote.png?branch=master)](https://travis-ci.org/moose/Sub-Quote)
12+
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/github/moose/Sub-Quote?branch=master&svg=true)](https://ci.appveyor.com/project/moose/sub-quote/branch/master)
13+
[![Coverage Status](http://codecov.io/github/moose/Sub-Quote/coverage.svg?branch=master)](http://codecov.io/github/moose/Sub-Quote?branch=master)
14+
[![CPAN version](https://badge.fury.io/pl/Sub-Quote.svg)](https://metacpan.org/pod/Sub-Quote)

benchmark/class_factory

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)