Hello community,

here is the log from the commit of package perl-App-Cmd for openSUSE:Factory 
checked in at 2012-04-02 10:51:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-App-Cmd (Old)
 and      /work/SRC/openSUSE:Factory/.perl-App-Cmd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-App-Cmd", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-App-Cmd/perl-App-Cmd.changes        
2012-02-21 12:22:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-App-Cmd.new/perl-App-Cmd.changes   
2012-04-02 10:51:35.000000000 +0200
@@ -1,0 +2,9 @@
+Sat Mar 31 10:38:01 UTC 2012 - [email protected]
+
+- updated to 0.317
+       App::Cmd::Tester now reports exit code 1 for unknown commands, as
+       App::Cmd would exit(1) in that case; addresses
+       https://rt.cpan.org/Public/Bug/Display.html?id=73084 reported by
+       David Golden
+
+-------------------------------------------------------------------

Old:
----
  App-Cmd-0.316.tar.gz

New:
----
  App-Cmd-0.317.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-App-Cmd.spec ++++++
--- /var/tmp/diff_new_pack.DyL1BD/_old  2012-04-02 10:51:36.000000000 +0200
+++ /var/tmp/diff_new_pack.DyL1BD/_new  2012-04-02 10:51:36.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-App-Cmd
-Version:        0.316
+Version:        0.317
 Release:        0
 %define cpan_name App-Cmd
 Summary:        Write command line apps with less suffering

++++++ App-Cmd-0.316.tar.gz -> App-Cmd-0.317.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/Changes new/App-Cmd-0.317/Changes
--- old/App-Cmd-0.316/Changes   2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/Changes   2012-03-26 16:12:01.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for App-Cmd
 
+0.317     2012-03-26 10:11:52 America/New_York
+          App::Cmd::Tester now reports exit code 1 for unknown commands, as
+          App::Cmd would exit(1) in that case; addresses
+          https://rt.cpan.org/Public/Bug/Display.html?id=73084 reported by
+          David Golden
+
 0.316     2012-02-11 10:50:46 America/New_York
           fix the test of "echo" on Win32 (thanks, Chris Williams)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/META.json new/App-Cmd-0.317/META.json
--- old/App-Cmd-0.316/META.json 2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/META.json 2012-03-26 16:12:01.000000000 +0200
@@ -4,7 +4,7 @@
       "Ricardo Signes <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.300007, CPAN::Meta::Converter 
version 2.120351",
+   "generated_by" : "Dist::Zilla version 4.300010, CPAN::Meta::Converter 
version 2.120630",
    "license" : [
       "perl_5"
    ],
@@ -60,7 +60,7 @@
          "web" : "https://github.com/rjbs/app-cmd";
       }
    },
-   "version" : "0.316",
+   "version" : "0.317",
    "x_Dist_Zilla" : {
       "plugins" : [
          {
@@ -71,77 +71,77 @@
          {
             "class" : "Dist::Zilla::Plugin::GatherDir",
             "name" : "@RJBS/@Basic/GatherDir",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::PruneCruft",
             "name" : "@RJBS/@Basic/PruneCruft",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::ManifestSkip",
             "name" : "@RJBS/@Basic/ManifestSkip",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaYAML",
             "name" : "@RJBS/@Basic/MetaYAML",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::License",
             "name" : "@RJBS/@Basic/License",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::Readme",
             "name" : "@RJBS/@Basic/Readme",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExtraTests",
             "name" : "@RJBS/@Basic/ExtraTests",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
             "name" : "@RJBS/@Basic/ExecDir",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::ShareDir",
             "name" : "@RJBS/@Basic/ShareDir",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::MakeMaker",
             "name" : "@RJBS/@Basic/MakeMaker",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
             "name" : "@RJBS/@Basic/Manifest",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::TestRelease",
             "name" : "@RJBS/@Basic/TestRelease",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::ConfirmRelease",
             "name" : "@RJBS/@Basic/ConfirmRelease",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::UploadToCPAN",
             "name" : "@RJBS/@Basic/UploadToCPAN",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::AutoPrereqs",
             "name" : "@RJBS/AutoPrereqs",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::NextVersion",
@@ -151,27 +151,27 @@
          {
             "class" : "Dist::Zilla::Plugin::PkgVersion",
             "name" : "@RJBS/PkgVersion",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaConfig",
             "name" : "@RJBS/MetaConfig",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaJSON",
             "name" : "@RJBS/MetaJSON",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::NextRelease",
             "name" : "@RJBS/NextRelease",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
             "name" : "@RJBS/PodSyntaxTests",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::Repository",
@@ -187,7 +187,7 @@
                }
             },
             "name" : "@RJBS/TestMoreWithSubtests",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -228,37 +228,37 @@
                }
             },
             "name" : "Prereqs",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":InstallModules",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":IncModules",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":TestFiles",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExecFiles",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ShareFiles",
-            "version" : "4.300007"
+            "version" : "4.300010"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":MainModule",
-            "version" : "4.300007"
+            "version" : "4.300010"
          }
       ],
       "zilla" : {
@@ -266,7 +266,7 @@
          "config" : {
             "is_trial" : "0"
          },
-         "version" : "4.300007"
+         "version" : "4.300010"
       }
    }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/META.yml new/App-Cmd-0.317/META.yml
--- old/App-Cmd-0.316/META.yml  2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/META.yml  2012-03-26 16:12:01.000000000 +0200
@@ -11,7 +11,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 6.30
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300007, CPAN::Meta::Converter version 
2.120351'
+generated_by: 'Dist::Zilla version 4.300010, CPAN::Meta::Converter version 
2.120630'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -39,7 +39,7 @@
 resources:
   homepage: https://github.com/rjbs/app-cmd
   repository: https://github.com/rjbs/app-cmd.git
-version: 0.316
+version: 0.317
 x_Dist_Zilla:
   plugins:
     -
@@ -49,63 +49,63 @@
     -
       class: Dist::Zilla::Plugin::GatherDir
       name: '@RJBS/@Basic/GatherDir'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::PruneCruft
       name: '@RJBS/@Basic/PruneCruft'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::ManifestSkip
       name: '@RJBS/@Basic/ManifestSkip'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::MetaYAML
       name: '@RJBS/@Basic/MetaYAML'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::License
       name: '@RJBS/@Basic/License'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::Readme
       name: '@RJBS/@Basic/Readme'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::ExtraTests
       name: '@RJBS/@Basic/ExtraTests'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: '@RJBS/@Basic/ExecDir'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::ShareDir
       name: '@RJBS/@Basic/ShareDir'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::MakeMaker
       name: '@RJBS/@Basic/MakeMaker'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::Manifest
       name: '@RJBS/@Basic/Manifest'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::TestRelease
       name: '@RJBS/@Basic/TestRelease'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::ConfirmRelease
       name: '@RJBS/@Basic/ConfirmRelease'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::UploadToCPAN
       name: '@RJBS/@Basic/UploadToCPAN'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::AutoPrereqs
       name: '@RJBS/AutoPrereqs'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::Git::NextVersion
       name: '@RJBS/Git::NextVersion'
@@ -113,23 +113,23 @@
     -
       class: Dist::Zilla::Plugin::PkgVersion
       name: '@RJBS/PkgVersion'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::MetaConfig
       name: '@RJBS/MetaConfig'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::MetaJSON
       name: '@RJBS/MetaJSON'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::NextRelease
       name: '@RJBS/NextRelease'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::PodSyntaxTests
       name: '@RJBS/PodSyntaxTests'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::Repository
       name: '@RJBS/Repository'
@@ -141,7 +141,7 @@
           phase: test
           type: requires
       name: '@RJBS/TestMoreWithSubtests'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::PodWeaver
       name: '@RJBS/PodWeaver'
@@ -173,33 +173,33 @@
           phase: runtime
           type: requires
       name: Prereqs
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':IncModules'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':TestFiles'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExecFiles'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ShareFiles'
-      version: 4.300007
+      version: 4.300010
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':MainModule'
-      version: 4.300007
+      version: 4.300010
   zilla:
     class: Dist::Zilla::Dist::Builder
     config:
       is_trial: 0
-    version: 4.300007
+    version: 4.300010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/Makefile.PL 
new/App-Cmd-0.317/Makefile.PL
--- old/App-Cmd-0.316/Makefile.PL       2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/Makefile.PL       2012-03-26 16:12:01.000000000 +0200
@@ -44,7 +44,7 @@
     "strict" => 0,
     "warnings" => 0
   },
-  "VERSION" => "0.316",
+  "VERSION" => "0.317",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/README new/App-Cmd-0.317/README
--- old/App-Cmd-0.316/README    2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/README    2012-03-26 16:12:01.000000000 +0200
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution App-Cmd,
-version 0.316:
+version 0.317:
 
   write command line apps with less suffering
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/ArgProcessor.pm 
new/App-Cmd-0.317/lib/App/Cmd/ArgProcessor.pm
--- old/App-Cmd-0.316/lib/App/Cmd/ArgProcessor.pm       2012-02-11 
16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd/ArgProcessor.pm       2012-03-26 
16:12:01.000000000 +0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::ArgProcessor;
 {
-  $App::Cmd::ArgProcessor::VERSION = '0.316';
+  $App::Cmd::ArgProcessor::VERSION = '0.317';
 }
 # ABSTRACT: App::Cmd-specific wrapper for Getopt::Long::Descriptive
 
@@ -34,7 +34,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Command/commands.pm 
new/App-Cmd-0.317/lib/App/Cmd/Command/commands.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Command/commands.pm   2012-02-11 
16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Command/commands.pm   2012-03-26 
16:12:01.000000000 +0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::Command::commands;
 {
-  $App::Cmd::Command::commands::VERSION = '0.316';
+  $App::Cmd::Command::commands::VERSION = '0.317';
 }
 use App::Cmd::Command;
 BEGIN { our @ISA = 'App::Cmd::Command' };
@@ -66,7 +66,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Command/help.pm 
new/App-Cmd-0.317/lib/App/Cmd/Command/help.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Command/help.pm       2012-02-11 
16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Command/help.pm       2012-03-26 
16:12:01.000000000 +0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::Command::help;
 {
-  $App::Cmd::Command::help::VERSION = '0.316';
+  $App::Cmd::Command::help::VERSION = '0.317';
 }
 use App::Cmd::Command;
 BEGIN { our @ISA = 'App::Cmd::Command'; }
@@ -67,7 +67,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Command.pm 
new/App-Cmd-0.317/lib/App/Cmd/Command.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Command.pm    2012-02-11 16:51:08.000000000 
+0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Command.pm    2012-03-26 16:12:01.000000000 
+0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::Command;
 {
-  $App::Cmd::Command::VERSION = '0.316';
+  $App::Cmd::Command::VERSION = '0.317';
 }
 use App::Cmd::ArgProcessor;
 BEGIN { our @ISA = 'App::Cmd::ArgProcessor' };
@@ -151,7 +151,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 METHODS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Plugin.pm 
new/App-Cmd-0.317/lib/App/Cmd/Plugin.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Plugin.pm     2012-02-11 16:51:08.000000000 
+0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Plugin.pm     2012-03-26 16:12:01.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package App::Cmd::Plugin;
 {
-  $App::Cmd::Plugin::VERSION = '0.316';
+  $App::Cmd::Plugin::VERSION = '0.317';
 }
 # ABSTRACT: a plugin for App::Cmd commands
 
@@ -26,7 +26,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Setup.pm 
new/App-Cmd-0.317/lib/App/Cmd/Setup.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Setup.pm      2012-02-11 16:51:08.000000000 
+0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Setup.pm      2012-03-26 16:12:01.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package App::Cmd::Setup;
 {
-  $App::Cmd::Setup::VERSION = '0.316';
+  $App::Cmd::Setup::VERSION = '0.317';
 }
 # ABSTRACT: helper for setting up App::Cmd classes
 
@@ -149,7 +149,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 OVERVIEW
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Simple.pm 
new/App-Cmd-0.317/lib/App/Cmd/Simple.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Simple.pm     2012-02-11 16:51:08.000000000 
+0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Simple.pm     2012-03-26 16:12:01.000000000 
+0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::Simple;
 {
-  $App::Cmd::Simple::VERSION = '0.316';
+  $App::Cmd::Simple::VERSION = '0.317';
 }
 use App::Cmd::Command;
 BEGIN { our @ISA = 'App::Cmd::Command' }
@@ -102,7 +102,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Subdispatch/DashedStyle.pm 
new/App-Cmd-0.317/lib/App/Cmd/Subdispatch/DashedStyle.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Subdispatch/DashedStyle.pm    2012-02-11 
16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Subdispatch/DashedStyle.pm    2012-03-26 
16:12:02.000000000 +0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::Subdispatch::DashedStyle;
 {
-  $App::Cmd::Subdispatch::DashedStyle::VERSION = '0.316';
+  $App::Cmd::Subdispatch::DashedStyle::VERSION = '0.317';
 }
 use App::Cmd::Subdispatch;
 BEGIN { our @ISA = 'App::Cmd::Subdispatch' };
@@ -64,7 +64,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 METHODS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Subdispatch.pm 
new/App-Cmd-0.317/lib/App/Cmd/Subdispatch.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Subdispatch.pm        2012-02-11 
16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Subdispatch.pm        2012-03-26 
16:12:01.000000000 +0200
@@ -3,7 +3,7 @@
 
 package App::Cmd::Subdispatch;
 {
-  $App::Cmd::Subdispatch::VERSION = '0.316';
+  $App::Cmd::Subdispatch::VERSION = '0.317';
 }
 
 use App::Cmd;
@@ -78,7 +78,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 METHODS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Tester/CaptureExternal.pm 
new/App-Cmd-0.317/lib/App/Cmd/Tester/CaptureExternal.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Tester/CaptureExternal.pm     2012-02-11 
16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Tester/CaptureExternal.pm     2012-03-26 
16:12:02.000000000 +0200
@@ -2,7 +2,7 @@
 use warnings;
 package App::Cmd::Tester::CaptureExternal;
 {
-  $App::Cmd::Tester::CaptureExternal::VERSION = '0.316';
+  $App::Cmd::Tester::CaptureExternal::VERSION = '0.317';
 }
 
 use parent 'App::Cmd::Tester';
@@ -47,7 +47,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Tester.pm 
new/App-Cmd-0.317/lib/App/Cmd/Tester.pm
--- old/App-Cmd-0.316/lib/App/Cmd/Tester.pm     2012-02-11 16:51:08.000000000 
+0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Tester.pm     2012-03-26 16:12:01.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 package App::Cmd::Tester;
 {
-  $App::Cmd::Tester::VERSION = '0.316';
+  $App::Cmd::Tester::VERSION = '0.317';
 }
 
 # ABSTRACT: for capturing the result of running an app
@@ -28,6 +28,8 @@
 sub test_app {
   my ($class, $app, $argv) = @_;
 
+  local $App::Cmd::_bad = 0;
+
   $app = $app->new unless ref($app) or $app->isa('App::Cmd::Simple');
 
   my $result = $class->_run_with_capture($app, $argv);
@@ -40,6 +42,8 @@
     $exit_code = $$error;
   }
 
+  $exit_code =1 if $App::Cmd::_bad && ! $exit_code;
+
   $class->result_class->new({
     app    => $app,
     exit_code => $exit_code,
@@ -79,7 +83,7 @@
 {
   package App::Cmd::Tester::Result;
 {
-  $App::Cmd::Tester::Result::VERSION = '0.316';
+  $App::Cmd::Tester::Result::VERSION = '0.317';
 }
 
   sub new {
@@ -98,7 +102,7 @@
 {
   package App::Cmd::Tester::Exited;
 {
-  $App::Cmd::Tester::Exited::VERSION = '0.316';
+  $App::Cmd::Tester::Exited::VERSION = '0.317';
 }
   sub throw {
     my ($class, $code) = @_;
@@ -118,7 +122,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd/Tutorial.pod 
new/App-Cmd-0.317/lib/App/Cmd/Tutorial.pod
--- old/App-Cmd-0.316/lib/App/Cmd/Tutorial.pod  2012-02-11 16:51:08.000000000 
+0100
+++ new/App-Cmd-0.317/lib/App/Cmd/Tutorial.pod  2012-03-26 16:12:01.000000000 
+0200
@@ -13,7 +13,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/lib/App/Cmd.pm 
new/App-Cmd-0.317/lib/App/Cmd.pm
--- old/App-Cmd-0.316/lib/App/Cmd.pm    2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/lib/App/Cmd.pm    2012-03-26 16:12:01.000000000 +0200
@@ -4,7 +4,7 @@
 
 package App::Cmd;
 {
-  $App::Cmd::VERSION = '0.316';
+  $App::Cmd::VERSION = '0.317';
 }
 use App::Cmd::ArgProcessor;
 BEGIN { our @ISA = 'App::Cmd::ArgProcessor' };
@@ -382,7 +382,7 @@
 
 =head1 VERSION
 
-version 0.316
+version 0.317
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/App-Cmd-0.316/t/basic.t new/App-Cmd-0.317/t/basic.t
--- old/App-Cmd-0.316/t/basic.t 2012-02-11 16:51:08.000000000 +0100
+++ new/App-Cmd-0.317/t/basic.t 2012-03-26 16:12:01.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 12;
+use Test::More tests => 13;
 use App::Cmd::Tester;
 
 use lib 't/lib';
@@ -37,7 +37,7 @@
 {
   local @ARGV = qw(frob --widget wname your fat face);
   eval { $app->run };
-  
+
   is(
     $@,
     "the widget name is wname - your fat face\n",
@@ -50,7 +50,7 @@
   eval { $app->run };
 
   my $error = $@;
-  
+
   like(
     $error,
     qr/^basic.t justusage/,
@@ -61,7 +61,7 @@
 {
   local @ARGV = qw(stock);
   eval { $app->run };
-  
+
   like($@, qr/mandatory method/, "un-subclassed &run leads to death");
 }
 
@@ -75,3 +75,8 @@
   my $return = test_app('Test::MyCmd', [ qw(exit 1) ]);
   is($return->exit_code, 1, "exit code is 1");
 }
+
+{
+  my $return = test_app('Test::MyCmd', [ qw(unknown) ]);
+  is($return->exit_code, 1, "exit code is 1");
+}

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to