r47863 - in /branches/upstream/libapp-cmd-perl/current: ./ lib/App/ lib/App/Cmd/ lib/App/Cmd/Command/ lib/App/Cmd/Subdispatch/ t/

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Fri Nov 27 23:03:38 UTC 2009


Author: carnil-guest
Date: Fri Nov 27 23:03:22 2009
New Revision: 47863

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

Modified:
    branches/upstream/libapp-cmd-perl/current/Changes
    branches/upstream/libapp-cmd-perl/current/META.yml
    branches/upstream/libapp-cmd-perl/current/Makefile.PL
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/ArgProcessor.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/commands.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/help.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Simple.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch/DashedStyle.pm
    branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Tutorial.pod
    branches/upstream/libapp-cmd-perl/current/t/simple-require.t
    branches/upstream/libapp-cmd-perl/current/t/simple-use.t

Modified: branches/upstream/libapp-cmd-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/Changes?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/Changes (original)
+++ branches/upstream/libapp-cmd-perl/current/Changes Fri Nov 27 23:03:22 2009
@@ -1,4 +1,10 @@
 Revision history for App-Cmd
+
+0.303     2009-11-27
+          revert behavior of App::Cmd 0.302 -- GLD no longer gives undef opts
+
+0.302     2009-11-27
+          expect undef values for acceptable-but-ungiven options in $opt
 
 0.301     2009-09-02
           fix App::Cmd::Simple docs to show ->execute (noticed by MIYAGAWA)

Modified: branches/upstream/libapp-cmd-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/META.yml?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/META.yml (original)
+++ branches/upstream/libapp-cmd-perl/current/META.yml Fri Nov 27 23:03:22 2009
@@ -21,7 +21,7 @@
     - t
     - xt
 requires:
-  Getopt::Long::Descriptive: 0.075
+  Getopt::Long::Descriptive: 0.081
   Module::Pluggable::Object: 0
   Sub::Exporter: 0.975
   Sub::Install: 0
@@ -29,4 +29,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/rjbs/app-cmd
-version: 0.301
+version: 0.303

Modified: branches/upstream/libapp-cmd-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/Makefile.PL?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/Makefile.PL (original)
+++ branches/upstream/libapp-cmd-perl/current/Makefile.PL Fri Nov 27 23:03:22 2009
@@ -2,7 +2,7 @@
 
 all_from('lib/App/Cmd.pm');
 
-requires('Getopt::Long::Descriptive' => 0.075); # leader_text, option_text
+requires('Getopt::Long::Descriptive' => 0.081); # leader_text, option_text
 requires('Module::Pluggable::Object' => 0.00);
 requires('Sub::Exporter'             => 0.975); # curry_method
 requires('Sub::Install'              => 0.00);  # minimum unknown

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm Fri Nov 27 23:03:22 2009
@@ -51,11 +51,11 @@
 
 =head1 VERSION
 
-version 0.301
-
-=cut
-
-our $VERSION = '0.301';
+version 0.303
+
+=cut
+
+our $VERSION = '0.303';
 
 =head1 SYNOPSIS
 

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/ArgProcessor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/ArgProcessor.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/ArgProcessor.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/ArgProcessor.pm Fri Nov 27 23:03:22 2009
@@ -9,11 +9,11 @@
 
 =head1 VERSION
 
-version 0.301
+version 0.303
 
 =cut
 
-our $VERSION = '0.301';
+our $VERSION = '0.303';
 
 sub _process_args {
   my ($class, $args, @params) = @_;

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command.pm Fri Nov 27 23:03:22 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.301
-
-=cut
-
-our $VERSION = '0.301';
+version 0.303
+
+=cut
+
+our $VERSION = '0.303';
 
 use Carp ();
 
@@ -94,7 +94,7 @@
     return $class->$run(@_);
   }
 
-  Carp::croak "$class does not implement mandatory method 'execute'\n";
+  Carp::croak ref($class) . " does not implement mandatory method 'execute'\n";
 }
 
 =head2 app

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/commands.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/commands.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/commands.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/commands.pm Fri Nov 27 23:03:22 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.301
+version 0.303
 
 =cut
 
-our $VERSION = 0.301;
+our $VERSION = 0.303;
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/help.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/help.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/help.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Command/help.pm Fri Nov 27 23:03:22 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.301
+version 0.303
 
 =cut
 
-our $VERSION = '0.301';
+our $VERSION = '0.303';
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Simple.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Simple.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Simple.pm Fri Nov 27 23:03:22 2009
@@ -5,7 +5,7 @@
 use App::Cmd::Command;
 BEGIN { our @ISA = 'App::Cmd::Command' }
 
-our $VERSION = '0.301';
+our $VERSION = '0.303';
 
 use App::Cmd;
 use Sub::Install;

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch.pm Fri Nov 27 23:03:22 2009
@@ -13,11 +13,11 @@
 
 =head1 VERSION
 
-version 0.301
+version 0.303
 
 =cut
 
-our $VERSION = '0.301';
+our $VERSION = '0.303';
 
 =head1 METHODS
 

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch/DashedStyle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch/DashedStyle.pm?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch/DashedStyle.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Subdispatch/DashedStyle.pm Fri Nov 27 23:03:22 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.301
+version 0.303
 
 =cut
 
-our $VERSION = '0.301';
+our $VERSION = '0.303';
 
 =head1 METHODS
 

Modified: branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Tutorial.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Tutorial.pod?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Tutorial.pod (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd/Tutorial.pod Fri Nov 27 23:03:22 2009
@@ -50,7 +50,7 @@
 Now, a user can run this command, but he'll get an error:
 
   $ yourcmd initialize
-  YourApp::Command::initialize does not implement mandatory method 'run'
+  YourApp::Command::initialize does not implement mandatory method 'execute'
 
 Oops!  This dies because we haven't told the command class what it should do
 when executed.  This is easy, we just add some code:

Modified: branches/upstream/libapp-cmd-perl/current/t/simple-require.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/t/simple-require.t?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/t/simple-require.t (original)
+++ branches/upstream/libapp-cmd-perl/current/t/simple-require.t Fri Nov 27 23:03:22 2009
@@ -17,6 +17,6 @@
 
 is_deeply(
   $struct,
-  [ {}, [ qw(bite the wax tadpole) ] ],
+  [ { }, [ qw(bite the wax tadpole) ] ],
   "our simple app runs properly",
 );

Modified: branches/upstream/libapp-cmd-perl/current/t/simple-use.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/t/simple-use.t?rev=47863&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/t/simple-use.t (original)
+++ branches/upstream/libapp-cmd-perl/current/t/simple-use.t Fri Nov 27 23:03:22 2009
@@ -17,6 +17,6 @@
 
 is_deeply(
   $struct,
-  [ {}, [ qw(bite the wax tadpole) ] ],
+  [ { }, [ qw(bite the wax tadpole) ] ],
   "our simple app runs properly",
 );




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