From: Stevan Little Date: Mon, 9 Jul 2007 18:27:31 +0000 (+0000) Subject: bumping version and adding Changelog X-Git-Tag: 0_06~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=26be7f7ed5cd799ab80bf512505ca3474626236e;p=gitmo%2FMooseX-Getopt.git bumping version and adding Changelog --- diff --git a/ChangeLog b/ChangeLog index b78ea5e..90e32b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ Revision history for Perl extension MooseX-Getopt +0.06 + * MooseX::Getopt + - refactored &new_with_option some so that + this will work better with other Getopt + modules (nuffin) + 0.05 Tues. July 3, 2007 * MooseX::Getopt::OptionTypeMap - added some checks to make sure that the type diff --git a/README b/README index e91448f..c2162d6 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -MooseX::Getopt version 0.05 +MooseX::Getopt version 0.06 =========================== See the individual module documentation for more information diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index c773e22..1417d08 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -7,7 +7,7 @@ use Getopt::Long (); use MooseX::Getopt::OptionTypeMap; use MooseX::Getopt::Meta::Attribute; -our $VERSION = '0.05'; +our $VERSION = '0.06'; our $AUTHORITY = 'cpan:STEVAN'; has ARGV => (is => 'rw', isa => 'ArrayRef'); @@ -16,7 +16,11 @@ has extra_argv => (is => 'rw', isa => 'ArrayRef'); sub new_with_options { my ($class, %params) = @_; - my %processed = $class->_parse_argv( options => [ $class->_attrs_to_options( %params ) ] ); + my %processed = $class->_parse_argv( + options => [ + $class->_attrs_to_options( %params ) + ] + ); $class->new( ARGV => $processed{argv_copy},