Hello community,
here is the log from the commit of package perl-Getopt-Long-Descriptive for
openSUSE:Factory checked in at 2013-10-06 19:36:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive (Old)
and /work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Getopt-Long-Descriptive"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.changes
2013-06-06 13:15:31.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new/perl-Getopt-Long-Descriptive.changes
2013-10-06 19:36:28.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Oct 4 09:13:48 UTC 2013 - [email protected]
+
+- updated to 0.095
+ - add the "shortcircuit" option option (thanks, Diab Jerius!)
+ - update documentation to note that failed validation is fatal (thanks,
+ SMYLERS)
+ - show off "required" in the SYNOPSIS (thanks, OALDERS)
+
+-------------------------------------------------------------------
Old:
----
Getopt-Long-Descriptive-0.093.tar.gz
New:
----
Getopt-Long-Descriptive-0.095.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Getopt-Long-Descriptive.spec ++++++
--- /var/tmp/diff_new_pack.cfhfnP/_old 2013-10-06 19:36:29.000000000 +0200
+++ /var/tmp/diff_new_pack.cfhfnP/_new 2013-10-06 19:36:29.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Getopt-Long-Descriptive
-Version: 0.093
+Version: 0.095
Release: 0
%define cpan_name Getopt-Long-Descriptive
Summary: Getopt::Long, but simpler and more powerful
@@ -32,7 +32,10 @@
BuildRequires: perl(Params::Validate) >= 0.97
BuildRequires: perl(Sub::Exporter) >= 0.972
BuildRequires: perl(Sub::Exporter::Util)
+BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::Warnings)
+#BuildRequires: perl(Getopt::Long::Descriptive)
#BuildRequires: perl(Getopt::Long::Descriptive::Opts)
#BuildRequires: perl(Getopt::Long::Descriptive::Usage)
Requires: perl(Params::Validate) >= 0.97
++++++ Getopt-Long-Descriptive-0.093.tar.gz ->
Getopt-Long-Descriptive-0.095.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/Changes
new/Getopt-Long-Descriptive-0.095/Changes
--- old/Getopt-Long-Descriptive-0.093/Changes 2012-11-01 20:55:38.000000000
+0100
+++ new/Getopt-Long-Descriptive-0.095/Changes 2013-09-27 02:32:58.000000000
+0200
@@ -1,118 +1,126 @@
Revision history for Getopt-Long-Descriptive
+0.095 2013-09-26 20:32:55 America/New_York
+ - add the "shortcircuit" option option (thanks, Diab Jerius!)
+
+0.094 2013-09-05 09:35:26 America/New_York
+ - update documentation to note that failed validation is fatal (thanks,
+ SMYLERS)
+ - show off "required" in the SYNOPSIS (thanks, OALDERS)
+
0.093 2012-11-01 15:55:35 America/New_York
- bogus %-codes in usage description are now noticed and fatal
+ - bogus %-codes in usage description are now noticed and fatal
0.092 2012-07-31 22:51:09 America/New_York
- make "hidden" options usable on their own (thanks, Roman Hubacek!)
+ - make "hidden" options usable on their own (thanks, Roman Hubacek!)
0.091 2012-02-22 18:15:08 America/New_York
- don't die quite so violently when a Params::Validate constraint fails
+ - don't die quite so violently when a Params::Validate constraint fails
(initial patch by harleypig@github; final blame to RJBS)
0.090 2011-04-21 20:43:07 America/New_York
- bump prereq on Params::Validate to deal with recent buggy versions
+ - bump prereq on Params::Validate to deal with recent buggy versions
0.089 2011-01-13
- bump version to deal with busted PAUSE indexing
+ - bump version to deal with busted PAUSE indexing
0.088 2011-01-12
- fix infinite loop when long option documentation strings couldn't
wrap
+ - fix infinite loop when long option documentation strings couldn't
wrap
(HDP)
0.087 2010-11-30
- long option documentation strings are now line-wrapped and aligned
+ - long option documentation strings are now line-wrapped and aligned
correctly (Dave Rolsky)
0.086 2010-09-19
- fix minimum required version of Sub::Exporter
- minor tweak to avoid warnings when run with -w
+ - fix minimum required version of Sub::Exporter
+ - minor tweak to avoid warnings when run with -w
0.085 2010-03-13
- rewrite much of the documentation
+ - rewrite much of the documentation
0.084 2010-02-14
- prevent auto-enabling of auto_help (Thanks, DOUGDUDE)
+ - prevent auto-enabling of auto_help (Thanks, DOUGDUDE)
0.083 2009-12-12
- create an Opts module to store the opts object code
- add _specified_opts method and _specified method for Opts
+ - create an Opts module to store the opts object code
+ - add _specified_opts method and _specified method for Opts
0.082 2009-12-03
- require Getopt::Long 2.33 for proper --no-foo handling
+ - require Getopt::Long 2.33 for proper --no-foo handling
0.081 2009-11-27
- \%opt will not contain entries for opts that were not given
+ - \%opt will not contain entries for opts that were not given
(this reverts 0.079 and 0.080's new behavior of undef entries)
0.080 2009-11-27
- fix option naming to ignore "+" used to mark cumulative options
- fix direct calls to Getopt::Long::Descriptive::describe_options
+ - fix option naming to ignore "+" used to mark cumulative options
+ - fix direct calls to Getopt::Long::Descriptive::describe_options
0.079 2009-11-26 Happy Thanksgiving!
- improve the "opt as object" facility to have all opts as methods
+ - improve the "opt as object" facility to have all opts as methods
0.078 2009-08-21
- refactoring to allow subclassing of Getopt::Long::Descriptive
+ - refactoring to allow subclassing of Getopt::Long::Descriptive
0.077 2009-08-21
- allow 'f' as an option name; had mistakenly required 2 characters
+ - allow 'f' as an option name; had mistakenly required 2 characters
0.076 2009-08-20
- bundle the accidentally omitted Usage.pm file
- the $opt returned by described_options is now an object with
accessors
+ - bundle the accidentally omitted Usage.pm file
+ - the $opt returned by described_options is now an object with
accessors
0.075 2009-08-19
- significant refactoring, especially to GLD::Usage, which is now a
more
+ - significant refactoring, especially to GLD::Usage, which is now a
more
traditional (non-hash-based) object (RJBS)
0.074 2008-05-11
- fix RT#35678 (thanks RJBS)
+ - fix RT#35678 (thanks RJBS)
0.073 2008-04-04
- packaging fix
+ - packaging fix
0.072 2008-04-03
- remove duplicate option name in test
+ - remove duplicate option name in test
0.071 2008-04-03
- fix RT#34153 (bcbailey++)
+ - fix RT#34153 (bcbailey++)
0.070 2008-01-29
- fix RT#32481 (nothingmuch++)
+ - fix RT#32481 (nothingmuch++)
0.06 2006-08-20
- Required options should not give an unhelpful
+ - Required options should not give an unhelpful
Params::Validate error message when they're missing.
- Add %c to 'format' for command name.
+ - Add %c to 'format' for command name.
- Use [] for spacers in option list.
+ - Use [] for spacers in option list.
0.05 2006-01-25
- Support negatable ('foo!') options from Getopt::Long.
+ - Support negatable ('foo!') options from Getopt::Long.
0.04 2005-11-28
- Include IO::Scalar prereq in Makefile.PL
+ - Include IO::Scalar prereq in Makefile.PL
0.03 2005-11-15
- Add 'one_of' and 'hidden'.
+ - Add 'one_of' and 'hidden'.
0.02 2005-11-10
- Bugfix: Getopt::Long type specifiers were sneaking
+ - Bugfix: Getopt::Long type specifiers were sneaking
into option names
0.01 2005-11-10
- First version, released on an unsuspecting world.
+ - First version, released on an unsuspecting world.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/MANIFEST
new/Getopt-Long-Descriptive-0.095/MANIFEST
--- old/Getopt-Long-Descriptive-0.093/MANIFEST 2012-11-01 20:55:38.000000000
+0100
+++ new/Getopt-Long-Descriptive-0.095/MANIFEST 2013-09-27 02:32:58.000000000
+0200
@@ -12,5 +12,6 @@
t/00-compile.t
t/000-report-versions-tiny.t
t/descriptive.t
+t/shortcircuit.t
xt/release/changes_has_content.t
xt/release/pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/META.json
new/Getopt-Long-Descriptive-0.095/META.json
--- old/Getopt-Long-Descriptive-0.093/META.json 2012-11-01 20:55:38.000000000
+0100
+++ new/Getopt-Long-Descriptive-0.095/META.json 2013-09-27 02:32:58.000000000
+0200
@@ -5,7 +5,7 @@
"Ricardo Signes <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300028, CPAN::Meta::Converter
version 2.120921",
+ "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter
version 2.132620",
"license" : [
"perl_5"
],
@@ -43,14 +43,20 @@
},
"test" : {
"requires" : {
- "File::Find" : "0",
- "File::Temp" : "0",
- "Test::More" : "0.96"
+ "File::Spec" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
+ "Test::Fatal" : "0",
+ "Test::More" : "0.96",
+ "Test::Warnings" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/rjbs/Getopt-Long-Descriptive/issues"
+ },
"homepage" : "https://github.com/rjbs/Getopt-Long-Descriptive",
"repository" : {
"type" : "git",
@@ -58,116 +64,126 @@
"web" : "https://github.com/rjbs/Getopt-Long-Descriptive"
}
},
- "version" : "0.093",
+ "version" : "0.095",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.017004"
+ "version" : "5.019003"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.001"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.007"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
- "version" : "0.007"
+ "version" : "0.011"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "name" : "@RJBS/RJBS-Outdated",
+ "version" : "0.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "name" : "@RJBS/CPAN-Outdated",
+ "version" : "0.006"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Filter/MakeMaker",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.001"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -177,17 +193,27 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.300028"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "name" : "@RJBS/Test::Compile",
- "version" : "1.112820"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
"name" : "@RJBS/ReportVersions::Tiny",
- "version" : "1.08"
+ "version" : "1.09"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::Compile",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Compile" : {
+ "module_finder" : [
+ ":InstallModules"
+ ],
+ "script_finder" : [
+ ":ExecFiles"
+ ]
+ }
+ },
+ "name" : "@RJBS/Test::Compile",
+ "version" : "2.033"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -198,67 +224,76 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "config_plugin" : "@RJBS",
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ]
+ }
+ },
"name" : "@RJBS/PodWeaver",
- "version" : "3.101641"
+ "version" : "3.102000"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.28"
+ "version" : "0.38"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
- "version" : "2.001"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
- "version" : "2.001"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
- "version" : "2.001"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
- "version" : "2.001"
+ "version" : "2.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300028"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300028"
+ "version" : "4.300039"
}
],
"zilla" : {
@@ -266,7 +301,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300028"
+ "version" : "4.300039"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/META.yml
new/Getopt-Long-Descriptive-0.095/META.yml
--- old/Getopt-Long-Descriptive-0.093/META.yml 2012-11-01 20:55:38.000000000
+0100
+++ new/Getopt-Long-Descriptive-0.095/META.yml 2013-09-27 02:32:58.000000000
+0200
@@ -4,13 +4,16 @@
- 'Hans Dieter Pearcey <[email protected]>'
- 'Ricardo Signes <[email protected]>'
build_requires:
- File::Find: 0
- File::Temp: 0
+ File::Spec: 0
+ IO::Handle: 0
+ IPC::Open3: 0
+ Test::Fatal: 0
Test::More: 0.96
+ Test::Warnings: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300028, CPAN::Meta::Converter version
2.120921'
+generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version
2.132620'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,97 +32,106 @@
strict: 0
warnings: 0
resources:
+ bugtracker: https://github.com/rjbs/Getopt-Long-Descriptive/issues
homepage: https://github.com/rjbs/Getopt-Long-Descriptive
repository: https://github.com/rjbs/Getopt-Long-Descriptive.git
-version: 0.093
+version: 0.095
x_Dist_Zilla:
perl:
- version: 5.017004
+ version: 5.019003
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
name: '@RJBS/Git::GatherDir'
- version: 2.001
+ version: 2.014
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: 0.007
+ version: 0.009
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
- version: 0.007
+ version: 0.011
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ name: '@RJBS/RJBS-Outdated'
+ version: 0.006
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ name: '@RJBS/CPAN-Outdated'
+ version: 0.006
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Filter/MakeMaker'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
- version: 2.001
+ version: 2.014
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
@@ -127,15 +139,21 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.300028
- -
- class: Dist::Zilla::Plugin::Test::Compile
- name: '@RJBS/Test::Compile'
- version: 1.112820
+ version: 4.300039
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
- version: 1.08
+ version: 1.09
+ -
+ class: Dist::Zilla::Plugin::Test::Compile
+ config:
+ Dist::Zilla::Plugin::Test::Compile:
+ module_finder:
+ - ':InstallModules'
+ script_finder:
+ - ':ExecFiles'
+ name: '@RJBS/Test::Compile'
+ version: 2.033
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -143,57 +161,63 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ config_plugin: '@RJBS'
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
name: '@RJBS/PodWeaver'
- version: 3.101641
+ version: 3.102000
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.28
+ version: 0.38
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
- version: 2.001
+ version: 2.014
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
- version: 2.001
+ version: 2.014
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
- version: 2.001
+ version: 2.014
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
- version: 2.001
+ version: 2.014
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300028
+ version: 4.300039
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300028
+ version: 4.300039
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.300028
+ version: 4.300039
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/Makefile.PL
new/Getopt-Long-Descriptive-0.095/Makefile.PL
--- old/Getopt-Long-Descriptive-0.093/Makefile.PL 2012-11-01
20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/Makefile.PL 2013-09-27
02:32:58.000000000 +0200
@@ -11,11 +11,7 @@
my %WriteMakefileArgs = (
"ABSTRACT" => "Getopt::Long, but simpler and more powerful",
"AUTHOR" => "Hans Dieter Pearcey <hdp\@cpan.org>, Ricardo Signes
<rjbs\@cpan.org>",
- "BUILD_REQUIRES" => {
- "File::Find" => 0,
- "File::Temp" => 0,
- "Test::More" => "0.96"
- },
+ "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -36,13 +32,34 @@
"strict" => 0,
"warnings" => 0
},
- "VERSION" => "0.093",
+ "TEST_REQUIRES" => {
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "Test::Fatal" => 0,
+ "Test::More" => "0.96",
+ "Test::Warnings" => 0
+ },
+ "VERSION" => "0.095",
"test" => {
"TESTS" => "t/*.t"
}
);
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
+ my $br = $WriteMakefileArgs{BUILD_REQUIRES};
+ for my $mod ( keys %$tr ) {
+ if ( exists $br->{$mod} ) {
+ $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
+ }
+ else {
+ $br->{$mod} = $tr->{$mod};
+ }
+ }
+}
+
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/README
new/Getopt-Long-Descriptive-0.095/README
--- old/Getopt-Long-Descriptive-0.093/README 2012-11-01 20:55:38.000000000
+0100
+++ new/Getopt-Long-Descriptive-0.095/README 2013-09-27 02:32:58.000000000
+0200
@@ -1,7 +1,7 @@
This archive contains the distribution Getopt-Long-Descriptive,
-version 0.093:
+version 0.095:
Getopt::Long, but simpler and more powerful
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.093/lib/Getopt/Long/Descriptive/Opts.pm
new/Getopt-Long-Descriptive-0.095/lib/Getopt/Long/Descriptive/Opts.pm
--- old/Getopt-Long-Descriptive-0.093/lib/Getopt/Long/Descriptive/Opts.pm
2012-11-01 20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/lib/Getopt/Long/Descriptive/Opts.pm
2013-09-27 02:32:58.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Getopt::Long::Descriptive::Opts;
{
- $Getopt::Long::Descriptive::Opts::VERSION = '0.093';
+ $Getopt::Long::Descriptive::Opts::VERSION = '0.095';
}
# ABSTRACT: object representing command line switches
@@ -107,7 +107,7 @@
=head1 VERSION
-version 0.093
+version 0.095
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.093/lib/Getopt/Long/Descriptive/Usage.pm
new/Getopt-Long-Descriptive-0.095/lib/Getopt/Long/Descriptive/Usage.pm
--- old/Getopt-Long-Descriptive-0.093/lib/Getopt/Long/Descriptive/Usage.pm
2012-11-01 20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/lib/Getopt/Long/Descriptive/Usage.pm
2013-09-27 02:32:58.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Getopt::Long::Descriptive::Usage;
{
- $Getopt::Long::Descriptive::Usage::VERSION = '0.093';
+ $Getopt::Long::Descriptive::Usage::VERSION = '0.095';
}
# ABSTRACT: the usage description for GLD
@@ -126,7 +126,7 @@
=head1 VERSION
-version 0.093
+version 0.095
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.093/lib/Getopt/Long/Descriptive.pm
new/Getopt-Long-Descriptive-0.095/lib/Getopt/Long/Descriptive.pm
--- old/Getopt-Long-Descriptive-0.093/lib/Getopt/Long/Descriptive.pm
2012-11-01 20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/lib/Getopt/Long/Descriptive.pm
2013-09-27 02:32:58.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Getopt::Long::Descriptive;
{
- $Getopt::Long::Descriptive::VERSION = '0.093';
+ $Getopt::Long::Descriptive::VERSION = '0.095';
}
# ABSTRACT: Getopt::Long, but simpler and more powerful
@@ -120,7 +120,13 @@
push @opts, $one_opt;
}
}
+ if ($opt->{constraint}{shortcircuit}
+ && exists $opt->{constraint}{default}
+ ) {
+ carp('option "' . $opt->{name} . q[": 'default' does not make sense
for shortcircuit options]);
+ }
push @opts, $opt;
+
}
my @go_conf = @{ $arg->{getopt_conf} || $arg->{getopt} || [] };
@@ -188,8 +194,14 @@
$return{$newopt} = delete $return{$opt};
}
- for my $copt (grep { $_->{constraint} } @opts) {
+ # ensure that shortcircuit options are handled first
+ for my $copt (
+ sort { ($b->{constraint}{shortcircuit} || 0)
+ <=> ($a->{constraint}{shortcircuit} || 0)
+ } grep { $_->{constraint} } @opts
+ ) {
delete $copt->{constraint}->{hidden};
+ my $is_shortcircuit = delete $copt->{constraint}{shortcircuit};
my $name = $copt->{name};
my $new = _validate_with(
name => $name,
@@ -200,6 +212,11 @@
);
next unless (defined($new) || exists($return{$name}));
$return{$name} = $new;
+
+ if ($is_shortcircuit) {
+ %return = ($name => $return{$name});
+ last;
+ }
}
my $opt_obj = Getopt::Long::Descriptive::Opts->___new_opt_obj({
@@ -367,7 +384,7 @@
=head1 VERSION
-version 0.093
+version 0.095
=head1 SYNOPSIS
@@ -375,8 +392,8 @@
my ($opt, $usage) = describe_options(
'my-program %o <some-arg>',
- [ 'server|s=s', "the server to connect to" ],
- [ 'port|p=i', "the port to connect to", { default => 79 } ],
+ [ 'server|s=s', "the server to connect to", { required => 1 } ],
+ [ 'port|p=i', "the port to connect to", { default => 79 } ],
[],
[ 'verbose|v', "print extra stuff" ],
[ 'help', "print usage message and exit" ],
@@ -415,8 +432,10 @@
my ($opt, $usage) = describe_options($usage_desc, @opt_spec, \%arg);
-This routine inspects C<@ARGV> returns the options given and a object
-for generating usage messages.
+This routine inspects C<@ARGV> for options that match the supplied spec. If all
+the options are valid then it returns the options given and an object for
+generating usage messages; if not then it dies with an explanation of what was
+wrong and a usage message.
The C<$opt> object will be a dynamically-generated subclass of
L<Getopt::Long::Descriptive::Opts>. In brief, each of the options in
@@ -557,6 +576,14 @@
[ mode => \@option_specs, \%constraints ]
+=item shortcircuit
+
+ shortcircuit => 1
+
+If this option is present no other options will be returned. Other
+options present will be checked for proper types, but I<not> for
+constraints. This provides a way of specifying C<--help> style options.
+
=item Params::Validate
In addition, any constraint understood by Params::Validate may be used.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/t/00-compile.t
new/Getopt-Long-Descriptive-0.095/t/00-compile.t
--- old/Getopt-Long-Descriptive-0.093/t/00-compile.t 2012-11-01
20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/t/00-compile.t 2013-09-27
02:32:58.000000000 +0200
@@ -1,73 +1,48 @@
-#!perl
-
use strict;
use warnings;
-use Test::More;
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033
+use Test::More 0.94 tests => 3 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
-use File::Find;
-use File::Temp qw{ tempdir };
-my @modules;
-find(
- sub {
- return if $File::Find::name !~ /\.pm\z/;
- my $found = $File::Find::name;
- $found =~ s{^lib/}{};
- $found =~ s{[/\\]}{::}g;
- $found =~ s/\.pm$//;
- # nothing to skip
- push @modules, $found;
- },
- 'lib',
+my @module_files = (
+ 'Getopt/Long/Descriptive.pm',
+ 'Getopt/Long/Descriptive/Opts.pm',
+ 'Getopt/Long/Descriptive/Usage.pm'
);
-sub _find_scripts {
- my $dir = shift @_;
-
- my @found_scripts = ();
- find(
- sub {
- return unless -f;
- my $found = $File::Find::name;
- # nothing to skip
- open my $FH, '<', $_ or do {
- note( "Unable to open $found in ( $! ), skipping" );
- return;
- };
- my $shebang = <$FH>;
- return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
- push @found_scripts, $found;
- },
- $dir,
- );
- return @found_scripts;
-}
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
- for qw{ bin script scripts };
+# no fake home requested
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+my @warnings;
+for my $lib (@module_files)
{
- # fake home for cpan-testers
- # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
-
- like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_
loaded ok" )
- for sort @modules;
-
- SKIP: {
- eval "use Test::Script 1.05; 1;";
- skip "Test::Script needed to test script compilation",
scalar(@scripts) if $@;
- foreach my $file ( @scripts ) {
- my $script = $file;
- $script =~ s!.*/!!;
- script_compiles( $file, "$script script compiles" );
- }
+ # see L<perlfaq8/How can I capture STDERR from an external command?>
+ open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', '-e', "require
q[$lib]");
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($? >> 8, 0, "$lib loaded ok");
+
+ if (@_warnings)
+ {
+ warn @_warnings;
+ push @warnings, @_warnings;
}
}
+
+
+
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+
+BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.093/t/000-report-versions-tiny.t
new/Getopt-Long-Descriptive-0.095/t/000-report-versions-tiny.t
--- old/Getopt-Long-Descriptive-0.093/t/000-report-versions-tiny.t
2012-11-01 20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/t/000-report-versions-tiny.t
2013-09-27 02:32:58.000000000 +0200
@@ -9,7 +9,7 @@
END { $success && done_testing; }
# List our own version used to generate this
-my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
+my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.09\n";
eval { # no excuses!
# report our Perl details
@@ -51,16 +51,19 @@
eval { $v .= pmver('Carp','any version') };
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
eval { $v .= pmver('File::Basename','any version') };
-eval { $v .= pmver('File::Find','any version') };
-eval { $v .= pmver('File::Temp','any version') };
+eval { $v .= pmver('File::Spec','any version') };
eval { $v .= pmver('Getopt::Long','2.33') };
+eval { $v .= pmver('IO::Handle','any version') };
+eval { $v .= pmver('IPC::Open3','any version') };
eval { $v .= pmver('List::Util','any version') };
eval { $v .= pmver('Params::Validate','0.97') };
eval { $v .= pmver('Scalar::Util','any version') };
eval { $v .= pmver('Sub::Exporter','0.972') };
eval { $v .= pmver('Sub::Exporter::Util','any version') };
+eval { $v .= pmver('Test::Fatal','any version') };
eval { $v .= pmver('Test::More','0.96') };
eval { $v .= pmver('Test::Pod','1.41') };
+eval { $v .= pmver('Test::Warnings','any version') };
eval { $v .= pmver('overload','any version') };
eval { $v .= pmver('strict','any version') };
eval { $v .= pmver('version','0.9901') };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.093/t/shortcircuit.t
new/Getopt-Long-Descriptive-0.095/t/shortcircuit.t
--- old/Getopt-Long-Descriptive-0.093/t/shortcircuit.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/t/shortcircuit.t 2013-09-27
02:32:58.000000000 +0200
@@ -0,0 +1,84 @@
+#!perl
+use strict;
+use warnings;
+
+use Test::More;
+use Test::Warnings qw[ warning ];
+use Test::Fatal;
+
+use Getopt::Long::Descriptive;
+
+my $nreq = 6;
+my @reqs = map { "--req$_" } 1 .. $nreq;
+
+sub _args {
+ "test %o",
+ # load with extra required to make sure
+ # sorting on shortcircuit attribute works;
+ (map { [ "req$_", 'required', { required => 1 } ] } 1 .. $nreq),
+ [ 'help', 'help', { shortcircuit => 1, @_ } ],
+}
+
+like(
+ exception { describe_options( _args() ) },
+ qr/required/,
+ 'no req: error',
+);
+
+like(
+ warning {
+ local @ARGV = @reqs;
+ describe_options( _args( default => 1 ) );
+ },
+ qr/'default' does not make sense for shortcircuit/,
+ 'shortcircuit + default'
+);
+
+SKIP: {
+ my $opt;
+
+ is(
+ exception {
+ local @ARGV = @reqs;
+ ( $opt ) = describe_options( _args() );
+ },
+ undef,
+ 'req: no error'
+ ) or skip( 'no object due to failure', 1 );
+
+ ok( defined $opt->req1 && $opt->req1 == 1, 'req: req1 specified' );
+}
+
+SKIP: {
+ my $opt;
+
+ is(
+ exception {
+ local @ARGV = qw[ --help ];
+ ( $opt ) = describe_options( _args() );
+ },
+ undef,
+ 'help: no error'
+ ) or skip( 'no object due to failure', 2 );
+
+ is( $opt->help, 1, 'help: help flag' );
+ is( scalar keys %{$opt}, 1, 'help: only help' );
+}
+
+SKIP: {
+ my ( $w, $opt );
+
+ is(
+ exception {
+ local @ARGV = qw[ --help ];
+ ( $opt ) = describe_options( _args( @reqs ) );
+ },
+ undef,
+ 'help + req: no error'
+ ) or skip( 'no object due to failure', 2 );
+
+ is( $opt->help, 1, 'help + req: help flag' );
+ is( scalar keys %{$opt}, 1, 'help + req: only help' );
+}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.093/xt/release/changes_has_content.t
new/Getopt-Long-Descriptive-0.095/xt/release/changes_has_content.t
--- old/Getopt-Long-Descriptive-0.093/xt/release/changes_has_content.t
2012-11-01 20:55:38.000000000 +0100
+++ new/Getopt-Long-Descriptive-0.095/xt/release/changes_has_content.t
2013-09-27 02:32:58.000000000 +0200
@@ -4,7 +4,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.093';
+my $newver = '0.095';
my $trial_token = '-TRIAL';
SKIP: {
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]