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

nhandler-guest at users.alioth.debian.org nhandler-guest at users.alioth.debian.org
Wed Sep 2 21:54:33 UTC 2009


Author: nhandler-guest
Date: Wed Sep  2 21:54:16 2009
New Revision: 43533

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

Modified:
    branches/upstream/libapp-cmd-perl/current/Changes
    branches/upstream/libapp-cmd-perl/current/META.yml
    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

Modified: branches/upstream/libapp-cmd-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libapp-cmd-perl/current/Changes?rev=43533&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/Changes (original)
+++ branches/upstream/libapp-cmd-perl/current/Changes Wed Sep  2 21:54:16 2009
@@ -1,6 +1,9 @@
 Revision history for App-Cmd
 
-0.300     2009-09-28
+0.301     2009-09-02
+          fix App::Cmd::Simple docs to show ->execute (noticed by MIYAGAWA)
+
+0.300     2009-08-28
           DEPRECATED -run OPTION TO APP CLASS IMPORT
           "use MyApp -run;" is deprecated; it will be removed after no less
           than a year
@@ -15,7 +18,7 @@
           WILL BREAK YOUR CODE: App::Cmd::Simple programs must use ->execute
           rather than ->run
 
-0.207     2009-09-27
+0.207     2009-08-27
           add option to allow any unambiguous command abbreviation
           (thanks, Jerome Quelin)
 

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=43533&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/META.yml (original)
+++ branches/upstream/libapp-cmd-perl/current/META.yml Wed Sep  2 21:54:16 2009
@@ -29,4 +29,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/rjbs/app-cmd
-version: 0.300
+version: 0.301

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=43533&op=diff
==============================================================================
--- branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm (original)
+++ branches/upstream/libapp-cmd-perl/current/lib/App/Cmd.pm Wed Sep  2 21:54:16 2009
@@ -51,11 +51,11 @@
 
 =head1 VERSION
 
-version 0.300
-
-=cut
-
-our $VERSION = '0.300';
+version 0.301
+
+=cut
+
+our $VERSION = '0.301';
 
 =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=43533&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 Wed Sep  2 21:54:16 2009
@@ -9,11 +9,11 @@
 
 =head1 VERSION
 
-version 0.300
+version 0.301
 
 =cut
 
-our $VERSION = '0.300';
+our $VERSION = '0.301';
 
 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=43533&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 Wed Sep  2 21:54:16 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.300
-
-=cut
-
-our $VERSION = '0.300';
+version 0.301
+
+=cut
+
+our $VERSION = '0.301';
 
 use Carp ();
 

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=43533&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 Wed Sep  2 21:54:16 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.300
+version 0.301
 
 =cut
 
-our $VERSION = 0.300;
+our $VERSION = 0.301;
 
 =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=43533&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 Wed Sep  2 21:54:16 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.300
+version 0.301
 
 =cut
 
-our $VERSION = '0.300';
+our $VERSION = '0.301';
 
 =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=43533&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 Wed Sep  2 21:54:16 2009
@@ -5,7 +5,7 @@
 use App::Cmd::Command;
 BEGIN { our @ISA = 'App::Cmd::Command' }
 
-our $VERSION = '0.300';
+our $VERSION = '0.301';
 
 use App::Cmd;
 use Sub::Install;
@@ -40,7 +40,7 @@
     $self->usage_error("No args allowed") if @$args;
   }
 
-  sub run {
+  sub execute {
     my ($self, $opt, $args) = @_;
 
     my $result = $opt->{blortex} ? blortex() : blort();
@@ -79,9 +79,9 @@
 an exception (preferably by calling C<usage_error>) if they are invalid, or it
 may do nothing to allow processing to continue.
 
-=head2 run
+=head2 execute
 
-  Your::App::Cmd::Simple->run(\%opt, \@args);
+  Your::App::Cmd::Simple->execute(\%opt, \@args);
 
 This method does whatever it is the command should do!  It is passed a hash
 reference of the parsed command-line options and an array reference of left
@@ -89,8 +89,6 @@
 
 =cut
 
-# Okay, so this is full-on evil, but... whatchagonna do?  It's rjbs's own damn
-# fault for calling the run method "run" in both Cmd and Command.
 # The idea here is that the user will someday replace "Simple" in his ISA with
 # "Command" and then write a standard App::Cmd package.  To make that possible,
 # we produce a behind-the-scenes App::Cmd object when the user says 'use

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=43533&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 Wed Sep  2 21:54:16 2009
@@ -13,11 +13,11 @@
 
 =head1 VERSION
 
-version 0.300
+version 0.301
 
 =cut
 
-our $VERSION = '0.300';
+our $VERSION = '0.301';
 
 =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=43533&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 Wed Sep  2 21:54:16 2009
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-version 0.300
+version 0.301
 
 =cut
 
-our $VERSION = '0.300';
+our $VERSION = '0.301';
 
 =head1 METHODS
 




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