Skip Menu |

This queue is for tickets about the MooseX-Getopt CPAN distribution.

Report information
The Basics
Id: 49427
Status: resolved
Priority: 0/
Queue: MooseX-Getopt

People
Owner: bobtfish [...] bobtfish.net
Requestors: MARKF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Module fails test with latest Getopt::Long::Descriptive
Due to changes in Getopt::Long::Descriptive, this thing goes boooooom: travis-4:MooseX-Getopt-0.21-Fs24LM mark$ perl -MGetopt::Long::Descriptive -E 'say Getopt::Long::Descriptive->VERSION()' 0.076 travis-4:MooseX-Getopt-0.21-Fs24LM mark$ perl -Ilib t/001_basic.t 1..69 ok 1 - use MooseX::Getopt; ok 2 - The object isa Moose::Meta::Attribute ok 3 - The object isa MooseX::Getopt::Meta::Attribute ok 4 - MooseX::Getopt::Meta::Attribute->can('cmd_flag') ok 5 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases') ok 6 - The object isa Moose::Meta::Attribute ok 7 - The object isa MooseX::Getopt::Meta::Attribute ok 8 - MooseX::Getopt::Meta::Attribute->can('cmd_flag') ok 9 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases') ok 10 - The object isa Moose::Meta::Attribute ok 11 - The object isa MooseX::Getopt::Meta::Attribute ok 12 - MooseX::Getopt::Meta::Attribute->can('cmd_flag') ok 13 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases') ok 14 - The object isa Moose::Meta::Attribute ok 15 - The object isa MooseX::Getopt::Meta::Attribute ok 16 - MooseX::Getopt::Meta::Attribute->can('cmd_flag') ok 17 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases') ok 18 - The object isa App ok 19 - ... verbosity is off as expected ok 20 - ... length is 24 as expected ok 21 - ... data is file.dat as expected ok 22 - ... libs is [] as expected ok 23 - ... details is {} as expected ok 24 - The object isa App ok 25 - ... verbosity is turned on as expected ok 26 - ... length is 50 as expected ok 27 - ... data is file.dat as expected ok 28 - ... libs is [] as expected ok 29 - ... details is {} as expected perverse option names given: f at /opt/perl5/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 509 Getopt::Long::Descriptive::OptObjFactory::new_opt_obj('Getopt::Long::Descriptive::OptO bjFactory', 'HASH(0x9d08e0)') called at /opt/perl5/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 361 Getopt::Long::Descriptive::describe_options('usage: %c %o', 'ARRAY(0x9d0900)', 'ARRAY(0x9cf040)', 'ARRAY(0x9cecd0)', 'ARRAY(0x9d03f0)', 'ARRAY(0x9ced30)', 'ARRAY(0x9d0b10)', 'ARRAY(0x9d0ae0)', 'ARRAY(0x9d0da0)', ...) called at lib/MooseX/Getopt.pm line 91 eval {...} called at lib/MooseX/Getopt.pm line 88 MooseX::Getopt::_parse_argv('App', 'options', 'ARRAY(0x9ce4b0)', 'params', 'HASH(0x9d0600)') called at lib/MooseX/Getopt.pm line 53 MooseX::Getopt::new_with_options('App') called at t/001_basic.t line 119 # Looks like you planned 69 tests but ran 29. # Looks like your test exited with 2 just after 29.
On Fri Sep 04 07:26:09 2009, MARKF wrote: Show quoted text
> travis-4:MooseX-Getopt-0.21-Fs24LM mark$ perl > -MGetopt::Long::Descriptive -E 'say > Getopt::Long::Descriptive->VERSION()' > 0.076
I am mistaken. It works with Getopt::Long::Descriptive 0.077. diff --git a/Makefile.PL b/Makefile.PL index d9d0041..40242a4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,7 +9,7 @@ requires 'Moose' => '0.56'; requires 'Getopt::Long' => '2.37'; # optional -requires 'Getopt::Long::Descriptive' => 0; +requires 'Getopt::Long::Descriptive' => 0.077; build_requires 'Test::Moose'; build_requires 'Test::More' => '0.62';
Subject: Re: [rt.cpan.org #49427] Module fails test with latest Getopt::Long::Descriptive
Date: Fri, 04 Sep 2009 13:34:59 +0100
To: bug-MooseX-Getopt [...] rt.cpan.org
From: Tomas Doran <bobtfish [...] bobtfish.net>
MARKF via RT wrote: Show quoted text
> I am mistaken. It works with Getopt::Long::Descriptive 0.077.
Thanks for the bug report. I'll get the version bumped and a new release out this weekend. Cheers t0m
0.22 shipped.