Hello community,
here is the log from the commit of package perl-Getopt-Long-Descriptive for
openSUSE:Factory checked in at 2018-02-09 15:47:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Fri Feb 9 15:47:34 2018 rev:17 rq:573987 version:0.101
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.changes
2016-07-20 09:19:09.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new/perl-Getopt-Long-Descriptive.changes
2018-02-09 15:47:37.167233018 +0100
@@ -1,0 +2,9 @@
+Wed Feb 7 16:34:51 UTC 2018 - [email protected]
+
+- updated to 0.101
+ see /usr/share/doc/packages/perl-Getopt-Long-Descriptive/Changes
+
+ 0.101 2018-01-21 19:32:11-05:00 America/New_York
+ - escape some unescaped braces in regex
+
+-------------------------------------------------------------------
Old:
----
Getopt-Long-Descriptive-0.100.tar.gz
New:
----
Getopt-Long-Descriptive-0.101.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Getopt-Long-Descriptive.spec ++++++
--- /var/tmp/diff_new_pack.F0DHF8/_old 2018-02-09 15:47:38.127198545 +0100
+++ /var/tmp/diff_new_pack.F0DHF8/_new 2018-02-09 15:47:38.131198401 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Getopt-Long-Descriptive
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-Getopt-Long-Descriptive
-Version: 0.100
+Version: 0.101
Release: 0
%define cpan_name Getopt-Long-Descriptive
Summary: Getopt::Long, but simpler and more powerful
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Getopt-Long-Descriptive/
-Source0:
http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -68,6 +68,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ Getopt-Long-Descriptive-0.100.tar.gz ->
Getopt-Long-Descriptive-0.101.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/Changes
new/Getopt-Long-Descriptive-0.101/Changes
--- old/Getopt-Long-Descriptive-0.100/Changes 2016-07-12 04:21:29.000000000
+0200
+++ new/Getopt-Long-Descriptive-0.101/Changes 2018-01-22 01:32:16.000000000
+0100
@@ -1,5 +1,8 @@
Revision history for Getopt-Long-Descriptive
+0.101 2018-01-21 19:32:11-05:00 America/New_York
+ - escape some unescaped braces in regex
+
0.100 2016-07-11 22:21:26-04:00 America/New_York
- show off "shortcircuit" in synopsis (thanks, Zhenyi Zhou)
- Fix rendering of complex types ('i@' → 'INT...', etc)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/MANIFEST
new/Getopt-Long-Descriptive-0.101/MANIFEST
--- old/Getopt-Long-Descriptive-0.100/MANIFEST 2016-07-12 04:21:29.000000000
+0200
+++ new/Getopt-Long-Descriptive-0.101/MANIFEST 2018-01-22 01:32:16.000000000
+0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.006.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.010.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/META.json
new/Getopt-Long-Descriptive-0.101/META.json
--- old/Getopt-Long-Descriptive-0.100/META.json 2016-07-12 04:21:29.000000000
+0200
+++ new/Getopt-Long-Descriptive-0.101/META.json 2018-01-22 01:32:16.000000000
+0100
@@ -5,7 +5,7 @@
"Ricardo Signes <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.006, CPAN::Meta::Converter version
2.150005",
+ "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version
2.150005",
"license" : [
"perl_5"
],
@@ -22,6 +22,7 @@
},
"develop" : {
"requires" : {
+ "Encode" : "0",
"Test::More" : "0",
"Test::Pod" : "1.41"
}
@@ -68,10 +69,10 @@
"web" : "https://github.com/rjbs/Getopt-Long-Descriptive"
}
},
- "version" : "0.100",
+ "version" : "0.101",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.024000"
+ "version" : "5.024003"
},
"plugins" : [
{
@@ -91,12 +92,12 @@
}
},
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.039"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.018"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
@@ -118,7 +119,7 @@
}
},
"name" : "@RJBS/RJBS-Outdated",
- "version" : "0.051"
+ "version" : "0.054"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -133,62 +134,62 @@
}
},
"name" : "@RJBS/CPAN-Outdated",
- "version" : "0.051"
+ "version" : "0.054"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -198,12 +199,12 @@
}
},
"name" : "@RJBS/MakeMaker",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
@@ -214,46 +215,47 @@
"version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.039"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@RJBS/Test::ChangesHasContent",
- "version" : "0.010"
+ "version" : "0.011"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@RJBS/Test::ReportPrereqs",
- "version" : "0.025"
+ "version" : "0.027"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -264,7 +266,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -281,82 +283,82 @@
{
"class" : "Pod::Weaver::Plugin::EnsurePod5",
"name" : "@CorePrep/EnsurePod5",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Plugin::H1Nester",
"name" : "@CorePrep/H1Nester",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Plugin::SingleEncoding",
"name" : "@RJBS/SingleEncoding",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Name",
"name" : "@RJBS/Name",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Version",
"name" : "@RJBS/Version",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@RJBS/Prelude",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Synopsis",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Description",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Overview",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Stability",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Attributes",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Methods",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Functions",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Leftovers",
"name" : "@RJBS/Leftovers",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@RJBS/postlude",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Authors",
"name" : "@RJBS/Authors",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Section::Contributors",
@@ -366,12 +368,12 @@
{
"class" : "Pod::Weaver::Section::Legal",
"name" : "@RJBS/Legal",
- "version" : "4.013"
+ "version" : "4.015"
},
{
"class" : "Pod::Weaver::Plugin::Transformer",
"name" : "@RJBS/List",
- "version" : "4.013"
+ "version" : "4.015"
}
]
}
@@ -399,11 +401,12 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@RJBS/@Git/Check",
- "version" : "2.039"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -421,6 +424,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.15.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -428,7 +432,7 @@
}
},
"name" : "@RJBS/@Git/Commit",
- "version" : "2.039"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -437,11 +441,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "0.100",
+ "tag" : "0.101",
"tag_format" : "%v",
"tag_message" : "v%v"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.15.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -449,7 +454,7 @@
}
},
"name" : "@RJBS/@Git/Tag",
- "version" : "2.039"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -462,104 +467,106 @@
"remotes_must_exist" : 0
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@RJBS/@Git/Push",
- "version" : "2.039"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
+ "git_version" : "2.15.1",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
- "paths" : [
- "."
- ]
+ "paths" : []
}
},
"name" : "@RJBS/Git::Contributors",
- "version" : "0.023"
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::Breaks",
"name" : "Breaks",
- "version" : "0.003"
+ "version" : "0.004"
},
{
"class" : "Dist::Zilla::Plugin::Test::CheckBreaks",
"config" : {
"Dist::Zilla::Plugin::Test::CheckBreaks" : {
- "conflicts_module" : "Moose::Conflicts",
+ "conflicts_module" : [
+ "Moose::Conflicts"
+ ],
"no_forced_deps" : 0
},
"Dist::Zilla::Role::ModuleMetadata" : {
"Module::Metadata" : "1.000031",
- "version" : "0.003"
+ "version" : "0.004"
}
},
"name" : "Test::CheckBreaks",
- "version" : "0.016"
+ "version" : "0.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.006"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.006"
+ "version" : "6.010"
}
],
"zilla" : {
"class" : "Dist::Zilla::Dist::Builder",
"config" : {
- "is_trial" : "0"
+ "is_trial" : 0
},
- "version" : "6.006"
+ "version" : "6.010"
}
},
"x_breaks" : {
@@ -581,6 +588,6 @@
"Thomas Neumann <[email protected]>",
"zhouzhen1 <[email protected]>"
],
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0213"
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/META.yml
new/Getopt-Long-Descriptive-0.101/META.yml
--- old/Getopt-Long-Descriptive-0.100/META.yml 2016-07-12 04:21:29.000000000
+0200
+++ new/Getopt-Long-Descriptive-0.101/META.yml 2018-01-22 01:32:16.000000000
+0100
@@ -14,7 +14,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.006, CPAN::Meta::Converter version
2.150005'
+generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version
2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -36,10 +36,10 @@
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.100'
+version: '0.101'
x_Dist_Zilla:
perl:
- version: '5.024000'
+ version: '5.024003'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
@@ -55,11 +55,11 @@
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@RJBS/Git::GatherDir'
- version: '2.039'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: '0.018'
+ version: '0.020'
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
@@ -76,7 +76,7 @@
run_under_travis: 0
skip: []
name: '@RJBS/RJBS-Outdated'
- version: '0.051'
+ version: '0.054'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -88,62 +88,62 @@
run_under_travis: 0
skip: []
name: '@RJBS/CPAN-Outdated'
- version: '0.051'
+ version: '0.054'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@RJBS/MakeMaker'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Git::NextVersion
config:
@@ -152,37 +152,38 @@
version_by_branch: 0
version_regexp: (?^:^([0-9]+\.[0-9]+)$)
Dist::Zilla::Role::Git::Repo:
+ git_version: 2.15.1
repo_root: .
name: '@RJBS/Git::NextVersion'
- version: '2.039'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
- version: '0.010'
+ version: '0.011'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@RJBS/Test::ReportPrereqs'
- version: '0.025'
+ version: '0.027'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -190,7 +191,7 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -204,67 +205,67 @@
-
class: Pod::Weaver::Plugin::EnsurePod5
name: '@CorePrep/EnsurePod5'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Plugin::H1Nester
name: '@CorePrep/H1Nester'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Plugin::SingleEncoding
name: '@RJBS/SingleEncoding'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Name
name: '@RJBS/Name'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Version
name: '@RJBS/Version'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Region
name: '@RJBS/Prelude'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Synopsis'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Description'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Overview'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Stability'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Collect
name: Attributes
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Collect
name: Methods
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Collect
name: Functions
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Leftovers
name: '@RJBS/Leftovers'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Region
name: '@RJBS/postlude'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Authors
name: '@RJBS/Authors'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Section::Contributors
name: '@RJBS/Contributors'
@@ -272,11 +273,11 @@
-
class: Pod::Weaver::Section::Legal
name: '@RJBS/Legal'
- version: '4.013'
+ version: '4.015'
-
class: Pod::Weaver::Plugin::Transformer
name: '@RJBS/List'
- version: '4.013'
+ version: '4.015'
name: '@RJBS/PodWeaver'
version: '4.008'
-
@@ -295,9 +296,10 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
+ git_version: 2.15.1
repo_root: .
name: '@RJBS/@Git/Check'
- version: '2.039'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -311,11 +313,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
+ git_version: 2.15.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@RJBS/@Git/Commit'
- version: '2.039'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -323,15 +326,16 @@
branch: ~
changelog: Changes
signed: 0
- tag: '0.100'
+ tag: '0.101'
tag_format: '%v'
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
+ git_version: 2.15.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@RJBS/@Git/Tag'
- version: '2.039'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -341,80 +345,82 @@
- 'github :'
remotes_must_exist: 0
Dist::Zilla::Role::Git::Repo:
+ git_version: 2.15.1
repo_root: .
name: '@RJBS/@Git/Push'
- version: '2.039'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
+ git_version: 2.15.1
include_authors: 0
include_releaser: 1
order_by: name
- paths:
- - .
+ paths: []
name: '@RJBS/Git::Contributors'
- version: '0.023'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::Breaks
name: Breaks
- version: '0.003'
+ version: '0.004'
-
class: Dist::Zilla::Plugin::Test::CheckBreaks
config:
Dist::Zilla::Plugin::Test::CheckBreaks:
- conflicts_module: Moose::Conflicts
+ conflicts_module:
+ - Moose::Conflicts
no_forced_deps: 0
Dist::Zilla::Role::ModuleMetadata:
Module::Metadata: '1.000031'
- version: '0.003'
+ version: '0.004'
name: Test::CheckBreaks
- version: '0.016'
+ version: '0.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.006'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.006'
+ version: '6.010'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: '0'
- version: '6.006'
+ is_trial: 0
+ version: '6.010'
x_breaks:
MooseX::Getopt: '< 0.66'
x_contributors:
@@ -432,4 +438,4 @@
- 'Smylers <[email protected]>'
- 'Thomas Neumann <[email protected]>'
- 'zhouzhen1 <[email protected]>'
-x_serialization_backend: 'YAML::Tiny version 1.69'
+x_serialization_backend: 'YAML::Tiny version 1.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/Makefile.PL
new/Getopt-Long-Descriptive-0.101/Makefile.PL
--- old/Getopt-Long-Descriptive-0.100/Makefile.PL 2016-07-12
04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/Makefile.PL 2018-01-22
01:32:16.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.006.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.010.
use strict;
use warnings;
@@ -37,7 +37,7 @@
"Test::More" => "0.96",
"Test::Warnings" => "0.005"
},
- "VERSION" => "0.100",
+ "VERSION" => "0.101",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/README
new/Getopt-Long-Descriptive-0.101/README
--- old/Getopt-Long-Descriptive-0.100/README 2016-07-12 04:21:29.000000000
+0200
+++ new/Getopt-Long-Descriptive-0.101/README 2018-01-22 01:32:16.000000000
+0100
@@ -1,7 +1,7 @@
This archive contains the distribution Getopt-Long-Descriptive,
-version 0.100:
+version 0.101:
Getopt::Long, but simpler and more powerful
@@ -11,5 +11,5 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v6.006.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.010.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.100/lib/Getopt/Long/Descriptive/Opts.pm
new/Getopt-Long-Descriptive-0.101/lib/Getopt/Long/Descriptive/Opts.pm
--- old/Getopt-Long-Descriptive-0.100/lib/Getopt/Long/Descriptive/Opts.pm
2016-07-12 04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/lib/Getopt/Long/Descriptive/Opts.pm
2018-01-22 01:32:16.000000000 +0100
@@ -2,7 +2,7 @@
use warnings;
package Getopt::Long::Descriptive::Opts;
# ABSTRACT: object representing command line switches
-$Getopt::Long::Descriptive::Opts::VERSION = '0.100';
+$Getopt::Long::Descriptive::Opts::VERSION = '0.101';
use Scalar::Util qw(blessed weaken);
#pod =head1 DESCRIPTION
@@ -145,7 +145,7 @@
=head1 VERSION
-version 0.100
+version 0.101
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.100/lib/Getopt/Long/Descriptive/Usage.pm
new/Getopt-Long-Descriptive-0.101/lib/Getopt/Long/Descriptive/Usage.pm
--- old/Getopt-Long-Descriptive-0.100/lib/Getopt/Long/Descriptive/Usage.pm
2016-07-12 04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/lib/Getopt/Long/Descriptive/Usage.pm
2018-01-22 01:32:16.000000000 +0100
@@ -2,7 +2,7 @@
use warnings;
package Getopt::Long::Descriptive::Usage;
# ABSTRACT: the usage description for GLD
-$Getopt::Long::Descriptive::Usage::VERSION = '0.100';
+$Getopt::Long::Descriptive::Usage::VERSION = '0.101';
use List::Util qw(max);
#pod =head1 SYNOPSIS
@@ -273,7 +273,7 @@
=head1 VERSION
-version 0.100
+version 0.101
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.100/lib/Getopt/Long/Descriptive.pm
new/Getopt-Long-Descriptive-0.101/lib/Getopt/Long/Descriptive.pm
--- old/Getopt-Long-Descriptive-0.100/lib/Getopt/Long/Descriptive.pm
2016-07-12 04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/lib/Getopt/Long/Descriptive.pm
2018-01-22 01:32:16.000000000 +0100
@@ -2,7 +2,7 @@
use warnings;
package Getopt::Long::Descriptive;
# ABSTRACT: Getopt::Long, but simpler and more powerful
-$Getopt::Long::Descriptive::VERSION = '0.100';
+$Getopt::Long::Descriptive::VERSION = '0.101';
use Carp qw(carp croak);
use File::Basename ();
use Getopt::Long 2.33;
@@ -304,7 +304,7 @@
hidden => 1,
);
-my $SPEC_RE = qr{(?:[:=][\d\w\+]+[%@]?({\d*,\d*})?|[!+])$};
+my $SPEC_RE = qr{(?:[:=][0-9\w\+]+[%@]?(\{[0-9]*,[0-9]*\})?|[!+])$};
sub _strip_assignment {
my ($self, $str) = @_;
@@ -338,6 +338,8 @@
my $arg = (ref $_[-1] and ref $_[-1] eq 'HASH') ? pop @_ : {};
my @opts;
+ my %parent_of;
+
# special casing
# wish we had real loop objects
my %method_map;
@@ -355,6 +357,7 @@
for my $one_opt (_expand(
@{delete $opt->{constraint}->{one_of}}
)) {
+ $parent_of{$one_opt->{name}} = $opt->{name};
$one_opt->{constraint}->{implies}
->{$opt->{name}} = $one_opt->{name};
for my $wipe (qw(required default)) {
@@ -459,6 +462,8 @@
spec => $copt->{constraint},
opts => \@opts,
usage => $usage,
+ given_keys => \@given_keys,
+ parent_of => \%parent_of,
);
next unless (defined($new) || exists($return{$name}));
$return{$name} = $new;
@@ -493,7 +498,10 @@
spec => 1,
opts => 1,
usage => 1,
+ given_keys => 1,
+ parent_of => 1,
});
+
my $spec = $arg{spec};
my %pvspec;
for my $ct (keys %{$spec}) {
@@ -532,7 +540,11 @@
my %p;
my $ok = eval {
%p = validate_with(
- params => [ %{$arg{params}} ],
+ params => [
+ %{$arg{params}},
+ '-given_keys', $arg{given_keys},
+ '-parent_of', $arg{parent_of},
+ ],
spec => { $arg{name} => \%pvspec },
allow_extra => 1,
on_fail => sub {
@@ -586,13 +598,29 @@
my $whatstr = join(q{, }, map { "$_=$what->{$_}" } keys %$what);
return "$name implies $whatstr" => sub {
- my ($pv_val) = shift;
+ my ($pv_val, $rest) = @_;
# negatable options will be 0 here, which is ok.
return 1 unless defined $pv_val;
while (my ($key, $val) = each %$what) {
- if (exists $param->{$key} and $param->{$key} ne $val) {
+ # Really, this should be called "-implies" and should include all implies
+ # relationships, but they'll have to get handled by setting conflicts.
+ my $parent = $rest->{'-parent_of'}{$name};
+ my @siblings = $parent
+ ? (grep {; defined $rest->{'-parent_of'}{$_}
+ && $rest->{'-parent_of'}{$_} eq $parent }
+ @{ $rest->{'-given_keys'} })
+ : ();
+
+ if (@siblings > 1) {
+ die "these options conflict; each wants to set the $parent:
@siblings\n";
+ }
+
+ if ( exists $param->{$key}
+ and $param->{$key} ne $val
+ and grep {; $_ eq $key } @{ $rest->{'-given_keys'} }
+ ) {
die(
"option specification for $name implies that $key should be "
. "set to '$val', but it is '$param->{$key}' already\n"
@@ -659,7 +687,7 @@
=head1 VERSION
-version 0.100
+version 0.101
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/t/00-report-prereqs.dd
new/Getopt-Long-Descriptive-0.101/t/00-report-prereqs.dd
--- old/Getopt-Long-Descriptive-0.100/t/00-report-prereqs.dd 2016-07-12
04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/t/00-report-prereqs.dd 2018-01-22
01:32:16.000000000 +0100
@@ -6,6 +6,7 @@
},
'develop' => {
'requires' => {
+ 'Encode' => '0',
'Test::More' => '0',
'Test::Pod' => '1.41'
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/t/00-report-prereqs.t
new/Getopt-Long-Descriptive-0.101/t/00-report-prereqs.t
--- old/Getopt-Long-Descriptive-0.100/t/00-report-prereqs.t 2016-07-12
04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/t/00-report-prereqs.t 2018-01-22
01:32:16.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
use Test::More tests => 1;
@@ -68,7 +68,7 @@
);
# Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
# Merge all prereqs (either with ::Prereqs or a hashref)
my $full_prereqs = _merge_prereqs(
@@ -78,12 +78,14 @@
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+my $cpan_meta_error;
if ( $source && $HAS_CPAN_META
&& (my $meta = eval { CPAN::Meta->load_file($source) } )
) {
$full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
else {
+ $cpan_meta_error = $@; # capture error from
CPAN::Meta->load_file($source)
$source = 'static metadata';
}
@@ -169,10 +171,18 @@
diag "\nVersions for all modules listed in $source (including optional
ones):\n\n", @full_reports;
}
+if ( $cpan_meta_error || @dep_errors ) {
+ diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+ my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+ diag "\nCPAN::Meta->load_file('$orig_source') failed with:
$cpan_meta_error\n";
+}
+
if ( @dep_errors ) {
diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
+ "\nThe following REQUIRED prerequisites were not satisfied:\n",
@dep_errors,
"\n"
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/t/descriptive.t
new/Getopt-Long-Descriptive-0.101/t/descriptive.t
--- old/Getopt-Long-Descriptive-0.100/t/descriptive.t 2016-07-12
04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/t/descriptive.t 2018-01-22
01:32:16.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 58;
+use Test::More;
use_ok("Getopt::Long::Descriptive");
@@ -16,7 +16,9 @@
sub is_opt {
my ($argv, $specs, $expect, $desc) = @_;
local @ARGV = @$argv;
- eval {
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
+ my $ok = eval {
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
my ($opt, $usage) = describe_options(
"test %o",
@$specs,
@@ -30,14 +32,19 @@
for my $key (keys %$expect) {
is($opt->$key, $expect->{$key}, "...->$key");
}
+
+ 1
};
- if ($@) {
- chomp($@);
+
+ unless ($ok) {
+ my $error = $@;
+ chomp $error;
+
if (ref($expect) eq 'Regexp') {
- like($@, $expect, $desc);
+ like($error, $expect, $desc);
} else {
# auto-fail
- is($@, "", "$desc: $@");
+ is($error, "", "$desc: $error");
}
}
}
@@ -122,6 +129,17 @@
"basic usage, passed-in",
);
+# implies should override default, github #12
+is_opt(
+ [ '--beta' ],
+ [
+ [ alfa => 'default off', { default => 0 } ],
+ [ beta => 'implies alfa', { default => 0, implies => 'alfa' } ],
+ ],
+ { alfa => 1, beta => 1 },
+ "implies A overrides A's default",
+);
+
# implicit hidden syntax
is_hidden(
[ [ mode => [] ] ],
@@ -133,7 +151,7 @@
[ '--foo', '--bar' ],
[ [ mode => $foobar ] ],
#qr/\Qonly one 'mode' option (foo, bar)\E/,
- qr/it is 'foo' already/,
+ qr/options conflict/,
"only one 'mode' option",
);
@@ -349,3 +367,5 @@
is ($p->('=o%'), ' KEY=INT...', 'int maps (o)');
is ($p->('=f%'), ' KEY=NUM...', 'float maps');
}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.100/t/zzz-check-breaks.t
new/Getopt-Long-Descriptive-0.101/t/zzz-check-breaks.t
--- old/Getopt-Long-Descriptive-0.100/t/zzz-check-breaks.t 2016-07-12
04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/t/zzz-check-breaks.t 2018-01-22
01:32:16.000000000 +0100
@@ -1,12 +1,12 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::CheckBreaks 0.016
+# this test was generated with Dist::Zilla::Plugin::Test::CheckBreaks 0.019
-use Test::More tests => 1;
+use Test::More tests => 2;
SKIP: {
- eval 'require Moose::Conflicts; Moose::Conflicts->check_conflicts';
+ eval { +require Moose::Conflicts; Moose::Conflicts->check_conflicts };
skip('no Moose::Conflicts module found', 1) if not
$INC{'Moose/Conflicts.pm'};
diag $@ if $@;
@@ -32,3 +32,5 @@
diag "$result->{$_}" for sort @breaks;
diag "\n", 'You should now update these modules!';
}
+
+pass 'checked x_breaks data';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Getopt-Long-Descriptive-0.100/xt/release/changes_has_content.t
new/Getopt-Long-Descriptive-0.101/xt/release/changes_has_content.t
--- old/Getopt-Long-Descriptive-0.100/xt/release/changes_has_content.t
2016-07-12 04:21:29.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.101/xt/release/changes_has_content.t
2018-01-22 01:32:16.000000000 +0100
@@ -1,11 +1,10 @@
-#!perl
-
use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.100';
+my $newver = '0.101';
my $trial_token = '-TRIAL';
+my $encoding = 'UTF-8';
SKIP: {
ok(-e $changes_file, "$changes_file file exists")
@@ -16,8 +15,6 @@
done_testing;
-# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit
-# by Jerome Quelin
sub _get_changes
{
my $newver = shift;
@@ -25,6 +22,10 @@
# parse changelog to find commit message
open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!";
my $changelog = join('', <$fh>);
+ if ($encoding) {
+ require Encode;
+ $changelog = Encode::decode($encoding, $changelog, Encode::FB_CROAK());
+ }
close $fh;
my @content =