From: Hans Dieter Pearcey Date: Wed, 8 Apr 2009 20:28:30 +0000 (-0400) Subject: update for latest moose X-Git-Tag: 0_17~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e2dcd71d32b47ac5bcf91b6b61f859164efd37e7;p=gitmo%2FMooseX-Getopt.git update for latest moose --- diff --git a/ChangeLog b/ChangeLog index fa314d8..7bbc2ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Revision history for Perl extension MooseX-Getopt +0.17 + * MooseX::Getopt + - work with latest Moose (hdp) + 0.16 Tue. February 17 2009 * t/ - run pod tests only if RELEASE_TESTING env var is set diff --git a/Makefile.PL b/Makefile.PL index 6015a1f..3ab0c74 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,7 +5,7 @@ license 'perl'; all_from 'lib/MooseX/Getopt.pm'; -requires 'Moose' => '0.43'; +requires 'Moose' => '0.56'; requires 'Getopt::Long' => '2.37'; # optional diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index d0a8fd7..f28e46b 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -164,7 +164,7 @@ sub _compute_getopt_attrs { $_->name !~ /^_/ } grep { !$_->does('MooseX::Getopt::Meta::Attribute::Trait::NoGetopt') - } $class->meta->compute_all_applicable_attributes + } $class->meta->get_all_attributes } sub _get_cmd_flags_for_attr {