From bc9b62f4eb9af8a85172af70d3883391963f3bce Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 16 Aug 2014 12:29:50 +1200 Subject: [PATCH] Build results of e98538d (on master) --- .travis.yml | 14 +- Changes | 19 ++ MANIFEST | 2 +- META.json | 179 +++++++++--------- META.yml | 174 ++++++++--------- Makefile.PL | 18 +- README | 2 +- dist.ini | 9 +- .../Zilla/Plugin/Prereqs/MatchInstalled.pm | 72 +------ misc/Changes.deps | 12 +- misc/Changes.deps.all | 25 ++- misc/Changes.deps.dev | 9 +- misc/Changes.deps.opt | 10 +- ...t_Zilla_Plugin_Prereqs_MatchInstalled_pm.t | 2 +- t/00-report-prereqs.dd | 15 +- t/00-report-prereqs.t | 64 ++++--- 16 files changed, 316 insertions(+), 310 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4391d0..38a6708 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,23 +15,23 @@ matrix: env: STERILIZE_ENV=0 - perl: "5.16" env: STERILIZE_ENV=0 - - perl: "5.18" + - perl: "5.20" env: STERILIZE_ENV=0 - - perl: "5.19" + - perl: "5.21" env: STERILIZE_ENV=0 - perl: "5.8" env: STERILIZE_ENV=1 - perl: "5.10" env: STERILIZE_ENV=1 - - perl: "5.18" + - perl: "5.20" env: STERILIZE_ENV=1 - - perl: "5.19" + - perl: "5.21" env: STERILIZE_ENV=1 - - perl: "5.19" + - perl: "5.21" env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - - perl: "5.19" + - perl: "5.21" env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 - - perl: "5.19" + - perl: "5.21" env: STERILIZE_ENV=0 COVERAGE_TESTING=1 before_install: - perlbrew list diff --git a/Changes b/Changes index 22e5643..8c11543 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,24 @@ Release history for Dist-Zilla-Plugin-Prereqs-MatchInstalled +1.000002 2014-08-15T21:18:20Z + [00 Trivial] + - CPANDAY! + - no code changes. + - tests augmented. + - whitespace adjusted. + + [Dependencies::Stats] + - Dependencies changed since 1.000001, see misc/*.deps* for details + - configure: ↓1 + - develop: +1 (suggests: ↑1) + - test: -4 (recommends: ↑1 -2) + + [Misc] + - Improve source side POD to reduce build side whitespace. + + [Tests] + - update test::reportprereqs + 1.000001 2014-07-18T15:14:08Z [00 Trivial] - Minor packaging cleanups. diff --git a/MANIFEST b/MANIFEST index d59a05a..bcbe0f1 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020. .gitignore .perltidyrc .travis.yml diff --git a/META.json b/META.json index 78f98f8..25d6239 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Kent Fredric " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520", + "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060", "license" : [ "perl_5" ], @@ -19,7 +19,7 @@ "ExtUtils::MakeMaker" : "6.98" }, "requires" : { - "ExtUtils::MakeMaker" : "6.30" + "ExtUtils::MakeMaker" : "0" } }, "develop" : { @@ -33,6 +33,7 @@ "Dist::Zilla::Plugin::Git::Check" : "0", "Dist::Zilla::Plugin::Git::Commit" : "0", "Dist::Zilla::Plugin::Git::CommitBuild" : "0", + "Dist::Zilla::Plugin::Git::Contributors" : "0.006", "Dist::Zilla::Plugin::Git::GatherDir" : "0", "Dist::Zilla::Plugin::Git::NextRelease" : "0", "Dist::Zilla::Plugin::Git::Tag" : "0", @@ -75,7 +76,7 @@ }, "suggests" : { "Dist::Zilla::App::Command::bakeini" : "0.001001", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.016004" + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.017002" } }, "runtime" : { @@ -92,9 +93,7 @@ }, "test" : { "recommends" : { - "CPAN::Meta" : "0", - "CPAN::Meta::Prereqs" : "0", - "CPAN::Meta::Requirements" : "2.120900", + "CPAN::Meta" : "2.120900", "ExtUtils::MakeMaker" : "6.98", "Test::More" : "1.001003" }, @@ -102,22 +101,18 @@ "ExtUtils::MakeMaker" : "0", "File::Copy::Recursive" : "0", "File::Spec" : "0", - "File::Spec::Functions" : "0", "FindBin" : "0", - "List::Util" : "0", "Path::Tiny" : "0", - "Scalar::Util" : "0", "Test::DZil" : "0", "Test::Fatal" : "0", - "Test::More" : "0.89", - "version" : "0.77" + "Test::More" : "0.89" } } }, "provides" : { "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : { "file" : "lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled.pm", - "version" : "1.000001" + "version" : "1.000002" } }, "release_status" : "stable", @@ -132,80 +127,75 @@ "web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled" } }, - "version" : "1.000001", + "version" : "1.000002", "x_BuiltWith" : { "modules" : { - "CPAN::Meta" : "2.141520", - "CPAN::Meta::Prereqs" : "2.141520", - "CPAN::Meta::Requirements" : "2.125", + "CPAN::Meta" : "2.142060", "Dist::Zilla::App::Command::bakeini" : "0.001001", "Dist::Zilla::Plugin::Authority" : "1.006", - "Dist::Zilla::Plugin::AutoPrereqs" : "5.019", + "Dist::Zilla::Plugin::AutoPrereqs" : "5.020", "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.002", - "Dist::Zilla::Plugin::ConfirmRelease" : "5.019", + "Dist::Zilla::Plugin::ConfirmRelease" : "5.020", "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.103510", "Dist::Zilla::Plugin::EOLTests" : "0.02", "Dist::Zilla::Plugin::Git::Check" : "2.023", "Dist::Zilla::Plugin::Git::Commit" : "2.023", "Dist::Zilla::Plugin::Git::CommitBuild" : "2.023", + "Dist::Zilla::Plugin::Git::Contributors" : "0.006", "Dist::Zilla::Plugin::Git::GatherDir" : "2.023", "Dist::Zilla::Plugin::Git::NextRelease" : "0.002011", "Dist::Zilla::Plugin::Git::Tag" : "2.023", "Dist::Zilla::Plugin::GithubMeta" : "0.46", - "Dist::Zilla::Plugin::License" : "5.019", - "Dist::Zilla::Plugin::MakeMaker" : "5.019", - "Dist::Zilla::Plugin::Manifest" : "5.019", - "Dist::Zilla::Plugin::ManifestSkip" : "5.019", - "Dist::Zilla::Plugin::MetaConfig" : "5.019", - "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.000000", - "Dist::Zilla::Plugin::MetaJSON" : "5.019", - "Dist::Zilla::Plugin::MetaProvides::Package" : "2.000002", - "Dist::Zilla::Plugin::MetaTests" : "5.019", - "Dist::Zilla::Plugin::MetaYAML" : "5.019", + "Dist::Zilla::Plugin::License" : "5.020", + "Dist::Zilla::Plugin::MakeMaker" : "5.020", + "Dist::Zilla::Plugin::Manifest" : "5.020", + "Dist::Zilla::Plugin::ManifestSkip" : "5.020", + "Dist::Zilla::Plugin::MetaConfig" : "5.020", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.001000", + "Dist::Zilla::Plugin::MetaJSON" : "5.020", + "Dist::Zilla::Plugin::MetaProvides::Package" : "2.000003", + "Dist::Zilla::Plugin::MetaTests" : "5.020", + "Dist::Zilla::Plugin::MetaYAML" : "5.020", "Dist::Zilla::Plugin::MinimumPerl" : "1.003", - "Dist::Zilla::Plugin::PodCoverageTests" : "5.019", - "Dist::Zilla::Plugin::PodSyntaxTests" : "5.019", + "Dist::Zilla::Plugin::PodCoverageTests" : "5.020", + "Dist::Zilla::Plugin::PodSyntaxTests" : "5.020", "Dist::Zilla::Plugin::PodWeaver" : "4.005", - "Dist::Zilla::Plugin::Prereqs" : "5.019", + "Dist::Zilla::Plugin::Prereqs" : "5.020", "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.002000", - "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.141760", + "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142250", "Dist::Zilla::Plugin::ReadmeFromPod" : "0.21", - "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001000", + "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001002", "Dist::Zilla::Plugin::RunExtraTests" : "0.022", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", - "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.002000", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.002001", "Dist::Zilla::Plugin::Test::Kwalitee" : "2.07", "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000005", "Dist::Zilla::Plugin::Test::Perl::Critic" : "2.112410", - "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.014", - "Dist::Zilla::Plugin::TestRelease" : "5.019", + "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.019", + "Dist::Zilla::Plugin::TestRelease" : "5.020", "Dist::Zilla::Plugin::Twitter" : "0.025", - "Dist::Zilla::Plugin::UploadToCPAN" : "5.019", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.016004", - "Dist::Zilla::Role::PrereqSource" : "5.019", + "Dist::Zilla::Plugin::UploadToCPAN" : "5.020", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.017002", + "Dist::Zilla::Role::PrereqSource" : "5.020", "ExtUtils::MakeMaker" : "6.98", "File::Copy::Recursive" : "0.38", "File::Spec" : "3.48", - "File::Spec::Functions" : "3.48", "FindBin" : "1.51", - "List::Util" : "1.39", "Module::Data" : "0.007", - "Moose" : "2.1210", + "Moose" : "2.1211", "MooseX::Types::Moose" : "0.44", - "Path::Tiny" : "0.055", + "Path::Tiny" : "0.056", "Pod::Coverage::TrustPod" : "0.100003", - "Scalar::Util" : "1.39", - "Test::CPAN::Changes" : "0.28", + "Test::CPAN::Changes" : "0.30", "Test::CPAN::Meta" : "0.23", - "Test::DZil" : "5.019", + "Test::DZil" : "5.020", "Test::Fatal" : "0.013", - "Test::Kwalitee" : "1.18", + "Test::Kwalitee" : "1.19", "Test::More" : "1.001003", "Test::Pod" : "1.48", - "Test::Pod::Coverage" : "1.08", + "Test::Pod::Coverage" : "1.10", "strict" : "1.08", "utf8" : "1.14", - "version" : "0.9908", "warnings" : "1.24" }, "perl" : { @@ -223,7 +213,7 @@ "osname" : "linux" }, "platform" : "linux", - "uname" : "Linux 3.15.2-aufs x86_64 GenuineIntel GNU/Linux" + "uname" : "Linux 3.15.5-aufs x86_64 GenuineIntel GNU/Linux" }, "x_Dist_Zilla" : { "perl" : { @@ -241,12 +231,12 @@ } }, "name" : "Bootstrap::lib", - "version" : "1.000003" + "version" : "1.000004" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", @@ -261,7 +251,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.019" + "version" : "5.020" } ] }, @@ -272,7 +262,7 @@ } }, "name" : "@Author::KENTNL/MetaProvides::Package", - "version" : "2.000002" + "version" : "2.000003" }, { "class" : "Dist::Zilla::Plugin::MetaData::BuiltWith", @@ -294,7 +284,19 @@ } }, "name" : "@Author::KENTNL/MetaData::BuiltWith", - "version" : "1.000000" + "version" : "1.001000" + }, + { + "class" : "Dist::Zilla::Plugin::Git::Contributors", + "config" : { + "Dist::Zilla::Plugin::Git::Contributors" : { + "include_authors" : "0", + "include_releaser" : "0", + "order_by" : "name" + } + }, + "name" : "@Author::KENTNL/Git::Contributors", + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", @@ -312,22 +314,22 @@ { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::KENTNL/License", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::KENTNL/MetaJSON", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::KENTNL/MetaYAML", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::KENTNL/Manifest", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", @@ -337,22 +339,22 @@ { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::KENTNL/MetaTests", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::KENTNL/PodCoverageTests", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::KENTNL/PodSyntaxTests", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::KENTNL/Test::ReportPrereqs", - "version" : "0.014" + "version" : "0.019" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", @@ -372,7 +374,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile", @@ -389,7 +391,7 @@ } }, "name" : "@Author::KENTNL/Test::Compile::PerFile", - "version" : "0.002000" + "version" : "0.002001" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", @@ -399,7 +401,7 @@ { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::KENTNL/ManifestSkip", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Sanitized", @@ -410,7 +412,7 @@ } }, "name" : "@Author::KENTNL/RewriteVersion::Sanitized", - "version" : "0.001000" + "version" : "0.001002" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -515,7 +517,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::KENTNL/AutoPrereqs", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -526,7 +528,7 @@ } }, "name" : "@Author::KENTNL/BundleDevelSuggests", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MinimumPerl", @@ -546,7 +548,7 @@ } }, "name" : "@Author::KENTNL/MakeMaker", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::ReadmeFromPod", @@ -556,7 +558,7 @@ { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", "name" : "@Author::KENTNL/ReadmeAnyFromPod", - "version" : "0.141760" + "version" : "0.142250" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -576,12 +578,12 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::KENTNL/TestRelease", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::KENTNL/ConfirmRelease", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -633,7 +635,7 @@ "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, "signed" : 0, - "tag" : "1.000001-source", + "tag" : "1.000002-source", "tag_format" : "%v-source", "tag_message" : "v%v", "time_zone" : "local" @@ -704,7 +706,7 @@ "Dist::Zilla::Plugin::Git::Tag" : { "branch" : "releases", "signed" : 0, - "tag" : "1.000001", + "tag" : "1.000002", "tag_format" : "%v", "tag_message" : "v%v", "time_zone" : "local" @@ -719,7 +721,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::KENTNL/UploadToCPAN", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Twitter", @@ -781,7 +783,7 @@ } }, "name" : "@Author::KENTNL/::Role::BundleDeps", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -792,52 +794,52 @@ } }, "name" : "Prereqs", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.019" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.019" + "version" : "5.020" } ], "zilla" : { @@ -845,9 +847,8 @@ "config" : { "is_trial" : "0" }, - "version" : "5.019" + "version" : "5.020" } }, "x_authority" : "cpan:KENTNL" } - diff --git a/META.yml b/META.yml index e3a46c7..bc01a7d 100644 --- a/META.yml +++ b/META.yml @@ -6,19 +6,15 @@ build_requires: ExtUtils::MakeMaker: '0' File::Copy::Recursive: '0' File::Spec: '0' - File::Spec::Functions: '0' FindBin: '0' - List::Util: '0' Path::Tiny: '0' - Scalar::Util: '0' Test::DZil: '0' Test::Fatal: '0' Test::More: '0.89' - version: '0.77' configure_requires: - ExtUtils::MakeMaker: '6.30' -dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520' + ExtUtils::MakeMaker: '0' +dynamic_config: '0' +generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,7 +23,7 @@ name: Dist-Zilla-Plugin-Prereqs-MatchInstalled provides: Dist::Zilla::Plugin::Prereqs::MatchInstalled: file: lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled.pm - version: '1.000001' + version: '1.000002' requires: Dist::Zilla::Role::PrereqSource: '0' Module::Data: '0' @@ -41,80 +37,75 @@ resources: bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled/issues homepage: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled repository: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled.git -version: '1.000001' +version: '1.000002' x_BuiltWith: modules: - CPAN::Meta: '2.141520' - CPAN::Meta::Prereqs: '2.141520' - CPAN::Meta::Requirements: '2.125' + CPAN::Meta: '2.142060' Dist::Zilla::App::Command::bakeini: '0.001001' Dist::Zilla::Plugin::Authority: '1.006' - Dist::Zilla::Plugin::AutoPrereqs: '5.019' + Dist::Zilla::Plugin::AutoPrereqs: '5.020' Dist::Zilla::Plugin::BumpVersionAfterRelease: '0.002' - Dist::Zilla::Plugin::ConfirmRelease: '5.019' + Dist::Zilla::Plugin::ConfirmRelease: '5.020' Dist::Zilla::Plugin::CopyFilesFromBuild: '0.103510' Dist::Zilla::Plugin::EOLTests: '0.02' Dist::Zilla::Plugin::Git::Check: '2.023' Dist::Zilla::Plugin::Git::Commit: '2.023' Dist::Zilla::Plugin::Git::CommitBuild: '2.023' + Dist::Zilla::Plugin::Git::Contributors: '0.006' Dist::Zilla::Plugin::Git::GatherDir: '2.023' Dist::Zilla::Plugin::Git::NextRelease: '0.002011' Dist::Zilla::Plugin::Git::Tag: '2.023' Dist::Zilla::Plugin::GithubMeta: '0.46' - Dist::Zilla::Plugin::License: '5.019' - Dist::Zilla::Plugin::MakeMaker: '5.019' - Dist::Zilla::Plugin::Manifest: '5.019' - Dist::Zilla::Plugin::ManifestSkip: '5.019' - Dist::Zilla::Plugin::MetaConfig: '5.019' - Dist::Zilla::Plugin::MetaData::BuiltWith: '1.000000' - Dist::Zilla::Plugin::MetaJSON: '5.019' - Dist::Zilla::Plugin::MetaProvides::Package: '2.000002' - Dist::Zilla::Plugin::MetaTests: '5.019' - Dist::Zilla::Plugin::MetaYAML: '5.019' + Dist::Zilla::Plugin::License: '5.020' + Dist::Zilla::Plugin::MakeMaker: '5.020' + Dist::Zilla::Plugin::Manifest: '5.020' + Dist::Zilla::Plugin::ManifestSkip: '5.020' + Dist::Zilla::Plugin::MetaConfig: '5.020' + Dist::Zilla::Plugin::MetaData::BuiltWith: '1.001000' + Dist::Zilla::Plugin::MetaJSON: '5.020' + Dist::Zilla::Plugin::MetaProvides::Package: '2.000003' + Dist::Zilla::Plugin::MetaTests: '5.020' + Dist::Zilla::Plugin::MetaYAML: '5.020' Dist::Zilla::Plugin::MinimumPerl: '1.003' - Dist::Zilla::Plugin::PodCoverageTests: '5.019' - Dist::Zilla::Plugin::PodSyntaxTests: '5.019' + Dist::Zilla::Plugin::PodCoverageTests: '5.020' + Dist::Zilla::Plugin::PodSyntaxTests: '5.020' Dist::Zilla::Plugin::PodWeaver: '4.005' - Dist::Zilla::Plugin::Prereqs: '5.019' + Dist::Zilla::Plugin::Prereqs: '5.020' Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: '0.002000' - Dist::Zilla::Plugin::ReadmeAnyFromPod: '0.141760' + Dist::Zilla::Plugin::ReadmeAnyFromPod: '0.142250' Dist::Zilla::Plugin::ReadmeFromPod: '0.21' - Dist::Zilla::Plugin::RewriteVersion::Sanitized: '0.001000' + Dist::Zilla::Plugin::RewriteVersion::Sanitized: '0.001002' Dist::Zilla::Plugin::RunExtraTests: '0.022' Dist::Zilla::Plugin::Test::CPAN::Changes: '0.008' - Dist::Zilla::Plugin::Test::Compile::PerFile: '0.002000' + Dist::Zilla::Plugin::Test::Compile::PerFile: '0.002001' Dist::Zilla::Plugin::Test::Kwalitee: '2.07' Dist::Zilla::Plugin::Test::MinimumVersion: '2.000005' Dist::Zilla::Plugin::Test::Perl::Critic: '2.112410' - Dist::Zilla::Plugin::Test::ReportPrereqs: '0.014' - Dist::Zilla::Plugin::TestRelease: '5.019' + Dist::Zilla::Plugin::Test::ReportPrereqs: '0.019' + Dist::Zilla::Plugin::TestRelease: '5.020' Dist::Zilla::Plugin::Twitter: '0.025' - Dist::Zilla::Plugin::UploadToCPAN: '5.019' - Dist::Zilla::PluginBundle::Author::KENTNL: '2.016004' - Dist::Zilla::Role::PrereqSource: '5.019' + Dist::Zilla::Plugin::UploadToCPAN: '5.020' + Dist::Zilla::PluginBundle::Author::KENTNL: '2.017002' + Dist::Zilla::Role::PrereqSource: '5.020' ExtUtils::MakeMaker: '6.98' File::Copy::Recursive: '0.38' File::Spec: '3.48' - File::Spec::Functions: '3.48' FindBin: '1.51' - List::Util: '1.39' Module::Data: '0.007' - Moose: '2.1210' + Moose: '2.1211' MooseX::Types::Moose: '0.44' - Path::Tiny: '0.055' + Path::Tiny: '0.056' Pod::Coverage::TrustPod: '0.100003' - Scalar::Util: '1.39' - Test::CPAN::Changes: '0.28' + Test::CPAN::Changes: '0.30' Test::CPAN::Meta: '0.23' - Test::DZil: '5.019' + Test::DZil: '5.020' Test::Fatal: '0.013' - Test::Kwalitee: '1.18' + Test::Kwalitee: '1.19' Test::More: '1.001003' Test::Pod: '1.48' - Test::Pod::Coverage: '1.08' + Test::Pod::Coverage: '1.10' strict: '1.08' utf8: '1.14' - version: '0.9908' warnings: '1.24' perl: original: v5.21.1 @@ -128,7 +119,7 @@ x_BuiltWith: myarchname: x86_64-linux osname: linux platform: linux - uname: 'Linux 3.15.2-aufs x86_64 GenuineIntel GNU/Linux' + uname: 'Linux 3.15.5-aufs x86_64 GenuineIntel GNU/Linux' x_Dist_Zilla: perl: version: '5.021001' @@ -142,11 +133,11 @@ x_Dist_Zilla: try_built: '1' try_built_method: mtime name: Bootstrap::lib - version: '1.000003' + version: '1.000004' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::KENTNL/MetaConfig' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::GithubMeta name: '@Author::KENTNL/GithubMeta' @@ -159,13 +150,13 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::FinderCode name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.019' + version: '5.020' Dist::Zilla::Role::MetaProvider::Provider: inherit_missing: '1' inherit_version: '1' meta_noindex: '1' name: '@Author::KENTNL/MetaProvides::Package' - version: '2.000002' + version: '2.000003' - class: Dist::Zilla::Plugin::MetaData::BuiltWith config: @@ -182,7 +173,16 @@ x_Dist_Zilla: - -i uname_call: uname name: '@Author::KENTNL/MetaData::BuiltWith' - version: '1.000000' + version: '1.001000' + - + class: Dist::Zilla::Plugin::Git::Contributors + config: + Dist::Zilla::Plugin::Git::Contributors: + include_authors: '0' + include_releaser: '0' + order_by: name + name: '@Author::KENTNL/Git::Contributors' + version: '0.006' - class: Dist::Zilla::Plugin::Git::GatherDir config: @@ -195,19 +195,19 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::License name: '@Author::KENTNL/License' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::KENTNL/MetaJSON' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::KENTNL/MetaYAML' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Manifest name: '@Author::KENTNL/Manifest' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@Author::KENTNL/CopyXBuild' @@ -215,19 +215,19 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::MetaTests name: '@Author::KENTNL/MetaTests' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::KENTNL/PodCoverageTests' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::KENTNL/PodSyntaxTests' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::KENTNL/Test::ReportPrereqs' - version: '0.014' + version: '0.019' - class: Dist::Zilla::Plugin::Test::Kwalitee name: '@Author::KENTNL/Test::Kwalitee' @@ -243,7 +243,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::FinderCode name: '@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Test::Compile::PerFile config: @@ -256,7 +256,7 @@ x_Dist_Zilla: test_template: 01-basic.t.tpl xt_mode: ~ name: '@Author::KENTNL/Test::Compile::PerFile' - version: '0.002000' + version: '0.002001' - class: Dist::Zilla::Plugin::Test::Perl::Critic name: '@Author::KENTNL/Test::Perl::Critic' @@ -264,7 +264,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::ManifestSkip name: '@Author::KENTNL/ManifestSkip' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::RewriteVersion::Sanitized config: @@ -272,7 +272,7 @@ x_Dist_Zilla: mantissa: '6' normal_form: numify name: '@Author::KENTNL/RewriteVersion::Sanitized' - version: '0.001000' + version: '0.001002' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -354,7 +354,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::KENTNL/AutoPrereqs' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Prereqs config: @@ -362,7 +362,7 @@ x_Dist_Zilla: phase: develop type: suggests name: '@Author::KENTNL/BundleDevelSuggests' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::MinimumPerl name: '@Author::KENTNL/MinimumPerl' @@ -377,7 +377,7 @@ x_Dist_Zilla: Dist::Zilla::Role::TestRunner: default_jobs: '10' name: '@Author::KENTNL/MakeMaker' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::ReadmeFromPod name: '@Author::KENTNL/ReadmeFromPod' @@ -385,7 +385,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::ReadmeAnyFromPod name: '@Author::KENTNL/ReadmeAnyFromPod' - version: '0.141760' + version: '0.142250' - class: Dist::Zilla::Plugin::Test::CPAN::Changes name: '@Author::KENTNL/Test::CPAN::Changes' @@ -400,11 +400,11 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::TestRelease name: '@Author::KENTNL/TestRelease' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::KENTNL/ConfirmRelease' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Git::Check config: @@ -442,8 +442,8 @@ x_Dist_Zilla: config: Dist::Zilla::Plugin::Git::Tag: branch: ~ - signed: 0 - tag: 1.000001-source + signed: '0' + tag: 1.000002-source tag_format: '%v-source' tag_message: v%v time_zone: local @@ -484,7 +484,7 @@ x_Dist_Zilla: branch: build/%b build_root: ~ message: 'Build results of %h (on %b)' - multiple_inheritance: 0 + multiple_inheritance: '0' release_branch: releases release_message: 'Build results of %h (on %b)' Dist::Zilla::Role::Git::Repo: @@ -496,8 +496,8 @@ x_Dist_Zilla: config: Dist::Zilla::Plugin::Git::Tag: branch: releases - signed: 0 - tag: '1.000001' + signed: '0' + tag: '1.000002' tag_format: '%v' tag_message: v%v time_zone: local @@ -508,7 +508,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::KENTNL/UploadToCPAN' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Twitter name: '@Author::KENTNL/Twitter' @@ -554,7 +554,7 @@ x_Dist_Zilla: phase: develop type: requires name: '@Author::KENTNL/::Role::BundleDeps' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::Prereqs config: @@ -562,46 +562,46 @@ x_Dist_Zilla: phase: runtime type: requires name: Prereqs - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '5.019' + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.019' + version: '5.020' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '5.019' + version: '5.020' x_authority: cpan:KENTNL diff --git a/Makefile.PL b/Makefile.PL index a74a4e4..86cd0bf 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,11 +1,11 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020. use strict; use warnings; use 5.008; -use ExtUtils::MakeMaker 6.30; +use ExtUtils::MakeMaker ; @@ -13,7 +13,7 @@ my %WriteMakefileArgs = ( "ABSTRACT" => "Depend on versions of modules the same as you have installed", "AUTHOR" => "Kent Fredric ", "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => "6.30" + "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Dist-Zilla-Plugin-Prereqs-MatchInstalled", "EXE_FILES" => [], @@ -32,17 +32,13 @@ my %WriteMakefileArgs = ( "ExtUtils::MakeMaker" => 0, "File::Copy::Recursive" => 0, "File::Spec" => 0, - "File::Spec::Functions" => 0, "FindBin" => 0, - "List::Util" => 0, "Path::Tiny" => 0, - "Scalar::Util" => 0, "Test::DZil" => 0, "Test::Fatal" => 0, - "Test::More" => "0.89", - "version" => "0.77" + "Test::More" => "0.89" }, - "VERSION" => "1.000001", + "VERSION" => "1.000002", "test" => { "TESTS" => "t/*.t t/00-compile/*.t" } @@ -54,20 +50,16 @@ my %FallbackPrereqs = ( "ExtUtils::MakeMaker" => 0, "File::Copy::Recursive" => 0, "File::Spec" => 0, - "File::Spec::Functions" => 0, "FindBin" => 0, - "List::Util" => 0, "Module::Data" => 0, "Moose" => 0, "MooseX::Types::Moose" => 0, "Path::Tiny" => 0, - "Scalar::Util" => 0, "Test::DZil" => 0, "Test::Fatal" => 0, "Test::More" => "0.89", "strict" => 0, "utf8" => 0, - "version" => "0.77", "warnings" => 0 ); diff --git a/README b/README index 3b5cd80..3e078ee 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME modules the same as you have installed VERSION - version 1.000001 + version 1.000002 SYNOPSIS This is based on the code of diff --git a/dist.ini b/dist.ini index 472a962..782741c 100644 --- a/dist.ini +++ b/dist.ini @@ -21,6 +21,12 @@ show_config = 1 show_uname = 1 uname_args = -s -o -r -m -i +[Git::Contributors / @Author::KENTNL/Git::Contributors] +:version = 0.006 +include_authors = 0 +include_releaser = 0 +order_by = name + [Git::GatherDir / @Author::KENTNL/Git::GatherDir] exclude_filename = README exclude_filename = README.mkdn @@ -73,7 +79,7 @@ replacer = replace_with_blank -phase = develop -type = suggests Dist::Zilla::App::Command::bakeini = 0.001000 -Dist::Zilla::PluginBundle::Author::KENTNL = 2.016004 +Dist::Zilla::PluginBundle::Author::KENTNL = 2.017002 [MinimumPerl / @Author::KENTNL/MinimumPerl] @@ -155,6 +161,7 @@ Dist::Zilla::Plugin::EOLTests = 0 Dist::Zilla::Plugin::Git::Check = 0 Dist::Zilla::Plugin::Git::Commit = 0 Dist::Zilla::Plugin::Git::CommitBuild = 0 +Dist::Zilla::Plugin::Git::Contributors = 0.006 Dist::Zilla::Plugin::Git::GatherDir = 0 Dist::Zilla::Plugin::Git::NextRelease = 0 Dist::Zilla::Plugin::Git::Tag = 0 diff --git a/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled.pm b/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled.pm index 1996bac..5c8ebb2 100644 --- a/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled.pm +++ b/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled.pm @@ -5,7 +5,7 @@ use utf8; package Dist::Zilla::Plugin::Prereqs::MatchInstalled; -our $VERSION = '1.000001'; +our $VERSION = '1.000002'; # ABSTRACT: Depend on versions of modules the same as you have installed @@ -34,74 +34,6 @@ with 'Dist::Zilla::Role::PrereqSource'; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -368,7 +300,7 @@ Dist::Zilla::Plugin::Prereqs::MatchInstalled - Depend on versions of modules the =head1 VERSION -version 1.000001 +version 1.000002 =head1 SYNOPSIS diff --git a/misc/Changes.deps b/misc/Changes.deps index ef9f41b..24e3947 100644 --- a/misc/Changes.deps +++ b/misc/Changes.deps @@ -1,6 +1,16 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) -1.000001 +1.000002 + [Changed / configure requires] + - ExtUtils::MakeMaker 6.30 → 0 + + [Removed / test requires] + - File::Spec::Functions + - List::Util + - Scalar::Util + - version 0.77 + +1.000001 2014-07-18T15:14:08Z [Added / test requires] - File::Spec - Scalar::Util diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all index 38cfcb2..39fdaac 100644 --- a/misc/Changes.deps.all +++ b/misc/Changes.deps.all @@ -1,6 +1,29 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) -1.000001 +1.000002 + [Added / develop requires] + - Dist::Zilla::Plugin::Git::Contributors 0.006 + + [Changed / configure requires] + - ExtUtils::MakeMaker 6.30 → 0 + + [Changed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL 2.016004 → 2.017002 + + [Changed / test recommends] + - CPAN::Meta 0 → 2.120900 + + [Removed / test recommends] + - CPAN::Meta::Prereqs + - CPAN::Meta::Requirements 2.120900 + + [Removed / test requires] + - File::Spec::Functions + - List::Util + - Scalar::Util + - version 0.77 + +1.000001 2014-07-18T15:14:08Z [Added / develop requires] - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::CopyFilesFromBuild diff --git a/misc/Changes.deps.dev b/misc/Changes.deps.dev index bc47390..a849cc2 100644 --- a/misc/Changes.deps.dev +++ b/misc/Changes.deps.dev @@ -1,6 +1,13 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) -1.000001 +1.000002 + [Added / develop requires] + - Dist::Zilla::Plugin::Git::Contributors 0.006 + + [Changed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL 2.016004 → 2.017002 + +1.000001 2014-07-18T15:14:08Z [Added / develop requires] - Dist::Zilla::Plugin::BumpVersionAfterRelease - Dist::Zilla::Plugin::CopyFilesFromBuild diff --git a/misc/Changes.deps.opt b/misc/Changes.deps.opt index 20cca02..b76ba29 100644 --- a/misc/Changes.deps.opt +++ b/misc/Changes.deps.opt @@ -1,6 +1,14 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) -1.000001 +1.000002 + [Changed / test recommends] + - CPAN::Meta 0 → 2.120900 + + [Removed / test recommends] + - CPAN::Meta::Prereqs + - CPAN::Meta::Requirements 2.120900 + +1.000001 2014-07-18T15:14:08Z [Added / test recommends] - CPAN::Meta::Prereqs diff --git a/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_pm.t b/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_pm.t index 05fe0b5..30649ad 100644 --- a/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_pm.t +++ b/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_pm.t @@ -2,7 +2,7 @@ use strict; use warnings; # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002000 +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001 # with template 01-basic.t.tpl use Test::More 0.89 tests => 1; diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 2df4f82..7c5b32c 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -4,7 +4,7 @@ do { my $x = { 'ExtUtils::MakeMaker' => '6.98' }, 'requires' => { - 'ExtUtils::MakeMaker' => '6.30' + 'ExtUtils::MakeMaker' => '0' } }, 'develop' => { @@ -18,6 +18,7 @@ do { my $x = { 'Dist::Zilla::Plugin::Git::Check' => '0', 'Dist::Zilla::Plugin::Git::Commit' => '0', 'Dist::Zilla::Plugin::Git::CommitBuild' => '0', + 'Dist::Zilla::Plugin::Git::Contributors' => '0.006', 'Dist::Zilla::Plugin::Git::GatherDir' => '0', 'Dist::Zilla::Plugin::Git::NextRelease' => '0', 'Dist::Zilla::Plugin::Git::Tag' => '0', @@ -60,7 +61,7 @@ do { my $x = { }, 'suggests' => { 'Dist::Zilla::App::Command::bakeini' => '0.001001', - 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.016004' + 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.017002' } }, 'runtime' => { @@ -77,9 +78,7 @@ do { my $x = { }, 'test' => { 'recommends' => { - 'CPAN::Meta' => '0', - 'CPAN::Meta::Prereqs' => '0', - 'CPAN::Meta::Requirements' => '2.120900', + 'CPAN::Meta' => '2.120900', 'ExtUtils::MakeMaker' => '6.98', 'Test::More' => '1.001003' }, @@ -87,15 +86,11 @@ do { my $x = { 'ExtUtils::MakeMaker' => '0', 'File::Copy::Recursive' => '0', 'File::Spec' => '0', - 'File::Spec::Functions' => '0', 'FindBin' => '0', - 'List::Util' => '0', 'Path::Tiny' => '0', - 'Scalar::Util' => '0', 'Test::DZil' => '0', 'Test::Fatal' => '0', - 'Test::More' => '0.89', - 'version' => '0.77' + 'Test::More' => '0.89' } } }; diff --git a/t/00-report-prereqs.t b/t/00-report-prereqs.t index 44a7411..402b3d9 100644 --- a/t/00-report-prereqs.t +++ b/t/00-report-prereqs.t @@ -3,32 +3,45 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.014 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 use Test::More tests => 1; use ExtUtils::MakeMaker; -use File::Spec::Functions; -use List::Util qw/max first/; -use Scalar::Util qw/blessed/; -use version; +use File::Spec; + +# from $version::LAX +my $lax_version_re = + qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )? + | + (?:\.[0-9]+) (?:_[0-9]+)? + ) | (?: + v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )? + | + (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)? + ) + )/x; # hide optional CPAN::Meta modules from prereq scanner # and check if they are available my $cpan_meta = "CPAN::Meta"; my $cpan_meta_pre = "CPAN::Meta::Prereqs"; -my $cpan_meta_req = "CPAN::Meta::Requirements"; -my $HAS_CPAN_META = eval "require $cpan_meta"; ## no critic -my $HAS_CPAN_META_REQ = eval "require $cpan_meta_req; $cpan_meta_req->VERSION('2.120900')"; +my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic # Verify requirements? my $DO_VERIFY_PREREQS = 1; +sub _max { + my $max = shift; + $max = ( $_ > $max ) ? $_ : $max for @_; + return $max; +} + sub _merge_prereqs { my ($collector, $prereqs) = @_; # CPAN::Meta::Prereqs object - if (blessed $collector eq $cpan_meta_pre) { + if (ref $collector eq $cpan_meta_pre) { return $collector->with_merged_prereqs( CPAN::Meta::Prereqs->new( $prereqs ) ); @@ -57,12 +70,6 @@ my @exclude = qw( # Add static prereqs to the included modules list my $static_prereqs = do 't/00-report-prereqs.dd'; -### XXX: Assume these are Runtime Requires -my $static_prereqs_requires = $static_prereqs->{runtime}{requires}; -for my $mod (@include) { - $static_prereqs_requires->{$mod} = 0 unless exists $static_prereqs_requires->{$mod}; -} - # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ), @@ -70,7 +77,7 @@ my $full_prereqs = _merge_prereqs( ); # Add dynamic prereqs to the included modules list (if we can) -my $source = first { -f } 'MYMETA.json', 'MYMETA.yml'; +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); @@ -84,11 +91,16 @@ my @full_reports; my @dep_errors; my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs; -for my $phase ( qw(configure build test runtime develop) ) { +# Add static includes into a fake section +for my $mod (@include) { + $req_hash->{other}{modules}{$mod} = 0; +} + +for my $phase ( qw(configure build test runtime develop other) ) { next unless $req_hash->{$phase}; next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING}); - for my $type ( qw(requires recommends suggests conflicts) ) { + for my $type ( qw(requires recommends suggests conflicts modules) ) { next unless $req_hash->{$phase}{$type}; my $title = ucfirst($phase).' '.ucfirst($type); @@ -96,12 +108,12 @@ for my $phase ( qw(configure build test runtime develop) ) { for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { next if $mod eq 'perl'; - next if first { $_ eq $mod } @exclude; + next if grep { $_ eq $mod } @exclude; my $file = $mod; $file =~ s{::}{/}g; $file .= ".pm"; - my $prefix = first { -e catfile($_, $file) } @INC; + my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; my $want = $req_hash->{$phase}{$type}{$mod}; $want = "undef" unless defined $want; @@ -110,12 +122,12 @@ for my $phase ( qw(configure build test runtime develop) ) { my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; if ($prefix) { - my $have = MM->parse_version( catfile($prefix, $file) ); + my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); $have = "undef" unless defined $have; push @reports, [$mod, $want, $have]; - if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) { - if ( ! defined eval { version->parse($have) } ) { + if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) { + if ( $have !~ /\A$lax_version_re\z/ ) { push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)"; } elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) { @@ -135,9 +147,9 @@ for my $phase ( qw(configure build test runtime develop) ) { if ( @reports ) { push @full_reports, "=== $title ===\n\n"; - my $ml = max map { length $_->[0] } @reports; - my $wl = max map { length $_->[1] } @reports; - my $hl = max map { length $_->[2] } @reports; + my $ml = _max( map { length $_->[0] } @reports ); + my $wl = _max( map { length $_->[1] } @reports ); + my $hl = _max( map { length $_->[2] } @reports ); splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports;