diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7f1810b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.build +Dist-Zilla-Plugin-Bootstrap-ShareDir-Module-* diff --git a/.travis.yml b/.travis.yml index 9186391..38a6708 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ 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.8" env: STERILIZE_ENV=0 @@ -11,24 +15,32 @@ 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.19" + - perl: "5.20" + env: STERILIZE_ENV=1 + - 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.21" + env: STERILIZE_ENV=0 COVERAGE_TESTING=1 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 diff --git a/Build.PL b/Build.PL deleted file mode 100644 index a95b36b..0000000 --- a/Build.PL +++ /dev/null @@ -1,69 +0,0 @@ - -use strict; -use warnings; - -use Module::Build 0.3601; - - -my %module_build_args = ( - "build_requires" => { - "Module::Build" => "0.4202" - }, - "configure_requires" => { - "Module::Build" => "0.4202" - }, - "dist_abstract" => "Use a C directory on your dist for a module during bootstrap", - "dist_author" => [ - "Kent Fredric " - ], - "dist_name" => "Dist-Zilla-Plugin-Bootstrap-ShareDir-Module", - "dist_version" => "0.2.0", - "license" => "perl", - "module_name" => "Dist::Zilla::Plugin::Bootstrap::ShareDir::Module", - "recommends" => {}, - "recursive_test_files" => 1, - "requires" => { - "Dist::Zilla::Role::Bootstrap" => 0, - "Moose" => 0, - "MooseX::AttributeShortcuts" => 0, - "Path::Tiny" => 0, - "Test::File::ShareDir::Object::Module" => 0, - "perl" => "5.006", - "strict" => 0, - "warnings" => 0 - }, - "script_files" => [], - "test_requires" => { - "Cwd" => 0, - "Dist::Zilla::Plugin::Bootstrap::lib" => "0.04000000", - "File::Copy::Recursive" => 0, - "File::ShareDir" => 0, - "Path::FindDev" => 0, - "Test::DZil" => 0, - "Test::Fatal" => 0, - "Test::More" => "1.001002" - } -); - - -my %fallback_build_requires = ( - "Cwd" => 0, - "Dist::Zilla::Plugin::Bootstrap::lib" => "0.04000000", - "File::Copy::Recursive" => 0, - "File::ShareDir" => 0, - "Module::Build" => "0.4202", - "Path::FindDev" => 0, - "Test::DZil" => 0, - "Test::Fatal" => 0, - "Test::More" => "1.001002" -); - - -unless ( eval { Module::Build->VERSION(0.4004) } ) { - delete $module_build_args{test_requires}; - $module_build_args{build_requires} = \%fallback_build_requires; -} - -my $build = Module::Build->new(%module_build_args); - -$build->create_build_script; diff --git a/Changes b/Changes index d413bcd..807ffcf 100644 --- a/Changes +++ b/Changes @@ -1,95 +1,49 @@ Release history for Dist-Zilla-Plugin-Bootstrap-ShareDir-Module +1.000000 2014-08-02T14:44:12Z + [00 Major] + - Changes that affect hand-operated downstream. + + [01 Toolkit Changes] + - Switched to EUMM for install + - "latest" dependencies now only recommended, not required. + - https://questhub.io/realm/perl/quest/5388cc12bbd0be5b2500011f + + [02 Version Scheme] + - Switched from x.y.z to x.yyyyyy + - This is the primary reason for the 1.x on the box + - https://questhub.io/realm/perl/quest/5388d3a9bbd0be2224000129 + + [Dependencies::Stats] + - Dependencies changed since 0.2.0, see misc/*.deps* for details + - build: -1 + - configure: +1 -1 (recommends: +1) + - develop: +9 -11 (suggests: +2 -1) + - runtime: +1 ↑1 + - test: +2 ↓1 -2 (recommends: +3) + + [Misc] + - Path::FindDev no longer needlessly used for tests + 0.2.0 2013-11-21T07:22:18Z [00 Minor] - Reimplement in terms of T:F:SD:O:M - [Dependencies::Added / runtime requires] - - Test::File::ShareDir::Object::Module - - [Dependencies::Removed / runtime requires] - - Test::File::ShareDir::TempDirObject + [Dependencies::Stats] + - Dependencies changed since 0.1.3, see misc/*.deps* for details + - runtime: +1 -1 0.1.3 2013-11-20T09:44:25Z [00 Minor] - Drop 5.10 requirement - [Dependencies::Added / develop requires] - - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl - - Dist::Zilla::Plugin::Authority 1.006 - - Dist::Zilla::Plugin::AutoPrereqs - - Dist::Zilla::Plugin::CheckExtraTests - - Dist::Zilla::Plugin::ConfirmRelease - - Dist::Zilla::Plugin::EOLTests - - Dist::Zilla::Plugin::Git::Check - - Dist::Zilla::Plugin::Git::Commit - - Dist::Zilla::Plugin::Git::CommitBuild - - Dist::Zilla::Plugin::Git::GatherDir - - Dist::Zilla::Plugin::Git::NextVersion - - Dist::Zilla::Plugin::Git::Tag - - Dist::Zilla::Plugin::GithubMeta - - Dist::Zilla::Plugin::License - - Dist::Zilla::Plugin::Manifest - - Dist::Zilla::Plugin::ManifestSkip - - Dist::Zilla::Plugin::MetaConfig - - Dist::Zilla::Plugin::MetaData::BuiltWith - - Dist::Zilla::Plugin::MetaJSON - - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001 - - Dist::Zilla::Plugin::MetaTests - - Dist::Zilla::Plugin::MetaYAML - - Dist::Zilla::Plugin::ModuleBuild - - Dist::Zilla::Plugin::NextRelease - - Dist::Zilla::Plugin::PkgVersion - - Dist::Zilla::Plugin::PodCoverageTests - - Dist::Zilla::Plugin::PodSyntaxTests - - Dist::Zilla::Plugin::PodWeaver - - Dist::Zilla::Plugin::Prereqs - - Dist::Zilla::Plugin::Prereqs::MatchInstalled - - Dist::Zilla::Plugin::PruneCruft - - Dist::Zilla::Plugin::ReadmeAnyFromPod - - Dist::Zilla::Plugin::ReadmeFromPod - - Dist::Zilla::Plugin::ReportVersions::Tiny - - Dist::Zilla::Plugin::Test::CPAN::Changes - - Dist::Zilla::Plugin::Test::Compile::PerFile - - Dist::Zilla::Plugin::Test::Kwalitee - - Dist::Zilla::Plugin::Test::MinimumVersion - - Dist::Zilla::Plugin::Test::Perl::Critic - - Dist::Zilla::Plugin::TestRelease - - Dist::Zilla::Plugin::Twitter - - Dist::Zilla::Plugin::UploadToCPAN - - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 - - [Dependencies::Added / develop suggests] - - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 - - [Dependencies::Changed / build requires] - - Module::Build 0.4007 → 0.4202 - - [Dependencies::Changed / configure requires] - - Module::Build 0.4007 → 0.4202 - - [Dependencies::Changed / develop requires] - - Test::Kwalitee 1.08 → 1.12 - - [Dependencies::Changed / runtime requires] - - perl v5.10.0 → 5.006 - - [Dependencies::Changed / test requires] - - Test::More 0.98 → 1.001002 - - [Dependencies::Removed / develop recommends] - - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 - - [Dependencies::Removed / develop requires] - - Dist::Zilla::PluginBundle::Author::KENTNL::Lite - - [Dependencies::Removed / develop suggests] - - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 - - [Dependencies::Removed / test requires] - - File::Spec - - IO::Handle - - IPC::Open3 + [Dependencies::Stats] + - Dependencies changed since 0.1.2, see misc/*.deps* for details + - build: ↑1 + - configure: ↑1 + - develop: +43 ↑1 -1 (recommends: -1, suggests: +1 -1) + - runtime: ↓1 + - test: ↑1 -3 [Packaging] - Use new fallback stuff @@ -103,17 +57,17 @@ Release history for Dist-Zilla-Plugin-Bootstrap-ShareDir-Module - use Test::DZil internally instead of calling dzil - log bootstrapping of modules instead of silence - [Dependencies::Added / test requires] - - File::Spec - - Test::DZil - - Test::Fatal + [Dependencies::Stats] + - Dependencies changed since 0.1.1, see misc/*.deps* for details + - test: +3 0.1.1 2013-09-08T11:23:50Z [Bugfix] - Need Bootstrap::lib for tests - [Dependencies::Added / test requires] - - Dist::Zilla::Plugin::Bootstrap::lib 0.04000000 + [Dependencies::Stats] + - Dependencies changed since 0.1.0, see misc/*.deps* for details + - test: +1 [Docs] - Add metapod data. diff --git a/LICENSE b/LICENSE index 648d54d..f54a236 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -This software is copyright (c) 2013 by Kent Fredric . +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. @@ -12,7 +12,7 @@ b) the "Artistic License" --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2013 by Kent Fredric . +This software is Copyright (c) 2014 by Kent Fredric . This is free software, licensed under: @@ -22,7 +22,7 @@ This is free software, licensed under: Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ That's all there is to it! --- The Artistic License 1.0 --- -This software is Copyright (c) 2013 by Kent Fredric . +This software is Copyright (c) 2014 by Kent Fredric . This is free software, licensed under: diff --git a/MANIFEST b/MANIFEST index 4b2f719..ac42f62 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,11 +1,13 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020. +.gitignore .perltidyrc .travis.yml -Build.PL Changes LICENSE MANIFEST META.json META.yml +Makefile.PL README corpus/fake_dist_01/dist.ini corpus/fake_dist_01/lib/E.pm @@ -31,25 +33,21 @@ corpus/fake_dist_05/dist.ini corpus/fake_dist_05/lib/E.pm corpus/fake_dist_05/share/E/placeholder.txt dist.ini +dist.ini.meta layout/self_structure.dot layout/self_structure.png lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm -maint-travis-ci/README.mkdn -maint-travis-ci/before_script.pl -maint-travis-ci/install_deps.pl -maint-travis-ci/lib/tools.pm -maint-travis-ci/merge_travis_yml.pl -maint-travis-ci/report_fail_ctx.pl -maint-travis-ci/script.pl -maint-travis-ci/sterilize_env.pl -maint-travis-ci/sync_tree.pl -maint-travis-ci/yamls/sterile.mkdn -maint-travis-ci/yamls/sterile.yaml -maint-travis-ci/yamls/sterile2.yaml +maint/perlcritic.rc.gen.pl +misc/Changes.deps +misc/Changes.deps.all +misc/Changes.deps.dev +misc/Changes.deps.opt +misc/perlcritic.deps perlcritic.rc share/B-SD-M/placeholder.txt t/00-compile/lib_Dist_Zilla_Plugin_Bootstrap_ShareDir_Module_pm.t -t/000-report-versions-tiny.t +t/00-report-prereqs.dd +t/00-report-prereqs.t t/01-basic.t t/02-try_built.t t/03-try_built-pass2.t diff --git a/META.json b/META.json index 1fa5956..c5e9af8 100644 --- a/META.json +++ b/META.json @@ -1,10 +1,10 @@ { - "abstract" : "Use a C directory on your dist for a module during bootstrap", + "abstract" : "Use a share directory on your dist for a module during bootstrap", "author" : [ "Kent Fredric " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830", + "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060", "license" : [ "perl_5" ], @@ -14,32 +14,31 @@ }, "name" : "Dist-Zilla-Plugin-Bootstrap-ShareDir-Module", "prereqs" : { - "build" : { - "requires" : { - "Module::Build" : "0.4202" - } - }, "configure" : { + "recommends" : { + "ExtUtils::MakeMaker" : "6.98" + }, "requires" : { - "Module::Build" : "0.4202" + "ExtUtils::MakeMaker" : "0" } }, "develop" : { "requires" : { - "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl" : "0", "Dist::Zilla::Plugin::Authority" : "1.006", "Dist::Zilla::Plugin::AutoPrereqs" : "0", - "Dist::Zilla::Plugin::CheckExtraTests" : "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", "Dist::Zilla::Plugin::Git::GatherDir" : "0", - "Dist::Zilla::Plugin::Git::NextVersion" : "0", + "Dist::Zilla::Plugin::Git::NextRelease" : "0", "Dist::Zilla::Plugin::Git::Tag" : "0", "Dist::Zilla::Plugin::GithubMeta" : "0", "Dist::Zilla::Plugin::License" : "0", + "Dist::Zilla::Plugin::MakeMaker" : "0", "Dist::Zilla::Plugin::Manifest" : "0", "Dist::Zilla::Plugin::ManifestSkip" : "0", "Dist::Zilla::Plugin::MetaConfig" : "0", @@ -48,37 +47,35 @@ "Dist::Zilla::Plugin::MetaProvides::Package" : "1.14000001", "Dist::Zilla::Plugin::MetaTests" : "0", "Dist::Zilla::Plugin::MetaYAML" : "0", - "Dist::Zilla::Plugin::ModuleBuild" : "0", - "Dist::Zilla::Plugin::NextRelease" : "0", - "Dist::Zilla::Plugin::PkgVersion" : "0", + "Dist::Zilla::Plugin::MinimumPerl" : "0", "Dist::Zilla::Plugin::PodCoverageTests" : "0", "Dist::Zilla::Plugin::PodSyntaxTests" : "0", "Dist::Zilla::Plugin::PodWeaver" : "0", "Dist::Zilla::Plugin::Prereqs" : "0", - "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "0", - "Dist::Zilla::Plugin::PruneCruft" : "0", + "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0", "Dist::Zilla::Plugin::ReadmeFromPod" : "0", - "Dist::Zilla::Plugin::ReportVersions::Tiny" : "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::Kwalitee" : "0", "Dist::Zilla::Plugin::Test::MinimumVersion" : "0", "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", + "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0", "Dist::Zilla::Plugin::TestRelease" : "0", "Dist::Zilla::Plugin::Twitter" : "0", "Dist::Zilla::Plugin::UploadToCPAN" : "0", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.002001", "Pod::Coverage::TrustPod" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", "Test::Kwalitee" : "1.12", "Test::Pod" : "1.41", - "Test::Pod::Coverage" : "1.08", - "version" : "0.9901" + "Test::Pod::Coverage" : "1.08" }, "suggests" : { - "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "v1.3.0" + "Dist::Zilla::App::Command::bakeini" : "0.001001", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.016007" } }, "runtime" : { @@ -88,133 +85,139 @@ "MooseX::AttributeShortcuts" : "0", "Path::Tiny" : "0", "Test::File::ShareDir::Object::Module" : "0", - "perl" : "5.006", + "perl" : "5.008", "strict" : "0", + "utf8" : "0", "warnings" : "0" } }, "test" : { + "recommends" : { + "CPAN::Meta" : "2.120900", + "ExtUtils::MakeMaker" : "6.98", + "Test::More" : "1.001003" + }, "requires" : { - "Cwd" : "0", "Dist::Zilla::Plugin::Bootstrap::lib" : "0.04000000", + "ExtUtils::MakeMaker" : "0", "File::Copy::Recursive" : "0", "File::ShareDir" : "0", - "Path::FindDev" : "0", + "File::Spec" : "0", "Test::DZil" : "0", "Test::Fatal" : "0", - "Test::More" : "1.001002" + "Test::More" : "0.89" } } }, "provides" : { "Dist::Zilla::Plugin::Bootstrap::ShareDir::Module" : { "file" : "lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm", - "version" : "v0.2.0" + "version" : "1.000000" } }, "release_status" : "stable", "resources" : { "bugtracker" : { - "web" : "https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module/issues" + "web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module/issues" }, - "homepage" : "https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module", + "homepage" : "https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module", "repository" : { "type" : "git", - "url" : "https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module.git", - "web" : "https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module" + "url" : "https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module.git", + "web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module" } }, - "version" : "0.2.0", + "version" : "1.000000", "x_BuiltWith" : { "modules" : { - "Cwd" : "3.45", - "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl" : "2.002001", + "CPAN::Meta" : "2.142060", + "Dist::Zilla::App::Command::bakeini" : "0.001001", "Dist::Zilla::Plugin::Authority" : "1.006", - "Dist::Zilla::Plugin::AutoPrereqs" : "5.006", - "Dist::Zilla::Plugin::Bootstrap::lib" : "0.04000002", - "Dist::Zilla::Plugin::CheckExtraTests" : "0.016", - "Dist::Zilla::Plugin::ConfirmRelease" : "5.006", + "Dist::Zilla::Plugin::AutoPrereqs" : "5.020", + "Dist::Zilla::Plugin::Bootstrap::lib" : "1.000003", + "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.002", + "Dist::Zilla::Plugin::ConfirmRelease" : "5.020", + "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.103510", "Dist::Zilla::Plugin::EOLTests" : "0.02", - "Dist::Zilla::Plugin::Git::Check" : "2.017", - "Dist::Zilla::Plugin::Git::Commit" : "2.017", - "Dist::Zilla::Plugin::Git::CommitBuild" : "2.017", - "Dist::Zilla::Plugin::Git::GatherDir" : "2.017", - "Dist::Zilla::Plugin::Git::NextVersion" : "2.017", - "Dist::Zilla::Plugin::Git::Tag" : "2.017", - "Dist::Zilla::Plugin::GithubMeta" : "0.42", - "Dist::Zilla::Plugin::License" : "5.006", - "Dist::Zilla::Plugin::Manifest" : "5.006", - "Dist::Zilla::Plugin::ManifestSkip" : "5.006", - "Dist::Zilla::Plugin::MetaConfig" : "5.006", - "Dist::Zilla::Plugin::MetaData::BuiltWith" : "0.04000000", - "Dist::Zilla::Plugin::MetaJSON" : "5.006", - "Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000000", - "Dist::Zilla::Plugin::MetaTests" : "5.006", - "Dist::Zilla::Plugin::MetaYAML" : "5.006", - "Dist::Zilla::Plugin::ModuleBuild" : "5.006", - "Dist::Zilla::Plugin::NextRelease" : "5.006", - "Dist::Zilla::Plugin::PkgVersion" : "5.006", - "Dist::Zilla::Plugin::PodCoverageTests" : "5.006", - "Dist::Zilla::Plugin::PodSyntaxTests" : "5.006", - "Dist::Zilla::Plugin::PodWeaver" : "4.002", - "Dist::Zilla::Plugin::Prereqs" : "5.006", - "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "0.1.4", - "Dist::Zilla::Plugin::PruneCruft" : "5.006", - "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.133060", + "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::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.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.020", + "Dist::Zilla::Plugin::PodSyntaxTests" : "5.020", + "Dist::Zilla::Plugin::PodWeaver" : "4.005", + "Dist::Zilla::Plugin::Prereqs" : "5.020", + "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.002000", + "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.141760", "Dist::Zilla::Plugin::ReadmeFromPod" : "0.21", - "Dist::Zilla::Plugin::ReportVersions::Tiny" : "1.10", + "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001001", + "Dist::Zilla::Plugin::RunExtraTests" : "0.022", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", - "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.001001", + "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::TestRelease" : "5.006", - "Dist::Zilla::Plugin::Twitter" : "0.023", - "Dist::Zilla::Plugin::UploadToCPAN" : "5.006", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.002001", - "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "1.7.2", - "Dist::Zilla::Role::Bootstrap" : "0.2.3", + "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.018", + "Dist::Zilla::Plugin::TestRelease" : "5.020", + "Dist::Zilla::Plugin::Twitter" : "0.025", + "Dist::Zilla::Plugin::UploadToCPAN" : "5.020", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.016007", + "Dist::Zilla::Role::Bootstrap" : "1.000002", + "ExtUtils::MakeMaker" : "6.98", "File::Copy::Recursive" : "0.38", - "File::ShareDir" : "1.03", - "Module::Build" : "0.4202", - "Moose" : "2.1106", - "MooseX::AttributeShortcuts" : "0.022", - "Path::FindDev" : "0.4.2", - "Path::Tiny" : "0.044", + "File::ShareDir" : "1.102", + "File::Spec" : "3.48", + "Moose" : "2.1210", + "MooseX::AttributeShortcuts" : "0.024", + "Path::Tiny" : "0.055", "Pod::Coverage::TrustPod" : "0.100003", - "Test::CPAN::Changes" : "0.25", + "Test::CPAN::Changes" : "0.30", "Test::CPAN::Meta" : "0.23", - "Test::DZil" : "5.006", + "Test::DZil" : "5.020", "Test::Fatal" : "0.013", - "Test::File::ShareDir::Object::Module" : "0.4.1", - "Test::Kwalitee" : "1.17", - "Test::More" : "1.001002", + "Test::File::ShareDir::Object::Module" : "1.000004", + "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", - "version" : "0.9904", - "warnings" : "1.20" + "utf8" : "1.14", + "warnings" : "1.24" }, "perl" : { - "original" : "v5.19.5", + "original" : "v5.21.1", "qv" : 1, "version" : [ 5, - 19, - 5 + 21, + 1 ] }, "perl-config" : { - "gccversion" : "4.7.3", + "gccversion" : "4.8.3", "myarchname" : "x86_64-linux", "osname" : "linux" }, "platform" : "linux", - "uname" : "Linux 3.12.0-gentoo x86_64 GenuineIntel GNU/Linux" + "uname" : "Linux 3.15.5-aufs x86_64 GenuineIntel GNU/Linux" }, "x_Dist_Zilla" : { "perl" : { - "version" : "5.019005" + "version" : "5.021001" }, "plugins" : [ { @@ -228,7 +231,7 @@ } }, "name" : "Bootstrap::lib", - "version" : "0.04000002" + "version" : "1.000003" }, { "class" : "Dist::Zilla::Plugin::Bootstrap::ShareDir::Module", @@ -246,32 +249,30 @@ } }, "name" : "Bootstrap::ShareDir::Module", - "version" : "0.2.0" - }, - { - "class" : "Dist::Zilla::Plugin::Git::NextVersion", - "name" : "@Author::KENTNL/Git::NextVersion", - "version" : "2.017" + "version" : "1.000000" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::KENTNL/GithubMeta", - "version" : "0.42" - }, - { - "class" : "Dist::Zilla::Plugin::FinderCode", - "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.006" + "version" : "0.46" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", "config" : { - "Dist::Zilla::Plugin::MetaProvides::Package" : {}, + "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", @@ -279,7 +280,7 @@ } }, "name" : "@Author::KENTNL/MetaProvides::Package", - "version" : "1.15000000" + "version" : "2.000003" }, { "class" : "Dist::Zilla::Plugin::MetaData::BuiltWith", @@ -301,52 +302,65 @@ } }, "name" : "@Author::KENTNL/MetaData::BuiltWith", - "version" : "0.04000000" + "version" : "1.001000" }, { "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.017" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::KENTNL/License", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::KENTNL/MetaJSON", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::KENTNL/MetaYAML", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::KENTNL/Manifest", - "version" : "5.006" + "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.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::KENTNL/PodCoverageTests", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::KENTNL/PodSyntaxTests", - "version" : "5.006" + "version" : "5.020" }, { - "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", - "name" : "@Author::KENTNL/ReportVersions::Tiny", - "version" : "1.10" + "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", + "name" : "@Author::KENTNL/Test::ReportPrereqs", + "version" : "0.018" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", @@ -366,7 +380,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile", @@ -383,27 +397,28 @@ } }, "name" : "@Author::KENTNL/Test::Compile::PerFile", - "version" : "0.001001" + "version" : "0.002001" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", "name" : "@Author::KENTNL/Test::Perl::Critic", "version" : "2.112410" }, - { - "class" : "Dist::Zilla::Plugin::PruneCruft", - "name" : "@Author::KENTNL/PruneCruft", - "version" : "5.006" - }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::KENTNL/ManifestSkip", - "version" : "5.006" + "version" : "5.020" }, { - "class" : "Dist::Zilla::Plugin::PkgVersion", - "name" : "@Author::KENTNL/PkgVersion", - "version" : "5.006" + "class" : "Dist::Zilla::Plugin::RewriteVersion::Sanitized", + "config" : { + "Dist::Zilla::Role::Version::Sanitize" : { + "mantissa" : "6", + "normal_form" : "numify" + } + }, + "name" : "@Author::KENTNL/RewriteVersion::Sanitized", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -417,103 +432,98 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "-SingleEncoding", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Name", "name" : "Name", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Version", "name" : "Version", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Region", "name" : "prelude", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_ATTRIBUTES", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_METHODS", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "Leftovers", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Region", "name" : "postlude", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "Authors", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "Legal", - "version" : "4.004" + "version" : "4.006" } ] } }, "name" : "@Author::KENTNL/PodWeaver", - "version" : "4.002" - }, - { - "class" : "Dist::Zilla::Plugin::NextRelease", - "name" : "@Author::KENTNL/NextRelease", - "version" : "5.006" + "version" : "4.005" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::KENTNL/AutoPrereqs", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -523,24 +533,13 @@ "type" : "suggests" } }, - "name" : "@Author::KENTNL/Prereqs/BundleDevelSuggests", - "version" : "5.006" - }, - { - "class" : "Dist::Zilla::Plugin::Prereqs", - "config" : { - "Dist::Zilla::Plugin::Prereqs" : { - "phase" : "develop", - "type" : "requires" - } - }, - "name" : "@Author::KENTNL/Prereqs/BundleDevelRequires", - "version" : "5.006" + "name" : "@Author::KENTNL/BundleDevelSuggests", + "version" : "5.020" }, { - "class" : "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl", - "name" : "@Author::KENTNL/Author::KENTNL::MinimumPerl", - "version" : "2.002001" + "class" : "Dist::Zilla::Plugin::MinimumPerl", + "name" : "@Author::KENTNL/MinimumPerl", + "version" : "1.003" }, { "class" : "Dist::Zilla::Plugin::Authority", @@ -548,9 +547,14 @@ "version" : "1.006" }, { - "class" : "Dist::Zilla::Plugin::ModuleBuild", - "name" : "@Author::KENTNL/ModuleBuild", - "version" : "5.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::ReadmeFromPod", @@ -560,7 +564,7 @@ { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", "name" : "@Author::KENTNL/ReadmeAnyFromPod", - "version" : "0.133060" + "version" : "0.141760" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -568,75 +572,178 @@ "version" : "0.008" }, { - "class" : "Dist::Zilla::Plugin::CheckExtraTests", - "name" : "@Author::KENTNL/CheckExtraTests", - "version" : "0.016" + "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.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::KENTNL/ConfirmRelease", - "version" : "5.006" + "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.017" + "version" : "2.023" + }, + { + "class" : "Dist::Zilla::Plugin::Git::Commit", + "config" : { + "Dist::Zilla::Plugin::Git::Commit" : { + "add_files_in" : [], + "commit_msg" : "v%v%n%n%c", + "time_zone" : "local" + }, + "Dist::Zilla::Role::Git::DirtyFiles" : { + "allow_dirty" : [ + "dist.ini", + "Changes" + ], + "allow_dirty_match" : [], + "changelog" : "Changes" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, + "name" : "@Author::KENTNL/commit_dirty_files", + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", - "name" : "@Author::KENTNL/Git::Tag/tag_master", - "version" : "2.017" + "config" : { + "Dist::Zilla::Plugin::Git::Tag" : { + "branch" : null, + "signed" : 0, + "tag" : "1.000000-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.023" + }, + { + "class" : "Dist::Zilla::Plugin::Git::NextRelease", + "name" : "@Author::KENTNL/Git::NextRelease", + "version" : "0.002011" + }, + { + "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", + "name" : "@Author::KENTNL/BumpVersionAfterRelease", + "version" : "0.002" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", - "name" : "@Author::KENTNL/Git::Commit", - "version" : "2.017" + "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.023" }, { "class" : "Dist::Zilla::Plugin::Git::CommitBuild", + "config" : { + "Dist::Zilla::Plugin::Git::CommitBuild" : { + "branch" : "build/%b", + "build_root" : null, + "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.017" + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", - "name" : "@Author::KENTNL/Git::Tag/tag_release", - "version" : "2.017" + "config" : { + "Dist::Zilla::Plugin::Git::Tag" : { + "branch" : "releases", + "signed" : 0, + "tag" : "1.000000", + "tag_format" : "%v", + "tag_message" : "v%v", + "time_zone" : "local" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, + "name" : "@Author::KENTNL/tag_release", + "version" : "2.023" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::KENTNL/UploadToCPAN", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Twitter", "name" : "@Author::KENTNL/Twitter", - "version" : "0.023" + "version" : "0.025" }, { - "class" : "Dist::Zilla::Plugin::Prereqs::MatchInstalled", + "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", "config" : { - "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : { - "applyto" : [ - "build.requires", - "build.recommends", - "build.suggests", - "test.requires", - "test.recommends", - "test.suggests", - "runtime.requires", - "runtime.recommends", - "runtime.suggests", - "configure.requires", - "configure.recommends", - "configure.suggests", - "develop.requires", - "develop.recommends", - "develop.suggests" + "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", @@ -645,20 +752,33 @@ "configure", "develop" ], - "applyto_relation" : [ - "requires", - "recommends", - "suggests" + "modules" : [ + "ExtUtils::MakeMaker", + "Test::More" + ] + } + }, + "name" : "@Author::KENTNL/Prereqs::Recommend::MatchInstalled", + "version" : "0.002000" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", + "config" : { + "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : { + "applyto_map" : [ + "develop.suggests = develop.suggests" + ], + "applyto_phase" : [ + "develop" ], "modules" : [ - "Module::Build", - "Test::More", - "Dist::Zilla::PluginBundle::Author::KENTNL" + "Dist::Zilla::PluginBundle::Author::KENTNL", + "Dist::Zilla::App::Command::bakeini" ] } }, - "name" : "@Author::KENTNL/Prereqs::MatchInstalled", - "version" : "0.1.4" + "name" : "@Author::KENTNL/always_latest_develop_bundle", + "version" : "0.002000" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -669,17 +789,17 @@ } }, "name" : "@Author::KENTNL/::Role::BundleDeps", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FileFinder::ByName", "name" : "corpusfiles", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "corpus", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -690,37 +810,52 @@ } }, "name" : "TestRequires", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.006" + "version" : "5.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.006" + "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" : { @@ -728,9 +863,8 @@ "config" : { "is_trial" : "0" }, - "version" : "5.006" + "version" : "5.020" } }, "x_authority" : "cpan:KENTNL" } - diff --git a/META.yml b/META.yml index 05487b4..ed392f6 100644 --- a/META.yml +++ b/META.yml @@ -1,140 +1,140 @@ --- -abstract: 'Use a C directory on your dist for a module during bootstrap' +abstract: 'Use a share directory on your dist for a module during bootstrap' author: - 'Kent Fredric ' build_requires: - Cwd: 0 - Dist::Zilla::Plugin::Bootstrap::lib: 0.04000000 - File::Copy::Recursive: 0 - File::ShareDir: 0 - Module::Build: 0.4202 - Path::FindDev: 0 - Test::DZil: 0 - Test::Fatal: 0 - Test::More: 1.001002 + Dist::Zilla::Plugin::Bootstrap::lib: '0.04000000' + ExtUtils::MakeMaker: '0' + File::Copy::Recursive: '0' + File::ShareDir: '0' + File::Spec: '0' + Test::DZil: '0' + Test::Fatal: '0' + Test::More: '0.89' configure_requires: - Module::Build: 0.4202 -dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830' + 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 - version: 1.4 + version: '1.4' name: Dist-Zilla-Plugin-Bootstrap-ShareDir-Module provides: Dist::Zilla::Plugin::Bootstrap::ShareDir::Module: file: lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm - version: v0.2.0 + version: '1.000000' requires: - Dist::Zilla::Role::Bootstrap: 0 - Moose: 0 - MooseX::AttributeShortcuts: 0 - Path::Tiny: 0 - Test::File::ShareDir::Object::Module: 0 - perl: 5.006 - strict: 0 - warnings: 0 + Dist::Zilla::Role::Bootstrap: '0' + Moose: '0' + MooseX::AttributeShortcuts: '0' + Path::Tiny: '0' + Test::File::ShareDir::Object::Module: '0' + perl: '5.008' + strict: '0' + utf8: '0' + warnings: '0' resources: - bugtracker: https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module/issues - homepage: https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module - repository: https://github.com/kentfredric/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module.git -version: 0.2.0 + bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module/issues + homepage: https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module + repository: https://github.com/kentnl/Dist-Zilla-Plugin-Bootstrap-ShareDir-Module.git +version: '1.000000' x_BuiltWith: modules: - Cwd: 3.45 - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl: 2.002001 - Dist::Zilla::Plugin::Authority: 1.006 - Dist::Zilla::Plugin::AutoPrereqs: 5.006 - Dist::Zilla::Plugin::Bootstrap::lib: 0.04000002 - Dist::Zilla::Plugin::CheckExtraTests: 0.016 - Dist::Zilla::Plugin::ConfirmRelease: 5.006 - Dist::Zilla::Plugin::EOLTests: 0.02 - Dist::Zilla::Plugin::Git::Check: 2.017 - Dist::Zilla::Plugin::Git::Commit: 2.017 - Dist::Zilla::Plugin::Git::CommitBuild: 2.017 - Dist::Zilla::Plugin::Git::GatherDir: 2.017 - Dist::Zilla::Plugin::Git::NextVersion: 2.017 - Dist::Zilla::Plugin::Git::Tag: 2.017 - Dist::Zilla::Plugin::GithubMeta: 0.42 - Dist::Zilla::Plugin::License: 5.006 - Dist::Zilla::Plugin::Manifest: 5.006 - Dist::Zilla::Plugin::ManifestSkip: 5.006 - Dist::Zilla::Plugin::MetaConfig: 5.006 - Dist::Zilla::Plugin::MetaData::BuiltWith: 0.04000000 - Dist::Zilla::Plugin::MetaJSON: 5.006 - Dist::Zilla::Plugin::MetaProvides::Package: 1.15000000 - Dist::Zilla::Plugin::MetaTests: 5.006 - Dist::Zilla::Plugin::MetaYAML: 5.006 - Dist::Zilla::Plugin::ModuleBuild: 5.006 - Dist::Zilla::Plugin::NextRelease: 5.006 - Dist::Zilla::Plugin::PkgVersion: 5.006 - Dist::Zilla::Plugin::PodCoverageTests: 5.006 - Dist::Zilla::Plugin::PodSyntaxTests: 5.006 - Dist::Zilla::Plugin::PodWeaver: 4.002 - Dist::Zilla::Plugin::Prereqs: 5.006 - Dist::Zilla::Plugin::Prereqs::MatchInstalled: 0.1.4 - Dist::Zilla::Plugin::PruneCruft: 5.006 - Dist::Zilla::Plugin::ReadmeAnyFromPod: 0.133060 - Dist::Zilla::Plugin::ReadmeFromPod: 0.21 - Dist::Zilla::Plugin::ReportVersions::Tiny: 1.10 - Dist::Zilla::Plugin::Test::CPAN::Changes: 0.008 - Dist::Zilla::Plugin::Test::Compile::PerFile: 0.001001 - 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::TestRelease: 5.006 - Dist::Zilla::Plugin::Twitter: 0.023 - Dist::Zilla::Plugin::UploadToCPAN: 5.006 - Dist::Zilla::PluginBundle::Author::KENTNL: 2.002001 - Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 1.7.2 - Dist::Zilla::Role::Bootstrap: 0.2.3 - File::Copy::Recursive: 0.38 - File::ShareDir: 1.03 - Module::Build: 0.4202 - Moose: 2.1106 - MooseX::AttributeShortcuts: 0.022 - Path::FindDev: 0.4.2 - Path::Tiny: 0.044 - Pod::Coverage::TrustPod: 0.100003 - Test::CPAN::Changes: 0.25 - Test::CPAN::Meta: 0.23 - Test::DZil: 5.006 - Test::Fatal: 0.013 - Test::File::ShareDir::Object::Module: 0.4.1 - Test::Kwalitee: 1.17 - Test::More: 1.001002 - Test::Pod: 1.48 - Test::Pod::Coverage: 1.08 - strict: 1.08 - version: 0.9904 - warnings: 1.20 + CPAN::Meta: '2.142060' + Dist::Zilla::App::Command::bakeini: '0.001001' + Dist::Zilla::Plugin::Authority: '1.006' + Dist::Zilla::Plugin::AutoPrereqs: '5.020' + Dist::Zilla::Plugin::Bootstrap::lib: '1.000003' + Dist::Zilla::Plugin::BumpVersionAfterRelease: '0.002' + 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::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.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.020' + Dist::Zilla::Plugin::PodSyntaxTests: '5.020' + Dist::Zilla::Plugin::PodWeaver: '4.005' + Dist::Zilla::Plugin::Prereqs: '5.020' + Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: '0.002000' + Dist::Zilla::Plugin::ReadmeAnyFromPod: '0.141760' + Dist::Zilla::Plugin::ReadmeFromPod: '0.21' + Dist::Zilla::Plugin::RewriteVersion::Sanitized: '0.001001' + Dist::Zilla::Plugin::RunExtraTests: '0.022' + Dist::Zilla::Plugin::Test::CPAN::Changes: '0.008' + 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.018' + Dist::Zilla::Plugin::TestRelease: '5.020' + Dist::Zilla::Plugin::Twitter: '0.025' + Dist::Zilla::Plugin::UploadToCPAN: '5.020' + Dist::Zilla::PluginBundle::Author::KENTNL: '2.016007' + Dist::Zilla::Role::Bootstrap: '1.000002' + ExtUtils::MakeMaker: '6.98' + File::Copy::Recursive: '0.38' + File::ShareDir: '1.102' + File::Spec: '3.48' + Moose: '2.1210' + MooseX::AttributeShortcuts: '0.024' + Path::Tiny: '0.055' + Pod::Coverage::TrustPod: '0.100003' + Test::CPAN::Changes: '0.30' + Test::CPAN::Meta: '0.23' + Test::DZil: '5.020' + Test::Fatal: '0.013' + Test::File::ShareDir::Object::Module: '1.000004' + Test::Kwalitee: '1.19' + Test::More: '1.001003' + Test::Pod: '1.48' + Test::Pod::Coverage: '1.10' + strict: '1.08' + utf8: '1.14' + warnings: '1.24' perl: - original: v5.19.5 + original: v5.21.1 qv: 1 version: - 5 - - 19 - - 5 + - 21 + - 1 perl-config: - gccversion: 4.7.3 + gccversion: 4.8.3 myarchname: x86_64-linux osname: linux platform: linux - uname: 'Linux 3.12.0-gentoo x86_64 GenuineIntel GNU/Linux' + uname: 'Linux 3.15.5-aufs x86_64 GenuineIntel GNU/Linux' x_Dist_Zilla: perl: - version: 5.019005 + version: '5.021001' plugins: - class: Dist::Zilla::Plugin::Bootstrap::lib config: Dist::Zilla::Role::Bootstrap: distname: Dist-Zilla-Plugin-Bootstrap-ShareDir-Module - fallback: 1 - try_built: 1 + fallback: '1' + try_built: '1' try_built_method: mtime name: Bootstrap::lib - version: 0.04000002 + version: '1.000003' - class: Dist::Zilla::Plugin::Bootstrap::ShareDir::Module config: @@ -143,106 +143,112 @@ x_Dist_Zilla: Bootstrap::ShareDir::Module: share/B-SD-M Dist::Zilla::Role::Bootstrap: distname: Dist-Zilla-Plugin-Bootstrap-ShareDir-Module - fallback: 1 - try_built: 1 + fallback: '1' + try_built: '1' try_built_method: mtime name: Bootstrap::ShareDir::Module - version: 0.2.0 - - - class: Dist::Zilla::Plugin::Git::NextVersion - name: '@Author::KENTNL/Git::NextVersion' - version: 2.017 + version: '1.000000' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::KENTNL/MetaConfig' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::GithubMeta name: '@Author::KENTNL/GithubMeta' - version: 0.42 - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: 5.006 + version: '0.46' - class: Dist::Zilla::Plugin::MetaProvides::Package config: - Dist::Zilla::Plugin::MetaProvides::Package: {} + 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 + inherit_missing: '1' + inherit_version: '1' + meta_noindex: '1' name: '@Author::KENTNL/MetaProvides::Package' - version: 1.15000000 + version: '2.000003' - class: Dist::Zilla::Plugin::MetaData::BuiltWith config: Dist::Zilla::Plugin::MetaData::BuiltWith: _stash_key: x_BuiltWith - show_config: 1 - show_uname: 1 + show_config: '1' + show_uname: '1' uname: uname_args: - - '-s' - - '-o' - - '-r' - - '-m' - - '-i' + - -s + - -o + - -r + - -m + - -i uname_call: uname name: '@Author::KENTNL/MetaData::BuiltWith' - version: 0.04000000 + version: '1.001000' - 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.017 + version: '2.023' - class: Dist::Zilla::Plugin::License name: '@Author::KENTNL/License' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::KENTNL/MetaJSON' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::KENTNL/MetaYAML' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::Manifest name: '@Author::KENTNL/Manifest' - version: 5.006 + 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.006 + version: '5.020' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::KENTNL/PodCoverageTests' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::KENTNL/PodSyntaxTests' - version: 5.006 + version: '5.020' - - class: Dist::Zilla::Plugin::ReportVersions::Tiny - name: '@Author::KENTNL/ReportVersions::Tiny' - version: 1.10 + class: Dist::Zilla::Plugin::Test::ReportPrereqs + name: '@Author::KENTNL/Test::ReportPrereqs' + version: '0.018' - class: Dist::Zilla::Plugin::Test::Kwalitee name: '@Author::KENTNL/Test::Kwalitee' - version: 2.07 + version: '2.07' - class: Dist::Zilla::Plugin::EOLTests name: '@Author::KENTNL/EOLTests' - version: 0.02 + version: '0.02' - class: Dist::Zilla::Plugin::Test::MinimumVersion name: '@Author::KENTNL/Test::MinimumVersion' - version: 2.000005 + version: '2.000005' - class: Dist::Zilla::Plugin::FinderCode name: '@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::Test::Compile::PerFile config: @@ -255,23 +261,23 @@ x_Dist_Zilla: test_template: 01-basic.t.tpl xt_mode: ~ name: '@Author::KENTNL/Test::Compile::PerFile' - version: 0.001001 + version: '0.002001' - class: Dist::Zilla::Plugin::Test::Perl::Critic name: '@Author::KENTNL/Test::Perl::Critic' - version: 2.112410 - - - class: Dist::Zilla::Plugin::PruneCruft - name: '@Author::KENTNL/PruneCruft' - version: 5.006 + version: '2.112410' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Author::KENTNL/ManifestSkip' - version: 5.006 + version: '5.020' - - class: Dist::Zilla::Plugin::PkgVersion - name: '@Author::KENTNL/PkgVersion' - version: 5.006 + class: Dist::Zilla::Plugin::RewriteVersion::Sanitized + config: + Dist::Zilla::Role::Version::Sanitize: + mantissa: '6' + normal_form: numify + name: '@Author::KENTNL/RewriteVersion::Sanitized' + version: '0.001001' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -283,197 +289,269 @@ x_Dist_Zilla: - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Plugin::SingleEncoding - name: '-SingleEncoding' - version: 4.004 + name: -SingleEncoding + version: '4.006' - class: Pod::Weaver::Section::Name name: Name - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Version name: Version - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Region name: prelude - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: SYNOPSIS - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: DESCRIPTION - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: OVERVIEW - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: METHODS - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: PRIVATE_ATTRIBUTES - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: PRIVATE_METHODS - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Leftovers name: Leftovers - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Region name: postlude - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Authors name: Authors - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Legal name: Legal - version: 4.004 + version: '4.006' name: '@Author::KENTNL/PodWeaver' - version: 4.002 - - - class: Dist::Zilla::Plugin::NextRelease - name: '@Author::KENTNL/NextRelease' - version: 5.006 + version: '4.005' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::KENTNL/AutoPrereqs' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: suggests - name: '@Author::KENTNL/Prereqs/BundleDevelSuggests' - version: 5.006 - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: develop - type: requires - name: '@Author::KENTNL/Prereqs/BundleDevelRequires' - version: 5.006 + name: '@Author::KENTNL/BundleDevelSuggests' + version: '5.020' - - class: Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl - name: '@Author::KENTNL/Author::KENTNL::MinimumPerl' - version: 2.002001 + class: Dist::Zilla::Plugin::MinimumPerl + name: '@Author::KENTNL/MinimumPerl' + version: '1.003' - class: Dist::Zilla::Plugin::Authority name: '@Author::KENTNL/Authority' - version: 1.006 + version: '1.006' - - class: Dist::Zilla::Plugin::ModuleBuild - name: '@Author::KENTNL/ModuleBuild' - version: 5.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::ReadmeFromPod name: '@Author::KENTNL/ReadmeFromPod' - version: 0.21 + version: '0.21' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod name: '@Author::KENTNL/ReadmeAnyFromPod' - version: 0.133060 + version: '0.141760' - class: Dist::Zilla::Plugin::Test::CPAN::Changes name: '@Author::KENTNL/Test::CPAN::Changes' - version: 0.008 + version: '0.008' - - class: Dist::Zilla::Plugin::CheckExtraTests - name: '@Author::KENTNL/CheckExtraTests' - version: 0.016 + 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.006 + version: '5.020' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::KENTNL/ConfirmRelease' - version: 5.006 + 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.017 + version: '2.023' + - + class: Dist::Zilla::Plugin::Git::Commit + config: + Dist::Zilla::Plugin::Git::Commit: + add_files_in: [] + commit_msg: v%v%n%n%c + time_zone: local + Dist::Zilla::Role::Git::DirtyFiles: + allow_dirty: + - dist.ini + - Changes + allow_dirty_match: [] + changelog: Changes + Dist::Zilla::Role::Git::Repo: + repo_root: . + name: '@Author::KENTNL/commit_dirty_files' + version: '2.023' - class: Dist::Zilla::Plugin::Git::Tag - name: '@Author::KENTNL/Git::Tag/tag_master' - version: 2.017 + config: + Dist::Zilla::Plugin::Git::Tag: + branch: ~ + signed: '0' + tag: 1.000000-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.023' + - + class: Dist::Zilla::Plugin::Git::NextRelease + name: '@Author::KENTNL/Git::NextRelease' + version: '0.002011' + - + class: Dist::Zilla::Plugin::BumpVersionAfterRelease + name: '@Author::KENTNL/BumpVersionAfterRelease' + version: '0.002' - class: Dist::Zilla::Plugin::Git::Commit - name: '@Author::KENTNL/Git::Commit' - version: 2.017 + 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.023' - 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.017 + version: '2.023' - class: Dist::Zilla::Plugin::Git::Tag - name: '@Author::KENTNL/Git::Tag/tag_release' - version: 2.017 + config: + Dist::Zilla::Plugin::Git::Tag: + branch: releases + signed: '0' + tag: '1.000000' + tag_format: '%v' + tag_message: v%v + time_zone: local + Dist::Zilla::Role::Git::Repo: + repo_root: . + name: '@Author::KENTNL/tag_release' + version: '2.023' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::KENTNL/UploadToCPAN' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::Twitter name: '@Author::KENTNL/Twitter' - version: 0.023 + version: '0.025' - - class: Dist::Zilla::Plugin::Prereqs::MatchInstalled + class: Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled config: - Dist::Zilla::Plugin::Prereqs::MatchInstalled: - applyto: - - build.requires - - build.recommends - - build.suggests - - test.requires - - test.recommends - - test.suggests - - runtime.requires - - runtime.recommends - - runtime.suggests - - configure.requires - - configure.recommends - - configure.suggests - - develop.requires - - develop.recommends - - develop.suggests + 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 - applyto_relation: - - requires - - recommends - - suggests modules: - - Module::Build + - ExtUtils::MakeMaker - Test::More + name: '@Author::KENTNL/Prereqs::Recommend::MatchInstalled' + version: '0.002000' + - + 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 - name: '@Author::KENTNL/Prereqs::MatchInstalled' - version: 0.1.4 + - Dist::Zilla::App::Command::bakeini + name: '@Author::KENTNL/always_latest_develop_bundle' + version: '0.002000' - class: Dist::Zilla::Plugin::Prereqs config: @@ -481,15 +559,15 @@ x_Dist_Zilla: phase: develop type: requires name: '@Author::KENTNL/::Role::BundleDeps' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FileFinder::ByName name: corpusfiles - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::AutoPrereqs name: corpus - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::Prereqs config: @@ -497,34 +575,46 @@ x_Dist_Zilla: phase: test type: requires name: TestRequires - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 5.006 + version: '5.020' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 5.006 + 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.006 + is_trial: '0' + version: '5.020' x_authority: cpan:KENTNL diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..b3eef4a --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,81 @@ + +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020. +use strict; +use warnings; + +use 5.008; + +use ExtUtils::MakeMaker ; + + + +my %WriteMakefileArgs = ( + "ABSTRACT" => "Use a share directory on your dist for a module during bootstrap", + "AUTHOR" => "Kent Fredric ", + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => 0 + }, + "DISTNAME" => "Dist-Zilla-Plugin-Bootstrap-ShareDir-Module", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "Dist::Zilla::Plugin::Bootstrap::ShareDir::Module", + "PREREQ_PM" => { + "Dist::Zilla::Role::Bootstrap" => 0, + "Moose" => 0, + "MooseX::AttributeShortcuts" => 0, + "Path::Tiny" => 0, + "Test::File::ShareDir::Object::Module" => 0, + "strict" => 0, + "utf8" => 0, + "warnings" => 0 + }, + "TEST_REQUIRES" => { + "Dist::Zilla::Plugin::Bootstrap::lib" => "0.04000000", + "ExtUtils::MakeMaker" => 0, + "File::Copy::Recursive" => 0, + "File::ShareDir" => 0, + "File::Spec" => 0, + "Test::DZil" => 0, + "Test::Fatal" => 0, + "Test::More" => "0.89" + }, + "VERSION" => "1.000000", + "test" => { + "TESTS" => "t/*.t t/00-compile/*.t" + } +); + + +my %FallbackPrereqs = ( + "Dist::Zilla::Plugin::Bootstrap::lib" => "0.04000000", + "Dist::Zilla::Role::Bootstrap" => 0, + "ExtUtils::MakeMaker" => 0, + "File::Copy::Recursive" => 0, + "File::ShareDir" => 0, + "File::Spec" => 0, + "Moose" => 0, + "MooseX::AttributeShortcuts" => 0, + "Path::Tiny" => 0, + "Test::DZil" => 0, + "Test::Fatal" => 0, + "Test::File::ShareDir::Object::Module" => 0, + "Test::More" => "0.89", + "strict" => 0, + "utf8" => 0, + "warnings" => 0 +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; +} + +delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +WriteMakefile(%WriteMakefileArgs); + + + diff --git a/README b/README index 677b851..87c2173 100644 --- a/README +++ b/README @@ -1,15 +1,15 @@ NAME - Dist::Zilla::Plugin::Bootstrap::ShareDir::Module - Use a "share" - directory on your dist for a module during bootstrap + Dist::Zilla::Plugin::Bootstrap::ShareDir::Module - Use a share directory + on your dist for a module during bootstrap VERSION - version 0.2.0 + version 1.000000 AUTHOR Kent Fredric COPYRIGHT AND LICENSE - This software is copyright (c) 2013 by Kent Fredric + This software is copyright (c) 2014 by Kent Fredric . This is free software; you can redistribute it and/or modify it under diff --git a/dist.ini b/dist.ini index 3f70702..ba013db 100644 --- a/dist.ini +++ b/dist.ini @@ -1,10 +1,10 @@ -; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.8.3 at Thu Sep 5 01:09:10 2013 -name = Dist-Zilla-Plugin-Bootstrap-ShareDir-Module -author = Kent Fredric -license = Perl_5 +; This file is generated from dist.ini.meta by dzil bakeini. +; Edit that file or the bundles contained within for long-term changes. +name = Dist-Zilla-Plugin-Bootstrap-ShareDir-Module +author = Kent Fredric +license = Perl_5 copyright_holder = Kent Fredric -; Uncomment this to bootstrap via self [Bootstrap::lib] :version = 0.04000000 try_built = 1 @@ -13,20 +13,186 @@ try_built = 1 try_built = 1 Bootstrap::ShareDir::Module = share/B-SD-M -[@Author::KENTNL] -:version = 1.2.0 -git_versions = 1 -no_fiveten = 1 -; version_major = 0 -; version_minor = 1 -; the following data denotes when this minor was minted -; version_rel_year = 2013 -; version_rel_month = 9 -; version_rel_day = 5 -; version_rel_hour = 1 -; version_rel_time_zone = Pacific/Auckland -twitter_hash_tags = #perl #cpan -; auto_prereqs_skip = File::Find +[MetaConfig / @Author::KENTNL/MetaConfig] + +[GithubMeta / @Author::KENTNL/GithubMeta] +issues = 1 + +[MetaProvides::Package / @Author::KENTNL/MetaProvides::Package] +:version = 1.14000001 + +[MetaData::BuiltWith / @Author::KENTNL/MetaData::BuiltWith] +show_config = 1 +show_uname = 1 +uname_args = -s -o -r -m -i + +[Git::GatherDir / @Author::KENTNL/Git::GatherDir] +exclude_filename = README +exclude_filename = README.mkdn +exclude_filename = README.pod +exclude_filename = LICENSE +include_dotfiles = 1 + +[License / @Author::KENTNL/License] + +[MetaJSON / @Author::KENTNL/MetaJSON] + +[MetaYAML / @Author::KENTNL/MetaYAML] + +[Manifest / @Author::KENTNL/Manifest] + +[CopyFilesFromBuild / @Author::KENTNL/CopyXBuild] +copy = LICENSE + +[MetaTests / @Author::KENTNL/MetaTests] + +[PodCoverageTests / @Author::KENTNL/PodCoverageTests] + +[PodSyntaxTests / @Author::KENTNL/PodSyntaxTests] + +[Test::ReportPrereqs / @Author::KENTNL/Test::ReportPrereqs] + +[Test::Kwalitee / @Author::KENTNL/Test::Kwalitee] + +[EOLTests / @Author::KENTNL/EOLTests] +trailing_whitespace = 1 + +[Test::MinimumVersion / @Author::KENTNL/Test::MinimumVersion] + +[Test::Compile::PerFile / @Author::KENTNL/Test::Compile::PerFile] + +[Test::Perl::Critic / @Author::KENTNL/Test::Perl::Critic] + +[ManifestSkip / @Author::KENTNL/ManifestSkip] + +[RewriteVersion::Sanitized / @Author::KENTNL/RewriteVersion::Sanitized] +mantissa = 6 +normal_form = numify + +[PodWeaver / @Author::KENTNL/PodWeaver] +replacer = replace_with_blank + +[AutoPrereqs / @Author::KENTNL/AutoPrereqs] + +[Prereqs / @Author::KENTNL/BundleDevelSuggests] +-phase = develop +-type = suggests +Dist::Zilla::App::Command::bakeini = 0.001000 +Dist::Zilla::PluginBundle::Author::KENTNL = 2.016007 + +[MinimumPerl / @Author::KENTNL/MinimumPerl] + +[Authority / @Author::KENTNL/Authority] +:version = 1.006 +authority = cpan:KENTNL +do_metadata = 1 +locate_comment = 1 + +[MakeMaker / @Author::KENTNL/MakeMaker] +default_jobs = 10 + +[ReadmeFromPod / @Author::KENTNL/ReadmeFromPod] + +[ReadmeAnyFromPod / @Author::KENTNL/ReadmeAnyFromPod] +filename = README.mkdn +location = root +type = markdown + +[Test::CPAN::Changes / @Author::KENTNL/Test::CPAN::Changes] + +[RunExtraTests / @Author::KENTNL/RunExtraTests] +default_jobs = 10 + +[TestRelease / @Author::KENTNL/TestRelease] + +[ConfirmRelease / @Author::KENTNL/ConfirmRelease] + +[Git::Check / @Author::KENTNL/Git::Check] +filename = Changes + +[Git::Commit / @Author::KENTNL/commit_dirty_files] + +[Git::Tag / @Author::KENTNL/tag_master] +tag_format = %v-source + +[Git::NextRelease / @Author::KENTNL/Git::NextRelease] +format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ +time_zone = UTC + +[BumpVersionAfterRelease / @Author::KENTNL/BumpVersionAfterRelease] + +[Git::Commit / @Author::KENTNL/commit_release_changes] +allow_dirty_match = ^lib/ + +[Git::CommitBuild / @Author::KENTNL/Git::CommitBuild] +release_branch = releases + +[Git::Tag / @Author::KENTNL/tag_release] +branch = releases +tag_format = %v + +[UploadToCPAN / @Author::KENTNL/UploadToCPAN] + +[Twitter / @Author::KENTNL/Twitter] +hash_tags = #perl #cpan +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::Recommend::MatchInstalled / @Author::KENTNL/always_latest_develop_bundle] +applyto_map = develop.suggests = develop.suggests +applyto_phase = develop +modules = Dist::Zilla::PluginBundle::Author::KENTNL +modules = Dist::Zilla::App::Command::bakeini + +[Prereqs / @Author::KENTNL/::Role::BundleDeps] +-phase = develop +-relationship = requires +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 +Dist::Zilla::Plugin::Git::GatherDir = 0 +Dist::Zilla::Plugin::Git::NextRelease = 0 +Dist::Zilla::Plugin::Git::Tag = 0 +Dist::Zilla::Plugin::GithubMeta = 0 +Dist::Zilla::Plugin::License = 0 +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::MetaJSON = 0 +Dist::Zilla::Plugin::MetaProvides::Package = 1.14000001 +Dist::Zilla::Plugin::MetaTests = 0 +Dist::Zilla::Plugin::MetaYAML = 0 +Dist::Zilla::Plugin::MinimumPerl = 0 +Dist::Zilla::Plugin::PodCoverageTests = 0 +Dist::Zilla::Plugin::PodSyntaxTests = 0 +Dist::Zilla::Plugin::PodWeaver = 0 +Dist::Zilla::Plugin::Prereqs = 0 +Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled = 0 +Dist::Zilla::Plugin::ReadmeAnyFromPod = 0 +Dist::Zilla::Plugin::ReadmeFromPod = 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::Kwalitee = 0 +Dist::Zilla::Plugin::Test::MinimumVersion = 0 +Dist::Zilla::Plugin::Test::Perl::Critic = 0 +Dist::Zilla::Plugin::Test::ReportPrereqs = 0 +Dist::Zilla::Plugin::TestRelease = 0 +Dist::Zilla::Plugin::Twitter = 0 +Dist::Zilla::Plugin::UploadToCPAN = 0 [FileFinder::ByName / corpusfiles] dir = corpus diff --git a/dist.ini.meta b/dist.ini.meta new file mode 100644 index 0000000..b103261 --- /dev/null +++ b/dist.ini.meta @@ -0,0 +1,47 @@ +; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.8.3 at Thu Sep 5 01:09:10 2013 +name = Dist-Zilla-Plugin-Bootstrap-ShareDir-Module +author = Kent Fredric +license = Perl_5 +copyright_holder = Kent Fredric + +; Uncomment this to bootstrap via self +[Bootstrap::lib] +:version = 0.04000000 +try_built = 1 + +[Bootstrap::ShareDir::Module] +try_built = 1 +Bootstrap::ShareDir::Module = share/B-SD-M + +[@Author::KENTNL] +:version = 1.2.0 +git_versions = 1 +twitter_hash_tags = #perl #cpan +normal_form = numify +mantissa = 6 +toolkit = eumm +toolkit_hardness = soft +bumpversions = 1 +copyfiles = LICENSE +srcreadme = mkdn + +; version_major = 0 +; version_minor = 1 +; the following data denotes when this minor was minted +; version_rel_year = 2013 +; version_rel_month = 9 +; version_rel_day = 5 +; version_rel_hour = 1 +; version_rel_time_zone = Pacific/Auckland +; auto_prereqs_skip = File::Find + +[FileFinder::ByName / corpusfiles] +dir = corpus +match = \.pm$ + +[AutoPrereqs / corpus] +test_filder = corpusfiles + +[Prereqs / TestRequires] +Dist::Zilla::Plugin::Bootstrap::lib = 0.04000000 +File::ShareDir = 0 diff --git a/lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm b/lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm index 5e9bd49..6a5503b 100644 --- a/lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm +++ b/lib/Dist/Zilla/Plugin/Bootstrap/ShareDir/Module.pm @@ -1,22 +1,34 @@ +use 5.008; # utf8 use strict; use warnings; +use utf8; package Dist::Zilla::Plugin::Bootstrap::ShareDir::Module; -BEGIN { - $Dist::Zilla::Plugin::Bootstrap::ShareDir::Module::AUTHORITY = 'cpan:KENTNL'; -} -{ - $Dist::Zilla::Plugin::Bootstrap::ShareDir::Module::VERSION = '0.2.0'; -} -# ABSTRACT: Use a C directory on your dist for a module during bootstrap +our $VERSION = '1.000000'; + +# ABSTRACT: Use a share directory on your dist for a module during bootstrap + +our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY -use Moose; +use Moose qw( with has around ); use MooseX::AttributeShortcuts; with 'Dist::Zilla::Role::Bootstrap'; + + + + + + + + + + + + has module_map => ( is => 'ro', isa => 'HashRef', @@ -29,13 +41,13 @@ around 'dump_config' => sub { my ( $orig, $self, @args ) = @_; my $config = $self->$orig(@args); my $localconf = {}; - for my $var (qw( module_map )) { - my $pred = 'has_' . $var; + for my $attribute (qw( module_map )) { + my $pred = 'has_' . $attribute; if ( $self->can($pred) ) { next unless $self->$pred(); } - if ( $self->can($var) ) { - $localconf->{$var} = $self->$var(); + if ( $self->can($attribute) ) { + $localconf->{$attribute} = $self->$attribute(); } } $config->{ q{} . __PACKAGE__ } = $localconf; @@ -71,21 +83,21 @@ sub bootstrap { $resolved_map->{$key} = Path::Tiny::path( $self->module_map->{$key} )->absolute($root); } require Test::File::ShareDir::Object::Module; - my $object = Test::File::ShareDir::Object::Module->new( modules => $resolved_map ); - for my $module ( $object->module_names ) { + my $share_object = Test::File::ShareDir::Object::Module->new( modules => $resolved_map ); + for my $module ( $share_object->module_names ) { $self->log( [ 'Bootstrapped sharedir for %s -> %s', $module, $resolved_map->{$module}->relative(q[.])->stringify ] ); $self->log_debug( [ 'Installing module %s sharedir ( %s => %s )', "$module", - $object->module_share_source_dir($module) . q{}, - $object->module_share_target_dir($module) . q{}, - ] + $share_object->module_share_source_dir($module) . q{}, + $share_object->module_share_target_dir($module) . q{}, + ], ); - $object->install_module($module); + $share_object->install_module($module); } - $self->_add_inc( $object->inc->tempdir . q{} ); - $self->log_debug( [ 'Sharedir for %s installed to %s', $self->distname, $object->inc->module_tempdir . q{} ] ); + $self->_add_inc( $share_object->inc->tempdir . q{} ); + $self->log_debug( [ 'Sharedir for %s installed to %s', $self->distname, $share_object->inc->module_tempdir . q{} ] ); return; } @@ -103,11 +115,11 @@ __END__ =head1 NAME -Dist::Zilla::Plugin::Bootstrap::ShareDir::Module - Use a C directory on your dist for a module during bootstrap +Dist::Zilla::Plugin::Bootstrap::ShareDir::Module - Use a share directory on your dist for a module during bootstrap =head1 VERSION -version 0.2.0 +version 1.000000 =begin MetaPOD::JSON v1.1.0 @@ -127,7 +139,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2013 by Kent Fredric . +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. diff --git a/maint-travis-ci/README.mkdn b/maint-travis-ci/README.mkdn deleted file mode 100644 index 80d1add..0000000 --- a/maint-travis-ci/README.mkdn +++ /dev/null @@ -1,53 +0,0 @@ -# ABOUT - -This repository contains a directory full of utilities to bolt on -to CPAN-targeting distributions, to add useful `travis-ci` features to those dists. - -# PREREQS - -All that is needed at present to get started, is a copy of `git` that provides `git subtree`, and a copy of `Path::FindDev` from `CPAN`. - -You don't need `Path::FindDev` during deployment, its just used to streamline -automated patching. - -# INSTALLING - -First, check out a copy of these scripts, it can be a temporary directory, -and you'll only need to do this once. - -```shell -$ mkdir /tmp/tci-scripts -$ cd /tmp/tci-scripts -$ git clone https://github.com/kentfredric/travis-scripts.git -``` - -Then, chdir to the root of your project - -```shell -$ chdir $PROJECT -``` - -And lastly, execute the installer - -```shell -$ /tmp/tci-scripts/sync_tree.pl -``` - -This will create the folder called `maint-travis-ci` within your distribution, -with a tree installed by `git subtree`, which will track this distribution. - -To update your copy of `/maint-travis-ci` to the latest, simply execute - -```shell -$ $PROJECT/maint-travis-ci/sync_tree.pl -``` - -While somewhere in your project. - -# CAVEATS - -Note, this tool uses `Path::FindDev`, and by proxy, `Path::IsDev` to find a development -root directory somewhere in the ancestry of `$CWD`. - -As such, you will likely need to appease `Path::IsDev` by having a file of some description that -marks the root of the development tree. diff --git a/maint-travis-ci/before_script.pl b/maint-travis-ci/before_script.pl deleted file mode 100644 index f852b51..0000000 --- a/maint-travis-ci/before_script.pl +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -use FindBin; -use lib "$FindBin::Bin/lib"; -use tools; - -if ( not env_exists('STERILIZE_ENV') ) { - diag("\e[31mSTERILIZE_ENV \e[32munset\e[0m, skipping"); - exit 0; -} -if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) { - diag("before_script skipped, TRAVIS_BRANCH=master"); - exit 0; -} -else { - if ( -e './Build.PL' ) { - safe_exec( $^X, './Build.PL' ); - safe_exec("./Build"); - exit 0; - } - if ( -e './Makefile.PL' ) { - safe_exec( $^X, './Makefile.PL' ); - safe_exec("make"); - exit 0; - } - -} - diff --git a/maint-travis-ci/install_deps.pl b/maint-travis-ci/install_deps.pl deleted file mode 100644 index 58e2b22..0000000 --- a/maint-travis-ci/install_deps.pl +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/env perl -use strict; -use warnings; -use utf8; - -use FindBin; -use lib "$FindBin::Bin/lib"; -use tools; - -if ( not env_exists('TRAVIS') ) { - diag('Is not running under travis!'); - exit 1; -} -if ( not env_exists('STERILIZE_ENV') ) { - diag("\e[31STERILIZE_ENV is not set, skipping, because this is probably Travis's Default ( and unwanted ) target"); - exit 0; -} -if ( env_is( 'TRAVIS_BRANCH', 'master' ) and env_is( 'TRAVIS_PERL_VERSION', '5.8' ) ) { - diag("\e[31minstalldeps skipped on 5.8 on master, because \@Git, a dependency of \@Author::KENTNL, is unavailble on 5.8\e[0m"); - exit 0; -} -my (@params) = qw[ --quiet --notest --mirror http://cpan.metacpan.org/ --no-man-pages ]; -if ( env_true('DEVELOPER_DEPS') ) { - push @params, '--dev'; -} -if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) { - cpanm( @params, 'Dist::Zilla', 'Capture::Tiny', 'Pod::Weaver' ); - cpanm( @params, '--dev', 'Dist::Zilla~>5.002', 'Pod::Weaver' ); - safe_exec( 'git', 'config', '--global', 'user.email', 'kentfredric+travisci@gmail.com' ); - safe_exec( 'git', 'config', '--global', 'user.name', 'Travis CI ( On behalf of Kent Fredric )' ); - - my $stdout = capture_stdout { - safe_exec( 'dzil', 'authordeps', '--missing' ); - }; - - if ( $stdout !~ /^\s*$/msx ) { - cpanm( @params, split /\n/, $stdout ); - } - $stdout = capture_stdout { - safe_exec( 'dzil', 'listdeps', '--missing' ); - }; - - if ( $stdout !~ /^\s*$/msx ) { - cpanm( @params, split /\n/, $stdout ); - } -} -else { - cpanm( @params, '--installdeps', '.' ); - if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) { - my $prereqs = parse_meta_json()->effective_prereqs; - my $reqs = $prereqs->requirements_for( 'develop', 'requires' ); - my @wanted; - - for my $want ( $reqs->required_modules ) { - my $module_requirement = $reqs->requirements_for_module($want); - if ( $module_requirement =~ /^\d/ ) { - push @wanted, $want . '~>=' . $module_requirement; - next; - } - push @wanted, $want . '~' . $module_requirement; - } - cpanm( @params, @wanted ); - - } -} - -exit 0; diff --git a/maint-travis-ci/lib/tools.pm b/maint-travis-ci/lib/tools.pm deleted file mode 100644 index 0da1620..0000000 --- a/maint-travis-ci/lib/tools.pm +++ /dev/null @@ -1,173 +0,0 @@ -use strict; -use warnings; - -package tools; - -use Cwd qw(cwd); -use Config; - -sub diag { - my $handle = \*STDERR; - for (@_) { - print {$handle} $_; - } - print {$handle} "\n"; -} - -sub env_exists { - return exists $ENV{ $_[0] }; -} - -sub env_true { - return ( env_exists( $_[0] ) and $ENV{ $_[0] } ); -} -sub env_is { return ( env_exists( $_[0] ) and $ENV{ $_[0] } eq $_[1] ) } - -sub safe_exec_nonfatal { - my ( $command, @params ) = @_; - diag("running $command @params"); - my $exit = system( $command, @params ); - if ( $exit != 0 ) { - my $low = $exit & 0b11111111; - my $high = $exit >> 8; - warn "$command failed: $? $! and exit = $high , flags = $low"; - if ( $high != 0 ) { - return $high; - } - else { - return 1; - } - - } - return 0; -} - -sub safe_exec { - my ( $command, @params ) = @_; - my $exit_code = safe_exec_nonfatal( $command, @params ); - if ( $exit_code != 0 ) { - exit $exit_code; - } - return 1; -} - -sub cpanm { - my (@params) = @_; - my $exit_code = safe_exec_nonfatal( 'cpanm', @params ); - if ( $exit_code != 0 ) { - safe_exec( 'tail', '-n', '200', '/home/travis/.cpanm/build.log' ); - exit $exit_code; - } - return 1; -} - -sub git { - my (@params) = @_; - safe_exec( 'git', @params ); -} - -my $got_fixes; - -sub get_fixes { - return if $got_fixes; - my $cwd = cwd(); - chdir '/tmp'; - safe_exec( 'git', 'clone', 'https://github.com/kentfredric/cpan-fixes.git' ); - chdir $cwd; - $got_fixes = 1; -} - -my $got_sterile; - -sub get_sterile { - return if $got_sterile; - my $cwd = cwd(); - chdir '/tmp'; - my $version = $]; - safe_exec( - 'git', 'clone', '--depth=1', - '--branch=' . $version, - 'https://github.com/kentfredric/perl5-sterile.git', - 'perl5-sterile' - ); - chdir $cwd; - $got_sterile = 1; -} -my $fixed_up; - -sub fixup_sterile { - return if $fixed_up; - get_sterile(); - my $cwd = cwd(); - chdir '/tmp/perl5-sterile'; - safe_exec( 'bash', 'patch_fixlist.sh', '/home/travis/perl5/perlbrew/perls/' . $ENV{TRAVIS_PERL_VERSION} ); - chdir $cwd; - $fixed_up = 1; -} -my $sterile_deployed; - -sub deploy_sterile { - return if $sterile_deployed; - fixup_sterile(); - for my $key ( keys %Config ) { - next unless $key =~ /(lib|arch)exp$/; - my $value = $Config{$key}; - next unless defined $value; - next unless length $value; - my $clean_path = '/tmp/perl5-sterile/' . $key; - diag("\e[32m?$clean_path\e[0m"); - if ( -e $clean_path and -d $clean_path ) { - diag("\e[31mRsyncing over $value\e[0m"); - $clean_path =~ s{/?$}{/}; - $value =~ s{/?$}{/}; - safe_exec( 'rsync', '-a', '--delete-delay', $clean_path, $value ); - } - } -} - -sub cpanm_fix { - my (@params) = @_; - get_fixes(); - my $cwd = cwd(); - chdir '/tmp/cpan-fixes'; - cpanm(@params); - chdir $cwd; -} - -sub parse_meta_json { - $_[0] ||= 'META.json'; - require CPAN::Meta; - return CPAN::Meta->load_file( $_[0] ); -} - -sub capture_stdout(&) { - require Capture::Tiny; - goto &Capture::Tiny::capture_stdout; -} - -sub import { - my ( $self, @args ) = @_; - - my $caller = [caller]->[0]; - - my $caller_stash = do { - no strict 'refs'; - *{ $caller . '::' }; - }; - - $caller_stash->{diag} = *diag; - $caller_stash->{env_exists} = *env_exists; - $caller_stash->{env_true} = *env_true; - $caller_stash->{env_is} = *env_is; - $caller_stash->{safe_exec_nonfatal} = *safe_exec_nonfatal; - $caller_stash->{safe_exec} = *safe_exec; - $caller_stash->{cpanm} = *cpanm; - $caller_stash->{git} = *git; - $caller_stash->{get_fixes} = *get_fixes; - $caller_stash->{cpanm_fix} = *cpanm_fix; - $caller_stash->{parse_meta_json} = *parse_meta_json; - $caller_stash->{capture_stdout} = *capture_stdout; - $caller_stash->{deploy_sterile} = *deploy_sterile; -} - -1; diff --git a/maint-travis-ci/merge_travis_yml.pl b/maint-travis-ci/merge_travis_yml.pl deleted file mode 100644 index 3dd5ae6..0000000 --- a/maint-travis-ci/merge_travis_yml.pl +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; -use utf8; - -use Path::FindDev qw( find_dev ); - -my $hashref = {}; - -my $template = find_dev('./')->child('.travis-template.yml'); -my $target = find_dev('./')->child('.travis.yml'); - -if ( -f -e $template ) { - require YAML::Loader; - my $loader = YAML::Loader->new(); - $hashref = $loader->load( $template->slurp ); -} - -if ( not exists $hashref->{language} ) { - $hashref->{language} = 'perl'; -} -if ( not exists $hashref->{perl} ) { - $hashref->{perl} = [ '5.18', '5.19' ]; -} - -use Data::Dump qw(pp); -pp($hashref); -require YAML::Dumper; -my $dumper = YAML::Dumper->new(); -$target->spew( $dumper->dump($hashref) ); diff --git a/maint-travis-ci/report_fail_ctx.pl b/maint-travis-ci/report_fail_ctx.pl deleted file mode 100644 index 29b8e21..0000000 --- a/maint-travis-ci/report_fail_ctx.pl +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; -use utf8; - -use FindBin; -use lib "$FindBin::Bin/lib"; -use tools; - -diag("\e[31mLast 1000 lines of cpanm build log\e[0m"); -safe_exec( 'tail', '-n', '1000', $ENV{HOME} . '/.cpanm/build.log' ); - diff --git a/maint-travis-ci/script.pl b/maint-travis-ci/script.pl deleted file mode 100644 index 67ae282..0000000 --- a/maint-travis-ci/script.pl +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; -use utf8; - -use FindBin; -use lib "$FindBin::Bin/lib"; -use tools; - -if ( not env_exists('TRAVIS') ) { - diag('Is not running under travis!'); - exit 1; -} -if ( not env_exists('STERILIZE_ENV') ) { - diag("\e[31mSTERILIZE_ENV is not set, skipping, because this is probably Travis's Default ( and unwanted ) target"); - exit 0; -} -if ( env_is( 'TRAVIS_BRANCH', 'master' ) and env_is( 'TRAVIS_PERL_VERSION', '5.8' ) ) { - diag("\e[31mscript skipped on 5.8 on master\e[32m, because \@Git, a dependency of \@Author::KENTNL, is unavailble on 5.8\e[0m"); - exit 0; -} -if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) { - my $xtest = safe_exec_nonfatal( 'dzil', 'xtest' ); - my $test = safe_exec_nonfatal( 'dzil', 'test' ); - if ( $test != 0 ) { - exit $test; - } - if ( $xtest != 0 ) { - exit $xtest; - } - exit 0; -} -else { - my @paths = './t'; - - if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) { - push @paths, './xt'; - } - safe_exec( 'prove', '--blib', '--shuffle', '--color', '--recurse', '--timer', '--jobs', 30, @paths ); -} diff --git a/maint-travis-ci/sterilize_env.pl b/maint-travis-ci/sterilize_env.pl deleted file mode 100644 index 0d51e86..0000000 --- a/maint-travis-ci/sterilize_env.pl +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env perl -use strict; -use warnings; - -use FindBin; -use lib "$FindBin::Bin/lib"; -use tools; - -my $corelists = "$FindBin::Bin/corelist-data"; - -sub no_sterile_warning { - if ( env_is( 'TRAVIS_PERL_VERSION', '5.8' ) - or env_is( 'TRAVIS_PERL_VERSION', '5.10' ) ) - { - diag("\e[31m TREE STERILIZATION IMPOSSIBLE <= 5.10\e[0m"); - diag("\e[32m ... because prior to 5.11.*, dual-life installed to \e[33mprivlib\e[0m"); - diag("\e[32m ... because prior to 5.11.*, \e[33m\@INC\e[32m order was \e[33mprivlib,sitelib\e[0m"); - diag("\e[32m ... whereas after to 5.11.*, \e[33m\@INC\e[32m order is \e[33msitelib,privlib\e[0m"); - diag("\e[32m ... and now most dual-life things simply install to \e[33msitelib\e[0m"); - diag("\e[34m ( However, there are still a few naughty CPAN modules that install to \e[33mprivlib\e[34m )"); - diag( - "\e[32m but the net effect of this is that installing \e[33mModule::Build 0.4007\e[32m which pulls \e[33mPerl::OSType\e[0m" - ); - diag("\e[32m and results in \e[33mPerl::OSType\e[32m being later removed \e[0m"); - diag("\e[32m leaving behind a broken \e[33mModule::Build 0.4007\e[32m\e[0m"); - diag("\e[34m Set \e[35m MAYBE_BREAK_MODULE_BUILD=1\e[34m if this is ok\e[0m"); - exit 0 unless env_true('MAYBE_BREAK_MODULE_BUILD'); - diag("\e[35m PROCEEDING\e[0m"); - } -} -if ( not env_exists('STERILIZE_ENV') ) { - diag("\e[31STERILIZE_ENV is not set, skipping, because this is probably Travis's Default ( and unwanted ) target"); - exit 0; -} -if ( not env_true('STERILIZE_ENV') ) { - diag('STERILIZE_ENV unset or false, not sterilizing'); - exit 0; -} - -if ( not env_true('TRAVIS') ) { - diag('Is not running under travis!'); - exit 1; -} - -deploy_sterile(); diff --git a/maint-travis-ci/sync_tree.pl b/maint-travis-ci/sync_tree.pl deleted file mode 100755 index a9d60fa..0000000 --- a/maint-travis-ci/sync_tree.pl +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env perl -use strict; -use warnings; - -use FindBin; -use lib "$FindBin::Bin/lib"; -use tools; - -use Path::FindDev qw( find_dev ); -my $root = find_dev('./'); - -chdir "$root"; - -sub git_subtree { - safe_exec( 'git', 'subtree', @_ ); -} - -my $travis = 'https://github.com/kentfredric/travis-scripts.git'; -my $prefix = 'maint-travis-ci'; - -if ( not -d -e $root->child($prefix) ) { - git_subtree( 'add', '--prefix=' . $prefix, $travis, 'master' ); -} -else { - git_subtree( 'pull', '-m', 'Synchronise git subtree maint-travis-ci', '--prefix=' . $prefix, $travis, 'master' ); -} - diff --git a/maint-travis-ci/yamls/sterile.mkdn b/maint-travis-ci/yamls/sterile.mkdn deleted file mode 100644 index 2091483..0000000 --- a/maint-travis-ci/yamls/sterile.mkdn +++ /dev/null @@ -1,54 +0,0 @@ -## ABOUT - - sterile.yaml - -## Tests - -### Version conformance tests - -Every version of Perl that can be tested on travis is tested. - - - perl: - env: STERILIZE_ENV=0 - -This is to test simply that the code works on that platform - -### Installable tests - -This tests both the maximum and minimum perls on travis to ensure -that: - - a. All dependencies are installable on all versions of Perl - b. No dependencies are inherently required by the code which are not specified. - - - perl: - env: STERILIZE_ENV=1 - -Tree sterilization occurs here to ensure that only the versions of things -that are provided by that version of perl exists prior to installing dependencies. - -### Pending upstream breakage - -This tests that of all the listed direct dependencies, that the code works as expected -after upgrading to the latest version of all direct dependencies. - -Presently this only runs on the newest `perl` on travis, because it is seemed that -if "-dev" versions are going to be a problem, they'll exhibit the same problems on all perls. - -Tree sterilization is not performed here, though may be in future, because that will reveal breakages -between downstream dependencies. - - - perl: - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - -### Author Testing - -This is the most dependency expensive method, as this mode pulls in all dependencies -listed in `develop.requires`, and additionally runs `xt/*` - -This is presently only performed on the latest perl due to the time expensiveness -of this, requiring significantly more dependencies to perform tests. - - - perl: - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 - diff --git a/maint-travis-ci/yamls/sterile.yaml b/maint-travis-ci/yamls/sterile.yaml deleted file mode 100644 index 6f29405..0000000 --- a/maint-travis-ci/yamls/sterile.yaml +++ /dev/null @@ -1,41 +0,0 @@ -language: perl -matrix: - include: - - 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.18" - env: STERILIZE_ENV=0 - - perl: "5.19" - env: STERILIZE_ENV=0 - - perl: "5.12" - env: STERILIZE_ENV=1 - - perl: "5.19" - env: STERILIZE_ENV=1 - - perl: "5.19" - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - - perl: "5.19" - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 -before_install: - - perlbrew list - - time perl ./maint-travis-ci/sterilize_env.pl -install: - - 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: - - "build/master" - - "releases" - diff --git a/maint-travis-ci/yamls/sterile2.yaml b/maint-travis-ci/yamls/sterile2.yaml deleted file mode 100644 index 9186391..0000000 --- a/maint-travis-ci/yamls/sterile2.yaml +++ /dev/null @@ -1,44 +0,0 @@ -language: perl -matrix: - include: - - 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.18" - env: STERILIZE_ENV=0 - - perl: "5.19" - env: STERILIZE_ENV=0 - - perl: "5.8" - env: STERILIZE_ENV=1 - - perl: "5.10" - env: STERILIZE_ENV=1 - - perl: "5.19" - env: STERILIZE_ENV=1 - - perl: "5.19" - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - - perl: "5.19" - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 -before_install: - - perlbrew list - - time perl ./maint-travis-ci/sterilize_env.pl -install: - - 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" - diff --git a/maint/perlcritic.rc.gen.pl b/maint/perlcritic.rc.gen.pl new file mode 100644 index 0000000..5f80742 --- /dev/null +++ b/maint/perlcritic.rc.gen.pl @@ -0,0 +1,60 @@ +#!/usr/bin/env perl +## no critic (Modules::RequireVersionVar) + +# ABSTRACT: Write an INI file from a bundle + +use 5.008; # utf8 +use strict; +use warnings; +use utf8; + +our $VERSION = 0.001; + +use Carp qw( croak carp ); +use Perl::Critic::ProfileCompiler::Util qw( create_bundle ); +use Path::Tiny qw(path); + +## no critic (ErrorHandling::RequireUseOfExceptions) +my $bundle = create_bundle('Example::Author::KENTNL'); +$bundle->configure; + +my @stopwords = ( + qw( + ) +); +for my $wordlist (@stopwords) { + $bundle->add_or_append_policy_field( 'Documentation::PodSpelling' => ( 'stop_words' => $wordlist ) ); +} + +#$bundle->add_or_append_policy_field( +# 'Subroutines::ProhibitCallsToUndeclaredSubs' => ( 'exempt_subs' => 'String::Formatter::str_rf' ), ); + +$bundle->remove_policy('ErrorHandling::RequireUseOfExceptions'); + +#$bundle->remove_policy('CodeLayout::RequireUseUTF8'); + +#$bundle->remove_policy('ErrorHandling::RequireCarping'); +$bundle->remove_policy('NamingConventions::Capitalization'); + +my $inf = $bundle->actionlist->get_inflated; + +my $config = $inf->apply_config; + +{ + my $rcfile = path('./perlcritic.rc')->openw_utf8; + $rcfile->print( $config->as_ini, "\n" ); + close $rcfile or croak 'Something fubared closing perlcritic.rc'; +} +my $deps = $inf->own_deps; +{ + my $target = path('./misc'); + $target->mkpath if not $target->is_dir; + + my $depsfile = $target->child('perlcritic.deps')->openw_utf8; + for my $key ( sort keys %{$deps} ) { + $depsfile->printf( "%s~%s\n", $key, $deps->{$key} ); + *STDERR->printf( "%s => %s\n", $key, $deps->{$key} ); + } + close $depsfile or carp 'Something fubared closing perlcritic.deps'; +} + diff --git a/misc/Changes.deps b/misc/Changes.deps new file mode 100644 index 0000000..2eb4634 --- /dev/null +++ b/misc/Changes.deps @@ -0,0 +1,64 @@ +This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) + +1.000000 + [Added / configure requires] + - ExtUtils::MakeMaker + + [Added / runtime requires] + - utf8 + + [Added / test requires] + - ExtUtils::MakeMaker + - File::Spec + + [Changed / runtime requires] + - perl 5.006 → 5.008 + + [Changed / test requires] + - Test::More 1.001002 → 0.89 + + [Removed / build requires] + - Module::Build 0.4202 + + [Removed / configure requires] + - Module::Build 0.4202 + + [Removed / test requires] + - Cwd + - Path::FindDev + +0.2.0 2013-11-21T07:22:18Z + [Added / runtime requires] + - Test::File::ShareDir::Object::Module + + [Removed / runtime requires] + - Test::File::ShareDir::TempDirObject + +0.1.3 2013-11-20T09:44:25Z + [Changed / build requires] + - Module::Build 0.4007 → 0.4202 + + [Changed / configure requires] + - Module::Build 0.4007 → 0.4202 + + [Changed / runtime requires] + - perl v5.10.0 → 5.006 + + [Changed / test requires] + - Test::More 0.98 → 1.001002 + + [Removed / test requires] + - File::Spec + - IO::Handle + - IPC::Open3 + +0.1.2 2013-09-24T23:49:46Z + [Added / test requires] + - File::Spec + - Test::DZil + - Test::Fatal + +0.1.1 2013-09-08T11:23:50Z + [Added / test requires] + - Dist::Zilla::Plugin::Bootstrap::lib 0.04000000 + diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all new file mode 100644 index 0000000..179d37c --- /dev/null +++ b/misc/Changes.deps.all @@ -0,0 +1,163 @@ +This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) + +1.000000 + [Added / configure recommends] + - ExtUtils::MakeMaker 6.98 + + [Added / configure requires] + - ExtUtils::MakeMaker + + [Added / develop requires] + - Dist::Zilla::Plugin::BumpVersionAfterRelease + - Dist::Zilla::Plugin::CopyFilesFromBuild + - Dist::Zilla::Plugin::Git::NextRelease + - Dist::Zilla::Plugin::MakeMaker + - Dist::Zilla::Plugin::MinimumPerl + - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled + - Dist::Zilla::Plugin::RewriteVersion::Sanitized + - Dist::Zilla::Plugin::RunExtraTests + - Dist::Zilla::Plugin::Test::ReportPrereqs + + [Added / develop suggests] + - Dist::Zilla::App::Command::bakeini 0.001001 + - Dist::Zilla::PluginBundle::Author::KENTNL 2.016007 + + [Added / runtime requires] + - utf8 + + [Added / test recommends] + - CPAN::Meta 2.120900 + - ExtUtils::MakeMaker 6.98 + - Test::More 1.001003 + + [Added / test requires] + - ExtUtils::MakeMaker + - File::Spec + + [Changed / runtime requires] + - perl 5.006 → 5.008 + + [Changed / test requires] + - Test::More 1.001002 → 0.89 + + [Removed / build requires] + - Module::Build 0.4202 + + [Removed / configure requires] + - Module::Build 0.4202 + + [Removed / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl + - Dist::Zilla::Plugin::CheckExtraTests + - Dist::Zilla::Plugin::Git::NextVersion + - Dist::Zilla::Plugin::ModuleBuild + - Dist::Zilla::Plugin::NextRelease + - Dist::Zilla::Plugin::PkgVersion + - Dist::Zilla::Plugin::Prereqs::MatchInstalled + - Dist::Zilla::Plugin::PruneCruft + - Dist::Zilla::Plugin::ReportVersions::Tiny + - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 + - version 0.9901 + + [Removed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Removed / test requires] + - Cwd + - Path::FindDev + +0.2.0 2013-11-21T07:22:18Z + [Added / runtime requires] + - Test::File::ShareDir::Object::Module + + [Removed / runtime requires] + - Test::File::ShareDir::TempDirObject + +0.1.3 2013-11-20T09:44:25Z + [Added / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl + - Dist::Zilla::Plugin::Authority 1.006 + - Dist::Zilla::Plugin::AutoPrereqs + - Dist::Zilla::Plugin::CheckExtraTests + - Dist::Zilla::Plugin::ConfirmRelease + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::Git::Check + - Dist::Zilla::Plugin::Git::Commit + - Dist::Zilla::Plugin::Git::CommitBuild + - Dist::Zilla::Plugin::Git::GatherDir + - Dist::Zilla::Plugin::Git::NextVersion + - Dist::Zilla::Plugin::Git::Tag + - Dist::Zilla::Plugin::GithubMeta + - Dist::Zilla::Plugin::License + - Dist::Zilla::Plugin::Manifest + - Dist::Zilla::Plugin::ManifestSkip + - Dist::Zilla::Plugin::MetaConfig + - Dist::Zilla::Plugin::MetaData::BuiltWith + - Dist::Zilla::Plugin::MetaJSON + - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001 + - Dist::Zilla::Plugin::MetaTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ModuleBuild + - Dist::Zilla::Plugin::NextRelease + - Dist::Zilla::Plugin::PkgVersion + - Dist::Zilla::Plugin::PodCoverageTests + - Dist::Zilla::Plugin::PodSyntaxTests + - Dist::Zilla::Plugin::PodWeaver + - Dist::Zilla::Plugin::Prereqs + - Dist::Zilla::Plugin::Prereqs::MatchInstalled + - Dist::Zilla::Plugin::PruneCruft + - Dist::Zilla::Plugin::ReadmeAnyFromPod + - Dist::Zilla::Plugin::ReadmeFromPod + - Dist::Zilla::Plugin::ReportVersions::Tiny + - Dist::Zilla::Plugin::Test::CPAN::Changes + - Dist::Zilla::Plugin::Test::Compile::PerFile + - Dist::Zilla::Plugin::Test::Kwalitee + - Dist::Zilla::Plugin::Test::MinimumVersion + - Dist::Zilla::Plugin::Test::Perl::Critic + - Dist::Zilla::Plugin::TestRelease + - Dist::Zilla::Plugin::Twitter + - Dist::Zilla::Plugin::UploadToCPAN + - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 + + [Added / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Changed / build requires] + - Module::Build 0.4007 → 0.4202 + + [Changed / configure requires] + - Module::Build 0.4007 → 0.4202 + + [Changed / develop requires] + - Test::Kwalitee 1.08 → 1.12 + + [Changed / runtime requires] + - perl v5.10.0 → 5.006 + + [Changed / test requires] + - Test::More 0.98 → 1.001002 + + [Removed / develop recommends] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Removed / develop requires] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite + + [Removed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 + + [Removed / test requires] + - File::Spec + - IO::Handle + - IPC::Open3 + +0.1.2 2013-09-24T23:49:46Z + [Added / test requires] + - File::Spec + - Test::DZil + - Test::Fatal + +0.1.1 2013-09-08T11:23:50Z + [Added / test requires] + - Dist::Zilla::Plugin::Bootstrap::lib 0.04000000 + diff --git a/misc/Changes.deps.dev b/misc/Changes.deps.dev new file mode 100644 index 0000000..55bb81a --- /dev/null +++ b/misc/Changes.deps.dev @@ -0,0 +1,101 @@ +This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) + +1.000000 + [Added / develop requires] + - Dist::Zilla::Plugin::BumpVersionAfterRelease + - Dist::Zilla::Plugin::CopyFilesFromBuild + - Dist::Zilla::Plugin::Git::NextRelease + - Dist::Zilla::Plugin::MakeMaker + - Dist::Zilla::Plugin::MinimumPerl + - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled + - Dist::Zilla::Plugin::RewriteVersion::Sanitized + - Dist::Zilla::Plugin::RunExtraTests + - Dist::Zilla::Plugin::Test::ReportPrereqs + + [Added / develop suggests] + - Dist::Zilla::App::Command::bakeini 0.001001 + - Dist::Zilla::PluginBundle::Author::KENTNL 2.016007 + + [Removed / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl + - Dist::Zilla::Plugin::CheckExtraTests + - Dist::Zilla::Plugin::Git::NextVersion + - Dist::Zilla::Plugin::ModuleBuild + - Dist::Zilla::Plugin::NextRelease + - Dist::Zilla::Plugin::PkgVersion + - Dist::Zilla::Plugin::Prereqs::MatchInstalled + - Dist::Zilla::Plugin::PruneCruft + - Dist::Zilla::Plugin::ReportVersions::Tiny + - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 + - version 0.9901 + + [Removed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + +0.2.0 2013-11-21T07:22:18Z + +0.1.3 2013-11-20T09:44:25Z + [Added / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl + - Dist::Zilla::Plugin::Authority 1.006 + - Dist::Zilla::Plugin::AutoPrereqs + - Dist::Zilla::Plugin::CheckExtraTests + - Dist::Zilla::Plugin::ConfirmRelease + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::Git::Check + - Dist::Zilla::Plugin::Git::Commit + - Dist::Zilla::Plugin::Git::CommitBuild + - Dist::Zilla::Plugin::Git::GatherDir + - Dist::Zilla::Plugin::Git::NextVersion + - Dist::Zilla::Plugin::Git::Tag + - Dist::Zilla::Plugin::GithubMeta + - Dist::Zilla::Plugin::License + - Dist::Zilla::Plugin::Manifest + - Dist::Zilla::Plugin::ManifestSkip + - Dist::Zilla::Plugin::MetaConfig + - Dist::Zilla::Plugin::MetaData::BuiltWith + - Dist::Zilla::Plugin::MetaJSON + - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001 + - Dist::Zilla::Plugin::MetaTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ModuleBuild + - Dist::Zilla::Plugin::NextRelease + - Dist::Zilla::Plugin::PkgVersion + - Dist::Zilla::Plugin::PodCoverageTests + - Dist::Zilla::Plugin::PodSyntaxTests + - Dist::Zilla::Plugin::PodWeaver + - Dist::Zilla::Plugin::Prereqs + - Dist::Zilla::Plugin::Prereqs::MatchInstalled + - Dist::Zilla::Plugin::PruneCruft + - Dist::Zilla::Plugin::ReadmeAnyFromPod + - Dist::Zilla::Plugin::ReadmeFromPod + - Dist::Zilla::Plugin::ReportVersions::Tiny + - Dist::Zilla::Plugin::Test::CPAN::Changes + - Dist::Zilla::Plugin::Test::Compile::PerFile + - Dist::Zilla::Plugin::Test::Kwalitee + - Dist::Zilla::Plugin::Test::MinimumVersion + - Dist::Zilla::Plugin::Test::Perl::Critic + - Dist::Zilla::Plugin::TestRelease + - Dist::Zilla::Plugin::Twitter + - Dist::Zilla::Plugin::UploadToCPAN + - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 + + [Added / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Changed / develop requires] + - Test::Kwalitee 1.08 → 1.12 + + [Removed / develop recommends] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Removed / develop requires] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite + + [Removed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 + +0.1.2 2013-09-24T23:49:46Z + +0.1.1 2013-09-08T11:23:50Z + diff --git a/misc/Changes.deps.opt b/misc/Changes.deps.opt new file mode 100644 index 0000000..8b4106a --- /dev/null +++ b/misc/Changes.deps.opt @@ -0,0 +1,19 @@ +This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) + +1.000000 + [Added / configure recommends] + - ExtUtils::MakeMaker 6.98 + + [Added / test recommends] + - CPAN::Meta 2.120900 + - ExtUtils::MakeMaker 6.98 + - Test::More 1.001003 + +0.2.0 2013-11-21T07:22:18Z + +0.1.3 2013-11-20T09:44:25Z + +0.1.2 2013-09-24T23:49:46Z + +0.1.1 2013-09-08T11:23:50Z + diff --git a/misc/perlcritic.deps b/misc/perlcritic.deps new file mode 100644 index 0000000..850f958 --- /dev/null +++ b/misc/perlcritic.deps @@ -0,0 +1,14 @@ +Perl::Critic::Policy::Lax::RequireExplicitPackage::ExceptForPragmata~0 +Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter~0 +Perl::Critic::ProfileCompiler::Bundle::Bangs~0 +Perl::Critic::ProfileCompiler::Bundle::Compatibility~0 +Perl::Critic::ProfileCompiler::Bundle::Core~0 +Perl::Critic::ProfileCompiler::Bundle::Deprecated~0 +Perl::Critic::ProfileCompiler::Bundle::Itch~0 +Perl::Critic::ProfileCompiler::Bundle::Lax~0 +Perl::Critic::ProfileCompiler::Bundle::Moose~0 +Perl::Critic::ProfileCompiler::Bundle::More~0 +Perl::Critic::ProfileCompiler::Bundle::Pulp~0 +Perl::Critic::ProfileCompiler::Bundle::StricterSubs~0 +Perl::Critic::ProfileCompiler::Bundle::Swift~0 +Perl::Critic::ProfileCompiler::Bundle::Tics~0 diff --git a/perlcritic.rc b/perlcritic.rc index 8c0d884..39327ba 100644 --- a/perlcritic.rc +++ b/perlcritic.rc @@ -1,23 +1,455 @@ -severity = 1 -exclude = RequireTidyCode RequirePodSections ProhibitPostfixControls RequireRcsKeywords RequireExplicitPackage -include = Moose::ProhibitMultipleWiths Moose::ProhibitNewMethod Moose::RequireCleanNamespace Moose::RequireMakeImmutable color = 1 +color-severity-low = green +color-severity-medium = yellow +only = 1 +severity = 1 verbose = 9 +[Bangs::ProhibitBitwiseOperators] + +[Bangs::ProhibitCommentedOutCode] + +[Bangs::ProhibitDebuggingModules] + +[-Bangs::ProhibitFlagComments] + +[Bangs::ProhibitNoPlan] + +[Bangs::ProhibitNumberedNames] + +[Bangs::ProhibitRefProtoOrProto] + +[Bangs::ProhibitUselessRegexModifiers] + +[Bangs::ProhibitVagueNames] + +[BuiltinFunctions::ProhibitBooleanGrep] + +[BuiltinFunctions::ProhibitComplexMappings] + +[BuiltinFunctions::ProhibitLvalueSubstr] + +[BuiltinFunctions::ProhibitReverseSortBlock] + +[BuiltinFunctions::ProhibitSleepViaSelect] + [BuiltinFunctions::ProhibitStringyEval] allow_includes = 1 +[BuiltinFunctions::ProhibitStringySplit] + +[BuiltinFunctions::ProhibitUniversalCan] + +[BuiltinFunctions::ProhibitUniversalIsa] + +[BuiltinFunctions::ProhibitVoidGrep] + +[BuiltinFunctions::ProhibitVoidMap] + +[BuiltinFunctions::RequireBlockGrep] + +[BuiltinFunctions::RequireBlockMap] + +[BuiltinFunctions::RequireGlobFunction] + +[BuiltinFunctions::RequireSimpleSortBlock] + +[ClassHierarchies::ProhibitAutoloading] + +[ClassHierarchies::ProhibitExplicitISA] + +[ClassHierarchies::ProhibitOneArgBless] + +[CodeLayout::ProhibitFatCommaNewline] + +[CodeLayout::ProhibitHardTabs] + +[-CodeLayout::ProhibitHashBarewords] + +[CodeLayout::ProhibitIfIfSameLine] + +[CodeLayout::ProhibitParensWithBuiltins] + +[CodeLayout::ProhibitQuotedWordLists] + [CodeLayout::ProhibitTrailingWhitespace] +[-CodeLayout::RequireASCII] + +[CodeLayout::RequireConsistentNewlines] + +[CodeLayout::RequireFinalSemicolon] + +[-CodeLayout::RequireTidyCode] + +[CodeLayout::RequireTrailingCommaAtNewline] + +[CodeLayout::RequireTrailingCommas] + +[CodeLayout::RequireUseUTF8] + +[Compatibility::ConstantLeadingUnderscore] + +[Compatibility::ConstantPragmaHash] + +[Compatibility::Gtk2Constants] + +[Compatibility::PerlMinimumVersionAndWhy] + +[-Compatibility::PodMinimumVersion] + +[Compatibility::ProhibitThreeArgumentOpen] + +[Compatibility::ProhibitUnixDevNull] + +[ControlStructures::ProhibitCStyleForLoops] + +[ControlStructures::ProhibitCascadingIfElse] + +[ControlStructures::ProhibitDeepNests] + +[ControlStructures::ProhibitLabelsWithSpecialBlockNames] + +[ControlStructures::ProhibitMutatingListFunctions] + +[ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions] + +[-ControlStructures::ProhibitPostfixControls] + +[ControlStructures::ProhibitUnlessBlocks] + +[ControlStructures::ProhibitUnreachableCode] + +[ControlStructures::ProhibitUntilBlocks] + [Documentation::PodSpelling] -stop_words = +spell_command = aspell list --lang en_US + +[Documentation::ProhibitAdjacentLinks] + +[Documentation::ProhibitBadAproposMarkup] + +[Documentation::ProhibitDuplicateHeadings] + +[Documentation::ProhibitDuplicateSeeAlso] + +[Documentation::ProhibitLinkToSelf] + +[Documentation::ProhibitParagraphEndComma] + +[Documentation::ProhibitParagraphTwoDots] + +[Documentation::ProhibitUnbalancedParens] + +[Documentation::ProhibitVerbatimMarkup] + +[Documentation::RequireEndBeforeLastPod] + +[Documentation::RequireFinalCut] + +[Documentation::RequireLinkedURLs] + +[-Documentation::RequirePODUseEncodingUTF8] + +[Documentation::RequirePackageMatchesPodName] + +[Documentation::RequirePodAtEnd] + +[Documentation::RequirePodLinksIncludeText] + +[-Documentation::RequirePodSections] + +[-Editor::RequireEmacsFileVariables] + +[ErrorHandling::RequireCarping] + +[ErrorHandling::RequireCheckingReturnValueOfEval] + +[-ErrorHandling::RequireUseOfExceptions] + +[InputOutput::ProhibitBacktickOperators] + +[InputOutput::ProhibitBarewordFileHandles] + +[InputOutput::ProhibitExplicitStdin] + +[InputOutput::ProhibitInteractiveTest] + +[InputOutput::ProhibitJoinedReadline] + +[InputOutput::ProhibitOneArgSelect] + +[InputOutput::ProhibitReadlineInForLoop] + +[InputOutput::ProhibitTwoArgOpen] + +[InputOutput::RequireBracedFileHandleWithPrint] + +[InputOutput::RequireBriefOpen] + +[InputOutput::RequireCheckedClose] + +[InputOutput::RequireCheckedOpen] + +[InputOutput::RequireCheckedSyscalls] + +[InputOutput::RequireEncodingWithUTF8Layer] + +[Lax::ProhibitComplexMappings::LinesNotStatements] + +[Lax::ProhibitEmptyQuotes::ExceptAsFallback] + +[Lax::ProhibitLeadingZeros::ExceptChmod] + +[Lax::ProhibitStringyEval::ExceptForRequire] + +[Lax::RequireEndWithTrueConst] + +[Lax::RequireExplicitPackage::ExceptForPragmata] +allowed_pragmata = diagnostics feature perlversion strict warnings utf8 + +[Miscellanea::ProhibitFormats] + +[Miscellanea::ProhibitTies] + +[Miscellanea::ProhibitUnrestrictedNoCritic] + +[-Miscellanea::ProhibitUselessNoCritic] + +[-Miscellanea::RequireRcsKeywords] + +[Miscellanea::TextDomainPlaceholders] + +[Miscellanea::TextDomainUnused] + +[Modules::PerlMinimumVersion] + +[Modules::ProhibitAutomaticExportation] + +[Modules::ProhibitConditionalUseStatements] + +[Modules::ProhibitEvilModules] + +[Modules::ProhibitExcessMainComplexity] + +[Modules::ProhibitModuleShebang] + +[Modules::ProhibitMultiplePackages] + +[Modules::ProhibitPOSIXimport] + +[Modules::ProhibitUseQuotedVersion] + +[Modules::RequireBarewordIncludes] + +[Modules::RequireEndWithOne] + +[-Modules::RequireExplicitInclusion] + +[-Modules::RequireExplicitPackage] + +[Modules::RequireFilenameMatchesPackage] + +[Modules::RequireNoMatchVarsWithUseEnglish] + +[Modules::RequirePerlVersion] + +[Modules::RequireVersionVar] + +[-Moose::ProhibitMultipleWiths] + +[Moose::ProhibitNewMethod] + +[Moose::RequireCleanNamespace] + +[Moose::RequireMakeImmutable] + +[-NamingConventions::Capitalization] + +[NamingConventions::ProhibitAmbiguousNames] + +[NamingConventions::ProhibitMixedCaseSubs] + +[NamingConventions::ProhibitMixedCaseVars] + +[Objects::ProhibitIndirectSyntax] + +[References::ProhibitDoubleSigils] + +[RegularExpressions::ProhibitCaptureWithoutTest] + +[RegularExpressions::ProhibitComplexRegexes] + +[RegularExpressions::ProhibitEnumeratedClasses] + +[RegularExpressions::ProhibitEscapedMetacharacters] + +[RegularExpressions::ProhibitFixedStringMatches] + +[RegularExpressions::ProhibitSingleCharAlternation] + +[RegularExpressions::ProhibitUnusedCapture] + +[RegularExpressions::ProhibitUnusualDelimiters] + +[RegularExpressions::RequireBracesForMultiline] + +[RegularExpressions::RequireDotMatchAnything] + +[RegularExpressions::RequireExtendedFormatting] + +[RegularExpressions::RequireLineBoundaryMatching] + +[Subroutines::ProhibitAmpersandSigils] + +[Subroutines::ProhibitBuiltinHomonyms] + +[Subroutines::ProhibitCallsToUndeclaredSubs] + +[Subroutines::ProhibitCallsToUnexportedSubs] + +[Subroutines::ProhibitExcessComplexity] + +[Subroutines::ProhibitExplicitReturnUndef] + +[Subroutines::ProhibitExportingUndeclaredSubs] + +[Subroutines::ProhibitManyArgs] + +[Subroutines::ProhibitNestedSubs] + +[Subroutines::ProhibitQualifiedSubDeclarations] + +[Subroutines::ProhibitReturnSort] + +[Subroutines::ProhibitSubroutinePrototypes] [Subroutines::ProhibitUnusedPrivateSubroutines] private_name_regex = _(?!build_)\w +[Subroutines::ProtectPrivateSubs] + +[Subroutines::RequireArgUnpacking] + +[Subroutines::RequireFinalReturn] + +[TestingAndDebugging::ProhibitNoStrict] + +[TestingAndDebugging::ProhibitNoWarnings] + +[TestingAndDebugging::ProhibitProlongedStrictureOverride] + +[TestingAndDebugging::RequireTestLabels] + [TestingAndDebugging::RequireUseStrict] -equivalent_modules = Moose +equivalent_modules = Moose Moo [TestingAndDebugging::RequireUseWarnings] -equivalent_modules = Moose +equivalent_modules = Moose Moo + +[Tics::ProhibitLongLines] +base_max = 130 + +[Tics::ProhibitManyArrows] + +[Tics::ProhibitUseBase] + +[ValuesAndExpressions::ConstantBeforeLt] + +[ValuesAndExpressions::NotWithCompare] + +[ValuesAndExpressions::ProhibitArrayAssignAref] + +[ValuesAndExpressions::ProhibitBarewordDoubleColon] + +[ValuesAndExpressions::ProhibitCommaSeparatedStatements] + +[ValuesAndExpressions::ProhibitComplexVersion] + +[ValuesAndExpressions::ProhibitConstantPragma] + +[ValuesAndExpressions::ProhibitDuplicateHashKeys] + +[-ValuesAndExpressions::ProhibitEmptyCommas] + +[ValuesAndExpressions::ProhibitEmptyQuotes] + +[ValuesAndExpressions::ProhibitEscapedCharacters] + +[ValuesAndExpressions::ProhibitFiletest_f] + +[ValuesAndExpressions::ProhibitImplicitNewlines] + +[ValuesAndExpressions::ProhibitInterpolationOfLiterals] + +[ValuesAndExpressions::ProhibitLeadingZeros] + +[ValuesAndExpressions::ProhibitLongChainsOfMethodCalls] + +[-ValuesAndExpressions::ProhibitMagicNumbers] + +[ValuesAndExpressions::ProhibitMismatchedOperators] + +[ValuesAndExpressions::ProhibitMixedBooleanOperators] + +[ValuesAndExpressions::ProhibitNoisyQuotes] + +[ValuesAndExpressions::ProhibitNullStatements] + +[ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters] + +[ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator] + +[ValuesAndExpressions::ProhibitUnknownBackslash] + +[ValuesAndExpressions::ProhibitVersionStrings] + +[ValuesAndExpressions::RequireConstantOnLeftSideOfEquality] + +[ValuesAndExpressions::RequireConstantVersion] + +[ValuesAndExpressions::RequireInterpolationOfMetachars] + +[ValuesAndExpressions::RequireNumberSeparators] + +[ValuesAndExpressions::RequireNumericVersion] + +[ValuesAndExpressions::RequireQuotedHeredocTerminator] + +[ValuesAndExpressions::RequireUpperCaseHeredocTerminator] + +[ValuesAndExpressions::RestrictLongStrings] + +[ValuesAndExpressions::UnexpandedSpecialLiteral] + +[Variables::ProhibitAugmentedAssignmentInDeclaration] + +[Variables::ProhibitConditionalDeclarations] + +[Variables::ProhibitEvilVariables] + +[Variables::ProhibitLocalVars] + +[Variables::ProhibitMatchVars] + +[Variables::ProhibitPackageVars] + +[Variables::ProhibitPerl4PackageNames] + +[-Variables::ProhibitPunctuationVars] + +[Variables::ProhibitReusedNames] + +[Variables::ProhibitUnusedVariables] + +[Variables::ProhibitUnusedVarsStricter] + +[Variables::ProtectPrivateVars] + +[Variables::RequireInitializationForLocalVars] + +[Variables::RequireLexicalLoopIterators] + +[Variables::RequireLocalizedPunctuationVars] +[Variables::RequireNegativeIndices] diff --git a/t/00-compile/lib_Dist_Zilla_Plugin_Bootstrap_ShareDir_Module_pm.t b/t/00-compile/lib_Dist_Zilla_Plugin_Bootstrap_ShareDir_Module_pm.t index f6abc45..c692e07 100644 --- a/t/00-compile/lib_Dist_Zilla_Plugin_Bootstrap_ShareDir_Module_pm.t +++ b/t/00-compile/lib_Dist_Zilla_Plugin_Bootstrap_ShareDir_Module_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.001001 +# 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 new file mode 100644 index 0000000..b24c6de --- /dev/null +++ b/t/00-report-prereqs.dd @@ -0,0 +1,98 @@ +do { my $x = { + 'configure' => { + 'recommends' => { + 'ExtUtils::MakeMaker' => '6.98' + }, + 'requires' => { + 'ExtUtils::MakeMaker' => '0' + } + }, + 'develop' => { + 'requires' => { + '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', + 'Dist::Zilla::Plugin::Git::GatherDir' => '0', + 'Dist::Zilla::Plugin::Git::NextRelease' => '0', + 'Dist::Zilla::Plugin::Git::Tag' => '0', + 'Dist::Zilla::Plugin::GithubMeta' => '0', + 'Dist::Zilla::Plugin::License' => '0', + '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::MetaJSON' => '0', + 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.14000001', + 'Dist::Zilla::Plugin::MetaTests' => '0', + 'Dist::Zilla::Plugin::MetaYAML' => '0', + 'Dist::Zilla::Plugin::MinimumPerl' => '0', + 'Dist::Zilla::Plugin::PodCoverageTests' => '0', + 'Dist::Zilla::Plugin::PodSyntaxTests' => '0', + 'Dist::Zilla::Plugin::PodWeaver' => '0', + 'Dist::Zilla::Plugin::Prereqs' => '0', + 'Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled' => '0', + 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0', + 'Dist::Zilla::Plugin::ReadmeFromPod' => '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::Kwalitee' => '0', + 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0', + 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0', + 'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0', + 'Dist::Zilla::Plugin::TestRelease' => '0', + 'Dist::Zilla::Plugin::Twitter' => '0', + 'Dist::Zilla::Plugin::UploadToCPAN' => '0', + 'Pod::Coverage::TrustPod' => '0', + 'Test::CPAN::Changes' => '0.19', + 'Test::CPAN::Meta' => '0', + 'Test::Kwalitee' => '1.12', + 'Test::Pod' => '1.41', + 'Test::Pod::Coverage' => '1.08' + }, + 'suggests' => { + 'Dist::Zilla::App::Command::bakeini' => '0.001001', + 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.016007' + } + }, + 'runtime' => { + 'requires' => { + 'Dist::Zilla::Role::Bootstrap' => '0', + 'Moose' => '0', + 'MooseX::AttributeShortcuts' => '0', + 'Path::Tiny' => '0', + 'Test::File::ShareDir::Object::Module' => '0', + 'perl' => '5.008', + 'strict' => '0', + 'utf8' => '0', + 'warnings' => '0' + } + }, + 'test' => { + 'recommends' => { + 'CPAN::Meta' => '2.120900', + 'ExtUtils::MakeMaker' => '6.98', + 'Test::More' => '1.001003' + }, + 'requires' => { + 'Dist::Zilla::Plugin::Bootstrap::lib' => '0.04000000', + 'ExtUtils::MakeMaker' => '0', + 'File::Copy::Recursive' => '0', + 'File::ShareDir' => '0', + 'File::Spec' => '0', + 'Test::DZil' => '0', + 'Test::Fatal' => '0', + 'Test::More' => '0.89' + } + } + }; + $x; + } \ No newline at end of file diff --git a/t/00-report-prereqs.t b/t/00-report-prereqs.t new file mode 100644 index 0000000..6e46540 --- /dev/null +++ b/t/00-report-prereqs.t @@ -0,0 +1,177 @@ +#!perl + +use strict; +use warnings; + +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.018 + +use Test::More tests => 1; + +use ExtUtils::MakeMaker; +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 $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 (ref $collector eq $cpan_meta_pre) { + return $collector->with_merged_prereqs( + CPAN::Meta::Prereqs->new( $prereqs ) + ); + } + + # Raw hashrefs + for my $phase ( keys %$prereqs ) { + for my $type ( keys %{ $prereqs->{$phase} } ) { + for my $module ( keys %{ $prereqs->{$phase}{$type} } ) { + $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module}; + } + } + } + + return $collector; +} + +my @include = qw( + +); + +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 : {} ), + $static_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); + } +} +else { + $source = 'static metadata'; +} + +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) ) { + next unless $req_hash->{$phase}; + next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING}); + + for my $type ( qw(requires recommends suggests conflicts) ) { + next unless $req_hash->{$phase}{$type}; + + my $title = ucfirst($phase).' '.ucfirst($type); + my @reports = [qw/Module Want Have/]; + + for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { + next if $mod eq 'perl'; + next if grep { $_ eq $mod } @exclude; + + my $file = $mod; + $file =~ s{::}{/}g; + $file .= ".pm"; + my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; + + my $want = $req_hash->{$phase}{$type}{$mod}; + $want = "undef" unless defined $want; + $want = "any" if !$want && $want == 0; + + my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; + + if ($prefix) { + my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); + $have = "undef" unless defined $have; + push @reports, [$mod, $want, $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 ) ) { + push @dep_errors, "$mod version '$have' is not in required range '$want'"; + } + } + } + else { + push @reports, [$mod, $want, "missing"]; + + if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) { + push @dep_errors, "$mod is not installed ($req_string)"; + } + } + } + + 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 ); + 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"; + } + } +} + +if ( @full_reports ) { + diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; +} + +if ( @dep_errors ) { + diag join("\n", + "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", + "The following REQUIRED prerequisites were not satisfied:\n", + @dep_errors, + "\n" + ); +} + +pass; + +# vim: ts=4 sts=4 sw=4 et: diff --git a/t/000-report-versions-tiny.t b/t/000-report-versions-tiny.t deleted file mode 100644 index 643624e..0000000 --- a/t/000-report-versions-tiny.t +++ /dev/null @@ -1,85 +0,0 @@ -use strict; -use warnings; -use Test::More 0.88; -# This is a relatively nice way to avoid Test::NoWarnings breaking our -# expectations by adding extra tests, without using no_plan. It also helps -# avoid any other test module that feels introducing random tests, or even -# test plans, is a nice idea. -our $success = 0; -END { $success && done_testing; } - -# List our own version used to generate this -my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n"; - -eval { # no excuses! - # report our Perl details - my $want = '5.006'; - $v .= "perl: $] (wanted $want) on $^O from $^X\n\n"; -}; -defined($@) and diag("$@"); - -# Now, our module version dependencies: -sub pmver { - my ($module, $wanted) = @_; - $wanted = " (want $wanted)"; - my $pmver; - eval "require $module;"; - if ($@) { - if ($@ =~ m/Can't locate .* in \@INC/) { - $pmver = 'module not found.'; - } else { - diag("${module}: $@"); - $pmver = 'died during require.'; - } - } else { - my $version; - eval { $version = $module->VERSION; }; - if ($@) { - diag("${module}: $@"); - $pmver = 'died during VERSION check.'; - } elsif (defined $version) { - $pmver = "$version"; - } else { - $pmver = ''; - } - } - - # So, we should be good, right? - return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); -} - -eval { $v .= pmver('Cwd','any version') }; -eval { $v .= pmver('Dist::Zilla::Plugin::Bootstrap::lib','0.04000000') }; -eval { $v .= pmver('Dist::Zilla::Role::Bootstrap','any version') }; -eval { $v .= pmver('File::Copy::Recursive','any version') }; -eval { $v .= pmver('File::ShareDir','any version') }; -eval { $v .= pmver('Module::Build','0.4202') }; -eval { $v .= pmver('Moose','any version') }; -eval { $v .= pmver('MooseX::AttributeShortcuts','any version') }; -eval { $v .= pmver('Path::FindDev','any version') }; -eval { $v .= pmver('Path::Tiny','any version') }; -eval { $v .= pmver('Test::DZil','any version') }; -eval { $v .= pmver('Test::Fatal','any version') }; -eval { $v .= pmver('Test::File::ShareDir::Object::Module','any version') }; -eval { $v .= pmver('Test::More','1.001002') }; -eval { $v .= pmver('strict','any version') }; -eval { $v .= pmver('warnings','any version') }; - - -# All done. -$v .= <<'EOT'; - -Thanks for using my code. I hope it works for you. -If not, please try and include this output in the bug report. -That will help me reproduce the issue and solve your problem. - -EOT - -diag($v); -ok(1, "we really didn't test anything, just reporting data"); -$success = 1; - -# Work around another nasty module on CPAN. :/ -no warnings 'once'; -$Template::Test::NO_FLUSH = 1; -exit 0; diff --git a/t/01-basic.t b/t/01-basic.t index 21877a6..a4173b7 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -2,13 +2,11 @@ use strict; use warnings; use Test::More; -use Path::FindDev qw( find_dev ); use Path::Tiny; -use Cwd qw( cwd ); use File::Copy::Recursive qw( rcopy ); my $dist = 'fake_dist_01'; -my $source = find_dev('./')->child('corpus')->child($dist); +my $source = Path::Tiny->cwd->child('corpus')->child($dist); my $tempdir = Path::Tiny->tempdir; rcopy( "$source", "$tempdir" ); diff --git a/t/02-try_built.t b/t/02-try_built.t index b3aa564..bb9e73c 100644 --- a/t/02-try_built.t +++ b/t/02-try_built.t @@ -2,13 +2,11 @@ use strict; use warnings; use Test::More; -use Path::FindDev qw( find_dev ); use Path::Tiny; -use Cwd qw( cwd ); use File::Copy::Recursive qw( rcopy ); my $dist = 'fake_dist_02'; -my $source = find_dev('./')->child('corpus')->child($dist); +my $source = Path::Tiny->cwd->child('corpus')->child($dist); my $tempdir = Path::Tiny->tempdir; rcopy( "$source", "$tempdir" ); diff --git a/t/03-try_built-pass2.t b/t/03-try_built-pass2.t index 4e98f63..31661f7 100644 --- a/t/03-try_built-pass2.t +++ b/t/03-try_built-pass2.t @@ -2,13 +2,11 @@ use strict; use warnings; use Test::More; -use Path::FindDev qw( find_dev ); use Path::Tiny; -use Cwd qw( cwd ); use File::Copy::Recursive qw( rcopy ); my $dist = 'fake_dist_03'; -my $source = find_dev('./')->child('corpus')->child($dist); +my $source = Path::Tiny->cwd->child('corpus')->child($dist); my $tempdir = Path::Tiny->tempdir; rcopy( "$source", "$tempdir" ); diff --git a/t/04-try_built_nofallback.t b/t/04-try_built_nofallback.t index ce39ff9..8f4788d 100644 --- a/t/04-try_built_nofallback.t +++ b/t/04-try_built_nofallback.t @@ -2,13 +2,11 @@ use strict; use warnings; use Test::More; -use Path::FindDev qw( find_dev ); use Path::Tiny; -use Cwd qw( cwd ); use File::Copy::Recursive qw( rcopy ); my $dist = 'fake_dist_04'; -my $source = find_dev('./')->child('corpus')->child($dist); +my $source = Path::Tiny->cwd->child('corpus')->child($dist); my $tempdir = Path::Tiny->tempdir; rcopy( "$source", "$tempdir" ); diff --git a/t/05-try_built_nofallback-pass2.t b/t/05-try_built_nofallback-pass2.t index 6acbb14..6609861 100644 --- a/t/05-try_built_nofallback-pass2.t +++ b/t/05-try_built_nofallback-pass2.t @@ -2,13 +2,11 @@ use strict; use warnings; use Test::More; -use Path::FindDev qw( find_dev ); use Path::Tiny; -use Cwd qw( cwd ); use File::Copy::Recursive qw( rcopy ); my $dist = 'fake_dist_05'; -my $source = find_dev('./')->child('corpus')->child($dist); +my $source = Path::Tiny->cwd->child('corpus')->child($dist); my $tempdir = Path::Tiny->tempdir; rcopy( "$source", "$tempdir" ); diff --git a/xt/release/distmeta.t b/xt/release/distmeta.t index b46c7fc..c2280dc 100644 --- a/xt/release/distmeta.t +++ b/xt/release/distmeta.t @@ -1,7 +1,6 @@ #!perl +# This file was automatically generated by Dist::Zilla::Plugin::MetaTests. -use Test::More; +use Test::CPAN::Meta; -eval "use Test::CPAN::Meta"; -plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@; meta_yaml_ok(); diff --git a/xt/release/pod-coverage.t b/xt/release/pod-coverage.t index b52218b..66b3b64 100644 --- a/xt/release/pod-coverage.t +++ b/xt/release/pod-coverage.t @@ -1,13 +1,7 @@ #!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. -use Test::More; - -eval "use Test::Pod::Coverage 1.08"; -plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" - if $@; - -eval "use Pod::Coverage::TrustPod"; -plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" - if $@; +use Test::Pod::Coverage 1.08; +use Pod::Coverage::TrustPod; all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff --git a/xt/release/pod-syntax.t b/xt/release/pod-syntax.t index 8a22900..f0468f1 100644 --- a/xt/release/pod-syntax.t +++ b/xt/release/pod-syntax.t @@ -1,7 +1,6 @@ #!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; +use Test::Pod 1.41; all_pod_files_ok();