Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Sub-Exporter-ForMethods for
openSUSE:Factory checked in at 2021-04-22 18:04:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sub-Exporter-ForMethods (Old)
and /work/SRC/openSUSE:Factory/.perl-Sub-Exporter-ForMethods.new.12324
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sub-Exporter-ForMethods"
Thu Apr 22 18:04:47 2021 rev:12 rq:887833 version:0.100054
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.changes
2015-07-20 11:22:41.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Sub-Exporter-ForMethods.new.12324/perl-Sub-Exporter-ForMethods.changes
2021-04-22 18:06:25.062739676 +0200
@@ -1,0 +2,12 @@
+Sun Apr 18 03:07:17 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.100054
+ see /usr/share/doc/packages/perl-Sub-Exporter-ForMethods/Changes
+
+ 0.100054 2021-04-17 17:59:05-04:00 America/New_York
+ - no change since last trial release
+
+ 0.100053 2021-04-04 12:59:57-04:00 America/New_York (TRIAL RELEASE)
+ - replace Sub::Name with Sub::Util, which has been core since 2015
+
+-------------------------------------------------------------------
Old:
----
Sub-Exporter-ForMethods-0.100052.tar.gz
New:
----
Sub-Exporter-ForMethods-0.100054.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Sub-Exporter-ForMethods.spec ++++++
--- /var/tmp/diff_new_pack.r7QAnu/_old 2021-04-22 18:06:25.514740424 +0200
+++ /var/tmp/diff_new_pack.r7QAnu/_new 2021-04-22 18:06:25.518740431 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Sub-Exporter-ForMethods
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,30 +12,28 @@
# 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/
#
+%define cpan_name Sub-Exporter-ForMethods
Name: perl-Sub-Exporter-ForMethods
-Version: 0.100052
+Version: 0.100054
Release: 0
-%define cpan_name Sub-Exporter-ForMethods
-Summary: Helper Routines for Using Sub::Exporter to Build Methods
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Sub-Exporter-ForMethods/
-Source0:
http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
+Summary: Helper routines for using Sub::Exporter to build methods
+License: Artistic-1.0 OR GPL-1.0-or-later
+URL: https://metacpan.org/release/%{cpan_name}
+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
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Sub::Exporter) >= 0.978
-BuildRequires: perl(Sub::Name)
+BuildRequires: perl(Sub::Util)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(namespace::autoclean)
Requires: perl(Sub::Exporter) >= 0.978
-Requires: perl(Sub::Name)
+Requires: perl(Sub::Util)
%{perl_requires}
%description
@@ -69,14 +67,14 @@
will also remove 'method_installer', an added win.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -84,7 +82,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ Sub-Exporter-ForMethods-0.100052.tar.gz ->
Sub-Exporter-ForMethods-0.100054.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/Changes
new/Sub-Exporter-ForMethods-0.100054/Changes
--- old/Sub-Exporter-ForMethods-0.100052/Changes 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/Changes 2021-04-17
23:59:08.000000000 +0200
@@ -1,5 +1,11 @@
Revision history for Sub-Exporter-ForMethods
+0.100054 2021-04-17 17:59:05-04:00 America/New_York
+ - no change since last trial release
+
+0.100053 2021-04-04 12:59:57-04:00 America/New_York (TRIAL RELEASE)
+ - replace Sub::Name with Sub::Util, which has been core since 2015
+
0.100052 2015-07-17 19:27:36-04:00 America/New_York
- add the ability to bless the wrapper into the wrapped sub's class,
if requested
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/LICENSE
new/Sub-Exporter-ForMethods-0.100054/LICENSE
--- old/Sub-Exporter-ForMethods-0.100052/LICENSE 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/LICENSE 2021-04-17
23:59:08.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2015 by Ricardo Signes.
+This software is copyright (c) 2021 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2015 by Ricardo Signes.
+This software is Copyright (c) 2021 by Ricardo Signes.
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2015 by Ricardo Signes.
+This software is Copyright (c) 2021 by Ricardo Signes.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/MANIFEST
new/Sub-Exporter-ForMethods-0.100054/MANIFEST
--- old/Sub-Exporter-ForMethods-0.100052/MANIFEST 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/MANIFEST 2021-04-17
23:59:08.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.018.
Changes
LICENSE
MANIFEST
@@ -14,5 +14,5 @@
t/carp.t
t/lib/TestDexp.pm
t/lib/TestMexp.pm
+xt/author/pod-syntax.t
xt/release/changes_has_content.t
-xt/release/pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/META.json
new/Sub-Exporter-ForMethods-0.100054/META.json
--- old/Sub-Exporter-ForMethods-0.100052/META.json 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/META.json 2021-04-17
23:59:08.000000000 +0200
@@ -4,7 +4,7 @@
"Ricardo Signes <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005",
+ "generated_by" : "Dist::Zilla version 6.018, CPAN::Meta::Converter version
2.150010",
"license" : [
"perl_5"
],
@@ -16,11 +16,13 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "0"
+ "ExtUtils::MakeMaker" : "6.78"
}
},
"develop" : {
"requires" : {
+ "Encode" : "0",
+ "Test::More" : "0",
"Test::Pod" : "1.41"
}
},
@@ -28,7 +30,7 @@
"requires" : {
"Scalar::Util" : "0",
"Sub::Exporter" : "0.978",
- "Sub::Name" : "0",
+ "Sub::Util" : "0",
"strict" : "0",
"warnings" : "0"
}
@@ -59,10 +61,10 @@
"web" : "https://github.com/rjbs/Sub-Exporter-ForMethods"
}
},
- "version" : "0.100052",
+ "version" : "0.100054",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.023000"
+ "version" : "5.032000"
},
"plugins" : [
{
@@ -71,8 +73,8 @@
"Dist::Zilla::Plugin::GatherDir" : {
"exclude_filename" : [],
"exclude_match" : [],
- "follow_symlinks" : "0",
- "include_dotfiles" : "0",
+ "follow_symlinks" : 0,
+ "include_dotfiles" : 0,
"prefix" : "",
"prune_directory" : [],
"root" : "."
@@ -82,17 +84,17 @@
}
},
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.036"
+ "version" : "2.047"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.016"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
- "version" : "0.027"
+ "version" : "0.029"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -104,80 +106,82 @@
"Dist::Zilla::PluginBundle::RJBS"
],
"phase" : "build",
+ "run_under_travis" : 0,
"skip" : []
}
},
"name" : "@RJBS/RJBS-Outdated",
- "version" : "0.045"
+ "version" : "0.057"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
"config" : {
"Dist::Zilla::Plugin::PromptIfStale" : {
- "check_all_plugins" : "1",
+ "check_all_plugins" : 1,
"check_all_prereqs" : 0,
"modules" : [],
"phase" : "release",
+ "run_under_travis" : 0,
"skip" : []
}
},
"name" : "@RJBS/CPAN-Outdated",
- "version" : "0.045"
+ "version" : "0.057"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -187,62 +191,63 @@
}
},
"name" : "@RJBS/MakeMaker",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"config" : {
"Dist::Zilla::Plugin::Git::NextVersion" : {
"first_version" : "0.001",
- "version_by_branch" : 0,
+ "version_by_branch" : 1,
"version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.24.3 (Apple Git-128)",
"repo_root" : "."
}
},
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.036"
+ "version" : "2.047"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@RJBS/Test::ChangesHasContent",
- "version" : "0.008"
+ "version" : "0.011"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@RJBS/Test::ReportPrereqs",
- "version" : "0.021"
+ "version" : "0.028"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -253,7 +258,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -270,82 +275,87 @@
{
"class" : "Pod::Weaver::Plugin::EnsurePod5",
"name" : "@CorePrep/EnsurePod5",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Plugin::H1Nester",
"name" : "@CorePrep/H1Nester",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Plugin::SingleEncoding",
"name" : "@RJBS/SingleEncoding",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Name",
"name" : "@RJBS/Name",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Version",
"name" : "@RJBS/Version",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@RJBS/Prelude",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Synopsis",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Description",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Overview",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Stability",
- "version" : "4.012"
+ "version" : "4.016"
+ },
+ {
+ "class" : "Pod::Weaver::Section::GenerateSection",
+ "name" : "@RJBS/PerlSupport",
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Attributes",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Methods",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Functions",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Leftovers",
"name" : "@RJBS/Leftovers",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@RJBS/postlude",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Authors",
"name" : "@RJBS/Authors",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Section::Contributors",
@@ -355,23 +365,23 @@
{
"class" : "Pod::Weaver::Section::Legal",
"name" : "@RJBS/Legal",
- "version" : "4.012"
+ "version" : "4.016"
},
{
"class" : "Pod::Weaver::Plugin::Transformer",
"name" : "@RJBS/List",
- "version" : "4.012"
+ "version" : "4.016"
}
]
}
},
"name" : "@RJBS/PodWeaver",
- "version" : "4.006"
+ "version" : "4.008"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.54"
+ "version" : "0.58"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -388,18 +398,20 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.24.3 (Apple Git-128)",
"repo_root" : "."
}
},
"name" : "@RJBS/@Git/Check",
- "version" : "2.036"
+ "version" : "2.047"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"config" : {
"Dist::Zilla::Plugin::Git::Commit" : {
"add_files_in" : [],
- "commit_msg" : "v%v%n%n%c"
+ "commit_msg" : "v%V%n%n%c",
+ "signoff" : 0
},
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
@@ -410,6 +422,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.24.3 (Apple Git-128)",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -417,7 +430,7 @@
}
},
"name" : "@RJBS/@Git/Commit",
- "version" : "2.036"
+ "version" : "2.047"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -426,11 +439,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "0.100052",
+ "tag" : "0.100054",
"tag_format" : "%v",
- "tag_message" : "v%v"
+ "tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.24.3 (Apple Git-128)",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -438,88 +452,103 @@
}
},
"name" : "@RJBS/@Git/Tag",
- "version" : "2.036"
+ "version" : "2.047"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"config" : {
"Dist::Zilla::Plugin::Git::Push" : {
"push_to" : [
- "origin :",
"github :"
],
"remotes_must_exist" : 0
},
"Dist::Zilla::Role::Git::Repo" : {
+ "git_version" : "2.24.3 (Apple Git-128)",
"repo_root" : "."
}
},
"name" : "@RJBS/@Git/Push",
- "version" : "2.036"
+ "version" : "2.047"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
+ "git_version" : "2.24.3 (Apple Git-128)",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
- "paths" : [
- "."
- ]
+ "paths" : []
}
},
"name" : "@RJBS/Git::Contributors",
- "version" : "0.012"
+ "version" : "0.036"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.037"
+ "version" : "6.018"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ExtraTestFiles",
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.037"
+ "version" : "6.018"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":PerlExecFiles",
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.037"
+ "version" : "6.018"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.037"
+ "version" : "6.018"
}
],
"zilla" : {
"class" : "Dist::Zilla::Dist::Builder",
"config" : {
- "is_trial" : "0"
+ "is_trial" : 0
},
- "version" : "5.037"
+ "version" : "6.018"
}
- }
+ },
+ "x_contributors" : [
+ "Ricardo Signes <[email protected]>"
+ ],
+ "x_generated_by_perl" : "v5.32.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
+ "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/META.yml
new/Sub-Exporter-ForMethods-0.100054/META.yml
--- old/Sub-Exporter-ForMethods-0.100052/META.yml 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/META.yml 2021-04-17
23:59:08.000000000 +0200
@@ -10,9 +10,9 @@
lib: '0'
namespace::autoclean: '0'
configure_requires:
- ExtUtils::MakeMaker: '0'
+ ExtUtils::MakeMaker: '6.78'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005'
+generated_by: 'Dist::Zilla version 6.018, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,17 +21,17 @@
requires:
Scalar::Util: '0'
Sub::Exporter: '0.978'
- Sub::Name: '0'
+ Sub::Util: '0'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/rjbs/Sub-Exporter-ForMethods/issues
homepage: https://github.com/rjbs/Sub-Exporter-ForMethods
repository: https://github.com/rjbs/Sub-Exporter-ForMethods.git
-version: '0.100052'
+version: '0.100054'
x_Dist_Zilla:
perl:
- version: '5.023000'
+ version: '5.032000'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
@@ -39,23 +39,23 @@
Dist::Zilla::Plugin::GatherDir:
exclude_filename: []
exclude_match: []
- follow_symlinks: '0'
- include_dotfiles: '0'
+ follow_symlinks: 0
+ include_dotfiles: 0
prefix: ''
prune_directory: []
root: .
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@RJBS/Git::GatherDir'
- version: '2.036'
+ version: '2.047'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: '0.016'
+ version: '0.020'
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
- version: '0.027'
+ version: '0.029'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -65,114 +65,117 @@
modules:
- Dist::Zilla::PluginBundle::RJBS
phase: build
+ run_under_travis: 0
skip: []
name: '@RJBS/RJBS-Outdated'
- version: '0.045'
+ version: '0.057'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
Dist::Zilla::Plugin::PromptIfStale:
- check_all_plugins: '1'
+ check_all_plugins: 1
check_all_prereqs: 0
modules: []
phase: release
+ run_under_travis: 0
skip: []
name: '@RJBS/CPAN-Outdated'
- version: '0.045'
+ version: '0.057'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@RJBS/MakeMaker'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::Git::NextVersion
config:
Dist::Zilla::Plugin::Git::NextVersion:
first_version: '0.001'
- version_by_branch: 0
+ version_by_branch: 1
version_regexp: (?^:^([0-9]+\.[0-9]+)$)
Dist::Zilla::Role::Git::Repo:
+ git_version: '2.24.3 (Apple Git-128)'
repo_root: .
name: '@RJBS/Git::NextVersion'
- version: '2.036'
+ version: '2.047'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
- version: '0.008'
+ version: '0.011'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@RJBS/Test::ReportPrereqs'
- version: '0.021'
+ version: '0.028'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -180,7 +183,7 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -194,67 +197,71 @@
-
class: Pod::Weaver::Plugin::EnsurePod5
name: '@CorePrep/EnsurePod5'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Plugin::H1Nester
name: '@CorePrep/H1Nester'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Plugin::SingleEncoding
name: '@RJBS/SingleEncoding'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Name
name: '@RJBS/Name'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Version
name: '@RJBS/Version'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Region
name: '@RJBS/Prelude'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Synopsis'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Description'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Overview'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Stability'
- version: '4.012'
+ version: '4.016'
+ -
+ class: Pod::Weaver::Section::GenerateSection
+ name: '@RJBS/PerlSupport'
+ version: '4.016'
-
class: Pod::Weaver::Section::Collect
name: Attributes
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Collect
name: Methods
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Collect
name: Functions
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Leftovers
name: '@RJBS/Leftovers'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Region
name: '@RJBS/postlude'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Authors
name: '@RJBS/Authors'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Section::Contributors
name: '@RJBS/Contributors'
@@ -262,17 +269,17 @@
-
class: Pod::Weaver::Section::Legal
name: '@RJBS/Legal'
- version: '4.012'
+ version: '4.016'
-
class: Pod::Weaver::Plugin::Transformer
name: '@RJBS/List'
- version: '4.012'
+ version: '4.016'
name: '@RJBS/PodWeaver'
- version: '4.006'
+ version: '4.008'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: '0.54'
+ version: '0.58'
-
class: Dist::Zilla::Plugin::Git::Check
config:
@@ -285,15 +292,17 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
+ git_version: '2.24.3 (Apple Git-128)'
repo_root: .
name: '@RJBS/@Git/Check'
- version: '2.036'
+ version: '2.047'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
Dist::Zilla::Plugin::Git::Commit:
add_files_in: []
- commit_msg: v%v%n%n%c
+ commit_msg: v%V%n%n%c
+ signoff: '0'
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
- Changes
@@ -301,11 +310,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
+ git_version: '2.24.3 (Apple Git-128)'
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@RJBS/@Git/Commit'
- version: '2.036'
+ version: '2.047'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -313,72 +323,86 @@
branch: ~
changelog: Changes
signed: 0
- tag: '0.100052'
+ tag: '0.100054'
tag_format: '%v'
- tag_message: v%v
+ tag_message: v%V
Dist::Zilla::Role::Git::Repo:
+ git_version: '2.24.3 (Apple Git-128)'
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@RJBS/@Git/Tag'
- version: '2.036'
+ version: '2.047'
-
class: Dist::Zilla::Plugin::Git::Push
config:
Dist::Zilla::Plugin::Git::Push:
push_to:
- - 'origin :'
- 'github :'
remotes_must_exist: 0
Dist::Zilla::Role::Git::Repo:
+ git_version: '2.24.3 (Apple Git-128)'
repo_root: .
name: '@RJBS/@Git/Push'
- version: '2.036'
+ version: '2.047'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
+ git_version: '2.24.3 (Apple Git-128)'
include_authors: 0
include_releaser: 1
order_by: name
- paths:
- - .
+ paths: []
name: '@RJBS/Git::Contributors'
- version: '0.012'
+ version: '0.036'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '5.037'
+ version: '6.018'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExtraTestFiles'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '5.037'
+ version: '6.018'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':PerlExecFiles'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '5.037'
+ version: '6.018'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '5.037'
+ version: '6.018'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '5.037'
+ version: '6.018'
+x_contributors:
+ - 'Ricardo Signes <[email protected]>'
+x_generated_by_perl: v5.32.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/Makefile.PL
new/Sub-Exporter-ForMethods-0.100054/Makefile.PL
--- old/Sub-Exporter-ForMethods-0.100052/Makefile.PL 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/Makefile.PL 2021-04-17
23:59:08.000000000 +0200
@@ -1,25 +1,24 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.018.
use strict;
use warnings;
-use ExtUtils::MakeMaker;
+use ExtUtils::MakeMaker 6.78;
my %WriteMakefileArgs = (
"ABSTRACT" => "helper routines for using Sub::Exporter to build methods",
"AUTHOR" => "Ricardo Signes <rjbs\@cpan.org>",
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => 0
+ "ExtUtils::MakeMaker" => "6.78"
},
"DISTNAME" => "Sub-Exporter-ForMethods",
- "EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Sub::Exporter::ForMethods",
"PREREQ_PM" => {
"Scalar::Util" => 0,
"Sub::Exporter" => "0.978",
- "Sub::Name" => 0,
+ "Sub::Util" => 0,
"strict" => 0,
"warnings" => 0
},
@@ -31,7 +30,7 @@
"lib" => 0,
"namespace::autoclean" => 0
},
- "VERSION" => "0.100052",
+ "VERSION" => "0.100054",
"test" => {
"TESTS" => "t/*.t"
}
@@ -44,7 +43,7 @@
"File::Spec" => 0,
"Scalar::Util" => 0,
"Sub::Exporter" => "0.978",
- "Sub::Name" => 0,
+ "Sub::Util" => 0,
"Test::More" => "0.96",
"lib" => 0,
"namespace::autoclean" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/README
new/Sub-Exporter-ForMethods-0.100054/README
--- old/Sub-Exporter-ForMethods-0.100052/README 2015-07-18 01:27:39.000000000
+0200
+++ new/Sub-Exporter-ForMethods-0.100054/README 2021-04-17 23:59:08.000000000
+0200
@@ -1,15 +1,12 @@
-
-
This archive contains the distribution Sub-Exporter-ForMethods,
-version 0.100052:
+version 0.100054:
helper routines for using Sub::Exporter to build methods
-This software is copyright (c) 2015 by Ricardo Signes.
+This software is copyright (c) 2021 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.037.
-
+This README file was generated by Dist::Zilla::Plugin::Readme v6.018.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Sub-Exporter-ForMethods-0.100052/dist.ini
new/Sub-Exporter-ForMethods-0.100054/dist.ini
--- old/Sub-Exporter-ForMethods-0.100052/dist.ini 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/dist.ini 2021-04-17
23:59:08.000000000 +0200
@@ -4,3 +4,4 @@
copyright_holder = Ricardo Signes
[@RJBS]
+perl-support = longterm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Sub-Exporter-ForMethods-0.100052/lib/Sub/Exporter/ForMethods.pm
new/Sub-Exporter-ForMethods-0.100054/lib/Sub/Exporter/ForMethods.pm
--- old/Sub-Exporter-ForMethods-0.100052/lib/Sub/Exporter/ForMethods.pm
2015-07-18 01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/lib/Sub/Exporter/ForMethods.pm
2021-04-17 23:59:08.000000000 +0200
@@ -2,12 +2,12 @@
use warnings;
package Sub::Exporter::ForMethods;
# ABSTRACT: helper routines for using Sub::Exporter to build methods
-$Sub::Exporter::ForMethods::VERSION = '0.100052';
-use Scalar::Util 'blessed';
-use Sub::Name ();
+$Sub::Exporter::ForMethods::VERSION = '0.100054';
+use Scalar::Util ();
+use Sub::Util ();
use Sub::Exporter 0.978 -setup => {
- exports => [ qw(method_installer) ],
+ exports => [ qw(method_installer method_goto_installer) ],
};
#pod =head1 SYNOPSIS
@@ -87,8 +87,24 @@
#pod =cut
sub method_installer {
+ _generic_method_installer(
+ sub { my $code = shift; sub { $code->(@_) } },
+ @_,
+ );
+}
+
+sub method_goto_installer {
+ _generic_method_installer(
+ sub { my $code = shift; sub { goto &$code } },
+ @_,
+ );
+}
+
+sub _generic_method_installer {
+ my $generator = shift;
+
my ($mxi_arg) = @_;
- my $rebless = $mxi_arg->{rebless};
+ my $rebless = $mxi_arg->{rebless};
sub {
my ($arg, $to_export) = @_;
@@ -99,12 +115,12 @@
my ($as, $code) = @$to_export[ $i, $i+1 ];
next if ref $as;
- my $sub = sub { $code->(@_) };
- if ($rebless and defined (my $code_pkg = blessed $code)) {
+ my $sub = $generator->($code);
+ if ($rebless and defined (my $code_pkg = Scalar::Util::blessed($code))) {
bless $sub, $code_pkg;
}
- $to_export->[ $i + 1 ] = Sub::Name::subname(
+ $to_export->[ $i + 1 ] = Sub::Util::set_subname(
join(q{::}, $into, $as),
$sub,
);
@@ -128,7 +144,7 @@
=head1 VERSION
-version 0.100052
+version 0.100054
=head1 SYNOPSIS
@@ -185,6 +201,16 @@
C<trunc> as foreign contaminants, but will leave C<read_file> in place. It
will also remove C<method_installer>, an added win.
+=head1 PERL VERSION SUPPORT
+
+This module has a long-term perl support period. That means it will not
+require a version of perl released fewer than five years ago.
+
+Although it may work on older versions of perl, no guarantee is made that the
+minimum required version will not be increased. The version may be increased
+for any reason, and there is no promise that patches will be accepted to lower
+the minimum required perl.
+
=head1 EXPORTS
Sub::Exporter::ForMethods offers only one routine for export, and it may also
@@ -208,9 +234,15 @@
Ricardo Signes <[email protected]>
+=head1 CONTRIBUTOR
+
+=for stopwords Ricardo Signes
+
+Ricardo Signes <[email protected]>
+
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2015 by Ricardo Signes.
+This software is copyright (c) 2021 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Sub-Exporter-ForMethods-0.100052/t/00-report-prereqs.dd
new/Sub-Exporter-ForMethods-0.100054/t/00-report-prereqs.dd
--- old/Sub-Exporter-ForMethods-0.100052/t/00-report-prereqs.dd 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/t/00-report-prereqs.dd 2021-04-17
23:59:08.000000000 +0200
@@ -1,11 +1,13 @@
do { my $x = {
'configure' => {
'requires' => {
- 'ExtUtils::MakeMaker' => '0'
+ 'ExtUtils::MakeMaker' => '6.78'
}
},
'develop' => {
'requires' => {
+ 'Encode' => '0',
+ 'Test::More' => '0',
'Test::Pod' => '1.41'
}
},
@@ -13,7 +15,7 @@
'requires' => {
'Scalar::Util' => '0',
'Sub::Exporter' => '0.978',
- 'Sub::Name' => '0',
+ 'Sub::Util' => '0',
'strict' => '0',
'warnings' => '0'
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Sub-Exporter-ForMethods-0.100052/t/00-report-prereqs.t
new/Sub-Exporter-ForMethods-0.100054/t/00-report-prereqs.t
--- old/Sub-Exporter-ForMethods-0.100052/t/00-report-prereqs.t 2015-07-18
01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/t/00-report-prereqs.t 2021-04-17
23:59:08.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028
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';
-if ( $source && $HAS_CPAN_META ) {
- if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
- $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
- }
+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,15 +171,23 @@
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"
);
}
-pass;
+pass('Reported prereqs');
# vim: ts=4 sts=4 sw=4 et:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Sub-Exporter-ForMethods-0.100052/xt/author/pod-syntax.t
new/Sub-Exporter-ForMethods-0.100054/xt/author/pod-syntax.t
--- old/Sub-Exporter-ForMethods-0.100052/xt/author/pod-syntax.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Sub-Exporter-ForMethods-0.100054/xt/author/pod-syntax.t 2021-04-17
23:59:08.000000000 +0200
@@ -0,0 +1,7 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
+use Test::More;
+use Test::Pod 1.41;
+
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Sub-Exporter-ForMethods-0.100052/xt/release/changes_has_content.t
new/Sub-Exporter-ForMethods-0.100054/xt/release/changes_has_content.t
--- old/Sub-Exporter-ForMethods-0.100052/xt/release/changes_has_content.t
2015-07-18 01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/xt/release/changes_has_content.t
2021-04-17 23:59:08.000000000 +0200
@@ -1,11 +1,10 @@
-#!perl
-
use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.100052';
+my $newver = '0.100054';
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 =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Sub-Exporter-ForMethods-0.100052/xt/release/pod-syntax.t
new/Sub-Exporter-ForMethods-0.100054/xt/release/pod-syntax.t
--- old/Sub-Exporter-ForMethods-0.100052/xt/release/pod-syntax.t
2015-07-18 01:27:39.000000000 +0200
+++ new/Sub-Exporter-ForMethods-0.100054/xt/release/pod-syntax.t
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!perl
-# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
-use Test::More;
-use Test::Pod 1.41;
-
-all_pod_files_ok();