projects
/
gitmo/MooseX-Singleton.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b264623
)
some changes to work the next Moose, making constructor inlining work
Dave Rolsky [Thu, 4 Dec 2008 21:44:13 +0000 (21:44 +0000)]
Makefile.PL
patch
|
blob
|
blame
|
history
lib/MooseX/Singleton/Meta/Method/Constructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
362d291
..
2bebe13
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-5,7
+5,7
@@
use inc::Module::Install;
name 'MooseX-Singleton';
all_from 'lib/MooseX/Singleton.pm';
-requires 'Moose' => '0.58';
+requires 'Moose' => '0.63';
build_requires 'Test::More';
build_requires 'Test::Exception';
diff --git
a/lib/MooseX/Singleton/Meta/Method/Constructor.pm
b/lib/MooseX/Singleton/Meta/Method/Constructor.pm
index
6e83444
..
e95e318
100644
(file)
--- a/
lib/MooseX/Singleton/Meta/Method/Constructor.pm
+++ b/
lib/MooseX/Singleton/Meta/Method/Constructor.pm
@@
-72,6
+72,10
@@
sub initialize_body {
$self->{'body'} = $code;
}
+sub _expected_constructor_class {
+ return 'MooseX::Singleton::Object';
+}
+
no Moose;
1;