Hello community,
here is the log from the commit of package perl-MooseX-Getopt for
openSUSE:Factory checked in at 2018-09-20 11:42:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MooseX-Getopt (Old)
and /work/SRC/openSUSE:Factory/.perl-MooseX-Getopt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-Getopt"
Thu Sep 20 11:42:30 2018 rev:20 rq:636638 version:0.73
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MooseX-Getopt/perl-MooseX-Getopt.changes
2018-08-31 10:44:00.103170808 +0200
+++
/work/SRC/openSUSE:Factory/.perl-MooseX-Getopt.new/perl-MooseX-Getopt.changes
2018-09-20 11:42:32.580818429 +0200
@@ -1,0 +2,6 @@
+Wed Sep 19 05:40:03 UTC 2018 - Stephan Kulow <[email protected]>
+
+- updated to 0.73
+ see /usr/share/doc/packages/perl-MooseX-Getopt/Changes
+
+-------------------------------------------------------------------
Old:
----
MooseX-Getopt-0.72.tar.gz
New:
----
MooseX-Getopt-0.73.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MooseX-Getopt.spec ++++++
--- /var/tmp/diff_new_pack.HbLwKv/_old 2018-09-20 11:42:32.972818199 +0200
+++ /var/tmp/diff_new_pack.HbLwKv/_new 2018-09-20 11:42:32.972818199 +0200
@@ -12,12 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-MooseX-Getopt
-Version: 0.72
+Version: 0.73
Release: 0
#Upstream: Artistic-1.0 or GPL-1.0+
%define cpan_name MooseX-Getopt
@@ -70,6 +70,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL --installdirs=vendor
++++++ MooseX-Getopt-0.72.tar.gz -> MooseX-Getopt-0.73.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/Build.PL
new/MooseX-Getopt-0.73/Build.PL
--- old/MooseX-Getopt-0.72/Build.PL 2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/Build.PL 2018-09-01 07:44:02.000000000 +0200
@@ -87,7 +87,7 @@
"Stevan Little <stevan\@iinteractive.com>"
],
"dist_name" => "MooseX-Getopt",
- "dist_version" => "0.72",
+ "dist_version" => "0.73",
"license" => "perl",
"module_name" => "MooseX::Getopt",
"recursive_test_files" => 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/Changes
new/MooseX-Getopt-0.73/Changes
--- old/MooseX-Getopt-0.72/Changes 2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/Changes 2018-09-01 07:44:02.000000000 +0200
@@ -1,5 +1,11 @@
Revision history for MooseX-Getopt
+0.73 2018-09-01 05:43:55Z
+ - properly wrap usage text that contains newlines (Andreas Koenig, github
+ #10)
+ - move the exit() to a higher scope, to allow for 'after' method modifiers on
+ 'print_usage_text' (Michael Schout, github #9)
+
0.72 2018-08-04 04:45:57Z
- fix tests that broke with Getopt::Long::Descriptive 0.103 (RT#125992,
Damyan Ivanov, debian-perl group)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/META.json
new/MooseX-Getopt-0.73/META.json
--- old/MooseX-Getopt-0.72/META.json 2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/META.json 2018-09-01 07:44:02.000000000 +0200
@@ -205,47 +205,47 @@
"provides" : {
"MooseX::Getopt" : {
"file" : "lib/MooseX/Getopt.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Basic" : {
"file" : "lib/MooseX/Getopt/Basic.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Dashes" : {
"file" : "lib/MooseX/Getopt/Dashes.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::GLD" : {
"file" : "lib/MooseX/Getopt/GLD.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Meta::Attribute" : {
"file" : "lib/MooseX/Getopt/Meta/Attribute.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Meta::Attribute::NoGetopt" : {
"file" : "lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Meta::Attribute::Trait" : {
"file" : "lib/MooseX/Getopt/Meta/Attribute/Trait.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Meta::Attribute::Trait::NoGetopt" : {
"file" : "lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::OptionTypeMap" : {
"file" : "lib/MooseX/Getopt/OptionTypeMap.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::ProcessedArgv" : {
"file" : "lib/MooseX/Getopt/ProcessedArgv.pm",
- "version" : "0.72"
+ "version" : "0.73"
},
"MooseX::Getopt::Strict" : {
"file" : "lib/MooseX/Getopt/Strict.pm",
- "version" : "0.72"
+ "version" : "0.73"
}
},
"release_status" : "stable",
@@ -263,10 +263,10 @@
"x_IRC" : "irc://irc.perl.org/#moose",
"x_MailingList" : "http://lists.perl.org/list/moose.html"
},
- "version" : "0.72",
+ "version" : "0.73",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.029001"
+ "version" : "5.029002"
},
"plugins" : [
{
@@ -817,13 +817,16 @@
"Dist::Zilla::Plugin::MakeMaker::Awesome" : {
"version" : "0.47"
},
+ "Dist::Zilla::Plugin::MakeMaker::Fallback" : {
+ "skip_release_testing" : 0
+ },
"Dist::Zilla::Role::TestRunner" : {
"default_jobs" : 9,
"version" : "6.012"
}
},
"name" : "@Author::ETHER/MakeMaker::Fallback",
- "version" : "0.027"
+ "version" : "0.029"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback",
@@ -955,7 +958,7 @@
"class" : "Dist::Zilla::Plugin::EnsureLatestPerl",
"config" : {
"Dist::Zilla::Plugin::EnsureLatestPerl" : {
- "Module::CoreList" : "5.20180720"
+ "Module::CoreList" : "5.20180820"
}
},
"name" : "@Author::ETHER/EnsureLatestPerl",
@@ -1172,7 +1175,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v0.72",
+ "tag" : "v0.73",
"tag_format" : "v%v",
"tag_message" : "v%v%t"
},
@@ -1273,7 +1276,7 @@
}
},
"name" : "@Author::ETHER/GitHub::Update",
- "version" : "0.45"
+ "version" : "0.46"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterRelease",
@@ -1467,31 +1470,33 @@
"Olaf Alders <[email protected]>",
"Hans Dieter Pearcey <[email protected]>",
"Ryan D Johnson <[email protected]>",
- "Dave Rolsky <[email protected]>",
"Nelo Onyiah <[email protected]>",
+ "Dave Rolsky <[email protected]>",
"Ricardo SIGNES <[email protected]>",
"\u00c6var Arnfj\u00f6r\u00f0 Bjarmason <[email protected]>",
- "Damien Krotkine <[email protected]>",
"Hinrik \u00d6rn Sigur\u00f0sson <[email protected]>",
+ "Damien Krotkine <[email protected]>",
"Jose Luis Martinez <[email protected]>",
- "Gregory Oschwald <[email protected]>",
+ "Chris Prather <[email protected]>",
"Devin Austin <[email protected]>",
+ "Gregory Oschwald <[email protected]>",
"Todd Hepler <[email protected]>",
- "Chris Prather <[email protected]>",
+ "Michael Schout <[email protected]>",
+ "Andreas Koenig <[email protected]>",
+ "Jonathan Swartz <[email protected]>",
+ "John Goulah <[email protected]>",
"Jesse Luehrs <[email protected]>",
- "Gordon Irving <[email protected]>",
- "Drew Taylor <[email protected]>",
"Shlomi Fish <[email protected]>",
"Stevan Little <[email protected]>",
- "Damyan Ivanov <[email protected]>",
+ "Gordon Irving <[email protected]>",
"Stuart A Johnston <[email protected]>",
- "Justin Hunter <[email protected]>",
- "Jonathan Swartz <[email protected]>",
- "John Goulah <[email protected]>",
- "Dagfinn Ilmari Manns\u00e5ker <[email protected]>"
+ "Dagfinn Ilmari Manns\u00e5ker <[email protected]>",
+ "Drew Taylor <[email protected]>",
+ "Damyan Ivanov <[email protected]>",
+ "Justin Hunter <[email protected]>"
],
- "x_generated_by_perl" : "v5.29.1",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.04",
+ "x_generated_by_perl" : "v5.29.2",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.06",
"x_static_install" : 1,
"x_use_unsafe_inc" : 0
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/META.yml
new/MooseX-Getopt-0.73/META.yml
--- old/MooseX-Getopt-0.72/META.yml 2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/META.yml 2018-09-01 07:44:02.000000000 +0200
@@ -47,37 +47,37 @@
provides:
MooseX::Getopt:
file: lib/MooseX/Getopt.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Basic:
file: lib/MooseX/Getopt/Basic.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Dashes:
file: lib/MooseX/Getopt/Dashes.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::GLD:
file: lib/MooseX/Getopt/GLD.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Meta::Attribute:
file: lib/MooseX/Getopt/Meta/Attribute.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Meta::Attribute::NoGetopt:
file: lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Meta::Attribute::Trait:
file: lib/MooseX/Getopt/Meta/Attribute/Trait.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Meta::Attribute::Trait::NoGetopt:
file: lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::OptionTypeMap:
file: lib/MooseX/Getopt/OptionTypeMap.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::ProcessedArgv:
file: lib/MooseX/Getopt/ProcessedArgv.pm
- version: '0.72'
+ version: '0.73'
MooseX::Getopt::Strict:
file: lib/MooseX/Getopt/Strict.pm
- version: '0.72'
+ version: '0.73'
requires:
Carp: '0'
Getopt::Long: '2.37'
@@ -99,10 +99,10 @@
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt
homepage: https://github.com/moose/MooseX-Getopt
repository: https://github.com/moose/MooseX-Getopt.git
-version: '0.72'
+version: '0.73'
x_Dist_Zilla:
perl:
- version: '5.029001'
+ version: '5.029002'
plugins:
-
class: Dist::Zilla::Plugin::Prereqs
@@ -530,11 +530,13 @@
version: '6.012'
Dist::Zilla::Plugin::MakeMaker::Awesome:
version: '0.47'
+ Dist::Zilla::Plugin::MakeMaker::Fallback:
+ skip_release_testing: 0
Dist::Zilla::Role::TestRunner:
default_jobs: 9
version: '6.012'
name: '@Author::ETHER/MakeMaker::Fallback'
- version: '0.027'
+ version: '0.029'
-
class: Dist::Zilla::Plugin::ModuleBuildTiny::Fallback
config:
@@ -630,7 +632,7 @@
class: Dist::Zilla::Plugin::EnsureLatestPerl
config:
Dist::Zilla::Plugin::EnsureLatestPerl:
- Module::CoreList: '5.20180720'
+ Module::CoreList: '5.20180820'
name: '@Author::ETHER/EnsureLatestPerl'
version: '0.008'
-
@@ -793,7 +795,7 @@
branch: ~
changelog: Changes
signed: 0
- tag: v0.72
+ tag: v0.73
tag_format: v%v
tag_message: v%v%t
Dist::Zilla::Role::Git::Repo:
@@ -866,7 +868,7 @@
Dist::Zilla::Plugin::GitHub::Update:
metacpan: 1
name: '@Author::ETHER/GitHub::Update'
- version: '0.45'
+ version: '0.46'
-
class: Dist::Zilla::Plugin::Run::AfterRelease
config:
@@ -1013,29 +1015,31 @@
- 'Olaf Alders <[email protected]>'
- 'Hans Dieter Pearcey <[email protected]>'
- 'Ryan D Johnson <[email protected]>'
- - 'Dave Rolsky <[email protected]>'
- 'Nelo Onyiah <[email protected]>'
+ - 'Dave Rolsky <[email protected]>'
- 'Ricardo SIGNES <[email protected]>'
- 'Ævar Arnfjörð Bjarmason <[email protected]>'
- - 'Damien Krotkine <[email protected]>'
- 'Hinrik Örn Sigurðsson <[email protected]>'
+ - 'Damien Krotkine <[email protected]>'
- 'Jose Luis Martinez <[email protected]>'
- - 'Gregory Oschwald <[email protected]>'
+ - 'Chris Prather <[email protected]>'
- 'Devin Austin <[email protected]>'
+ - 'Gregory Oschwald <[email protected]>'
- 'Todd Hepler <[email protected]>'
- - 'Chris Prather <[email protected]>'
+ - 'Michael Schout <[email protected]>'
+ - 'Andreas Koenig <[email protected]>'
+ - 'Jonathan Swartz <[email protected]>'
+ - 'John Goulah <[email protected]>'
- 'Jesse Luehrs <[email protected]>'
- - 'Gordon Irving <[email protected]>'
- - 'Drew Taylor <[email protected]>'
- 'Shlomi Fish <[email protected]>'
- 'Stevan Little <[email protected]>'
- - 'Damyan Ivanov <[email protected]>'
+ - 'Gordon Irving <[email protected]>'
- 'Stuart A Johnston <[email protected]>'
- - 'Justin Hunter <[email protected]>'
- - 'Jonathan Swartz <[email protected]>'
- - 'John Goulah <[email protected]>'
- 'Dagfinn Ilmari Mannsåker <[email protected]>'
-x_generated_by_perl: v5.29.1
+ - 'Drew Taylor <[email protected]>'
+ - 'Damyan Ivanov <[email protected]>'
+ - 'Justin Hunter <[email protected]>'
+x_generated_by_perl: v5.29.2
x_serialization_backend: 'YAML::Tiny version 1.73'
x_static_install: 1
x_use_unsafe_inc: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/Makefile.PL
new/MooseX-Getopt-0.73/Makefile.PL
--- old/MooseX-Getopt-0.72/Makefile.PL 2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/Makefile.PL 2018-09-01 07:44:02.000000000 +0200
@@ -1,5 +1,5 @@
# This Makefile.PL for MooseX-Getopt was generated by
-# Dist::Zilla::Plugin::MakeMaker::Fallback 0.027
+# Dist::Zilla::Plugin::MakeMaker::Fallback 0.029
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.47.
# Don't edit it but the dist.ini and plugins used to construct it.
@@ -113,7 +113,7 @@
"Test::Warnings" => "0.009",
"if" => 0
},
- "VERSION" => "0.72",
+ "VERSION" => "0.73",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/README
new/MooseX-Getopt-0.73/README
--- old/MooseX-Getopt-0.72/README 2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/README 2018-09-01 07:44:02.000000000 +0200
@@ -1,5 +1,5 @@
This archive contains the distribution MooseX-Getopt,
-version 0.72:
+version 0.73:
A Moose role for processing command line options
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Basic.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Basic.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Basic.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Basic.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Basic;
# ABSTRACT: MooseX::Getopt::Basic - role to implement the Getopt::Long
functionality
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose::Role;
@@ -85,6 +85,7 @@
# did the user request usage information?
if ( $processed{usage} and $params->{help_flag} ) {
$class->print_usage_text($processed{usage});
+ exit 0;
}
return MooseX::Getopt::ProcessedArgv->new(
@@ -175,7 +176,6 @@
{
my ($self, $usage) = @_;
print $usage->text;
- exit 0;
}
#(this is already documented in MooseX::Getopt. But FIXME later, via RT#82195)
#pod =for Pod::Coverage
@@ -254,7 +254,7 @@
}
}
- push @options, {
+ my $push = {
name => $flag,
init_arg => $attr->init_arg,
opt_string => $opt_string,
@@ -268,8 +268,13 @@
# See 100_gld_default_bug.t for an example
# - SL
#( ( $attr->has_default && ( $attr->is_default_a_coderef xor
$attr->is_lazy ) ) ? ( default => $attr->default({}) ) : () ),
- ( $attr->has_documentation ? ( doc => $attr->documentation ) : ()
),
+ };
+ if ($attr->has_documentation) {
+ my $doc = $attr->documentation;
+ $doc =~ s/[\r\n]+/ /g;
+ $push->{doc} = $doc;
}
+ push @options, $push;
}
return @options;
@@ -289,7 +294,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Dashes.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Dashes.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Dashes.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Dashes.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Dashes;
# ABSTRACT: convert underscores in attribute names to dashes
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose::Role;
with 'MooseX::Getopt';
@@ -33,7 +33,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/lib/MooseX/Getopt/GLD.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/GLD.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/GLD.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/GLD.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::GLD;
# ABSTRACT: A Moose role for processing command line options with
Getopt::Long::Descriptive
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use strict;
use warnings;
@@ -97,7 +97,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
2018-09-01 07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Meta::Attribute::NoGetopt;
# ABSTRACT: Optional meta attribute for ignoring parameters
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose;
extends 'Moose::Meta::Attribute'; # << Moose extending Moose :)
@@ -28,7 +28,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
2018-09-01 07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Meta::Attribute::Trait::NoGetopt;
# ABSTRACT: Optional meta attribute trait for ignoring parameters
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose::Role;
use namespace::autoclean;
@@ -25,7 +25,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute/Trait.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute/Trait.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute/Trait.pm
2018-08-04 06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute/Trait.pm
2018-09-01 07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Meta::Attribute::Trait;
# ABSTRACT: Optional meta attribute trait for custom option names
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose::Role;
use Moose::Util::TypeConstraints qw(subtype coerce from via as);
@@ -47,7 +47,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Meta/Attribute.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Meta/Attribute.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Meta::Attribute;
# ABSTRACT: Optional meta attribute for custom option names
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose;
use namespace::autoclean;
@@ -28,7 +28,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Getopt-0.72/lib/MooseX/Getopt/OptionTypeMap.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/OptionTypeMap.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/OptionTypeMap.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/OptionTypeMap.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::OptionTypeMap;
# ABSTRACT: Storage for the option to type mappings
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose;
use Carp 'confess';
@@ -104,7 +104,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Getopt-0.72/lib/MooseX/Getopt/ProcessedArgv.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/ProcessedArgv.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/ProcessedArgv.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/ProcessedArgv.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::ProcessedArgv;
# ABSTRACT: MooseX::Getopt::ProcessedArgv - Class containing the results of
process_argv
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose;
use namespace::autoclean;
@@ -28,7 +28,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Strict.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Strict.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt/Strict.pm 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt/Strict.pm 2018-09-01
07:44:02.000000000 +0200
@@ -1,7 +1,7 @@
package MooseX::Getopt::Strict;
# ABSTRACT: only make options for attributes with the Getopt metaclass
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose::Role;
use namespace::autoclean;
@@ -30,7 +30,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/lib/MooseX/Getopt.pm
new/MooseX-Getopt-0.73/lib/MooseX/Getopt.pm
--- old/MooseX-Getopt-0.72/lib/MooseX/Getopt.pm 2018-08-04 06:46:03.000000000
+0200
+++ new/MooseX-Getopt-0.73/lib/MooseX/Getopt.pm 2018-09-01 07:44:02.000000000
+0200
@@ -1,8 +1,8 @@
-package MooseX::Getopt; # git description: v0.71-9-g9ad7b38
+package MooseX::Getopt; # git description: v0.72-7-g5d00040
# ABSTRACT: A Moose role for processing command line options
# KEYWORDS: moose extension command line options attributes executable flags
switches arguments
-our $VERSION = '0.72';
+our $VERSION = '0.73';
use Moose::Role 0.56;
use namespace::autoclean;
@@ -23,7 +23,7 @@
=head1 VERSION
-version 0.72
+version 0.73
=head1 SYNOPSIS
@@ -327,7 +327,7 @@
=head1 CONTRIBUTORS
-=for stopwords Karen Etheridge Tomas Doran Stevan Little Yuval Kogman Florian
Ragwitz Brandon L Black Shlomi Fish Olaf Alders Hans Dieter Pearcey Ryan D
Johnson Dave Rolsky Nelo Onyiah Ricardo SIGNES Ævar Arnfjörð Bjarmason Damien
Krotkine Hinrik Örn Sigurðsson Jose Luis Martinez Gregory Oschwald Devin Austin
Todd Hepler Chris Prather Jesse Luehrs Gordon Irving Drew Taylor Damyan Ivanov
Stuart A Johnston Justin Hunter Jonathan Swartz John Goulah Dagfinn Ilmari
Mannsåker
+=for stopwords Karen Etheridge Tomas Doran Stevan Little Yuval Kogman Florian
Ragwitz Brandon L Black Shlomi Fish Olaf Alders Hans Dieter Pearcey Ryan D
Johnson Nelo Onyiah Dave Rolsky Ricardo SIGNES Ævar Arnfjörð Bjarmason Hinrik
Örn Sigurðsson Damien Krotkine Jose Luis Martinez Chris Prather Devin Austin
Gregory Oschwald Todd Hepler Michael Schout Andreas Koenig Jonathan Swartz John
Goulah Jesse Luehrs Gordon Irving Stuart A Johnston Dagfinn Ilmari Mannsåker
Drew Taylor Damyan Ivanov Justin Hunter
=over 4
@@ -373,11 +373,11 @@
=item *
-Dave Rolsky <[email protected]>
+Nelo Onyiah <[email protected]>
=item *
-Nelo Onyiah <[email protected]>
+Dave Rolsky <[email protected]>
=item *
@@ -389,11 +389,11 @@
=item *
-Damien Krotkine <[email protected]>
+Hinrik Örn Sigurðsson <[email protected]>
=item *
-Hinrik Örn Sigurðsson <[email protected]>
+Damien Krotkine <[email protected]>
=item *
@@ -401,7 +401,7 @@
=item *
-Gregory Oschwald <[email protected]>
+Chris Prather <[email protected]>
=item *
@@ -409,23 +409,31 @@
=item *
+Gregory Oschwald <[email protected]>
+
+=item *
+
Todd Hepler <[email protected]>
=item *
-Chris Prather <[email protected]>
+Michael Schout <[email protected]>
=item *
-Jesse Luehrs <[email protected]>
+Andreas Koenig <[email protected]>
=item *
-Gordon Irving <[email protected]>
+Jonathan Swartz <[email protected]>
=item *
-Drew Taylor <[email protected]>
+John Goulah <[email protected]>
+
+=item *
+
+Jesse Luehrs <[email protected]>
=item *
@@ -437,7 +445,7 @@
=item *
-Damyan Ivanov <[email protected]>
+Gordon Irving <[email protected]>
=item *
@@ -445,19 +453,19 @@
=item *
-Justin Hunter <[email protected]>
+Dagfinn Ilmari Mannsåker <[email protected]>
=item *
-Jonathan Swartz <[email protected]>
+Drew Taylor <[email protected]>
=item *
-John Goulah <[email protected]>
+Damyan Ivanov <[email protected]>
=item *
-Dagfinn Ilmari Mannsåker <[email protected]>
+Justin Hunter <[email protected]>
=back
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/t/104_override_usage.t
new/MooseX-Getopt-0.73/t/104_override_usage.t
--- old/MooseX-Getopt-0.72/t/104_override_usage.t 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/t/104_override_usage.t 2018-09-01
07:44:02.000000000 +0200
@@ -12,12 +12,14 @@
with 'MooseX::Getopt';
- has foo => ( isa => 'Int', is => 'ro', documentation => 'A foo' );
+ has foo => ( isa => 'Int', is => 'ro', documentation => 'A foo
+with newline and some 123456789 123456789 123456789 characters' );
}
my $usage = qr/^\Qusage: 104_override_usage.t [-?h] [long options...]\E
\t-h -\? --usage --help\s+Prints this usage information\.
-\t--foo (INT)?\s+A foo$/m;
+\t--foo (INT)?\s+A foo .+
+\t\s+.+characters/m;
{
local @ARGV = ('--foo', '1');
@@ -55,11 +57,28 @@
}
{
+ find_meta('MyScript')->add_after_method_modifier(
+ print_usage_text => sub {
+ print "--- DOCUMENTATION ---\n";
+ },
+ );
+
+ local @ARGV = ('--help');
+ trap { MyScript->new_with_options };
+ like(
+ $trap->stdout,
+ qr/$usage\n--- DOCUMENTATION ---\n/,
+ 'additional text included before normal usage string',
+ );
+}
+
+{
package MyScript2;
use Moose;
with 'MooseX::Getopt';
- has foo => ( isa => 'Int', is => 'ro', documentation => 'A foo' );
+ has foo => ( isa => 'Int', is => 'ro', documentation => 'A foo
+with newline and some 123456789 123456789 123456789 characters' );
}
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/xt/author/pod-spell.t
new/MooseX-Getopt-0.73/xt/author/pod-spell.t
--- old/MooseX-Getopt-0.72/xt/author/pod-spell.t 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/xt/author/pod-spell.t 2018-09-01
07:44:02.000000000 +0200
@@ -11,6 +11,7 @@
all_pod_files_spelling_ok( qw( examples lib script t xt ) );
__DATA__
Alders
+Andreas
Arnfjörð
Attribute
Austin
@@ -54,6 +55,7 @@
Jose
Justin
Karen
+Koenig
Kogman
Krotkine
Little
@@ -62,6 +64,7 @@
Mannsåker
Martinez
Meta
+Michael
MooseX
Nelo
NoGetopt
@@ -77,6 +80,7 @@
Rolsky
Ryan
SIGNES
+Schout
Shlomi
Sigurðsson
Stevan
@@ -88,6 +92,7 @@
Tomas
Trait
Yuval
+andk
autarch
avarab
blblack
@@ -109,6 +114,7 @@
jlmartinez
justin
lib
+mschout
nelo
nothingmuch
olaf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Getopt-0.72/xt/release/changes_has_content.t
new/MooseX-Getopt-0.73/xt/release/changes_has_content.t
--- old/MooseX-Getopt-0.72/xt/release/changes_has_content.t 2018-08-04
06:46:03.000000000 +0200
+++ new/MooseX-Getopt-0.73/xt/release/changes_has_content.t 2018-09-01
07:44:02.000000000 +0200
@@ -2,7 +2,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.72';
+my $newver = '0.73';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';