r44228 - in /branches/upstream/libmoosex-app-cmd-perl/current: ./ lib/MooseX/App/ lib/MooseX/App/Cmd/ t/lib/Test/ConfigFromFile/Command/ t/lib/Test/MyCmd/Command/

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Fri Sep 18 05:51:34 UTC 2009


Author: carnil-guest
Date: Fri Sep 18 05:51:09 2009
New Revision: 44228

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44228
Log:
[svn-upgrade] Integrating new upstream version, libmoosex-app-cmd-perl (0.06)

Modified:
    branches/upstream/libmoosex-app-cmd-perl/current/Changes
    branches/upstream/libmoosex-app-cmd-perl/current/META.yml
    branches/upstream/libmoosex-app-cmd-perl/current/Makefile.PL
    branches/upstream/libmoosex-app-cmd-perl/current/SIGNATURE
    branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd.pm
    branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd/Command.pm
    branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/ConfigFromFile/Command/moo.pm
    branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/bark.pm
    branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/frobulate.pm
    branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/justusage.pm

Modified: branches/upstream/libmoosex-app-cmd-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/Changes?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/Changes (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/Changes Fri Sep 18 05:51:09 2009
@@ -1,3 +1,6 @@
+0.06
+    - various fixes for upstream version of App::Cmd (vovkasm & brunov)
+
 0.05
     - Various minor fixes due to upstream module changes
 

Modified: branches/upstream/libmoosex-app-cmd-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/META.yml?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/META.yml (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/META.yml Fri Sep 18 05:51:09 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               MooseX-App-Cmd
-version:            0.05
+version:            0.06
 abstract:           ~
 author:  []
 license:            unknown
@@ -10,7 +10,7 @@
 build_requires:
     ExtUtils::MakeMaker:  0
 requires:
-    App::Cmd:             0
+    App::Cmd:             0.3
     Getopt::Long::Descriptive:  0
     Moose:                0.86
     MooseX::Getopt:       0.18
@@ -19,7 +19,7 @@
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.52
+generated_by:       ExtUtils::MakeMaker version 6.55_02
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: branches/upstream/libmoosex-app-cmd-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/Makefile.PL?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/Makefile.PL (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/Makefile.PL Fri Sep 18 05:51:09 2009
@@ -12,7 +12,7 @@
     PL_FILES     => {},
     PREREQ_PM    => {
         'Test::use::ok'             => 0,
-        'App::Cmd'                  => 0,
+        'App::Cmd'                  => 0.3,
         'Moose'                     => 0.86,
         'MooseX::Getopt'            => "0.18",
         'Getopt::Long::Descriptive' => 0,

Modified: branches/upstream/libmoosex-app-cmd-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/SIGNATURE?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/SIGNATURE (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/SIGNATURE Fri Sep 18 05:51:09 2009
@@ -14,29 +14,29 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 a19265068585a4e891f3b054ea7eeccb86968cdf Changes
+SHA1 41ab8d2fee4d3585fa96cf7271185d7981770242 Changes
 SHA1 c740fe5cba821190dc99d8baf6d996a9094bea70 MANIFEST
 SHA1 190e9058eb9c6446a1a3f3ddf15b082f1ecde152 MANIFEST.SKIP
-SHA1 a15ce2ef5542c10bbb299486bf3bc00932a097e9 META.yml
-SHA1 c4597d32f5ce0e45cb6dc0bc8817dca93c4a7fcc Makefile.PL
-SHA1 e71eb061d6871635a413788d94513a6f5ac5cf46 lib/MooseX/App/Cmd.pm
-SHA1 4540a56b0070a02b4d402b2dcb81dc0c796f9dd4 lib/MooseX/App/Cmd/Command.pm
+SHA1 9aadae0336be8de9e394efa63925c46e63ff739b META.yml
+SHA1 dc4043304d3cfc51685c6617e9168c2698494f06 Makefile.PL
+SHA1 4a94f61c2fba8d1614bc31f94a425f1eee2b7302 lib/MooseX/App/Cmd.pm
+SHA1 7e9ff06775478b85c1546427eb78446e8077f598 lib/MooseX/App/Cmd/Command.pm
 SHA1 6fd801b5eb71c402d484782b81d0f4a8379a7f36 t/00-load.t
 SHA1 f952086edd71b83111f01d208454c51bc46dbf84 t/basic.t
 SHA1 622180410b221c9662e86ffd412f949c2eba8768 t/build_emulates_new.t
 SHA1 efd7c468870324bf54d442e06ea93f83dea173f8 t/configfile.t
 SHA1 2b412bcfb4193c32081d4b100e7fafd1381ff4ad t/lib/Test/ConfigFromFile.pm
-SHA1 a9959ae836eb4a34ba071df980f38f196d887f59 t/lib/Test/ConfigFromFile/Command/moo.pm
+SHA1 c9829c568c78a7e48c976dbbe390a558dcf8fcb1 t/lib/Test/ConfigFromFile/Command/moo.pm
 SHA1 29e252d185222483c06a9af5070ea76942d4f64e t/lib/Test/ConfigFromFile/config.yaml
 SHA1 7c9fb28b6e6d4095bce936e3cc4c7ec2456aca10 t/lib/Test/MyCmd.pm
-SHA1 f456585d0015d3faee5d456bc1f9bf13e81a0ebf t/lib/Test/MyCmd/Command/bark.pm
-SHA1 1f6181faad0b9d1ff05c160fef1aa5a64cb4f815 t/lib/Test/MyCmd/Command/frobulate.pm
-SHA1 281c6db7a399ec0490f19abb073b50774e4073c6 t/lib/Test/MyCmd/Command/justusage.pm
+SHA1 6421073332e3f07899509b35b9973d95c58a877c t/lib/Test/MyCmd/Command/bark.pm
+SHA1 1e2fc7e3c247156590ae2e11ddd61460dff2a3cf t/lib/Test/MyCmd/Command/frobulate.pm
+SHA1 f87824cb16d7cb5e8636376363ca3043e25afdd9 t/lib/Test/MyCmd/Command/justusage.pm
 SHA1 a0e952beb3dc6eaf2de0b3aefc80fb57a1c6e409 t/lib/Test/MyCmd/Command/stock.pm
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (Darwin)
+Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
 
-iD8DBQFKUXDvVCwRwOvSdBgRAvtWAKCQYTec+xm9YcAvKYnhgTgnSwGXbgCbB1bP
-qTvKNTwrDYL6m/hhouLJ66w=
-=II+k
+iEYEARECAAYFAkqyxaMACgkQVCwRwOvSdBjFsgCgkhKvchJwNzIacW4huwdglOqD
+2T8AnAuQLW9I4Vc5ugmnAKs4CDkAaqn1
+=A1Ra
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd.pm?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd.pm (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd.pm Fri Sep 18 05:51:09 2009
@@ -23,7 +23,7 @@
   $self->{full_arg0} = $arg0;
 }
 
-our $VERSION = "0.05";
+our $VERSION = "0.06";
 
 __PACKAGE__;
 
@@ -65,7 +65,7 @@
         documentation => "recheck all results",
     );
 
-    sub run {
+    sub execute {
         my ( $self, $opt, $args ) = @_;
 
         # you may ignore $opt, it's in the attributes anyway

Modified: branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd/Command.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd/Command.pm?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd/Command.pm (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/lib/MooseX/App/Cmd/Command.pm Fri Sep 18 05:51:09 2009
@@ -27,6 +27,7 @@
 
 sub _process_args {
     my ( $class, $args, @params ) = @_;
+    local @ARGV = @$args;
 
     my $config_from_file;
     if($class->meta->does_role('MooseX::ConfigFromFile')) {
@@ -46,7 +47,7 @@
     }
 
     my %processed = $class->_parse_argv(
-        argv => $args,
+        params => { argv => \@ARGV },
         options => [ $class->_attrs_to_options( $config_from_file ) ],
     );
 
@@ -90,7 +91,7 @@
         required => 1,
     );
 
-    sub run {
+    sub execute {
         my ( $self, $opts, $args ) = @_;
 
         print $self->option_field; # also available in $opts->{option_field}

Modified: branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/ConfigFromFile/Command/moo.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/ConfigFromFile/Command/moo.pm?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/ConfigFromFile/Command/moo.pm (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/ConfigFromFile/Command/moo.pm Fri Sep 18 05:51:09 2009
@@ -19,7 +19,7 @@
     documentation => "required option field",
 );
 
-sub run {
+sub execute {
   my ($self, $opt, $arg) =@_;
 
   die ("cows go " . join(' ', $self->moo));

Modified: branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/bark.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/bark.pm?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/bark.pm (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/bark.pm Fri Sep 18 05:51:09 2009
@@ -16,7 +16,7 @@
     documentation => "required option field",
 );
 
-sub run {
+sub execute {
   my ($self, $opt, $arg) =@_;
 
   die "my dog name barks " . $self->wow . "\n";

Modified: branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/frobulate.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/frobulate.pm?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/frobulate.pm (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/frobulate.pm Fri Sep 18 05:51:09 2009
@@ -22,8 +22,8 @@
     documentation => "set widget name",
 );
 
-sub run {
-  my ($self, $opt, $arg) =@_;
+sub execute {
+  my ($self, $opt, $arg) = @_;
 
   die "the widget name is " . $self->widget . " - @$arg\n";
 }

Modified: branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/justusage.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/justusage.pm?rev=44228&op=diff
==============================================================================
--- branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/justusage.pm (original)
+++ branches/upstream/libmoosex-app-cmd-perl/current/t/lib/Test/MyCmd/Command/justusage.pm Fri Sep 18 05:51:09 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-sub run {
+sub execute {
   my ($self, $opt, $arg) = @_;
 
   die $self->usage->text;




More information about the Pkg-perl-cvs-commits mailing list