Require Moose 0.41 since that's the first one with the right spelling
of the method.
0.08
- fix make_immutable keyword in test (Sartak)
+ - immutable singleton objects did not call triggers in the constructor (Dave Rolsky)
+ - fix immutability to actually work with modern Moose 0.41+ (Dave Rolsky)
0.07 2008-03-07
- bump Moose dep to 0.37 because that's when we got make_immutable (Sartak)
name 'MooseX-Singleton';
all_from 'lib/MooseX/Singleton.pm';
-requires 'Moose' => '0.37';
+requires 'Moose' => '0.41';
build_requires 'Test::More';
build_requires 'Test::Exception';
extends 'Moose::Meta::Method::Constructor';
-sub intialize_body {
+sub initialize_body {
my $self = shift;
# TODO:
# the %options should also include a both