Hello community, here is the log from the commit of package perl-Sub-Install for openSUSE:Factory checked in at 2014-09-19 22:27:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sub-Install (Old) and /work/SRC/openSUSE:Factory/.perl-Sub-Install.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Sub-Install" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sub-Install/perl-Sub-Install.changes 2013-11-26 19:32:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Sub-Install.new/perl-Sub-Install.changes 2014-09-19 22:27:46.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Sep 19 12:15:47 UTC 2014 - coolo@suse.com + +- updated to 0.928 + - cope with subroutines with spaces in their names when catching + warnings + - don't assume that the source sub isn't blessed in tests (!) + +------------------------------------------------------------------- Old: ---- Sub-Install-0.927.tar.gz New: ---- Sub-Install-0.928.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sub-Install.spec ++++++ --- /var/tmp/diff_new_pack.1SAFrP/_old 2014-09-19 22:27:48.000000000 +0200 +++ /var/tmp/diff_new_pack.1SAFrP/_new 2014-09-19 22:27:48.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Sub-Install # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products 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,7 +17,7 @@ Name: perl-Sub-Install -Version: 0.927 +Version: 0.928 Release: 0 %define cpan_name Sub-Install Summary: Install subroutines into packages easily @@ -30,7 +30,6 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.96 -#BuildRequires: perl(Sub::Install) %{perl_requires} %description ++++++ Sub-Install-0.927.tar.gz -> Sub-Install-0.928.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/Changes new/Sub-Install-0.928/Changes --- old/Sub-Install-0.927/Changes 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/Changes 2014-06-27 00:57:41.000000000 +0200 @@ -1,5 +1,10 @@ Revision history for Sub-Install +0.928 2014-06-26 18:57:27-04:00 America/New_York + - cope with subroutines with spaces in their names when catching + warnings + - don't assume that the source sub isn't blessed in tests (!) + 0.927 2013-10-15 22:46:38 America/New_York rebuild using Dist::Zilla, update links to repo, metadata, etc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/LICENSE new/Sub-Install-0.928/LICENSE --- old/Sub-Install-0.927/LICENSE 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/LICENSE 2014-06-27 00:57:41.000000000 +0200 @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/MANIFEST new/Sub-Install-0.928/MANIFEST --- old/Sub-Install-0.927/MANIFEST 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/MANIFEST 2014-06-27 00:57:41.000000000 +0200 @@ -1,3 +1,4 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019. Changes LICENSE MANIFEST @@ -7,7 +8,6 @@ README dist.ini lib/Sub/Install.pm -t/00-compile.t t/000-report-versions-tiny.t t/SI_install.t t/SI_reinstall.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/META.json new/Sub-Install-0.928/META.json --- old/Sub-Install-0.927/META.json 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/META.json 2014-06-27 00:57:41.000000000 +0200 @@ -4,7 +4,7 @@ "Ricardo SIGNES <rjbs@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830", + "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520", "license" : [ "perl_5" ], @@ -36,9 +36,6 @@ }, "test" : { "requires" : { - "File::Spec" : "0", - "IO::Handle" : "0", - "IPC::Open3" : "0", "Test::More" : "0.96" } } @@ -55,126 +52,169 @@ "web" : "https://github.com/rjbs/Sub-Install" } }, - "version" : "0.927", + "version" : "0.928", "x_Dist_Zilla" : { "perl" : { - "version" : "5.019004" + "version" : "5.021001" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Git::GatherDir", + "config" : { + "Dist::Zilla::Plugin::Git::GatherDir" : { + "include_untracked" : "0" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "@RJBS/Git::GatherDir", - "version" : "2.014" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.009" + "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::CheckExtraTests", "name" : "@RJBS/CheckExtraTests", - "version" : "0.011" + "version" : "0.021" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", + "config" : { + "Dist::Zilla::Plugin::PromptIfStale" : { + "check_all_plugins" : 0, + "check_all_prereqs" : 0, + "modules" : [ + "Dist::Zilla::PluginBundle::RJBS" + ], + "phase" : "build", + "skip" : [] + } + }, "name" : "@RJBS/RJBS-Outdated", - "version" : "0.008" + "version" : "0.023" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", + "config" : { + "Dist::Zilla::Plugin::PromptIfStale" : { + "check_all_plugins" : "1", + "check_all_prereqs" : 0, + "modules" : [], + "phase" : "release", + "skip" : [] + } + }, "name" : "@RJBS/CPAN-Outdated", - "version" : "0.008" + "version" : "0.023" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "4.300039" - }, - { - "class" : "Dist::Zilla::Plugin::MakeMaker", - "name" : "@RJBS/@Filter/MakeMaker", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "4.300039" + "version" : "5.019" + }, + { + "class" : "Dist::Zilla::Plugin::MakeMaker", + "config" : { + "Dist::Zilla::Role::TestRunner" : { + "default_jobs" : 9 + } + }, + "name" : "@RJBS/MakeMaker", + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", + "config" : { + "Dist::Zilla::Plugin::Git::NextVersion" : { + "first_version" : "0.001", + "version_by_branch" : "0", + "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "@RJBS/Git::NextVersion", - "version" : "2.014" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -184,7 +224,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", @@ -192,22 +232,6 @@ "version" : "1.10" }, { - "class" : "Dist::Zilla::Plugin::Test::Compile", - "config" : { - "Dist::Zilla::Plugin::Test::Compile" : { - "filename" : "t/00-compile.t", - "module_finder" : [ - ":InstallModules" - ], - "script_finder" : [ - ":ExecFiles" - ] - } - }, - "name" : "@RJBS/Test::Compile", - "version" : "2.036" - }, - { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { @@ -216,76 +240,239 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", "config" : { "Dist::Zilla::Plugin::PodWeaver" : { - "config_plugin" : "@RJBS", + "config_plugins" : [ + "@RJBS" + ], "finder" : [ ":InstallModules", ":ExecFiles" + ], + "plugins" : [ + { + "class" : "Pod::Weaver::Plugin::EnsurePod5", + "name" : "@CorePrep/EnsurePod5", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Plugin::H1Nester", + "name" : "@CorePrep/H1Nester", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Plugin::SingleEncoding", + "name" : "@RJBS/SingleEncoding", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Name", + "name" : "@RJBS/Name", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Version", + "name" : "@RJBS/Version", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "@RJBS/Prelude", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Synopsis", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Description", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Overview", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Stability", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Attributes", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Methods", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Functions", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Leftovers", + "name" : "@RJBS/Leftovers", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "@RJBS/postlude", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Authors", + "name" : "@RJBS/Authors", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Legal", + "name" : "@RJBS/Legal", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Plugin::Transformer", + "name" : "@RJBS/List", + "version" : "4.006" + } ] } }, "name" : "@RJBS/PodWeaver", - "version" : "3.102000" + "version" : "4.005" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@RJBS/GithubMeta", - "version" : "0.42" + "version" : "0.46" }, { "class" : "Dist::Zilla::Plugin::Git::Check", + "config" : { + "Dist::Zilla::Plugin::Git::Check" : { + "untracked_files" : "die" + }, + "Dist::Zilla::Role::Git::DirtyFiles" : { + "allow_dirty" : [ + "dist.ini", + "Changes" + ], + "allow_dirty_match" : [], + "changelog" : "Changes" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "@RJBS/@Git/Check", - "version" : "2.014" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", + "config" : { + "Dist::Zilla::Plugin::Git::Commit" : { + "add_files_in" : [], + "commit_msg" : "v%v%n%n%c", + "time_zone" : "local" + }, + "Dist::Zilla::Role::Git::DirtyFiles" : { + "allow_dirty" : [ + "dist.ini", + "Changes" + ], + "allow_dirty_match" : [], + "changelog" : "Changes" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "@RJBS/@Git/Commit", - "version" : "2.014" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", + "config" : { + "Dist::Zilla::Plugin::Git::Tag" : { + "branch" : null, + "signed" : 0, + "tag" : "0.928", + "tag_format" : "%v", + "tag_message" : "v%v", + "time_zone" : "local" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "@RJBS/@Git/Tag", - "version" : "2.014" + "version" : "2.023" }, { "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" : { + "repo_root" : "." + } + }, "name" : "@RJBS/@Git/Push", - "version" : "2.014" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300039" + "version" : "5.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300039" + "version" : "5.019" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":AllFiles", + "version" : "5.019" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":NoFiles", + "version" : "5.019" } ], "zilla" : { @@ -293,7 +480,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300039" + "version" : "5.019" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/META.yml new/Sub-Install-0.928/META.yml --- old/Sub-Install-0.927/META.yml 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/META.yml 2014-06-27 00:57:41.000000000 +0200 @@ -3,149 +3,165 @@ author: - 'Ricardo SIGNES <rjbs@cpan.org>' build_requires: - File::Spec: 0 - IO::Handle: 0 - IPC::Open3: 0 - Test::More: 0.96 + Test::More: '0.96' configure_requires: - ExtUtils::MakeMaker: 6.30 + ExtUtils::MakeMaker: '6.30' dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830' +generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Sub-Install requires: - B: 0 - Carp: 0 - Scalar::Util: 0 - strict: 0 - warnings: 0 + B: '0' + Carp: '0' + Scalar::Util: '0' + strict: '0' + warnings: '0' resources: bugtracker: https://github.com/rjbs/Sub-Install/issues homepage: https://github.com/rjbs/Sub-Install repository: https://github.com/rjbs/Sub-Install.git -version: 0.927 +version: '0.928' x_Dist_Zilla: perl: - version: 5.019004 + version: '5.021001' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir + config: + Dist::Zilla::Plugin::Git::GatherDir: + include_untracked: '0' + Dist::Zilla::Role::Git::Repo: + repo_root: . name: '@RJBS/Git::GatherDir' - version: 2.014 + version: '2.023' - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: 0.009 + version: '0.012' - class: Dist::Zilla::Plugin::CheckExtraTests name: '@RJBS/CheckExtraTests' - version: 0.011 + version: '0.021' - class: Dist::Zilla::Plugin::PromptIfStale + config: + Dist::Zilla::Plugin::PromptIfStale: + check_all_plugins: 0 + check_all_prereqs: 0 + modules: + - Dist::Zilla::PluginBundle::RJBS + phase: build + skip: [] name: '@RJBS/RJBS-Outdated' - version: 0.008 + version: '0.023' - class: Dist::Zilla::Plugin::PromptIfStale + config: + Dist::Zilla::Plugin::PromptIfStale: + check_all_plugins: '1' + check_all_prereqs: 0 + modules: [] + phase: release + skip: [] name: '@RJBS/CPAN-Outdated' - version: 0.008 + version: '0.023' - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: 4.300039 - - - class: Dist::Zilla::Plugin::MakeMaker - name: '@RJBS/@Filter/MakeMaker' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: 4.300039 + version: '5.019' + - + class: Dist::Zilla::Plugin::MakeMaker + config: + Dist::Zilla::Role::TestRunner: + default_jobs: 9 + name: '@RJBS/MakeMaker' + version: '5.019' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::Git::NextVersion + config: + Dist::Zilla::Plugin::Git::NextVersion: + first_version: '0.001' + version_by_branch: '0' + version_regexp: (?^:^([0-9]+\.[0-9]+)$) + Dist::Zilla::Role::Git::Repo: + repo_root: . name: '@RJBS/Git::NextVersion' - version: 2.014 + version: '2.023' - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' - version: 0.006 + version: '0.006' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::ReportVersions::Tiny name: '@RJBS/ReportVersions::Tiny' - version: 1.10 - - - class: Dist::Zilla::Plugin::Test::Compile - config: - Dist::Zilla::Plugin::Test::Compile: - filename: t/00-compile.t - module_finder: - - ':InstallModules' - script_finder: - - ':ExecFiles' - name: '@RJBS/Test::Compile' - version: 2.036 + version: '1.10' - class: Dist::Zilla::Plugin::Prereqs config: @@ -153,63 +169,187 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::PodWeaver config: Dist::Zilla::Plugin::PodWeaver: - config_plugin: '@RJBS' + config_plugins: + - '@RJBS' finder: - ':InstallModules' - ':ExecFiles' + plugins: + - + class: Pod::Weaver::Plugin::EnsurePod5 + name: '@CorePrep/EnsurePod5' + version: '4.006' + - + class: Pod::Weaver::Plugin::H1Nester + name: '@CorePrep/H1Nester' + version: '4.006' + - + class: Pod::Weaver::Plugin::SingleEncoding + name: '@RJBS/SingleEncoding' + version: '4.006' + - + class: Pod::Weaver::Section::Name + name: '@RJBS/Name' + version: '4.006' + - + class: Pod::Weaver::Section::Version + name: '@RJBS/Version' + version: '4.006' + - + class: Pod::Weaver::Section::Region + name: '@RJBS/Prelude' + version: '4.006' + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Synopsis' + version: '4.006' + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Description' + version: '4.006' + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Overview' + version: '4.006' + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Stability' + version: '4.006' + - + class: Pod::Weaver::Section::Collect + name: Attributes + version: '4.006' + - + class: Pod::Weaver::Section::Collect + name: Methods + version: '4.006' + - + class: Pod::Weaver::Section::Collect + name: Functions + version: '4.006' + - + class: Pod::Weaver::Section::Leftovers + name: '@RJBS/Leftovers' + version: '4.006' + - + class: Pod::Weaver::Section::Region + name: '@RJBS/postlude' + version: '4.006' + - + class: Pod::Weaver::Section::Authors + name: '@RJBS/Authors' + version: '4.006' + - + class: Pod::Weaver::Section::Legal + name: '@RJBS/Legal' + version: '4.006' + - + class: Pod::Weaver::Plugin::Transformer + name: '@RJBS/List' + version: '4.006' name: '@RJBS/PodWeaver' - version: 3.102000 + version: '4.005' - class: Dist::Zilla::Plugin::GithubMeta name: '@RJBS/GithubMeta' - version: 0.42 + version: '0.46' - class: Dist::Zilla::Plugin::Git::Check + config: + Dist::Zilla::Plugin::Git::Check: + untracked_files: die + Dist::Zilla::Role::Git::DirtyFiles: + allow_dirty: + - dist.ini + - Changes + allow_dirty_match: [] + changelog: Changes + Dist::Zilla::Role::Git::Repo: + repo_root: . name: '@RJBS/@Git/Check' - version: 2.014 + version: '2.023' - class: Dist::Zilla::Plugin::Git::Commit + config: + Dist::Zilla::Plugin::Git::Commit: + add_files_in: [] + commit_msg: v%v%n%n%c + time_zone: local + Dist::Zilla::Role::Git::DirtyFiles: + allow_dirty: + - dist.ini + - Changes + allow_dirty_match: [] + changelog: Changes + Dist::Zilla::Role::Git::Repo: + repo_root: . name: '@RJBS/@Git/Commit' - version: 2.014 + version: '2.023' - class: Dist::Zilla::Plugin::Git::Tag + config: + Dist::Zilla::Plugin::Git::Tag: + branch: ~ + signed: 0 + tag: '0.928' + tag_format: '%v' + tag_message: v%v + time_zone: local + Dist::Zilla::Role::Git::Repo: + repo_root: . name: '@RJBS/@Git/Tag' - version: 2.014 + version: '2.023' - 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: + repo_root: . name: '@RJBS/@Git/Push' - version: 2.014 + version: '2.023' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300039 + version: '5.019' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300039 + version: '5.019' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':AllFiles' + version: '5.019' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':NoFiles' + version: '5.019' zilla: class: Dist::Zilla::Dist::Builder config: - is_trial: 0 - version: 4.300039 + is_trial: '0' + version: '5.019' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/Makefile.PL new/Sub-Install-0.928/Makefile.PL --- old/Sub-Install-0.927/Makefile.PL 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/Makefile.PL 2014-06-27 00:57:41.000000000 +0200 @@ -1,4 +1,5 @@ +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019. use strict; use warnings; @@ -11,7 +12,6 @@ my %WriteMakefileArgs = ( "ABSTRACT" => "install subroutines into packages easily", "AUTHOR" => "Ricardo SIGNES <rjbs\@cpan.org>", - "BUILD_REQUIRES" => {}, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.30" }, @@ -27,42 +27,29 @@ "warnings" => 0 }, "TEST_REQUIRES" => { - "File::Spec" => 0, - "IO::Handle" => 0, - "IPC::Open3" => 0, "Test::More" => "0.96" }, - "VERSION" => "0.927", + "VERSION" => "0.928", "test" => { "TESTS" => "t/*.t" } ); -unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { - my $tr = delete $WriteMakefileArgs{TEST_REQUIRES}; - my $br = $WriteMakefileArgs{BUILD_REQUIRES}; - for my $mod ( keys %$tr ) { - if ( exists $br->{$mod} ) { - $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; - } - else { - $br->{$mod} = $tr->{$mod}; - } - } -} +my %FallbackPrereqs = ( + "B" => 0, + "Carp" => 0, + "Scalar::Util" => 0, + "Test::More" => "0.96", + "strict" => 0, + "warnings" => 0 +); -unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { - my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; - my $pp = $WriteMakefileArgs{PREREQ_PM}; - for my $mod ( keys %$br ) { - if ( exists $pp->{$mod} ) { - $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; - } - else { - $pp->{$mod} = $br->{$mod}; - } - } + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/README new/Sub-Install-0.928/README --- old/Sub-Install-0.927/README 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/README 2014-06-27 00:57:41.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution Sub-Install, -version 0.927: +version 0.928: install subroutines into packages easily @@ -11,3 +11,5 @@ the same terms as the Perl 5 programming language system itself. +This README file was generated by Dist::Zilla::Plugin::Readme v5.019. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/lib/Sub/Install.pm new/Sub-Install-0.928/lib/Sub/Install.pm --- old/Sub-Install-0.927/lib/Sub/Install.pm 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/lib/Sub/Install.pm 2014-06-27 00:57:41.000000000 +0200 @@ -1,14 +1,75 @@ use strict; use warnings; package Sub::Install; -{ - $Sub::Install::VERSION = '0.927'; -} # ABSTRACT: install subroutines into packages easily - +$Sub::Install::VERSION = '0.928'; use Carp; use Scalar::Util (); +#pod =head1 SYNOPSIS +#pod +#pod use Sub::Install; +#pod +#pod Sub::Install::install_sub({ +#pod code => sub { ... }, +#pod into => $package, +#pod as => $subname +#pod }); +#pod +#pod =head1 DESCRIPTION +#pod +#pod This module makes it easy to install subroutines into packages without the +#pod unsightly mess of C<no strict> or typeglobs lying about where just anyone can +#pod see them. +#pod +#pod =func install_sub +#pod +#pod Sub::Install::install_sub({ +#pod code => \&subroutine, +#pod into => "Finance::Shady", +#pod as => 'launder', +#pod }); +#pod +#pod This routine installs a given code reference into a package as a normal +#pod subroutine. The above is equivalent to: +#pod +#pod no strict 'refs'; +#pod *{"Finance::Shady" . '::' . "launder"} = \&subroutine; +#pod +#pod If C<into> is not given, the sub is installed into the calling package. +#pod +#pod If C<code> is not a code reference, it is looked for as an existing sub in the +#pod package named in the C<from> parameter. If C<from> is not given, it will look +#pod in the calling package. +#pod +#pod If C<as> is not given, and if C<code> is a name, C<as> will default to C<code>. +#pod If C<as> is not given, but if C<code> is a code ref, Sub::Install will try to +#pod find the name of the given code ref and use that as C<as>. +#pod +#pod That means that this code: +#pod +#pod Sub::Install::install_sub({ +#pod code => 'twitch', +#pod from => 'Person::InPain', +#pod into => 'Person::Teenager', +#pod as => 'dance', +#pod }); +#pod +#pod is the same as: +#pod +#pod package Person::Teenager; +#pod +#pod Sub::Install::install_sub({ +#pod code => Person::InPain->can('twitch'), +#pod as => 'dance', +#pod }); +#pod +#pod =func reinstall_sub +#pod +#pod This routine behaves exactly like C<L</install_sub>>, but does not emit a +#pod warning if warnings are on and the destination is already defined. +#pod +#pod =cut sub _name_of_code { my ($code) = @_; @@ -64,9 +125,9 @@ BEGIN { $_misc_warn_re = qr/ Prototype\ mismatch:\ sub\ .+? | - Constant subroutine \S+ redefined + Constant subroutine .+? redefined /x; - $_redef_warn_re = qr/Subroutine\ \S+\ redefined/x; + $_redef_warn_re = qr/Subroutine\ .+?\ redefined/x; } my $eow_re; @@ -132,6 +193,28 @@ }); } +#pod =func install_installers +#pod +#pod This routine is provided to allow Sub::Install compatibility with +#pod Sub::Installer. It installs C<install_sub> and C<reinstall_sub> methods into +#pod the package named by its argument. +#pod +#pod Sub::Install::install_installers('Code::Builder'); # just for us, please +#pod Code::Builder->install_sub({ name => $code_ref }); +#pod +#pod Sub::Install::install_installers('UNIVERSAL'); # feeling lucky, punk? +#pod Anything::At::All->install_sub({ name => $code_ref }); +#pod +#pod The installed installers are similar, but not identical, to those provided by +#pod Sub::Installer. They accept a single hash as an argument. The key/value pairs +#pod are used as the C<as> and C<code> parameters to the C<install_sub> routine +#pod detailed above. The package name on which the method is called is used as the +#pod C<into> parameter. +#pod +#pod Unlike Sub::Installer's C<install_sub> will not eval strings into code, but +#pod will look for named code in the calling package. +#pod +#pod =cut sub install_installers { my ($into) = @_; @@ -155,6 +238,22 @@ } } +#pod =head1 EXPORTS +#pod +#pod Sub::Install exports C<install_sub> and C<reinstall_sub> only if they are +#pod requested. +#pod +#pod =head2 exporter +#pod +#pod Sub::Install has a never-exported subroutine called C<exporter>, which is used +#pod to implement its C<import> routine. It takes a hashref of named arguments, +#pod only one of which is currently recognize: C<exports>. This must be an arrayref +#pod of subroutines to offer for export. +#pod +#pod This routine is mainly for Sub::Install's own consumption. Instead, consider +#pod L<Sub::Exporter>. +#pod +#pod =cut sub exporter { my ($arg) = @_; @@ -173,6 +272,30 @@ BEGIN { *import = exporter({ exports => [ qw(install_sub reinstall_sub) ] }); } +#pod =head1 SEE ALSO +#pod +#pod =over +#pod +#pod =item L<Sub::Installer> +#pod +#pod This module is (obviously) a reaction to Damian Conway's Sub::Installer, which +#pod does the same thing, but does it by getting its greasy fingers all over +#pod UNIVERSAL. I was really happy about the idea of making the installation of +#pod coderefs less ugly, but I couldn't bring myself to replace the ugliness of +#pod typeglobs and loosened strictures with the ugliness of UNIVERSAL methods. +#pod +#pod =item L<Sub::Exporter> +#pod +#pod This is a complete Exporter.pm replacement, built atop Sub::Install. +#pod +#pod =back +#pod +#pod =head1 EXTRA CREDITS +#pod +#pod Several of the tests are adapted from tests that shipped with Damian Conway's +#pod Sub-Installer distribution. +#pod +#pod =cut 1; @@ -180,13 +303,15 @@ =pod +=encoding UTF-8 + =head1 NAME Sub::Install - install subroutines into packages easily =head1 VERSION -version 0.927 +version 0.928 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/00-compile.t new/Sub-Install-0.928/t/00-compile.t --- old/Sub-Install-0.927/t/00-compile.t 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,48 +0,0 @@ -use strict; -use warnings; - -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.036 - -use Test::More 0.94 tests => 1; - - - -my @module_files = ( - 'Sub/Install.pm' -); - - - -# no fake home requested - -my $inc_switch = q[-Mblib]; - -use File::Spec; -use IPC::Open3; -use IO::Handle; - -my @warnings; -for my $lib (@module_files) -{ - # see L<perlfaq8/How can I capture STDERR from an external command?> - open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; - my $stderr = IO::Handle->new; - - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); - binmode $stderr, ':crlf' if $^O eq 'MSWin32'; - my @_warnings = <$stderr>; - waitpid($pid, 0); - is($?, 0, "$lib loaded ok"); - - if (@_warnings) - { - warn @_warnings; - push @warnings, @_warnings; - } -} - - - -# no warning checks; - -BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/000-report-versions-tiny.t new/Sub-Install-0.928/t/000-report-versions-tiny.t --- old/Sub-Install-0.927/t/000-report-versions-tiny.t 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/t/000-report-versions-tiny.t 2014-06-27 00:57:41.000000000 +0200 @@ -51,9 +51,6 @@ eval { $v .= pmver('B','any version') }; eval { $v .= pmver('Carp','any version') }; eval { $v .= pmver('ExtUtils::MakeMaker','6.30') }; -eval { $v .= pmver('File::Spec','any version') }; -eval { $v .= pmver('IO::Handle','any version') }; -eval { $v .= pmver('IPC::Open3','any version') }; eval { $v .= pmver('Scalar::Util','any version') }; eval { $v .= pmver('Test::More','0.96') }; eval { $v .= pmver('strict','any version') }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/SI_install.t new/Sub-Install-0.928/t/SI_install.t --- old/Sub-Install-0.927/t/SI_install.t 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/t/SI_install.t 2014-06-27 00:57:41.000000000 +0200 @@ -5,13 +5,14 @@ # Sub::Installer 0.0.2 use Test::More 'no_plan'; +use Scalar::Util qw/reftype/; use warnings; # Install a sub in a package... my $sub_ref = main->install_sub({ ok1 => \&ok }); -is ref $sub_ref, 'CODE' => 'install returns code ref'; +is reftype $sub_ref, 'CODE' => 'install returns code ref'; is_deeply \&ok, $sub_ref => 'install returns correct code ref'; @@ -25,7 +26,7 @@ $sub_ref = main->install_sub({ ok1 => \&is }); -is ref $sub_ref, 'CODE' => 'install2 returns code ref'; +is reftype $sub_ref, 'CODE' => 'install2 returns code ref'; is_deeply \&is, $sub_ref => 'install2 returns correct code ref'; @@ -35,7 +36,7 @@ $sub_ref = Other->install_sub({ ok2 => \&ok }); -is ref $sub_ref, 'CODE' => 'install2 returns code ref'; +is reftype $sub_ref, 'CODE' => 'install2 returns code ref'; is_deeply \&ok, $sub_ref => 'install2 returns correct code ref'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/SI_reinstall.t new/Sub-Install-0.928/t/SI_reinstall.t --- old/Sub-Install-0.927/t/SI_reinstall.t 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/t/SI_reinstall.t 2014-06-27 00:57:41.000000000 +0200 @@ -5,13 +5,14 @@ # Sub::Installer 0.0.2 use Test::More 'no_plan'; +use Scalar::Util qw/reftype/; use warnings; # Install a sub in a package... my $sub_ref = main->reinstall_sub({ ok1 => \&ok }); -is ref $sub_ref, 'CODE' => 'reinstall returns code ref'; +is reftype $sub_ref, 'CODE' => 'reinstall returns code ref'; is_deeply \&ok, $sub_ref => 'reinstall returns correct code ref'; @@ -24,7 +25,7 @@ $sub_ref = main->reinstall_sub({ ok1 => \&is }); -is ref $sub_ref, 'CODE' => 'reinstall2 returns code ref'; +is reftype $sub_ref, 'CODE' => 'reinstall2 returns code ref'; is_deeply \&is, $sub_ref => 'reinstall2 returns correct code ref'; @@ -34,7 +35,7 @@ $sub_ref = Other->reinstall_sub({ ok2 => \&ok }); -is ref $sub_ref, 'CODE' => 'reinstall2 returns code ref'; +is reftype $sub_ref, 'CODE' => 'reinstall2 returns code ref'; is_deeply \&ok, $sub_ref => 'reinstall2 returns correct code ref'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/xt/release/changes_has_content.t new/Sub-Install-0.928/xt/release/changes_has_content.t --- old/Sub-Install-0.927/xt/release/changes_has_content.t 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/xt/release/changes_has_content.t 2014-06-27 00:57:41.000000000 +0200 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.927'; +my $newver = '0.928'; my $trial_token = '-TRIAL'; SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/xt/release/pod-syntax.t new/Sub-Install-0.928/xt/release/pod-syntax.t --- old/Sub-Install-0.927/xt/release/pod-syntax.t 2013-10-16 04:46:41.000000000 +0200 +++ new/Sub-Install-0.928/xt/release/pod-syntax.t 2014-06-27 00:57:41.000000000 +0200 @@ -1,7 +1,6 @@ #!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; +use Test::Pod 1.41; all_pod_files_ok(); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org