diff --git a/.gitignore b/.gitignore index 8495236..b2bb85d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -.build -Dist-Zilla-Plugin-Prereqs-MatchInstalled-All-* +/.build +/Dist-Zilla-Plugin-Prereqs-MatchInstalled-All-* +/tmp/ diff --git a/.travis.yml b/.travis.yml index ee8ce89..af9ef6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,56 +1,58 @@ -language: perl -matrix: - allow_failures: - - perl: "5.8" - - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 - - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - include: - - perl: "5.21" - env: STERILIZE_ENV=0 COVERAGE_TESTING=1 - - perl: "5.21" - env: STERILIZE_ENV=1 - - perl: "5.8" - env: STERILIZE_ENV=0 - - perl: "5.10" - env: STERILIZE_ENV=0 - - perl: "5.12" - env: STERILIZE_ENV=0 - - perl: "5.14" - env: STERILIZE_ENV=0 - - perl: "5.16" - env: STERILIZE_ENV=0 - - perl: "5.20" - env: STERILIZE_ENV=0 - - perl: "5.21" - env: STERILIZE_ENV=0 - - perl: "5.8" - env: STERILIZE_ENV=1 - - perl: "5.10" - env: STERILIZE_ENV=1 - - perl: "5.20" - env: STERILIZE_ENV=1 - - perl: "5.21" - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - - perl: "5.21" - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 +--- +after_failure: + - perl ./maint-travis-ci/report_fail_ctx.pl before_install: - perlbrew list - time git clone --depth 10 https://github.com/kentfredric/travis-scripts.git maint-travis-ci - time git -C ./maint-travis-ci reset --hard master - time perl ./maint-travis-ci/branch_reset.pl - time perl ./maint-travis-ci/sterilize_env.pl -install: - - time perl ./maint-travis-ci/install_deps_early.pl - - time perl ./maint-travis-ci/install_deps.pl before_script: - time perl ./maint-travis-ci/before_script.pl -script: - - time perl ./maint-travis-ci/script.pl -after_failure: - - perl ./maint-travis-ci/report_fail_ctx.pl branches: only: - - "master" - - "build/master" - - "releases" - + - master + - builds + - releases +install: + - time perl ./maint-travis-ci/install_deps_early.pl + - time perl ./maint-travis-ci/autoinstall_dzil.pl + - time perl ./maint-travis-ci/install_deps_2.pl +language: perl +matrix: + allow_failures: + - perl: '5.8' + - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 + - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + include: + - env: STERILIZE_ENV=0 COVERAGE_TESTING=1 + perl: '5.21' + - env: STERILIZE_ENV=1 + perl: '5.21' + - env: STERILIZE_ENV=0 + perl: '5.8' + - env: STERILIZE_ENV=0 + perl: '5.10' + - env: STERILIZE_ENV=0 + perl: '5.12' + - env: STERILIZE_ENV=0 + perl: '5.14' + - env: STERILIZE_ENV=0 + perl: '5.16' + - env: STERILIZE_ENV=0 + perl: '5.20' + - env: STERILIZE_ENV=0 + perl: '5.21' + - env: STERILIZE_ENV=1 + perl: '5.8' + - env: STERILIZE_ENV=1 + perl: '5.10' + - env: STERILIZE_ENV=1 + perl: '5.20' + - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + perl: '5.21' + - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 + perl: '5.21' +script: + - time perl ./maint-travis-ci/script.pl +sudo: false diff --git a/Changes b/Changes index a4d2ad1..e84c86d 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,17 @@ Release history for Dist-Zilla-Plugin-Prereqs-MatchInstalled-All +1.001001 2017-03-08T10:40:55Z de83365 + - Bugfix: Avoid test failures with -Ddefault_inc_excludes_dot + - Drop use of ConfigDumper Util + - Drop use of Test::KENTNL/dztest + + [Dependencies::Stats] + - Dependencies changed since 1.001000, see misc/*.deps* for details + - configure: +1 (recommends: ↑1, suggests: +1) + - develop: +12 ↑3 -4 (recommends: +1, suggests: ↑2) + - runtime: -1 (recommends: +1) + - test: +1 ↓1 -1 (recommends: ↑1 ↓1) + 1.001000 2014-10-15T22:42:03Z f59f09b [Dependencies::Stats] - Dependencies changed since 1.000000, see misc/*.deps* for details @@ -68,4 +80,3 @@ Release history for Dist-Zilla-Plugin-Prereqs-MatchInstalled-All 0.1.0 2013-08-07T23:27:23Z - First version. - diff --git a/LICENSE b/LICENSE index f54a236..d0f6bfd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . 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 @@ b) the "Artistic License" --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2014 by Kent Fredric . +This software is Copyright (c) 2017 by Kent Fredric . This is free software, licensed under: @@ -272,7 +272,7 @@ That's all there is to it! --- The Artistic License 1.0 --- -This software is Copyright (c) 2014 by Kent Fredric . +This software is Copyright (c) 2017 by Kent Fredric . This is free software, licensed under: diff --git a/MANIFEST b/MANIFEST index 05086d8..0ed2def 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. .gitignore .mailmap .perltidyrc @@ -18,6 +18,7 @@ misc/Changes.deps misc/Changes.deps.all misc/Changes.deps.dev misc/Changes.deps.opt +misc/built_with.json misc/perlcritic.deps perlcritic.rc t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_All_pm.t @@ -26,10 +27,10 @@ t/00-report-prereqs.t t/01-basic.t weaver.ini xt/author/critic.t +xt/author/eol.t +xt/author/pod-coverage.t +xt/author/pod-syntax.t xt/release/cpan-changes.t xt/release/distmeta.t -xt/release/eol.t xt/release/kwalitee.t xt/release/minimum-version.t -xt/release/pod-coverage.t -xt/release/pod-syntax.t diff --git a/META.json b/META.json index ffd2dd3..1fa5764 100644 --- a/META.json +++ b/META.json @@ -4,35 +4,41 @@ "Kent Fredric " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142690", + "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Dist-Zilla-Plugin-Prereqs-MatchInstalled-All", "prereqs" : { "configure" : { "recommends" : { - "ExtUtils::MakeMaker" : "6.98" + "ExtUtils::MakeMaker" : "7.00" }, "requires" : { - "ExtUtils::MakeMaker" : "0" + "ExtUtils::MakeMaker" : "0", + "perl" : "5.008" + }, + "suggests" : { + "JSON::PP" : "2.27300" } }, "develop" : { + "recommends" : { + "Test::More" : "0.99" + }, "requires" : { "Dist::Zilla" : "5", - "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.001001", + "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.004002", + "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : "0.001002", "Dist::Zilla::Plugin::Authority" : "1.006", "Dist::Zilla::Plugin::AutoPrereqs" : "0", - "Dist::Zilla::Plugin::Bootstrap::lib" : "0", "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0", "Dist::Zilla::Plugin::ConfirmRelease" : "0", "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0", - "Dist::Zilla::Plugin::EOLTests" : "0", "Dist::Zilla::Plugin::Git::Check" : "0", "Dist::Zilla::Plugin::Git::Commit" : "0", "Dist::Zilla::Plugin::Git::CommitBuild" : "0", @@ -46,11 +52,11 @@ "Dist::Zilla::Plugin::Manifest" : "0", "Dist::Zilla::Plugin::ManifestSkip" : "0", "Dist::Zilla::Plugin::MetaConfig" : "0", - "Dist::Zilla::Plugin::MetaData::BuiltWith" : "0", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.004000", "Dist::Zilla::Plugin::MetaJSON" : "0", "Dist::Zilla::Plugin::MetaProvides::Package" : "1.14000001", "Dist::Zilla::Plugin::MetaTests" : "0", - "Dist::Zilla::Plugin::MetaYAML" : "0", + "Dist::Zilla::Plugin::MetaYAML::Minimal" : "0", "Dist::Zilla::Plugin::MinimumPerl" : "0", "Dist::Zilla::Plugin::PodCoverageTests" : "0", "Dist::Zilla::Plugin::PodSyntaxTests" : "0", @@ -58,12 +64,15 @@ "Dist::Zilla::Plugin::Prereqs" : "0", "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0", "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0", + "Dist::Zilla::Plugin::Prereqs::Upgrade" : "0", + "Dist::Zilla::Plugin::Readme::Brief" : "0", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0", - "Dist::Zilla::Plugin::ReadmeFromPod" : "0", + "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0", "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0", "Dist::Zilla::Plugin::RunExtraTests" : "0", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0", - "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.003902", + "Dist::Zilla::Plugin::Test::EOL" : "0", "Dist::Zilla::Plugin::Test::Kwalitee" : "0", "Dist::Zilla::Plugin::Test::MinimumVersion" : "0", "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", @@ -71,22 +80,30 @@ "Dist::Zilla::Plugin::TestRelease" : "0", "Dist::Zilla::Plugin::Twitter" : "0", "Dist::Zilla::Plugin::UploadToCPAN" : "0", + "Dist::Zilla::Plugin::lib" : "0", + "English" : "0", "Pod::Coverage::TrustPod" : "0", + "Software::License::Perl_5" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", + "Test::EOL" : "0", "Test::Kwalitee" : "1.21", + "Test::MinimumVersion" : "0", + "Test::More" : "0.96", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08" }, "suggests" : { - "Dist::Zilla::App::Command::bakeini" : "0.001002", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.021000" + "Dist::Zilla::App::Command::bakeini" : "0.002006", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.025021" } }, "runtime" : { + "recommends" : { + "Moose" : "2.000" + }, "requires" : { "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "1.000000", - "Dist::Zilla::Util::ConfigDumper" : "0", "Moose" : "0", "MooseX::Types::Moose" : "0", "perl" : "5.008", @@ -98,22 +115,22 @@ "test" : { "recommends" : { "CPAN::Meta" : "2.120900", - "ExtUtils::MakeMaker" : "6.98", - "Test::More" : "1.001006" + "ExtUtils::MakeMaker" : "7.00", + "Test::More" : "0.99" }, "requires" : { - "Dist::Zilla::Util::Test::KENTNL" : "1.003002", "ExtUtils::MakeMaker" : "0", "File::Spec" : "0", "Test::DZil" : "0", - "Test::More" : "0.89" + "Test::More" : "0", + "perl" : "5.008" } } }, "provides" : { "Dist::Zilla::Plugin::Prereqs::MatchInstalled::All" : { "file" : "lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm", - "version" : "1.001000" + "version" : "1.001001" } }, "release_status" : "stable", @@ -128,124 +145,36 @@ "web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled-All" } }, - "version" : "1.001000", + "version" : "1.001001", "x_BuiltWith" : { - "modules" : { - "CPAN::Meta" : "2.142690", - "Dist::Zilla" : "5.020", - "Dist::Zilla::App::Command::bakeini" : "0.001002", - "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.003006", - "Dist::Zilla::Plugin::Authority" : "1.006", - "Dist::Zilla::Plugin::AutoPrereqs" : "5.020", - "Dist::Zilla::Plugin::Bootstrap::lib" : "1.001000", - "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.004", - "Dist::Zilla::Plugin::ConfirmRelease" : "5.020", - "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.103510", - "Dist::Zilla::Plugin::EOLTests" : "0.02", - "Dist::Zilla::Plugin::Git::Check" : "2.025", - "Dist::Zilla::Plugin::Git::Commit" : "2.025", - "Dist::Zilla::Plugin::Git::CommitBuild" : "2.025", - "Dist::Zilla::Plugin::Git::Contributors" : "0.007", - "Dist::Zilla::Plugin::Git::GatherDir" : "2.025", - "Dist::Zilla::Plugin::Git::NextRelease" : "0.004000", - "Dist::Zilla::Plugin::Git::Tag" : "2.025", - "Dist::Zilla::Plugin::GithubMeta" : "0.46", - "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.003001", - "Dist::Zilla::Plugin::MetaJSON" : "5.020", - "Dist::Zilla::Plugin::MetaProvides::Package" : "2.001002", - "Dist::Zilla::Plugin::MetaTests" : "5.020", - "Dist::Zilla::Plugin::MetaYAML" : "5.020", - "Dist::Zilla::Plugin::MinimumPerl" : "1.003", - "Dist::Zilla::Plugin::PodCoverageTests" : "5.020", - "Dist::Zilla::Plugin::PodSyntaxTests" : "5.020", - "Dist::Zilla::Plugin::PodWeaver" : "4.006", - "Dist::Zilla::Plugin::Prereqs" : "5.020", - "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0.003", - "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "1.001002", - "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.003001", - "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142470", - "Dist::Zilla::Plugin::ReadmeFromPod" : "0.21", - "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001004", - "Dist::Zilla::Plugin::RunExtraTests" : "0.022", - "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", - "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.003000", - "Dist::Zilla::Plugin::Test::Kwalitee" : "2.11", - "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000005", - "Dist::Zilla::Plugin::Test::Perl::Critic" : "2.112410", - "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.019", - "Dist::Zilla::Plugin::TestRelease" : "5.020", - "Dist::Zilla::Plugin::Twitter" : "0.026", - "Dist::Zilla::Plugin::UploadToCPAN" : "5.020", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.021000", - "Dist::Zilla::Util::ConfigDumper" : "0.003006", - "Dist::Zilla::Util::Test::KENTNL" : "1.003003", - "ExtUtils::MakeMaker" : "6.98", - "File::Spec" : "3.49", - "Moose" : "2.1213", - "MooseX::Types::Moose" : "0.45", - "Pod::Coverage::TrustPod" : "0.100003", - "Test::CPAN::Changes" : "0.30", - "Test::CPAN::Meta" : "0.23", - "Test::DZil" : "5.020", - "Test::Kwalitee" : "1.22", - "Test::More" : "1.001006", - "Test::Pod" : "1.48", - "Test::Pod::Coverage" : "1.10", - "strict" : "1.08", - "utf8" : "1.14", - "warnings" : "1.26" - }, - "perl" : { - "original" : "v5.21.3", - "qv" : 1, - "version" : [ - 5, - 21, - 3 - ] - }, - "perl-config" : { - "gccversion" : "4.8.3", - "git_commit_id" : "640eedb9ffcac7a9c2793689044e84bfd9af3045", - "git_describe" : "v5.21.2-215-g640eedb", - "myarchname" : "x86_64-linux", - "osname" : "linux" - }, - "platform" : "linux", - "uname" : "Linux 3.16.1-aufs x86_64 GenuineIntel GNU/Linux" + "external_file" : "misc/built_with.json" }, "x_Dist_Zilla" : { "perl" : { - "version" : "5.021003" + "version" : "5.025010" }, "plugins" : [ { - "class" : "Dist::Zilla::Plugin::Bootstrap::lib", + "class" : "Dist::Zilla::Plugin::lib", "config" : { - "Dist::Zilla::Role::Bootstrap" : { - "distname" : "Dist-Zilla-Plugin-Prereqs-MatchInstalled-All", - "fallback" : "1", - "try_built" : "1", - "try_built_method" : "mtime" + "Dist::Zilla::Plugin::lib" : { + "lib" : [ + "lib" + ] } }, - "name" : "Bootstrap::lib", - "version" : "1.001000" + "name" : "lib", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::KENTNL/GithubMeta", - "version" : "0.46" + "version" : "0.54" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -255,24 +184,32 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.020" + "version" : "6.009" } - ] + ], + "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000033", + "version" : "0.004" } }, "name" : "@Author::KENTNL/MetaProvides::Package", - "version" : "2.001002" + "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::MetaData::BuiltWith", "config" : { "Dist::Zilla::Plugin::MetaData::BuiltWith" : { + "$Module::Metadata::VERSION" : "1.000033", "_stash_key" : "x_BuiltWith", + "external_file_name" : "misc/built_with.json", "show_config" : "1", "show_uname" : "1", "uname" : { @@ -284,82 +221,114 @@ "-i" ], "uname_call" : "uname" - } + }, + "use_external_file" : "only" } }, "name" : "@Author::KENTNL/MetaData::BuiltWith", - "version" : "1.003001" + "version" : "1.004005" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "include_authors" : "0", - "include_releaser" : "0", + "git --version" : "2.11.1", + "include_authors" : 0, + "include_releaser" : 0, "order_by" : "name", "paths" : [] } }, "name" : "@Author::KENTNL/Git::Contributors", - "version" : "0.007" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "config" : { - "Dist::Zilla::Plugin::Git::GatherDir" : { - "include_untracked" : "0" + "Dist::Zilla::Plugin::GatherDir" : { + "exclude_filename" : [ + "LICENSE", + "README", + "README.mkdn", + "README.pod" + ], + "exclude_match" : [], + "follow_symlinks" : 0, + "include_dotfiles" : 1, + "prefix" : "", + "prune_directory" : [], + "root" : "." }, - "Dist::Zilla::Role::Git::Repo" : { - "repo_root" : "." + "Dist::Zilla::Plugin::Git::GatherDir" : { + "include_untracked" : 0 } }, "name" : "@Author::KENTNL/Git::GatherDir", - "version" : "2.025" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::KENTNL/License", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::KENTNL/MetaJSON", - "version" : "5.020" + "version" : "6.009" }, { - "class" : "Dist::Zilla::Plugin::MetaYAML", - "name" : "@Author::KENTNL/MetaYAML", - "version" : "5.020" + "class" : "Dist::Zilla::Plugin::MetaYAML::Minimal", + "config" : { + "Dist::Zilla::Plugin::MetaYAML::Minimal" : { + "filename" : "META.yml", + "version" : "1.4" + } + }, + "name" : "@Author::KENTNL/MetaYAML::Minimal", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::KENTNL/Manifest", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::Author::KENTNL::TravisCI", + "config" : { + "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : { + "fail_perls" : [ + "5.8" + ], + "skip_perls" : [] + } + }, + "name" : "@Author::KENTNL/Author::KENTNL::TravisCI", + "version" : "0.001004" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", "name" : "@Author::KENTNL/CopyXBuild", - "version" : "0.103510" + "version" : "0.163040" }, { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::KENTNL/MetaTests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::KENTNL/PodCoverageTests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::KENTNL/PodSyntaxTests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::KENTNL/Test::ReportPrereqs", - "version" : "0.019" + "version" : "0.025" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", @@ -370,22 +339,33 @@ } }, "name" : "@Author::KENTNL/Test::Kwalitee", - "version" : "2.11" + "version" : "2.12" }, { - "class" : "Dist::Zilla::Plugin::EOLTests", - "name" : "@Author::KENTNL/EOLTests", - "version" : "0.02" + "class" : "Dist::Zilla::Plugin::Test::EOL", + "config" : { + "Dist::Zilla::Plugin::Test::EOL" : { + "filename" : "xt/author/eol.t", + "finder" : [ + ":ExecFiles", + ":InstallModules", + ":TestFiles" + ], + "trailing_whitespace" : 1 + } + }, + "name" : "@Author::KENTNL/Test::EOL", + "version" : "0.19" }, { "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", "name" : "@Author::KENTNL/Test::MinimumVersion", - "version" : "2.000005" + "version" : "2.000007" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile", @@ -397,33 +377,43 @@ "path_translator" : "base64_filter", "prefix" : "t/00-compile", "skip" : [], - "test_template" : "01-basic.t.tpl", + "test_template" : "02-raw-require.t.tpl", "xt_mode" : null } }, "name" : "@Author::KENTNL/Test::Compile::PerFile", - "version" : "0.003000" + "version" : "0.004000" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", "name" : "@Author::KENTNL/Test::Perl::Critic", - "version" : "2.112410" + "version" : "3.000" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::KENTNL/ManifestSkip", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Sanitized", "config" : { + "Dist::Zilla::Plugin::RewriteVersion" : { + "add_tarball_name" : 0, + "finders" : [ + ":ExecFiles", + ":InstallModules" + ], + "global" : 0, + "skip_version_provider" : 0 + }, "Dist::Zilla::Role::Version::Sanitize" : { + "$Dist::Zilla::Role::Version::Sanitize::VERSION" : "0.002003", "mantissa" : "6", "normal_form" : "numify" } }, "name" : "@Author::KENTNL/RewriteVersion::Sanitized", - "version" : "0.001004" + "version" : "0.001006" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -437,98 +427,98 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "-SingleEncoding", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Name", "name" : "Name", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Version", "name" : "Version", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "prelude", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_ATTRIBUTES", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "Leftovers", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "postlude", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "Authors", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "Legal", - "version" : "4.006" + "version" : "4.015" } ] } }, "name" : "@Author::KENTNL/PodWeaver", - "version" : "4.006" + "version" : "4.008" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::KENTNL/AutoPrereqs", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -539,22 +529,22 @@ } }, "name" : "@Author::KENTNL/BundleDevelSuggests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", "name" : "@Author::KENTNL/Prereqs::AuthorDeps", - "version" : "0.003" + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::MinimumPerl", "name" : "@Author::KENTNL/MinimumPerl", - "version" : "1.003" + "version" : "1.006" }, { "class" : "Dist::Zilla::Plugin::Authority", "name" : "@Author::KENTNL/Authority", - "version" : "1.006" + "version" : "1.009" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -564,27 +554,37 @@ } }, "name" : "@Author::KENTNL/MakeMaker", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes", "name" : "@Author::KENTNL/Author::KENTNL::RecommendFixes", - "version" : "0.003006" + "version" : "0.005004" }, { - "class" : "Dist::Zilla::Plugin::ReadmeFromPod", - "name" : "@Author::KENTNL/ReadmeFromPod", - "version" : "0.21" + "class" : "Dist::Zilla::Plugin::Readme::Brief", + "name" : "@Author::KENTNL/ShippedReadme", + "version" : "0.003001" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", + "config" : { + "Dist::Zilla::Role::FileWatcher" : { + "version" : "0.006" + } + }, "name" : "@Author::KENTNL/ReadmeAnyFromPod", - "version" : "0.142470" + "version" : "0.163250" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", + "config" : { + "Dist::Zilla::Plugin::Test::CPAN::Changes" : { + "changelog" : "Changes" + } + }, "name" : "@Author::KENTNL/Test::CPAN::Changes", - "version" : "0.008" + "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -594,17 +594,17 @@ } }, "name" : "@Author::KENTNL/RunExtraTests", - "version" : "0.022" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::KENTNL/TestRelease", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::KENTNL/ConfirmRelease", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -614,82 +614,104 @@ }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "dist.ini", - "Changes" + "Changes", + "dist.ini" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." } }, "name" : "@Author::KENTNL/Git::Check", - "version" : "2.025" + "version" : "2.041" }, { "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" + "commit_msg" : "v%v%n%n%c" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "dist.ini", - "Changes" + "Changes", + "dist.ini" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/commit_dirty_files", - "version" : "2.025" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, + "changelog" : "Changes", "signed" : 0, - "tag" : "1.001000-source", + "tag" : "1.001001-source", "tag_format" : "%v-source", - "tag_message" : "v%v", - "time_zone" : "local" + "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/tag_master", - "version" : "2.025" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::NextRelease", + "config" : { + "Dist::Zilla::Plugin::Git::NextRelease" : { + "default_branch" : "master" + } + }, "name" : "@Author::KENTNL/Git::NextRelease", "version" : "0.004000" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", + "config" : { + "Dist::Zilla::Plugin::BumpVersionAfterRelease" : { + "finders" : [ + ":ExecFiles", + ":InstallModules" + ], + "global" : 0, + "munge_makefile_pl" : 1 + } + }, "name" : "@Author::KENTNL/BumpVersionAfterRelease", - "version" : "0.004" + "version" : "0.015" }, { "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" + "commit_msg" : "v%v%n%n%c" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "dist.ini", - "Changes" + "Changes", + "dist.ini" ], "allow_dirty_match" : [ "(?^u:^lib/)" @@ -697,17 +719,21 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/commit_release_changes", - "version" : "2.025" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::CommitBuild", "config" : { "Dist::Zilla::Plugin::Git::CommitBuild" : { - "branch" : "build/%b", + "branch" : "builds", "build_root" : null, "message" : "Build results of %h (on %b)", "multiple_inheritance" : 0, @@ -715,34 +741,39 @@ "release_message" : "Build results of %h (on %b)" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." } }, "name" : "@Author::KENTNL/Git::CommitBuild", - "version" : "2.025" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : "releases", + "changelog" : "Changes", "signed" : 0, - "tag" : "1.001000", + "tag" : "1.001001", "tag_format" : "%v", - "tag_message" : "v%v", - "time_zone" : "local" + "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/tag_release", - "version" : "2.025" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::KENTNL/UploadToCPAN", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Twitter", @@ -750,33 +781,24 @@ "version" : "0.026" }, { - "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", + "class" : "Dist::Zilla::Plugin::Prereqs::Upgrade", "config" : { - "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : { - "applyto_map" : [ - "build.requires = build.recommends", - "test.requires = test.recommends", - "runtime.requires = runtime.recommends", - "configure.requires = configure.recommends", - "develop.requires = develop.recommends" - ], - "applyto_phase" : [ - "build", - "test", - "runtime", - "configure", - "develop" - ], - "modules" : [ - "ExtUtils::MakeMaker", - "Test::More" - ], - "source_relation" : "requires", - "target_relation" : "recommends" + "Dist::Zilla::Plugin::Prereqs::Upgrade" : { + "modules" : { + "Dist::Zila::Plugin::MetaProvides::Package" : "2.000000", + "Dist::Zilla" : "5", + "ExtUtils::MakeMaker" : "7.00", + "File::ShareDir::Install" : "0.10", + "Moo" : "1.000008", + "Moose" : "2.000", + "Path::Tiny" : "0.058", + "Test::File::ShareDir" : "1.000000", + "Test::More" : "0.99" + } } }, - "name" : "@Author::KENTNL/Prereqs::Recommend::MatchInstalled", - "version" : "0.003001" + "name" : "@Author::KENTNL/Prereqs::Upgrade", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", @@ -797,7 +819,12 @@ } }, "name" : "@Author::KENTNL/always_latest_develop_bundle", - "version" : "0.003001" + "version" : "0.003002" + }, + { + "class" : "Dist::Zilla::Plugin::RemovePrereqs::Provided", + "name" : "@Author::KENTNL/RemovePrereqs::Provided", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -808,7 +835,7 @@ } }, "name" : "@Author::KENTNL/::Role::BundleDeps", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -819,64 +846,76 @@ } }, "name" : "Prereqs", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":ExtraTestFiles", + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":PerlExecFiles", + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.020" + "version" : "6.009" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "5.020" + "version" : "6.009" } }, "x_authority" : "cpan:KENTNL", "x_contributors" : [ - "Сергей Романов " - ] + "\u0421\u0435\u0440\u0433\u0435\u0439 \u0420\u043e\u043c\u0430\u043d\u043e\u0432 " + ], + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0227" } + diff --git a/META.yml b/META.yml index 94e361e..779553c 100644 --- a/META.yml +++ b/META.yml @@ -3,15 +3,16 @@ abstract: 'Upgrade ALL your dependencies to the ones you have installed.' author: - 'Kent Fredric ' build_requires: - Dist::Zilla::Util::Test::KENTNL: '1.003002' ExtUtils::MakeMaker: '0' File::Spec: '0' Test::DZil: '0' - Test::More: '0.89' + Test::More: '0' + perl: '5.008' configure_requires: ExtUtils::MakeMaker: '0' -dynamic_config: '0' -generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142690' + perl: '5.008' +dynamic_config: 0 +generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -20,10 +21,11 @@ name: Dist-Zilla-Plugin-Prereqs-MatchInstalled-All provides: Dist::Zilla::Plugin::Prereqs::MatchInstalled::All: file: lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm - version: '1.001000' + version: '1.001001' +recommends: + Moose: '2.000' requires: Dist::Zilla::Plugin::Prereqs::MatchInstalled: '1.000000' - Dist::Zilla::Util::ConfigDumper: '0' Moose: '0' MooseX::Types::Moose: '0' perl: '5.008' @@ -34,593 +36,4 @@ resources: bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled-All/issues homepage: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled-All repository: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-MatchInstalled-All.git -version: '1.001000' -x_BuiltWith: - modules: - CPAN::Meta: '2.142690' - Dist::Zilla: '5.020' - Dist::Zilla::App::Command::bakeini: '0.001002' - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes: '0.003006' - Dist::Zilla::Plugin::Authority: '1.006' - Dist::Zilla::Plugin::AutoPrereqs: '5.020' - Dist::Zilla::Plugin::Bootstrap::lib: '1.001000' - Dist::Zilla::Plugin::BumpVersionAfterRelease: '0.004' - Dist::Zilla::Plugin::ConfirmRelease: '5.020' - Dist::Zilla::Plugin::CopyFilesFromBuild: '0.103510' - Dist::Zilla::Plugin::EOLTests: '0.02' - Dist::Zilla::Plugin::Git::Check: '2.025' - Dist::Zilla::Plugin::Git::Commit: '2.025' - Dist::Zilla::Plugin::Git::CommitBuild: '2.025' - Dist::Zilla::Plugin::Git::Contributors: '0.007' - Dist::Zilla::Plugin::Git::GatherDir: '2.025' - Dist::Zilla::Plugin::Git::NextRelease: '0.004000' - Dist::Zilla::Plugin::Git::Tag: '2.025' - Dist::Zilla::Plugin::GithubMeta: '0.46' - 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.003001' - Dist::Zilla::Plugin::MetaJSON: '5.020' - Dist::Zilla::Plugin::MetaProvides::Package: '2.001002' - Dist::Zilla::Plugin::MetaTests: '5.020' - Dist::Zilla::Plugin::MetaYAML: '5.020' - Dist::Zilla::Plugin::MinimumPerl: '1.003' - Dist::Zilla::Plugin::PodCoverageTests: '5.020' - Dist::Zilla::Plugin::PodSyntaxTests: '5.020' - Dist::Zilla::Plugin::PodWeaver: '4.006' - Dist::Zilla::Plugin::Prereqs: '5.020' - Dist::Zilla::Plugin::Prereqs::AuthorDeps: '0.003' - Dist::Zilla::Plugin::Prereqs::MatchInstalled: '1.001002' - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: '0.003001' - Dist::Zilla::Plugin::ReadmeAnyFromPod: '0.142470' - Dist::Zilla::Plugin::ReadmeFromPod: '0.21' - Dist::Zilla::Plugin::RewriteVersion::Sanitized: '0.001004' - Dist::Zilla::Plugin::RunExtraTests: '0.022' - Dist::Zilla::Plugin::Test::CPAN::Changes: '0.008' - Dist::Zilla::Plugin::Test::Compile::PerFile: '0.003000' - Dist::Zilla::Plugin::Test::Kwalitee: '2.11' - Dist::Zilla::Plugin::Test::MinimumVersion: '2.000005' - Dist::Zilla::Plugin::Test::Perl::Critic: '2.112410' - Dist::Zilla::Plugin::Test::ReportPrereqs: '0.019' - Dist::Zilla::Plugin::TestRelease: '5.020' - Dist::Zilla::Plugin::Twitter: '0.026' - Dist::Zilla::Plugin::UploadToCPAN: '5.020' - Dist::Zilla::PluginBundle::Author::KENTNL: '2.021000' - Dist::Zilla::Util::ConfigDumper: '0.003006' - Dist::Zilla::Util::Test::KENTNL: '1.003003' - ExtUtils::MakeMaker: '6.98' - File::Spec: '3.49' - Moose: '2.1213' - MooseX::Types::Moose: '0.45' - Pod::Coverage::TrustPod: '0.100003' - Test::CPAN::Changes: '0.30' - Test::CPAN::Meta: '0.23' - Test::DZil: '5.020' - Test::Kwalitee: '1.22' - Test::More: '1.001006' - Test::Pod: '1.48' - Test::Pod::Coverage: '1.10' - strict: '1.08' - utf8: '1.14' - warnings: '1.26' - perl: - original: v5.21.3 - qv: 1 - version: - - 5 - - 21 - - 3 - perl-config: - gccversion: 4.8.3 - git_commit_id: 640eedb9ffcac7a9c2793689044e84bfd9af3045 - git_describe: v5.21.2-215-g640eedb - myarchname: x86_64-linux - osname: linux - platform: linux - uname: 'Linux 3.16.1-aufs x86_64 GenuineIntel GNU/Linux' -x_Dist_Zilla: - perl: - version: '5.021003' - plugins: - - - class: Dist::Zilla::Plugin::Bootstrap::lib - config: - Dist::Zilla::Role::Bootstrap: - distname: Dist-Zilla-Plugin-Prereqs-MatchInstalled-All - fallback: '1' - try_built: '1' - try_built_method: mtime - name: Bootstrap::lib - version: '1.001000' - - - class: Dist::Zilla::Plugin::MetaConfig - name: '@Author::KENTNL/MetaConfig' - version: '5.020' - - - class: Dist::Zilla::Plugin::GithubMeta - name: '@Author::KENTNL/GithubMeta' - version: '0.46' - - - class: Dist::Zilla::Plugin::MetaProvides::Package - config: - Dist::Zilla::Plugin::MetaProvides::Package: - finder_objects: - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.020' - Dist::Zilla::Role::MetaProvider::Provider: - inherit_missing: '1' - inherit_version: '1' - meta_noindex: '1' - name: '@Author::KENTNL/MetaProvides::Package' - version: '2.001002' - - - class: Dist::Zilla::Plugin::MetaData::BuiltWith - config: - Dist::Zilla::Plugin::MetaData::BuiltWith: - _stash_key: x_BuiltWith - show_config: '1' - show_uname: '1' - uname: - uname_args: - - -s - - -o - - -r - - -m - - -i - uname_call: uname - name: '@Author::KENTNL/MetaData::BuiltWith' - version: '1.003001' - - - class: Dist::Zilla::Plugin::Git::Contributors - config: - Dist::Zilla::Plugin::Git::Contributors: - include_authors: '0' - include_releaser: '0' - order_by: name - paths: [] - name: '@Author::KENTNL/Git::Contributors' - version: '0.007' - - - class: Dist::Zilla::Plugin::Git::GatherDir - config: - Dist::Zilla::Plugin::Git::GatherDir: - include_untracked: '0' - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/Git::GatherDir' - version: '2.025' - - - class: Dist::Zilla::Plugin::License - name: '@Author::KENTNL/License' - version: '5.020' - - - class: Dist::Zilla::Plugin::MetaJSON - name: '@Author::KENTNL/MetaJSON' - version: '5.020' - - - class: Dist::Zilla::Plugin::MetaYAML - name: '@Author::KENTNL/MetaYAML' - version: '5.020' - - - class: Dist::Zilla::Plugin::Manifest - name: '@Author::KENTNL/Manifest' - version: '5.020' - - - class: Dist::Zilla::Plugin::CopyFilesFromBuild - name: '@Author::KENTNL/CopyXBuild' - version: '0.103510' - - - class: Dist::Zilla::Plugin::MetaTests - name: '@Author::KENTNL/MetaTests' - version: '5.020' - - - class: Dist::Zilla::Plugin::PodCoverageTests - name: '@Author::KENTNL/PodCoverageTests' - version: '5.020' - - - class: Dist::Zilla::Plugin::PodSyntaxTests - name: '@Author::KENTNL/PodSyntaxTests' - version: '5.020' - - - class: Dist::Zilla::Plugin::Test::ReportPrereqs - name: '@Author::KENTNL/Test::ReportPrereqs' - version: '0.019' - - - class: Dist::Zilla::Plugin::Test::Kwalitee - config: - Dist::Zilla::Plugin::Test::Kwalitee: - filename: xt/release/kwalitee.t - skiptest: [] - name: '@Author::KENTNL/Test::Kwalitee' - version: '2.11' - - - class: Dist::Zilla::Plugin::EOLTests - name: '@Author::KENTNL/EOLTests' - version: '0.02' - - - class: Dist::Zilla::Plugin::Test::MinimumVersion - name: '@Author::KENTNL/Test::MinimumVersion' - version: '2.000005' - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM' - version: '5.020' - - - class: Dist::Zilla::Plugin::Test::Compile::PerFile - config: - Dist::Zilla::Plugin::Test::Compile::PerFile: - file: - - lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm - path_translator: base64_filter - prefix: t/00-compile - skip: [] - test_template: 01-basic.t.tpl - xt_mode: ~ - name: '@Author::KENTNL/Test::Compile::PerFile' - version: '0.003000' - - - class: Dist::Zilla::Plugin::Test::Perl::Critic - name: '@Author::KENTNL/Test::Perl::Critic' - version: '2.112410' - - - class: Dist::Zilla::Plugin::ManifestSkip - name: '@Author::KENTNL/ManifestSkip' - version: '5.020' - - - class: Dist::Zilla::Plugin::RewriteVersion::Sanitized - config: - Dist::Zilla::Role::Version::Sanitize: - mantissa: '6' - normal_form: numify - name: '@Author::KENTNL/RewriteVersion::Sanitized' - version: '0.001004' - - - class: Dist::Zilla::Plugin::PodWeaver - config: - Dist::Zilla::Plugin::PodWeaver: - 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: -SingleEncoding - version: '4.006' - - - class: Pod::Weaver::Section::Name - name: Name - version: '4.006' - - - class: Pod::Weaver::Section::Version - name: Version - version: '4.006' - - - class: Pod::Weaver::Section::Region - name: prelude - version: '4.006' - - - class: Pod::Weaver::Section::Generic - name: SYNOPSIS - version: '4.006' - - - class: Pod::Weaver::Section::Generic - name: DESCRIPTION - version: '4.006' - - - class: Pod::Weaver::Section::Generic - name: OVERVIEW - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: ATTRIBUTES - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: PRIVATE_ATTRIBUTES - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: PRIVATE_METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Leftovers - name: Leftovers - version: '4.006' - - - class: Pod::Weaver::Section::Region - name: postlude - version: '4.006' - - - class: Pod::Weaver::Section::Authors - name: Authors - version: '4.006' - - - class: Pod::Weaver::Section::Legal - name: Legal - version: '4.006' - name: '@Author::KENTNL/PodWeaver' - version: '4.006' - - - class: Dist::Zilla::Plugin::AutoPrereqs - name: '@Author::KENTNL/AutoPrereqs' - version: '5.020' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: develop - type: suggests - name: '@Author::KENTNL/BundleDevelSuggests' - version: '5.020' - - - class: Dist::Zilla::Plugin::Prereqs::AuthorDeps - name: '@Author::KENTNL/Prereqs::AuthorDeps' - version: '0.003' - - - class: Dist::Zilla::Plugin::MinimumPerl - name: '@Author::KENTNL/MinimumPerl' - version: '1.003' - - - class: Dist::Zilla::Plugin::Authority - name: '@Author::KENTNL/Authority' - version: '1.006' - - - class: Dist::Zilla::Plugin::MakeMaker - config: - Dist::Zilla::Role::TestRunner: - default_jobs: '10' - name: '@Author::KENTNL/MakeMaker' - version: '5.020' - - - class: Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes - name: '@Author::KENTNL/Author::KENTNL::RecommendFixes' - version: '0.003006' - - - class: Dist::Zilla::Plugin::ReadmeFromPod - name: '@Author::KENTNL/ReadmeFromPod' - version: '0.21' - - - class: Dist::Zilla::Plugin::ReadmeAnyFromPod - name: '@Author::KENTNL/ReadmeAnyFromPod' - version: '0.142470' - - - class: Dist::Zilla::Plugin::Test::CPAN::Changes - name: '@Author::KENTNL/Test::CPAN::Changes' - version: '0.008' - - - class: Dist::Zilla::Plugin::RunExtraTests - config: - Dist::Zilla::Role::TestRunner: - default_jobs: '10' - name: '@Author::KENTNL/RunExtraTests' - version: '0.022' - - - class: Dist::Zilla::Plugin::TestRelease - name: '@Author::KENTNL/TestRelease' - version: '5.020' - - - class: Dist::Zilla::Plugin::ConfirmRelease - name: '@Author::KENTNL/ConfirmRelease' - version: '5.020' - - - 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: '@Author::KENTNL/Git::Check' - version: '2.025' - - - 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: '@Author::KENTNL/commit_dirty_files' - version: '2.025' - - - class: Dist::Zilla::Plugin::Git::Tag - config: - Dist::Zilla::Plugin::Git::Tag: - branch: ~ - signed: '0' - tag: 1.001000-source - tag_format: '%v-source' - tag_message: v%v - time_zone: local - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/tag_master' - version: '2.025' - - - class: Dist::Zilla::Plugin::Git::NextRelease - name: '@Author::KENTNL/Git::NextRelease' - version: '0.004000' - - - class: Dist::Zilla::Plugin::BumpVersionAfterRelease - name: '@Author::KENTNL/BumpVersionAfterRelease' - version: '0.004' - - - 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: - - (?^u:^lib/) - changelog: Changes - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/commit_release_changes' - version: '2.025' - - - class: Dist::Zilla::Plugin::Git::CommitBuild - config: - Dist::Zilla::Plugin::Git::CommitBuild: - branch: build/%b - build_root: ~ - message: 'Build results of %h (on %b)' - multiple_inheritance: '0' - release_branch: releases - release_message: 'Build results of %h (on %b)' - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/Git::CommitBuild' - version: '2.025' - - - class: Dist::Zilla::Plugin::Git::Tag - config: - Dist::Zilla::Plugin::Git::Tag: - branch: releases - signed: '0' - tag: '1.001000' - tag_format: '%v' - tag_message: v%v - time_zone: local - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/tag_release' - version: '2.025' - - - class: Dist::Zilla::Plugin::UploadToCPAN - name: '@Author::KENTNL/UploadToCPAN' - version: '5.020' - - - class: Dist::Zilla::Plugin::Twitter - name: '@Author::KENTNL/Twitter' - version: '0.026' - - - class: Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - config: - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: - applyto_map: - - 'build.requires = build.recommends' - - 'test.requires = test.recommends' - - 'runtime.requires = runtime.recommends' - - 'configure.requires = configure.recommends' - - 'develop.requires = develop.recommends' - applyto_phase: - - build - - test - - runtime - - configure - - develop - modules: - - ExtUtils::MakeMaker - - Test::More - source_relation: requires - target_relation: recommends - name: '@Author::KENTNL/Prereqs::Recommend::MatchInstalled' - version: '0.003001' - - - class: Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - config: - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: - applyto_map: - - 'develop.suggests = develop.suggests' - applyto_phase: - - develop - modules: - - Dist::Zilla::PluginBundle::Author::KENTNL - - Dist::Zilla::App::Command::bakeini - source_relation: requires - target_relation: recommends - name: '@Author::KENTNL/always_latest_develop_bundle' - version: '0.003001' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: develop - type: requires - name: '@Author::KENTNL/::Role::BundleDeps' - version: '5.020' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: runtime - type: requires - name: Prereqs - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':InstallModules' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':IncModules' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':TestFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':ExecFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':ShareFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':MainModule' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':AllFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':NoFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.020' - zilla: - class: Dist::Zilla::Dist::Builder - config: - is_trial: '0' - version: '5.020' -x_authority: cpan:KENTNL -x_contributors: - - 'Сергей Романов ' +version: '1.001001' diff --git a/Makefile.PL b/Makefile.PL index e2654f5..9d27874 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,10 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009. use strict; use warnings; use 5.008; -use ExtUtils::MakeMaker ; - - +use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Upgrade ALL your dependencies to the ones you have installed.", @@ -16,12 +13,11 @@ my %WriteMakefileArgs = ( "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Dist-Zilla-Plugin-Prereqs-MatchInstalled-All", - "EXE_FILES" => [], "LICENSE" => "perl", + "MIN_PERL_VERSION" => "5.008", "NAME" => "Dist::Zilla::Plugin::Prereqs::MatchInstalled::All", "PREREQ_PM" => { "Dist::Zilla::Plugin::Prereqs::MatchInstalled" => "1.000000", - "Dist::Zilla::Util::ConfigDumper" => 0, "Moose" => 0, "MooseX::Types::Moose" => 0, "strict" => 0, @@ -29,13 +25,12 @@ my %WriteMakefileArgs = ( "warnings" => 0 }, "TEST_REQUIRES" => { - "Dist::Zilla::Util::Test::KENTNL" => "1.003002", "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "Test::DZil" => 0, - "Test::More" => "0.89" + "Test::More" => 0 }, - "VERSION" => "1.001000", + "VERSION" => "1.001001", "test" => { "TESTS" => "t/*.t t/00-compile/*.t" } @@ -44,14 +39,12 @@ my %WriteMakefileArgs = ( my %FallbackPrereqs = ( "Dist::Zilla::Plugin::Prereqs::MatchInstalled" => "1.000000", - "Dist::Zilla::Util::ConfigDumper" => 0, - "Dist::Zilla::Util::Test::KENTNL" => "1.003002", "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "Moose" => 0, "MooseX::Types::Moose" => 0, "Test::DZil" => 0, - "Test::More" => "0.89", + "Test::More" => 0, "strict" => 0, "utf8" => 0, "warnings" => 0 @@ -68,6 +61,3 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); - - - diff --git a/README b/README index 634af14..a2f85f6 100644 --- a/README +++ b/README @@ -1,92 +1,67 @@ -NAME - Dist::Zilla::Plugin::Prereqs::MatchInstalled::All - Upgrade ALL your - dependencies to the ones you have installed. +Dist::Zilla::Plugin::Prereqs::MatchInstalled::All -VERSION - version 1.001000 - -SYNOPSIS - [Prereqs::MatchInstalled::All] - ; upgrade_perl = 1 ; if you want to upgrade to your installed perl - ; include these too if you don't want to force a perl upgrade indirectly. - exclude = strict - exclude = warnings - -DESCRIPTION - This is a special case of "Dist::Zilla::Plugin::Prereqs::MatchInstalled" - that automatically upgrades all versions of all dependencies, unless - asked not to. +This is a special case of "Dist::Zilla::Plugin::Prereqs::MatchInstalled" +that automatically upgrades all versions of all dependencies, unless +asked not to. PITFALLS - Presently, there is one very large gotcha about using this module, in - that it will upgrade everything, even things that don't make sense to - upgrade. - For instance: +Presently, there is one very large gotcha about using this module, in +that it will upgrade everything, even things that don't make sense to +upgrade. - Local Versions - If you have a single dependency on your system you might use, which is - locally patched, and locally patched in such a way the local version is - more recent than any on "CPAN", you should either +For instance: - a. Not use this module - b. Put that module in the exclusion list + Local Versions - Non-Dual Life modules - This plugin is not very smart, and can't differentiate between modules - that do exist on "CPAN" independent of Perl, and modules that don't. +If you have a single dependency on your system you might use, which is +locally patched, and locally patched in such a way the local version is +more recent than any on "CPAN", you should either - For instance, if you use "Autoprereqs", its very likely your - distribution will add a dependency on either "strict" or "warnings" +a. Not use this module +b. Put that module in the exclusion list - This module will ask your user to upgrade those versions to their latest - versions, which will likely require them to upgrade their Perl - installation to do so. + Non-Dual Life modules - Which basically means for the mean time, either +This plugin is not very smart, and can't differentiate between modules +that do exist on "CPAN" independent of Perl, and modules that don't. - a. You must be o.k. with end users needing more recent Perls - b. You should avoid upgrading those dependencies by either +For instance, if you use "Autoprereqs", its very likely your +distribution will add a dependency on either "strict" or "warnings" - a. Not using this plugin - b. Adding problematic modules to the exclusion list +This module will ask your user to upgrade those versions to their latest +versions, which will likely require them to upgrade their Perl +installation to do so. -ATTRIBUTES - "exclude" - This parameter can be specified multiple times, and each time should - represent a single package string to exclude from version upgrades. +Which basically means for the mean time, either - [Prereqs::MatchInstalled::All] - exclude = foo - exclude = bar +a. You must be o.k. with end users needing more recent Perls +b. You should avoid upgrading those dependencies by either - "upgrade_perl" - If specified, this will permit upgrades on the dependency on "perl" to - the installed version. + a. Not using this plugin + b. Adding problematic modules to the exclusion list - [Prereqs::MatchInstalled::All] - upgrade_perl = 1 +INSTALLATION - Note, this has no effect on the modules that may inherently be only - available by upgrading Perl. +This is a Perl module distribution. It should be installed with whichever +tool you use to manage your installation of Perl, e.g. any of - Default is false. + cpanm . + cpan . + cpanp -i . - See "PITFALLS" for details. +Consult http://www.cpan.org/modules/INSTALL.html for further instruction. +Should you wish to install this module manually, the procedure is -PRIVATE ATTRIBUTES - "_exclude_hash" -PRIVATE METHODS - "_build__exclude_hash" - "_user_wants_excluded" - "_user_wants_upgrade_on" -AUTHOR - Kent Fredric + perl Makefile.PL + make + make test + make install COPYRIGHT AND LICENSE - This software is copyright (c) 2014 by Kent Fredric - . - 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 software is copyright (c) 2017 by Kent Fredric +. +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 --git a/dist.ini b/dist.ini index bf32368..5d8f981 100644 --- a/dist.ini +++ b/dist.ini @@ -1,12 +1,15 @@ ; This file is generated from dist.ini.meta by dzil bakeini. ; Edit that file or the bundles contained within for long-term changes. +; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.7.5 at Thu Aug 8 09:58:10 2013 +; vim: syntax=dosini +; Uncomment this to bootstrap via self name = Dist-Zilla-Plugin-Prereqs-MatchInstalled-All author = Kent Fredric license = Perl_5 copyright_holder = Kent Fredric -[Bootstrap::lib] -try_built = 1 +[lib] +lib = lib [MetaConfig / @Author::KENTNL/MetaConfig] @@ -17,9 +20,11 @@ issues = 1 :version = 1.14000001 [MetaData::BuiltWith / @Author::KENTNL/MetaData::BuiltWith] +:version = 1.004000 show_config = 1 show_uname = 1 uname_args = -s -o -r -m -i +use_external_file = only [Git::Contributors / @Author::KENTNL/Git::Contributors] :version = 0.006 @@ -38,10 +43,13 @@ include_dotfiles = 1 [MetaJSON / @Author::KENTNL/MetaJSON] -[MetaYAML / @Author::KENTNL/MetaYAML] +[MetaYAML::Minimal / @Author::KENTNL/MetaYAML::Minimal] [Manifest / @Author::KENTNL/Manifest] +[Author::KENTNL::TravisCI / @Author::KENTNL/Author::KENTNL::TravisCI] +:version = 0.001002 + [CopyFilesFromBuild / @Author::KENTNL/CopyXBuild] copy = LICENSE @@ -55,12 +63,14 @@ copy = LICENSE [Test::Kwalitee / @Author::KENTNL/Test::Kwalitee] -[EOLTests / @Author::KENTNL/EOLTests] +[Test::EOL / @Author::KENTNL/Test::EOL] trailing_whitespace = 1 [Test::MinimumVersion / @Author::KENTNL/Test::MinimumVersion] [Test::Compile::PerFile / @Author::KENTNL/Test::Compile::PerFile] +:version = 0.003902 +test_template = 02-raw-require.t.tpl [Test::Perl::Critic / @Author::KENTNL/Test::Perl::Critic] @@ -79,7 +89,7 @@ replacer = replace_with_blank -phase = develop -type = suggests Dist::Zilla::App::Command::bakeini = 0.001000 -Dist::Zilla::PluginBundle::Author::KENTNL = 2.021000 +Dist::Zilla::PluginBundle::Author::KENTNL = 2.025021 [Prereqs::AuthorDeps / @Author::KENTNL/Prereqs::AuthorDeps] @@ -95,9 +105,9 @@ locate_comment = 1 default_jobs = 10 [Author::KENTNL::RecommendFixes / @Author::KENTNL/Author::KENTNL::RecommendFixes] -:version = 0.001001 +:version = 0.004002 -[ReadmeFromPod / @Author::KENTNL/ReadmeFromPod] +[Readme::Brief / @Author::KENTNL/ShippedReadme] [ReadmeAnyFromPod / @Author::KENTNL/ReadmeAnyFromPod] filename = README.mkdn @@ -123,6 +133,7 @@ tag_format = %v-source [Git::NextRelease / @Author::KENTNL/Git::NextRelease] :version = 0.004000 +default_branch = master format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ %h time_zone = UTC @@ -132,6 +143,7 @@ time_zone = UTC allow_dirty_match = ^lib/ [Git::CommitBuild / @Author::KENTNL/Git::CommitBuild] +branch = builds release_branch = releases [Git::Tag / @Author::KENTNL/tag_release] @@ -145,9 +157,16 @@ hash_tags = #perl #cpan #distzilla tweet_url = https://metacpan.org/release/{{$AUTHOR_UC}}/{{$DIST}}-{{$VERSION}}{{$TRIAL}}#whatsnew url_shortener = none -[Prereqs::Recommend::MatchInstalled / @Author::KENTNL/Prereqs::Recommend::MatchInstalled] -modules = ExtUtils::MakeMaker -modules = Test::More +[Prereqs::Upgrade / @Author::KENTNL/Prereqs::Upgrade] +Dist::Zila::Plugin::MetaProvides::Package = 2.000000 +Dist::Zilla = 5 +ExtUtils::MakeMaker = 7.00 +File::ShareDir::Install = 0.10 +Moo = 1.000008 +Moose = 2.000 +Path::Tiny = 0.058 +Test::File::ShareDir = 1.000000 +Test::More = 0.99 [Prereqs::Recommend::MatchInstalled / @Author::KENTNL/always_latest_develop_bundle] applyto_map = develop.suggests = develop.suggests @@ -155,16 +174,27 @@ applyto_phase = develop modules = Dist::Zilla::PluginBundle::Author::KENTNL modules = Dist::Zilla::App::Command::bakeini +[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided] + [Prereqs / @Author::KENTNL/::Role::BundleDeps] +; version_major = 0 +; version_minor = 1 +; the following data denotes when this minor was minted +; version_rel_year = 2013 +; version_rel_month = 8 +; version_rel_day = 8 +; version_rel_hour = 9 +; version_rel_time_zone = Pacific/Auckland +; auto_prereqs_skip = File::Find -phase = develop -relationship = requires -Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.001001 +Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002 +Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002 Dist::Zilla::Plugin::Authority = 1.006 Dist::Zilla::Plugin::AutoPrereqs = 0 Dist::Zilla::Plugin::BumpVersionAfterRelease = 0 Dist::Zilla::Plugin::ConfirmRelease = 0 Dist::Zilla::Plugin::CopyFilesFromBuild = 0 -Dist::Zilla::Plugin::EOLTests = 0 Dist::Zilla::Plugin::Git::Check = 0 Dist::Zilla::Plugin::Git::Commit = 0 Dist::Zilla::Plugin::Git::CommitBuild = 0 @@ -178,11 +208,11 @@ Dist::Zilla::Plugin::MakeMaker = 0 Dist::Zilla::Plugin::Manifest = 0 Dist::Zilla::Plugin::ManifestSkip = 0 Dist::Zilla::Plugin::MetaConfig = 0 -Dist::Zilla::Plugin::MetaData::BuiltWith = 0 +Dist::Zilla::Plugin::MetaData::BuiltWith = 1.004000 Dist::Zilla::Plugin::MetaJSON = 0 Dist::Zilla::Plugin::MetaProvides::Package = 1.14000001 Dist::Zilla::Plugin::MetaTests = 0 -Dist::Zilla::Plugin::MetaYAML = 0 +Dist::Zilla::Plugin::MetaYAML::Minimal = 0 Dist::Zilla::Plugin::MinimumPerl = 0 Dist::Zilla::Plugin::PodCoverageTests = 0 Dist::Zilla::Plugin::PodSyntaxTests = 0 @@ -190,12 +220,15 @@ Dist::Zilla::Plugin::PodWeaver = 0 Dist::Zilla::Plugin::Prereqs = 0 Dist::Zilla::Plugin::Prereqs::AuthorDeps = 0 Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled = 0 +Dist::Zilla::Plugin::Prereqs::Upgrade = 0 +Dist::Zilla::Plugin::Readme::Brief = 0 Dist::Zilla::Plugin::ReadmeAnyFromPod = 0 -Dist::Zilla::Plugin::ReadmeFromPod = 0 +Dist::Zilla::Plugin::RemovePrereqs::Provided = 0 Dist::Zilla::Plugin::RewriteVersion::Sanitized = 0 Dist::Zilla::Plugin::RunExtraTests = 0 Dist::Zilla::Plugin::Test::CPAN::Changes = 0 -Dist::Zilla::Plugin::Test::Compile::PerFile = 0 +Dist::Zilla::Plugin::Test::Compile::PerFile = 0.003902 +Dist::Zilla::Plugin::Test::EOL = 0 Dist::Zilla::Plugin::Test::Kwalitee = 0 Dist::Zilla::Plugin::Test::MinimumVersion = 0 Dist::Zilla::Plugin::Test::Perl::Critic = 0 @@ -205,3 +238,14 @@ Dist::Zilla::Plugin::Twitter = 0 Dist::Zilla::Plugin::UploadToCPAN = 0 [Prereqs] +;[Prereqs::MatchInstalled::All] +;exclude = strict +;exclude = warnings +;exclude = blib +;exclude = IO::Handle +;exclude = IPC::Open3 +;exclude = File::Spec +;exclude = File::Spec::Functions +;exclude = Cwd +;exclude = FindBin +;exclude = utf8 diff --git a/dist.ini.meta b/dist.ini.meta index 3de98e9..31cf6a1 100644 --- a/dist.ini.meta +++ b/dist.ini.meta @@ -6,8 +6,8 @@ license = Perl_5 copyright_holder = Kent Fredric ; Uncomment this to bootstrap via self -[Bootstrap::lib] -try_built = 1 +[lib] +lib = lib [@Author::KENTNL] :version = 2.021000 diff --git a/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm b/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm index b242bf6..620500d 100644 --- a/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm +++ b/lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm @@ -5,7 +5,7 @@ use utf8; package Dist::Zilla::Plugin::Prereqs::MatchInstalled::All; -our $VERSION = '1.001000'; +our $VERSION = '1.001001'; # ABSTRACT: Upgrade ALL your dependencies to the ones you have installed. @@ -13,7 +13,6 @@ our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY use Moose qw( has around extends ); use Dist::Zilla::Plugin::Prereqs::MatchInstalled 1.000000; -use Dist::Zilla::Util::ConfigDumper qw( config_dumper ); use MooseX::Types::Moose qw( ArrayRef HashRef Str Bool ); @@ -87,7 +86,19 @@ around mvp_multivalue_args => sub { return ( 'exclude', $orig->( $self, @args ) ); }; -around dump_config => config_dumper( __PACKAGE__, qw( exclude upgrade_perl ) ); +around dump_config => sub { + my ( $orig, $self, @args ) = @_; + my $config = $self->$orig(@args); + my $localconf = $config->{ +__PACKAGE__ } = {}; + + $localconf->{exclude} = $self->exclude; + $localconf->{upgrade_perl} = $self->upgrade_perl; + + $localconf->{ q[$] . __PACKAGE__ . '::VERSION' } = $VERSION + unless __PACKAGE__ eq ref $self; + + return $config; +}; @@ -143,7 +154,7 @@ Dist::Zilla::Plugin::Prereqs::MatchInstalled::All - Upgrade ALL your dependencie =head1 VERSION -version 1.001000 +version 1.001001 =head1 SYNOPSIS @@ -262,7 +273,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . 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 --git a/misc/Changes.deps b/misc/Changes.deps index 42bafa5..871f580 100644 --- a/misc/Changes.deps +++ b/misc/Changes.deps @@ -1,6 +1,22 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) -1.001000 +1.001001 + [Added / configure requires] + - perl 5.008 + + [Added / test requires] + - perl 5.008 + + [Changed / test requires] + - Test::More 0.89 → 0 + + [Removed / runtime requires] + - Dist::Zilla::Util::ConfigDumper + + [Removed / test requires] + - Dist::Zilla::Util::Test::KENTNL 1.003002 + +1.001000 2014-10-15T22:42:03Z [Added / runtime requires] - Dist::Zilla::Util::ConfigDumper @@ -82,4 +98,3 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co [Removed / test requires] - Capture::Tiny 0.22 - blib - diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all index 047ca55..da4bbfa 100644 --- a/misc/Changes.deps.all +++ b/misc/Changes.deps.all @@ -1,6 +1,67 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) -1.001000 +1.001001 + [Added / configure requires] + - perl 5.008 + + [Added / configure suggests] + - JSON::PP 2.27300 + + [Added / develop recommends] + - Test::More 0.99 + + [Added / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002 + - Dist::Zilla::Plugin::MetaYAML::Minimal + - Dist::Zilla::Plugin::Prereqs::Upgrade + - Dist::Zilla::Plugin::Readme::Brief + - Dist::Zilla::Plugin::RemovePrereqs::Provided + - Dist::Zilla::Plugin::Test::EOL + - Dist::Zilla::Plugin::lib + - English + - Software::License::Perl_5 + - Test::EOL + - Test::MinimumVersion + - Test::More 0.96 + + [Added / runtime recommends] + - Moose 2.000 + + [Added / test requires] + - perl 5.008 + + [Changed / configure recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + + [Changed / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 + - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 + - Dist::Zilla::Plugin::Test::Compile::PerFile 0 → 0.003902 + + [Changed / develop suggests] + - Dist::Zilla::App::Command::bakeini 0.001002 → 0.002006 + - Dist::Zilla::PluginBundle::Author::KENTNL 2.021000 → 2.025021 + + [Changed / test recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + - Test::More 1.001006 → 0.99 + + [Changed / test requires] + - Test::More 0.89 → 0 + + [Removed / develop requires] + - Dist::Zilla::Plugin::Bootstrap::lib + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ReadmeFromPod + + [Removed / runtime requires] + - Dist::Zilla::Util::ConfigDumper + + [Removed / test requires] + - Dist::Zilla::Util::Test::KENTNL 1.003002 + +1.001000 2014-10-15T22:42:03Z [Added / develop requires] - Dist::Zilla 5 - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 @@ -206,4 +267,3 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen [Removed / test requires] - Capture::Tiny 0.22 - blib - diff --git a/misc/Changes.deps.dev b/misc/Changes.deps.dev index b0e5f65..d20e6c3 100644 --- a/misc/Changes.deps.dev +++ b/misc/Changes.deps.dev @@ -1,6 +1,39 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) -1.001000 +1.001001 + [Added / develop recommends] + - Test::More 0.99 + + [Added / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002 + - Dist::Zilla::Plugin::MetaYAML::Minimal + - Dist::Zilla::Plugin::Prereqs::Upgrade + - Dist::Zilla::Plugin::Readme::Brief + - Dist::Zilla::Plugin::RemovePrereqs::Provided + - Dist::Zilla::Plugin::Test::EOL + - Dist::Zilla::Plugin::lib + - English + - Software::License::Perl_5 + - Test::EOL + - Test::MinimumVersion + - Test::More 0.96 + + [Changed / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 + - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 + - Dist::Zilla::Plugin::Test::Compile::PerFile 0 → 0.003902 + + [Changed / develop suggests] + - Dist::Zilla::App::Command::bakeini 0.001002 → 0.002006 + - Dist::Zilla::PluginBundle::Author::KENTNL 2.021000 → 2.025021 + + [Removed / develop requires] + - Dist::Zilla::Plugin::Bootstrap::lib + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ReadmeFromPod + +1.001000 2014-10-15T22:42:03Z [Added / develop requires] - Dist::Zilla 5 - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 @@ -111,4 +144,3 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.5 → v1.8.3 - diff --git a/misc/Changes.deps.opt b/misc/Changes.deps.opt index 70f1076..7459ea9 100644 --- a/misc/Changes.deps.opt +++ b/misc/Changes.deps.opt @@ -1,6 +1,20 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) -1.001000 +1.001001 + [Added / configure suggests] + - JSON::PP 2.27300 + + [Added / runtime recommends] + - Moose 2.000 + + [Changed / configure recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + + [Changed / test recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + - Test::More 1.001006 → 0.99 + +1.001000 2014-10-15T22:42:03Z [Changed / test recommends] - CPAN::Meta 0 → 2.120900 - Test::More 1.001003 → 1.001006 @@ -21,4 +35,3 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (co 0.1.2 2013-09-25T13:43:34Z 0.1.1 2013-08-31T02:39:00Z - diff --git a/misc/built_with.json b/misc/built_with.json new file mode 100644 index 0000000..cc76d31 --- /dev/null +++ b/misc/built_with.json @@ -0,0 +1,94 @@ +{ + "modules" : { + "CPAN::Meta" : "2.150010", + "Dist::Zilla" : "6.009", + "Dist::Zilla::App::Command::bakeini" : "0.002006", + "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.005004", + "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : "0.001004", + "Dist::Zilla::Plugin::Authority" : "1.009", + "Dist::Zilla::Plugin::AutoPrereqs" : "6.009", + "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.015", + "Dist::Zilla::Plugin::ConfirmRelease" : "6.009", + "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.163040", + "Dist::Zilla::Plugin::Git::Check" : "2.041", + "Dist::Zilla::Plugin::Git::Commit" : "2.041", + "Dist::Zilla::Plugin::Git::CommitBuild" : "2.041", + "Dist::Zilla::Plugin::Git::Contributors" : "0.029", + "Dist::Zilla::Plugin::Git::GatherDir" : "2.041", + "Dist::Zilla::Plugin::Git::NextRelease" : "0.004000", + "Dist::Zilla::Plugin::Git::Tag" : "2.041", + "Dist::Zilla::Plugin::GithubMeta" : "0.54", + "Dist::Zilla::Plugin::License" : "6.009", + "Dist::Zilla::Plugin::MakeMaker" : "6.009", + "Dist::Zilla::Plugin::Manifest" : "6.009", + "Dist::Zilla::Plugin::ManifestSkip" : "6.009", + "Dist::Zilla::Plugin::MetaConfig" : "6.009", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.004005", + "Dist::Zilla::Plugin::MetaJSON" : "6.009", + "Dist::Zilla::Plugin::MetaProvides::Package" : "2.004003", + "Dist::Zilla::Plugin::MetaTests" : "6.009", + "Dist::Zilla::Plugin::MetaYAML::Minimal" : "0.001001", + "Dist::Zilla::Plugin::MinimumPerl" : "1.006", + "Dist::Zilla::Plugin::PodCoverageTests" : "6.009", + "Dist::Zilla::Plugin::PodSyntaxTests" : "6.009", + "Dist::Zilla::Plugin::PodWeaver" : "4.008", + "Dist::Zilla::Plugin::Prereqs" : "6.009", + "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0.006", + "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "1.001002", + "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.003002", + "Dist::Zilla::Plugin::Prereqs::Upgrade" : "0.001001", + "Dist::Zilla::Plugin::Readme::Brief" : "0.003001", + "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.163250", + "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0.001001", + "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001006", + "Dist::Zilla::Plugin::RunExtraTests" : "0.029", + "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.012", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.004000", + "Dist::Zilla::Plugin::Test::EOL" : "0.19", + "Dist::Zilla::Plugin::Test::Kwalitee" : "2.12", + "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000007", + "Dist::Zilla::Plugin::Test::Perl::Critic" : "3.000", + "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.025", + "Dist::Zilla::Plugin::TestRelease" : "6.009", + "Dist::Zilla::Plugin::Twitter" : "0.026", + "Dist::Zilla::Plugin::UploadToCPAN" : "6.009", + "Dist::Zilla::Plugin::lib" : "0.001001", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.025021", + "English" : "1.10", + "ExtUtils::MakeMaker" : "7.24", + "File::Spec" : "3.66", + "JSON::PP" : "2.27400_02", + "Moose" : "2.2004", + "MooseX::Types::Moose" : "0.50", + "Pod::Coverage::TrustPod" : "0.100003", + "Software::License::Perl_5" : "0.103012", + "Test::CPAN::Changes" : "0.400002", + "Test::CPAN::Meta" : "0.25", + "Test::DZil" : "6.009", + "Test::EOL" : "1.6", + "Test::Kwalitee" : "1.25", + "Test::MinimumVersion" : "0.101082", + "Test::More" : "1.302073", + "Test::Pod" : "1.51", + "Test::Pod::Coverage" : "1.10", + "strict" : "1.11", + "utf8" : "1.19", + "warnings" : "1.37" + }, + "perl" : { + "original" : "v5.25.10", + "qv" : 1, + "version" : [ + 5, + 25, + 10 + ] + }, + "perl-config" : { + "gccversion" : "5.4.0", + "myarchname" : "x86_64-linux", + "osname" : "linux" + }, + "platform" : "linux", + "uname" : "Linux 4.8.5-gentoo x86_64 GenuineIntel GNU/Linux" +} diff --git a/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_All_pm.t b/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_All_pm.t index faab149..59adb8c 100644 --- a/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_All_pm.t +++ b/t/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_All_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.003000 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 272a6bd..18e6dfc 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -1,23 +1,29 @@ do { my $x = { 'configure' => { 'recommends' => { - 'ExtUtils::MakeMaker' => '6.98' + 'ExtUtils::MakeMaker' => '7.00' }, 'requires' => { - 'ExtUtils::MakeMaker' => '0' + 'ExtUtils::MakeMaker' => '0', + 'perl' => '5.008' + }, + 'suggests' => { + 'JSON::PP' => '2.27300' } }, 'develop' => { + 'recommends' => { + 'Test::More' => '0.99' + }, 'requires' => { 'Dist::Zilla' => '5', - 'Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes' => '0.001001', + 'Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes' => '0.004002', + 'Dist::Zilla::Plugin::Author::KENTNL::TravisCI' => '0.001002', 'Dist::Zilla::Plugin::Authority' => '1.006', 'Dist::Zilla::Plugin::AutoPrereqs' => '0', - 'Dist::Zilla::Plugin::Bootstrap::lib' => '0', 'Dist::Zilla::Plugin::BumpVersionAfterRelease' => '0', 'Dist::Zilla::Plugin::ConfirmRelease' => '0', 'Dist::Zilla::Plugin::CopyFilesFromBuild' => '0', - 'Dist::Zilla::Plugin::EOLTests' => '0', 'Dist::Zilla::Plugin::Git::Check' => '0', 'Dist::Zilla::Plugin::Git::Commit' => '0', 'Dist::Zilla::Plugin::Git::CommitBuild' => '0', @@ -31,11 +37,11 @@ do { my $x = { 'Dist::Zilla::Plugin::Manifest' => '0', 'Dist::Zilla::Plugin::ManifestSkip' => '0', 'Dist::Zilla::Plugin::MetaConfig' => '0', - 'Dist::Zilla::Plugin::MetaData::BuiltWith' => '0', + 'Dist::Zilla::Plugin::MetaData::BuiltWith' => '1.004000', 'Dist::Zilla::Plugin::MetaJSON' => '0', 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.14000001', 'Dist::Zilla::Plugin::MetaTests' => '0', - 'Dist::Zilla::Plugin::MetaYAML' => '0', + 'Dist::Zilla::Plugin::MetaYAML::Minimal' => '0', 'Dist::Zilla::Plugin::MinimumPerl' => '0', 'Dist::Zilla::Plugin::PodCoverageTests' => '0', 'Dist::Zilla::Plugin::PodSyntaxTests' => '0', @@ -43,12 +49,15 @@ do { my $x = { 'Dist::Zilla::Plugin::Prereqs' => '0', 'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0', 'Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled' => '0', + 'Dist::Zilla::Plugin::Prereqs::Upgrade' => '0', + 'Dist::Zilla::Plugin::Readme::Brief' => '0', 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0', - 'Dist::Zilla::Plugin::ReadmeFromPod' => '0', + 'Dist::Zilla::Plugin::RemovePrereqs::Provided' => '0', 'Dist::Zilla::Plugin::RewriteVersion::Sanitized' => '0', 'Dist::Zilla::Plugin::RunExtraTests' => '0', 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0', - 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0', + 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0.003902', + 'Dist::Zilla::Plugin::Test::EOL' => '0', 'Dist::Zilla::Plugin::Test::Kwalitee' => '0', 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0', 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0', @@ -56,22 +65,30 @@ do { my $x = { 'Dist::Zilla::Plugin::TestRelease' => '0', 'Dist::Zilla::Plugin::Twitter' => '0', 'Dist::Zilla::Plugin::UploadToCPAN' => '0', + 'Dist::Zilla::Plugin::lib' => '0', + 'English' => '0', 'Pod::Coverage::TrustPod' => '0', + 'Software::License::Perl_5' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta' => '0', + 'Test::EOL' => '0', 'Test::Kwalitee' => '1.21', + 'Test::MinimumVersion' => '0', + 'Test::More' => '0.96', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08' }, 'suggests' => { - 'Dist::Zilla::App::Command::bakeini' => '0.001002', - 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.021000' + 'Dist::Zilla::App::Command::bakeini' => '0.002006', + 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.025021' } }, 'runtime' => { + 'recommends' => { + 'Moose' => '2.000' + }, 'requires' => { 'Dist::Zilla::Plugin::Prereqs::MatchInstalled' => '1.000000', - 'Dist::Zilla::Util::ConfigDumper' => '0', 'Moose' => '0', 'MooseX::Types::Moose' => '0', 'perl' => '5.008', @@ -83,15 +100,15 @@ do { my $x = { 'test' => { 'recommends' => { 'CPAN::Meta' => '2.120900', - 'ExtUtils::MakeMaker' => '6.98', - 'Test::More' => '1.001006' + 'ExtUtils::MakeMaker' => '7.00', + 'Test::More' => '0.99' }, 'requires' => { - 'Dist::Zilla::Util::Test::KENTNL' => '1.003002', 'ExtUtils::MakeMaker' => '0', 'File::Spec' => '0', 'Test::DZil' => '0', - 'Test::More' => '0.89' + 'Test::More' => '0', + 'perl' => '5.008' } } }; diff --git a/t/00-report-prereqs.t b/t/00-report-prereqs.t index 402b3d9..e338372 100644 --- a/t/00-report-prereqs.t +++ b/t/00-report-prereqs.t @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025 use Test::More tests => 1; @@ -78,10 +78,10 @@ my $full_prereqs = _merge_prereqs( # 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); - } +if ( $source && $HAS_CPAN_META + && (my $meta = eval { CPAN::Meta->load_file($source) } ) +) { + $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { $source = 'static metadata'; @@ -150,9 +150,16 @@ for my $phase ( qw(configure build test runtime develop other) ) { 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; + if ($type eq 'modules') { + splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports; + } + else { + 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; + } + push @full_reports, "\n"; } } diff --git a/t/01-basic.t b/t/01-basic.t index fa081f4..ed2040c 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -2,28 +2,30 @@ use strict; use warnings; use Test::More; -use Dist::Zilla::Util::Test::KENTNL 1.003002 qw( dztest ); -use Test::DZil qw( simple_ini ); +use Test::DZil qw( simple_ini Builder ); -my $test = dztest(); -$test->add_file( - 'dist.ini', - simple_ini( - [ 'Prereqs' => { 'Moose' => 0 } ], # - ['Prereqs::MatchInstalled::All'], - ['MetaConfig'], # - ) +my $zilla = Builder->from_config( + { dist_root => 'invalid' }, + { + add_files => { + 'source/dist.ini' => simple_ini( + [ 'Prereqs' => { 'Moose' => 0 } ], # + ['Prereqs::MatchInstalled::All'], + ['MetaConfig'], # + ), + } + } ); -$test->build_ok; +$zilla->chrome->logger->set_debug(1); +$zilla->build; -ok( exists $test->distmeta->{prereqs}, '->prereqs' ) - and ok( exists $test->distmeta->{prereqs}->{runtime}, '->prereqs/runtime' ) - and ok( exists $test->distmeta->{prereqs}->{runtime}->{requires}, '->prereqs/runtime/requires' ) - and ok( exists $test->distmeta->{prereqs}->{runtime}->{requires}->{Moose}, '->prereqs/runtime/requires/Moose' ) - and cmp_ok( $test->distmeta->{prereqs}->{runtime}->{requires}->{Moose}, 'ne', '0', "Moose != 0" ); +ok( exists $zilla->distmeta->{prereqs}, '->prereqs' ) + and ok( exists $zilla->distmeta->{prereqs}->{runtime}, '->prereqs/runtime' ) + and ok( exists $zilla->distmeta->{prereqs}->{runtime}->{requires}, '->prereqs/runtime/requires' ) + and ok( exists $zilla->distmeta->{prereqs}->{runtime}->{requires}->{Moose}, '->prereqs/runtime/requires/Moose' ) + and cmp_ok( $zilla->distmeta->{prereqs}->{runtime}->{requires}->{Moose}, 'ne', '0', "Moose != 0" ); -note explain $test->distmeta; -note explain $test->builder->log_messages; +note explain $zilla->distmeta; +note explain $zilla->log_messages; done_testing; - diff --git a/xt/author/eol.t b/xt/author/eol.t new file mode 100644 index 0000000..5a42163 --- /dev/null +++ b/xt/author/eol.t @@ -0,0 +1,18 @@ +use strict; +use warnings; + +# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19 + +use Test::More 0.88; +use Test::EOL; + +my @files = ( + 'lib/Dist/Zilla/Plugin/Prereqs/MatchInstalled/All.pm', + 't/00-compile/lib_Dist_Zilla_Plugin_Prereqs_MatchInstalled_All_pm.t', + 't/00-report-prereqs.dd', + 't/00-report-prereqs.t', + 't/01-basic.t' +); + +eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; +done_testing; diff --git a/xt/release/pod-coverage.t b/xt/author/pod-coverage.t similarity index 100% rename from xt/release/pod-coverage.t rename to xt/author/pod-coverage.t diff --git a/xt/release/pod-syntax.t b/xt/author/pod-syntax.t similarity index 84% rename from xt/release/pod-syntax.t rename to xt/author/pod-syntax.t index f0468f1..e563e5d 100644 --- a/xt/release/pod-syntax.t +++ b/xt/author/pod-syntax.t @@ -1,5 +1,6 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; use Test::More; use Test::Pod 1.41; diff --git a/xt/release/cpan-changes.t b/xt/release/cpan-changes.t index 8e6e413..286005a 100644 --- a/xt/release/cpan-changes.t +++ b/xt/release/cpan-changes.t @@ -1,11 +1,10 @@ -#!perl - use strict; use warnings; -use Test::More 0.96 tests => 2; -use_ok('Test::CPAN::Changes'); +# this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012 + +use Test::More 0.96 tests => 1; +use Test::CPAN::Changes; subtest 'changes_ok' => sub { changes_file_ok('Changes'); }; -done_testing(); diff --git a/xt/release/eol.t b/xt/release/eol.t deleted file mode 100644 index d13c49d..0000000 --- a/xt/release/eol.t +++ /dev/null @@ -1,8 +0,0 @@ -use strict; -use warnings; -use Test::More; - -eval 'use Test::EOL'; -plan skip_all => 'Test::EOL required' if $@; - -all_perl_files_ok({ trailing_whitespace => 1 }); diff --git a/xt/release/kwalitee.t b/xt/release/kwalitee.t index bcbce84..c986546 100644 --- a/xt/release/kwalitee.t +++ b/xt/release/kwalitee.t @@ -1,4 +1,4 @@ -# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11 +# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.12 use strict; use warnings; use Test::More 0.88;