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
lib/MooseX/Singleton/Meta/Method/Constructor.pm

index 362d291..2bebe13 100644 (file)
@@ -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';
index 6e83444..e95e318 100644 (file)
@@ -72,6 +72,10 @@ sub initialize_body {
     $self->{'body'} = $code;
 }
 
+sub _expected_constructor_class {
+    return 'MooseX::Singleton::Object';
+}
+
 no Moose;
 
 1;