From: Ryan D Johnson Date: Wed, 23 Apr 2008 18:54:38 +0000 (+0000) Subject: Update versions, changelog, fix test when ConfigFromFile isn't available X-Git-Tag: 0_15~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=commitdiff_plain;h=78a71ae567752d6035566011e4900deb5af2cd75 Update versions, changelog, fix test when ConfigFromFile isn't available --- diff --git a/ChangeLog b/ChangeLog index 8e14e30..444fca5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,17 @@ Revision history for Perl extension MooseX-Getopt +0.13 Unreleased + * MooseX::Getopt + - Commandline option shouldn't be required in the + case that the given "required" attribute has + been loaded from config (MooseX::ConfigFromFile) + 0.12 Fri. March 14, 2008 ~~ updated copyright dates ~~ - + - upped the Moose dependency to support the custom metaclass traits - - added Getopt::Long::Descriptive as an + - added Getopt::Long::Descriptive as an optional dependency * MooseX::Getopt @@ -13,7 +19,7 @@ Revision history for Perl extension MooseX-Getopt MooseX::Getopt::Meta::Attribute::Trait MooseX::Getopt::Meta::Attribute::NoGetopt MooseX::Getopt::Meta::Attribute::Trait::NoGetopt - - added support for custom metaclass traits + - added support for custom metaclass traits - added tests for this 0.11 Sun. Jan. 27, 2008 @@ -38,37 +44,37 @@ Revision history for Perl extension MooseX-Getopt the -configfile commandline option. 0.07 Tues. Dec. 4, 2007 - * MooseX::Getopt::Meta::Attribute::NoGetopt + * MooseX::Getopt::Meta::Attribute::NoGetopt - fixed miscapitalization of NoGetopt in the docs 0.06 Fri. Nov. 23, 2007 * MooseX::Getopt - - refactored &new_with_option some so that - this will work better with other Getopt + - refactored &new_with_option some so that + this will work better with other Getopt modules (nuffin) - + + MooseX::Getopt::Strict - - version of MooseX::Getopt which requires - you to specify which attributes you want + - version of MooseX::Getopt which requires + you to specify which attributes you want processed explicity - added tests for this - + + MooseX::Getopt::Meta::Attribute::NoGetopt - - a custom meta-attribute which can be - used to specify that an attribute should + - a custom meta-attribute which can be + used to specify that an attribute should not be processed - added tests for this 0.05 Tues. July 3, 2007 * MooseX::Getopt::OptionTypeMap - - added some checks to make sure that the type - constraints are found properly and to give + - added some checks to make sure that the type + constraints are found properly and to give better diagnostics 0.04 Tues. June 26, 2007 * MooseX::Getopt::OptionTypeMap - Added support for subtype constraint inference - from parent types + from parent types - added tests and docs for this * MooseX::Getopt - Added extra_argv attribute @@ -83,13 +89,13 @@ Revision history for Perl extension MooseX-Getopt ~ downgraded the Getopt version requirement to 2.35 as per RT #26844 ~ adding blblack to the authors list - - * MooseX::Getopt - - doc update to show simple way to of excluding - an attribute, but not having accessors with + + * MooseX::Getopt + - doc update to show simple way to of excluding + an attribute, but not having accessors with underscores (thanks to Zaba on #moose for this) * MooseX::Getopt::Meta::Attribute - - tightening up the type constraint in the + - tightening up the type constraint in the cmd_alias coercion to only accept strings 0.02 Friday, April 6, 2007 @@ -100,7 +106,7 @@ Revision history for Perl extension MooseX-Getopt * MooseX::Getopt::Meta::Attribute - added the cmd_aliases attribute (thanks to blblack) - added tests and docs for this - - added support for Moose 0.19's custom + - added support for Moose 0.19's custom attribute metaclass alias registry. - added tests and docs for this diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 582c557..8c6385f 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -9,7 +9,7 @@ use MooseX::Getopt::Meta::Attribute::NoGetopt; use Getopt::Long (); # GLD uses it anyway, doesn't hurt use constant HAVE_GLD => not not eval { require Getopt::Long::Descriptive }; -our $VERSION = '0.12'; +our $VERSION = '0.12_01'; our $AUTHORITY = 'cpan:STEVAN'; has ARGV => (is => 'rw', isa => 'ArrayRef', metaclass => "NoGetopt"); @@ -423,6 +423,10 @@ Stevan Little Estevan@iinteractive.comE Brandon L. Black, Eblblack@gmail.comE +=head1 CONTRIBUTORS + +Ryan D Johnson, Eryan@innerfence.comE + =head1 COPYRIGHT AND LICENSE Copyright 2007-2008 by Infinity Interactive, Inc. diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index 148bd4f..affcd7e 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -6,7 +6,7 @@ use warnings; use Test::Exception; use Test::More; -if ( !require MooseX::ConfigFromFile ) +if ( !eval { require MooseX::ConfigFromFile } ) { plan skip_all => 'Test requires MooseX::ConfigFromFile'; }