diff --git a/.gitignore b/.gitignore index 7894d99..5814755 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -.build -Git-PurePerl-Walker-* +/.build +/Git-PurePerl-Walker-* +/tmp/ diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..a361980 --- /dev/null +++ b/.mailmap @@ -0,0 +1,2 @@ +# git help shortlog + diff --git a/.travis.yml b/.travis.yml index 38a6708..af9ef6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,56 +1,58 @@ -language: perl -matrix: - allow_failures: - - perl: "5.8" - - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 - - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - include: - - perl: "5.8" - env: STERILIZE_ENV=0 - - perl: "5.10" - env: STERILIZE_ENV=0 - - perl: "5.12" - env: STERILIZE_ENV=0 - - perl: "5.14" - env: STERILIZE_ENV=0 - - perl: "5.16" - env: STERILIZE_ENV=0 - - perl: "5.20" - env: STERILIZE_ENV=0 - - perl: "5.21" - env: STERILIZE_ENV=0 - - perl: "5.8" - env: STERILIZE_ENV=1 - - perl: "5.10" - env: STERILIZE_ENV=1 - - perl: "5.20" - env: STERILIZE_ENV=1 - - perl: "5.21" - env: STERILIZE_ENV=1 - - perl: "5.21" - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 - - perl: "5.21" - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 - - perl: "5.21" - env: STERILIZE_ENV=0 COVERAGE_TESTING=1 +--- +after_failure: + - perl ./maint-travis-ci/report_fail_ctx.pl before_install: - perlbrew list - time git clone --depth 10 https://github.com/kentfredric/travis-scripts.git maint-travis-ci - time git -C ./maint-travis-ci reset --hard master - time perl ./maint-travis-ci/branch_reset.pl - time perl ./maint-travis-ci/sterilize_env.pl -install: - - time perl ./maint-travis-ci/install_deps_early.pl - - time perl ./maint-travis-ci/install_deps.pl before_script: - time perl ./maint-travis-ci/before_script.pl -script: - - time perl ./maint-travis-ci/script.pl -after_failure: - - perl ./maint-travis-ci/report_fail_ctx.pl branches: only: - - "master" - - "build/master" - - "releases" - + - master + - builds + - releases +install: + - time perl ./maint-travis-ci/install_deps_early.pl + - time perl ./maint-travis-ci/autoinstall_dzil.pl + - time perl ./maint-travis-ci/install_deps_2.pl +language: perl +matrix: + allow_failures: + - perl: '5.8' + - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 + - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + include: + - env: STERILIZE_ENV=0 COVERAGE_TESTING=1 + perl: '5.21' + - env: STERILIZE_ENV=1 + perl: '5.21' + - env: STERILIZE_ENV=0 + perl: '5.8' + - env: STERILIZE_ENV=0 + perl: '5.10' + - env: STERILIZE_ENV=0 + perl: '5.12' + - env: STERILIZE_ENV=0 + perl: '5.14' + - env: STERILIZE_ENV=0 + perl: '5.16' + - env: STERILIZE_ENV=0 + perl: '5.20' + - env: STERILIZE_ENV=0 + perl: '5.21' + - env: STERILIZE_ENV=1 + perl: '5.8' + - env: STERILIZE_ENV=1 + perl: '5.10' + - env: STERILIZE_ENV=1 + perl: '5.20' + - env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + perl: '5.21' + - env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 + perl: '5.21' +script: + - time perl ./maint-travis-ci/script.pl +sudo: false diff --git a/Changes b/Changes index 6716ead..c8877dd 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,16 @@ Release history for Git-PurePerl-Walker +0.004001 2017-03-09T16:11:07Z d3f5ed8 + - Bugfix: Avoid test failures with -Ddefault_inc_excludes_dot + - Tests made more portable to older Test::More + + [Dependencies::Stats] + - Dependencies changed since 0.004000, see misc/*.deps* for details + - configure: +1 (recommends: ↑1) + - develop: +14 ↑4 -3 (recommends: +1, suggests: ↑2) + - runtime: ↓1 -1 (recommends: +2) + - test: +1 ↓1 (recommends: ↑1 ↓1) + 0.004000 2014-08-18T05:52:33Z [00 Minor] - Replace Path::Class with Path::Tiny in code and tests. @@ -62,4 +73,3 @@ Release history for Git-PurePerl-Walker 0.001000 2012-05-29T04:26:00Z - First version. - diff --git a/LICENSE b/LICENSE index df1fb1e..42cb978 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ b) the "Artistic License" --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2014 by Kent Fredric . +This software is Copyright (c) 2017 by Kent Fredric . This is free software, licensed under: @@ -272,7 +272,7 @@ That's all there is to it! --- The Artistic License 1.0 --- -This software is Copyright (c) 2014 by Kent Fredric . +This software is Copyright (c) 2017 by Kent Fredric . This is free software, licensed under: diff --git a/MANIFEST b/MANIFEST index 86157b5..a47c2e3 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,6 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. .gitignore +.mailmap .perltidyrc .travis.yml Changes @@ -28,6 +29,7 @@ misc/Changes.deps misc/Changes.deps.all misc/Changes.deps.dev misc/Changes.deps.opt +misc/built_with.json misc/perlcritic.deps perlcritic.rc t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_FromHEAD_pm.t @@ -50,10 +52,10 @@ t/git_repo_01.tar.gz t/tlib/t/util.pm weaver.ini xt/author/critic.t +xt/author/eol.t +xt/author/pod-coverage.t +xt/author/pod-syntax.t xt/release/cpan-changes.t xt/release/distmeta.t -xt/release/eol.t xt/release/kwalitee.t xt/release/minimum-version.t -xt/release/pod-coverage.t -xt/release/pod-syntax.t diff --git a/META.json b/META.json index 9a8447c..edb2634 100644 --- a/META.json +++ b/META.json @@ -4,39 +4,45 @@ "Kent Fredric " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060", + "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Git-PurePerl-Walker", "prereqs" : { "configure" : { "recommends" : { - "ExtUtils::MakeMaker" : "6.98" + "ExtUtils::MakeMaker" : "7.00" }, "requires" : { - "ExtUtils::MakeMaker" : "0" + "ExtUtils::MakeMaker" : "0", + "perl" : "5.006" } }, "develop" : { + "recommends" : { + "Test::More" : "0.99" + }, "requires" : { - "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.001001", + "Dist::Zilla" : "5", + "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.004002", + "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : "0.001002", "Dist::Zilla::Plugin::Authority" : "1.006", "Dist::Zilla::Plugin::AutoPrereqs" : "0", "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0", "Dist::Zilla::Plugin::ConfirmRelease" : "0", "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0", - "Dist::Zilla::Plugin::EOLTests" : "0", + "Dist::Zilla::Plugin::Encoding" : "0", "Dist::Zilla::Plugin::Git::Check" : "0", "Dist::Zilla::Plugin::Git::Commit" : "0", "Dist::Zilla::Plugin::Git::CommitBuild" : "0", "Dist::Zilla::Plugin::Git::Contributors" : "0.006", "Dist::Zilla::Plugin::Git::GatherDir" : "0", - "Dist::Zilla::Plugin::Git::NextRelease" : "0", + "Dist::Zilla::Plugin::Git::NextRelease" : "0.004000", "Dist::Zilla::Plugin::Git::Tag" : "0", "Dist::Zilla::Plugin::GithubMeta" : "0", "Dist::Zilla::Plugin::License" : "0", @@ -44,23 +50,27 @@ "Dist::Zilla::Plugin::Manifest" : "0", "Dist::Zilla::Plugin::ManifestSkip" : "0", "Dist::Zilla::Plugin::MetaConfig" : "0", - "Dist::Zilla::Plugin::MetaData::BuiltWith" : "0", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.004000", "Dist::Zilla::Plugin::MetaJSON" : "0", "Dist::Zilla::Plugin::MetaProvides::Package" : "1.14000001", "Dist::Zilla::Plugin::MetaTests" : "0", - "Dist::Zilla::Plugin::MetaYAML" : "0", + "Dist::Zilla::Plugin::MetaYAML::Minimal" : "0", "Dist::Zilla::Plugin::MinimumPerl" : "0", "Dist::Zilla::Plugin::PodCoverageTests" : "0", "Dist::Zilla::Plugin::PodSyntaxTests" : "0", "Dist::Zilla::Plugin::PodWeaver" : "0", "Dist::Zilla::Plugin::Prereqs" : "0", + "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0", "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0", + "Dist::Zilla::Plugin::Prereqs::Upgrade" : "0", + "Dist::Zilla::Plugin::Readme::Brief" : "0", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0", - "Dist::Zilla::Plugin::ReadmeFromPod" : "0", + "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0", "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0", "Dist::Zilla::Plugin::RunExtraTests" : "0", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0", - "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.003902", + "Dist::Zilla::Plugin::Test::EOL" : "0", "Dist::Zilla::Plugin::Test::Kwalitee" : "0", "Dist::Zilla::Plugin::Test::MinimumVersion" : "0", "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", @@ -68,19 +78,28 @@ "Dist::Zilla::Plugin::TestRelease" : "0", "Dist::Zilla::Plugin::Twitter" : "0", "Dist::Zilla::Plugin::UploadToCPAN" : "0", + "English" : "0", "Pod::Coverage::TrustPod" : "0", + "Software::License::Perl_5" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", + "Test::EOL" : "0", "Test::Kwalitee" : "1.21", + "Test::MinimumVersion" : "0", + "Test::More" : "0.96", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08" }, "suggests" : { - "Dist::Zilla::App::Command::bakeini" : "0.001002", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.019000" + "Dist::Zilla::App::Command::bakeini" : "0.002006", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.025021" } }, "runtime" : { + "recommends" : { + "Moose" : "2.000", + "Path::Tiny" : "0.058" + }, "requires" : { "Carp" : "0", "Git::PurePerl" : "0", @@ -92,17 +111,16 @@ "MooseX::Types::Moose" : "0", "Path::Tiny" : "0", "namespace::autoclean" : "0", - "perl" : "5.008", + "perl" : "5.006", "strict" : "0", - "utf8" : "0", "warnings" : "0" } }, "test" : { "recommends" : { "CPAN::Meta" : "2.120900", - "ExtUtils::MakeMaker" : "6.98", - "Test::More" : "1.001003" + "ExtUtils::MakeMaker" : "7.00", + "Test::More" : "0.99" }, "requires" : { "Archive::Tar" : "0", @@ -113,47 +131,48 @@ "FindBin" : "0", "Package::Stash" : "0", "Scalar::Util" : "0", - "Test::More" : "0.89", - "lib" : "0" + "Test::More" : "0", + "lib" : "0", + "perl" : "5.006" } } }, "provides" : { "Git::PurePerl::Walker" : { "file" : "lib/Git/PurePerl/Walker.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::Method::FirstParent" : { "file" : "lib/Git/PurePerl/Walker/Method/FirstParent.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::Method::FirstParent::FromHEAD" : { "file" : "lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::OnCommit::CallBack" : { "file" : "lib/Git/PurePerl/Walker/OnCommit/CallBack.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::OnCommit::List" : { "file" : "lib/Git/PurePerl/Walker/OnCommit/List.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::Role::HasRepo" : { "file" : "lib/Git/PurePerl/Walker/Role/HasRepo.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::Role::Method" : { "file" : "lib/Git/PurePerl/Walker/Role/Method.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::Role::OnCommit" : { "file" : "lib/Git/PurePerl/Walker/Role/OnCommit.pm", - "version" : "0.004000" + "version" : "0.004001" }, "Git::PurePerl::Walker::Types" : { "file" : "lib/Git/PurePerl/Walker/Types.pm", - "version" : "0.004000" + "version" : "0.004001" } }, "release_status" : "stable", @@ -168,117 +187,24 @@ "web" : "https://github.com/kentnl/Git-PurePerl-Walker" } }, - "version" : "0.004000", + "version" : "0.004001", "x_BuiltWith" : { - "modules" : { - "Archive::Tar" : "2.00", - "CPAN::Meta" : "2.142060", - "Carp" : "1.34", - "Dist::Zilla::App::Command::bakeini" : "0.001002", - "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.002002", - "Dist::Zilla::Plugin::Authority" : "1.006", - "Dist::Zilla::Plugin::AutoPrereqs" : "5.020", - "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::Contributors" : "0.007", - "Dist::Zilla::Plugin::Git::GatherDir" : "2.023", - "Dist::Zilla::Plugin::Git::NextRelease" : "0.002012", - "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.002000", - "Dist::Zilla::Plugin::MetaJSON" : "5.020", - "Dist::Zilla::Plugin::MetaProvides::Package" : "2.000004", - "Dist::Zilla::Plugin::MetaTests" : "5.020", - "Dist::Zilla::Plugin::MetaYAML" : "5.020", - "Dist::Zilla::Plugin::MinimumPerl" : "1.003", - "Dist::Zilla::Plugin::PodCoverageTests" : "5.020", - "Dist::Zilla::Plugin::PodSyntaxTests" : "5.020", - "Dist::Zilla::Plugin::PodWeaver" : "4.006", - "Dist::Zilla::Plugin::Prereqs" : "5.020", - "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.002001", - "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142250", - "Dist::Zilla::Plugin::ReadmeFromPod" : "0.21", - "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001003", - "Dist::Zilla::Plugin::RunExtraTests" : "0.022", - "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", - "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.002002", - "Dist::Zilla::Plugin::Test::Kwalitee" : "2.08", - "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000005", - "Dist::Zilla::Plugin::Test::Perl::Critic" : "2.112410", - "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.019", - "Dist::Zilla::Plugin::TestRelease" : "5.020", - "Dist::Zilla::Plugin::Twitter" : "0.025", - "Dist::Zilla::Plugin::UploadToCPAN" : "5.020", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.019000", - "ExtUtils::MakeMaker" : "6.98", - "File::Spec" : "3.48", - "File::Temp" : "0.2304", - "File::pushd" : "1.009", - "FindBin" : "1.51", - "Git::PurePerl" : "0.50", - "Module::Runtime" : "0.014", - "Moose" : "2.1211", - "Moose::Role" : "2.1211", - "MooseX::Clone" : "0.05", - "MooseX::Types" : "0.44", - "MooseX::Types::Moose" : "0.44", - "Package::Stash" : "0.36", - "Path::Tiny" : "0.056", - "Pod::Coverage::TrustPod" : "0.100003", - "Scalar::Util" : "1.39", - "Test::CPAN::Changes" : "0.30", - "Test::CPAN::Meta" : "0.23", - "Test::Kwalitee" : "1.22", - "Test::More" : "1.001003", - "Test::Pod" : "1.48", - "Test::Pod::Coverage" : "1.10", - "lib" : "0.63", - "namespace::autoclean" : "0.19", - "strict" : "1.08", - "utf8" : "1.14", - "warnings" : "1.24" - }, - "perl" : { - "original" : "v5.21.1", - "qv" : 1, - "version" : [ - 5, - 21, - 1 - ] - }, - "perl-config" : { - "gccversion" : "4.8.3", - "myarchname" : "x86_64-linux", - "osname" : "linux" - }, - "platform" : "linux", - "uname" : "Linux 3.15.5-aufs x86_64 GenuineIntel GNU/Linux" + "external_file" : "misc/built_with.json" }, "x_Dist_Zilla" : { "perl" : { - "version" : "5.021001" + "version" : "5.025010" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::KENTNL/GithubMeta", - "version" : "0.46" + "version" : "0.54" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -288,24 +214,32 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.020" + "version" : "6.009" } - ] + ], + "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000033", + "version" : "0.004" } }, "name" : "@Author::KENTNL/MetaProvides::Package", - "version" : "2.000004" + "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::MetaData::BuiltWith", "config" : { "Dist::Zilla::Plugin::MetaData::BuiltWith" : { + "$Module::Metadata::VERSION" : "1.000033", "_stash_key" : "x_BuiltWith", + "external_file_name" : "misc/built_with.json", "show_config" : "1", "show_uname" : "1", "uname" : { @@ -317,107 +251,151 @@ "-i" ], "uname_call" : "uname" - } + }, + "use_external_file" : "only" } }, "name" : "@Author::KENTNL/MetaData::BuiltWith", - "version" : "1.002000" + "version" : "1.004005" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "include_authors" : "0", - "include_releaser" : "0", + "git --version" : "2.11.1", + "include_authors" : 0, + "include_releaser" : 0, "order_by" : "name", "paths" : [] } }, "name" : "@Author::KENTNL/Git::Contributors", - "version" : "0.007" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "config" : { - "Dist::Zilla::Plugin::Git::GatherDir" : { - "include_untracked" : "0" + "Dist::Zilla::Plugin::GatherDir" : { + "exclude_filename" : [ + "LICENSE", + "README", + "README.mkdn", + "README.pod" + ], + "exclude_match" : [], + "follow_symlinks" : 0, + "include_dotfiles" : 1, + "prefix" : "", + "prune_directory" : [], + "root" : "." }, - "Dist::Zilla::Role::Git::Repo" : { - "repo_root" : "." + "Dist::Zilla::Plugin::Git::GatherDir" : { + "include_untracked" : 0 } }, "name" : "@Author::KENTNL/Git::GatherDir", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::KENTNL/License", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::KENTNL/MetaJSON", - "version" : "5.020" + "version" : "6.009" }, { - "class" : "Dist::Zilla::Plugin::MetaYAML", - "name" : "@Author::KENTNL/MetaYAML", - "version" : "5.020" + "class" : "Dist::Zilla::Plugin::MetaYAML::Minimal", + "config" : { + "Dist::Zilla::Plugin::MetaYAML::Minimal" : { + "filename" : "META.yml", + "version" : "1.4" + } + }, + "name" : "@Author::KENTNL/MetaYAML::Minimal", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::KENTNL/Manifest", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::Author::KENTNL::TravisCI", + "config" : { + "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : { + "fail_perls" : [ + "5.8" + ], + "skip_perls" : [] + } + }, + "name" : "@Author::KENTNL/Author::KENTNL::TravisCI", + "version" : "0.001004" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", "name" : "@Author::KENTNL/CopyXBuild", - "version" : "0.103510" + "version" : "0.163040" }, { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::KENTNL/MetaTests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::KENTNL/PodCoverageTests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::KENTNL/PodSyntaxTests", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::KENTNL/Test::ReportPrereqs", - "version" : "0.019" + "version" : "0.025" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", "config" : { "Dist::Zilla::Plugin::Test::Kwalitee" : { + "filename" : "xt/release/kwalitee.t", "skiptest" : [] } }, "name" : "@Author::KENTNL/Test::Kwalitee", - "version" : "2.08" + "version" : "2.12" }, { - "class" : "Dist::Zilla::Plugin::EOLTests", - "name" : "@Author::KENTNL/EOLTests", - "version" : "0.02" + "class" : "Dist::Zilla::Plugin::Test::EOL", + "config" : { + "Dist::Zilla::Plugin::Test::EOL" : { + "filename" : "xt/author/eol.t", + "finder" : [ + ":ExecFiles", + ":InstallModules", + ":TestFiles" + ], + "trailing_whitespace" : 1 + } + }, + "name" : "@Author::KENTNL/Test::EOL", + "version" : "0.19" }, { "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", "name" : "@Author::KENTNL/Test::MinimumVersion", - "version" : "2.000005" + "version" : "2.000007" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile", @@ -437,33 +415,43 @@ "path_translator" : "base64_filter", "prefix" : "t/00-compile", "skip" : [], - "test_template" : "01-basic.t.tpl", + "test_template" : "02-raw-require.t.tpl", "xt_mode" : null } }, "name" : "@Author::KENTNL/Test::Compile::PerFile", - "version" : "0.002002" + "version" : "0.004000" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", "name" : "@Author::KENTNL/Test::Perl::Critic", - "version" : "2.112410" + "version" : "3.000" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::KENTNL/ManifestSkip", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Sanitized", "config" : { + "Dist::Zilla::Plugin::RewriteVersion" : { + "add_tarball_name" : 0, + "finders" : [ + ":ExecFiles", + ":InstallModules" + ], + "global" : 0, + "skip_version_provider" : 0 + }, "Dist::Zilla::Role::Version::Sanitize" : { + "$Dist::Zilla::Role::Version::Sanitize::VERSION" : "0.002003", "mantissa" : "6", "normal_form" : "numify" } }, "name" : "@Author::KENTNL/RewriteVersion::Sanitized", - "version" : "0.001003" + "version" : "0.001006" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -477,143 +465,143 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "-SingleEncoding", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Name", "name" : "Name", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Version", "name" : "Version", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "prelude", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "CARGS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRMETHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "REQUIRES_METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "INHERITED_METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PCARGS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_ATTRIBUTES", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PRIVATE_METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "PATTRMETHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "EXTENDS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "CONSUMED_ROLES", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ROLE_METHODS", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "Leftovers", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "postlude", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "Authors", - "version" : "4.006" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "Legal", - "version" : "4.006" + "version" : "4.015" } ] } }, "name" : "@Author::KENTNL/PodWeaver", - "version" : "4.006" + "version" : "4.008" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::KENTNL/AutoPrereqs", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -624,17 +612,22 @@ } }, "name" : "@Author::KENTNL/BundleDevelSuggests", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", + "name" : "@Author::KENTNL/Prereqs::AuthorDeps", + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::MinimumPerl", "name" : "@Author::KENTNL/MinimumPerl", - "version" : "1.003" + "version" : "1.006" }, { "class" : "Dist::Zilla::Plugin::Authority", "name" : "@Author::KENTNL/Authority", - "version" : "1.006" + "version" : "1.009" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -644,27 +637,37 @@ } }, "name" : "@Author::KENTNL/MakeMaker", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes", "name" : "@Author::KENTNL/Author::KENTNL::RecommendFixes", - "version" : "0.002002" + "version" : "0.005004" }, { - "class" : "Dist::Zilla::Plugin::ReadmeFromPod", - "name" : "@Author::KENTNL/ReadmeFromPod", - "version" : "0.21" + "class" : "Dist::Zilla::Plugin::Readme::Brief", + "name" : "@Author::KENTNL/ShippedReadme", + "version" : "0.003001" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", + "config" : { + "Dist::Zilla::Role::FileWatcher" : { + "version" : "0.006" + } + }, "name" : "@Author::KENTNL/ReadmeAnyFromPod", - "version" : "0.142250" + "version" : "0.163250" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", + "config" : { + "Dist::Zilla::Plugin::Test::CPAN::Changes" : { + "changelog" : "Changes" + } + }, "name" : "@Author::KENTNL/Test::CPAN::Changes", - "version" : "0.008" + "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -674,17 +677,17 @@ } }, "name" : "@Author::KENTNL/RunExtraTests", - "version" : "0.022" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::KENTNL/TestRelease", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::KENTNL/ConfirmRelease", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -694,82 +697,104 @@ }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "dist.ini", - "Changes" + "Changes", + "dist.ini" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." } }, "name" : "@Author::KENTNL/Git::Check", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], - "commit_msg" : "v%v%n%n%c", - "time_zone" : "local" + "commit_msg" : "v%v%n%n%c" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "dist.ini", - "Changes" + "Changes", + "dist.ini" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/commit_dirty_files", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, + "changelog" : "Changes", "signed" : 0, - "tag" : "0.004000-source", + "tag" : "0.004001-source", "tag_format" : "%v-source", - "tag_message" : "v%v", - "time_zone" : "local" + "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/tag_master", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::NextRelease", + "config" : { + "Dist::Zilla::Plugin::Git::NextRelease" : { + "default_branch" : "master" + } + }, "name" : "@Author::KENTNL/Git::NextRelease", - "version" : "0.002012" + "version" : "0.004000" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", + "config" : { + "Dist::Zilla::Plugin::BumpVersionAfterRelease" : { + "finders" : [ + ":ExecFiles", + ":InstallModules" + ], + "global" : 0, + "munge_makefile_pl" : 1 + } + }, "name" : "@Author::KENTNL/BumpVersionAfterRelease", - "version" : "0.002" + "version" : "0.015" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], - "commit_msg" : "v%v%n%n%c", - "time_zone" : "local" + "commit_msg" : "v%v%n%n%c" }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "dist.ini", - "Changes" + "Changes", + "dist.ini" ], "allow_dirty_match" : [ "(?^u:^lib/)" @@ -777,17 +802,21 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/commit_release_changes", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::CommitBuild", "config" : { "Dist::Zilla::Plugin::Git::CommitBuild" : { - "branch" : "build/%b", + "branch" : "builds", "build_root" : null, "message" : "Build results of %h (on %b)", "multiple_inheritance" : 0, @@ -795,66 +824,64 @@ "release_message" : "Build results of %h (on %b)" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." } }, "name" : "@Author::KENTNL/Git::CommitBuild", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "config" : { "Dist::Zilla::Plugin::Git::Tag" : { "branch" : "releases", + "changelog" : "Changes", "signed" : 0, - "tag" : "0.004000", + "tag" : "0.004001", "tag_format" : "%v", - "tag_message" : "v%v", - "time_zone" : "local" + "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { + "git --version" : "2.11.1", "repo_root" : "." + }, + "Dist::Zilla::Role::Git::StringFormatter" : { + "time_zone" : "local" } }, "name" : "@Author::KENTNL/tag_release", - "version" : "2.023" + "version" : "2.041" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::KENTNL/UploadToCPAN", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Twitter", "name" : "@Author::KENTNL/Twitter", - "version" : "0.025" + "version" : "0.026" }, { - "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", + "class" : "Dist::Zilla::Plugin::Prereqs::Upgrade", "config" : { - "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : { - "applyto_map" : [ - "build.requires = build.recommends", - "test.requires = test.recommends", - "runtime.requires = runtime.recommends", - "configure.requires = configure.recommends", - "develop.requires = develop.recommends" - ], - "applyto_phase" : [ - "build", - "test", - "runtime", - "configure", - "develop" - ], - "modules" : [ - "ExtUtils::MakeMaker", - "Test::More" - ] + "Dist::Zilla::Plugin::Prereqs::Upgrade" : { + "modules" : { + "Dist::Zila::Plugin::MetaProvides::Package" : "2.000000", + "Dist::Zilla" : "5", + "ExtUtils::MakeMaker" : "7.00", + "File::ShareDir::Install" : "0.10", + "Moo" : "1.000008", + "Moose" : "2.000", + "Path::Tiny" : "0.058", + "Test::File::ShareDir" : "1.000000", + "Test::More" : "0.99" + } } }, - "name" : "@Author::KENTNL/Prereqs::Recommend::MatchInstalled", - "version" : "0.002001" + "name" : "@Author::KENTNL/Prereqs::Upgrade", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled", @@ -869,11 +896,18 @@ "modules" : [ "Dist::Zilla::PluginBundle::Author::KENTNL", "Dist::Zilla::App::Command::bakeini" - ] + ], + "source_relation" : "requires", + "target_relation" : "recommends" } }, "name" : "@Author::KENTNL/always_latest_develop_bundle", - "version" : "0.002001" + "version" : "0.003002" + }, + { + "class" : "Dist::Zilla::Plugin::RemovePrereqs::Provided", + "name" : "@Author::KENTNL/RemovePrereqs::Provided", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -884,12 +918,12 @@ } }, "name" : "@Author::KENTNL/::Role::BundleDeps", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Encoding", "name" : "Encoding", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -900,61 +934,73 @@ } }, "name" : "Prereqs", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":ExtraTestFiles", + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.020" + "version" : "6.009" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":PerlExecFiles", + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.020" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.020" + "version" : "6.009" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "5.020" + "version" : "6.009" } }, - "x_authority" : "cpan:KENTNL" + "x_authority" : "cpan:KENTNL", + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0227" } + diff --git a/META.yml b/META.yml index 12de19c..ca32ebc 100644 --- a/META.yml +++ b/META.yml @@ -11,12 +11,14 @@ build_requires: FindBin: '0' Package::Stash: '0' Scalar::Util: '0' - Test::More: '0.89' + Test::More: '0' lib: '0' + perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' -dynamic_config: '0' -generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060' + perl: '5.006' +dynamic_config: 0 +generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -25,31 +27,34 @@ name: Git-PurePerl-Walker provides: Git::PurePerl::Walker: file: lib/Git/PurePerl/Walker.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::Method::FirstParent: file: lib/Git/PurePerl/Walker/Method/FirstParent.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::Method::FirstParent::FromHEAD: file: lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::OnCommit::CallBack: file: lib/Git/PurePerl/Walker/OnCommit/CallBack.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::OnCommit::List: file: lib/Git/PurePerl/Walker/OnCommit/List.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::Role::HasRepo: file: lib/Git/PurePerl/Walker/Role/HasRepo.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::Role::Method: file: lib/Git/PurePerl/Walker/Role/Method.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::Role::OnCommit: file: lib/Git/PurePerl/Walker/Role/OnCommit.pm - version: '0.004000' + version: '0.004001' Git::PurePerl::Walker::Types: file: lib/Git/PurePerl/Walker/Types.pm - version: '0.004000' + version: '0.004001' +recommends: + Moose: '2.000' + Path::Tiny: '0.058' requires: Carp: '0' Git::PurePerl: '0' @@ -61,634 +66,11 @@ requires: MooseX::Types::Moose: '0' Path::Tiny: '0' namespace::autoclean: '0' - perl: '5.008' + perl: '5.006' strict: '0' - utf8: '0' warnings: '0' resources: bugtracker: https://github.com/kentnl/Git-PurePerl-Walker/issues homepage: https://github.com/kentnl/Git-PurePerl-Walker repository: https://github.com/kentnl/Git-PurePerl-Walker.git -version: '0.004000' -x_BuiltWith: - modules: - Archive::Tar: '2.00' - CPAN::Meta: '2.142060' - Carp: '1.34' - Dist::Zilla::App::Command::bakeini: '0.001002' - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes: '0.002002' - Dist::Zilla::Plugin::Authority: '1.006' - Dist::Zilla::Plugin::AutoPrereqs: '5.020' - 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::Contributors: '0.007' - Dist::Zilla::Plugin::Git::GatherDir: '2.023' - Dist::Zilla::Plugin::Git::NextRelease: '0.002012' - 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.002000' - Dist::Zilla::Plugin::MetaJSON: '5.020' - Dist::Zilla::Plugin::MetaProvides::Package: '2.000004' - Dist::Zilla::Plugin::MetaTests: '5.020' - Dist::Zilla::Plugin::MetaYAML: '5.020' - Dist::Zilla::Plugin::MinimumPerl: '1.003' - Dist::Zilla::Plugin::PodCoverageTests: '5.020' - Dist::Zilla::Plugin::PodSyntaxTests: '5.020' - Dist::Zilla::Plugin::PodWeaver: '4.006' - Dist::Zilla::Plugin::Prereqs: '5.020' - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: '0.002001' - Dist::Zilla::Plugin::ReadmeAnyFromPod: '0.142250' - Dist::Zilla::Plugin::ReadmeFromPod: '0.21' - Dist::Zilla::Plugin::RewriteVersion::Sanitized: '0.001003' - Dist::Zilla::Plugin::RunExtraTests: '0.022' - Dist::Zilla::Plugin::Test::CPAN::Changes: '0.008' - Dist::Zilla::Plugin::Test::Compile::PerFile: '0.002002' - Dist::Zilla::Plugin::Test::Kwalitee: '2.08' - Dist::Zilla::Plugin::Test::MinimumVersion: '2.000005' - Dist::Zilla::Plugin::Test::Perl::Critic: '2.112410' - Dist::Zilla::Plugin::Test::ReportPrereqs: '0.019' - Dist::Zilla::Plugin::TestRelease: '5.020' - Dist::Zilla::Plugin::Twitter: '0.025' - Dist::Zilla::Plugin::UploadToCPAN: '5.020' - Dist::Zilla::PluginBundle::Author::KENTNL: '2.019000' - ExtUtils::MakeMaker: '6.98' - File::Spec: '3.48' - File::Temp: '0.2304' - File::pushd: '1.009' - FindBin: '1.51' - Git::PurePerl: '0.50' - Module::Runtime: '0.014' - Moose: '2.1211' - Moose::Role: '2.1211' - MooseX::Clone: '0.05' - MooseX::Types: '0.44' - MooseX::Types::Moose: '0.44' - Package::Stash: '0.36' - Path::Tiny: '0.056' - Pod::Coverage::TrustPod: '0.100003' - Scalar::Util: '1.39' - Test::CPAN::Changes: '0.30' - Test::CPAN::Meta: '0.23' - Test::Kwalitee: '1.22' - Test::More: '1.001003' - Test::Pod: '1.48' - Test::Pod::Coverage: '1.10' - lib: '0.63' - namespace::autoclean: '0.19' - strict: '1.08' - utf8: '1.14' - warnings: '1.24' - perl: - original: v5.21.1 - qv: 1 - version: - - 5 - - 21 - - 1 - perl-config: - gccversion: 4.8.3 - myarchname: x86_64-linux - osname: linux - platform: linux - uname: 'Linux 3.15.5-aufs x86_64 GenuineIntel GNU/Linux' -x_Dist_Zilla: - perl: - version: '5.021001' - plugins: - - - class: Dist::Zilla::Plugin::MetaConfig - name: '@Author::KENTNL/MetaConfig' - version: '5.020' - - - class: Dist::Zilla::Plugin::GithubMeta - name: '@Author::KENTNL/GithubMeta' - version: '0.46' - - - class: Dist::Zilla::Plugin::MetaProvides::Package - config: - Dist::Zilla::Plugin::MetaProvides::Package: - finder_objects: - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.020' - Dist::Zilla::Role::MetaProvider::Provider: - inherit_missing: '1' - inherit_version: '1' - meta_noindex: '1' - name: '@Author::KENTNL/MetaProvides::Package' - version: '2.000004' - - - class: Dist::Zilla::Plugin::MetaData::BuiltWith - config: - Dist::Zilla::Plugin::MetaData::BuiltWith: - _stash_key: x_BuiltWith - show_config: '1' - show_uname: '1' - uname: - uname_args: - - -s - - -o - - -r - - -m - - -i - uname_call: uname - name: '@Author::KENTNL/MetaData::BuiltWith' - version: '1.002000' - - - class: Dist::Zilla::Plugin::Git::Contributors - config: - Dist::Zilla::Plugin::Git::Contributors: - include_authors: '0' - include_releaser: '0' - order_by: name - paths: [] - name: '@Author::KENTNL/Git::Contributors' - version: '0.007' - - - class: Dist::Zilla::Plugin::Git::GatherDir - config: - Dist::Zilla::Plugin::Git::GatherDir: - include_untracked: '0' - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/Git::GatherDir' - version: '2.023' - - - class: Dist::Zilla::Plugin::License - name: '@Author::KENTNL/License' - version: '5.020' - - - class: Dist::Zilla::Plugin::MetaJSON - name: '@Author::KENTNL/MetaJSON' - version: '5.020' - - - class: Dist::Zilla::Plugin::MetaYAML - name: '@Author::KENTNL/MetaYAML' - version: '5.020' - - - class: Dist::Zilla::Plugin::Manifest - name: '@Author::KENTNL/Manifest' - version: '5.020' - - - class: Dist::Zilla::Plugin::CopyFilesFromBuild - name: '@Author::KENTNL/CopyXBuild' - version: '0.103510' - - - class: Dist::Zilla::Plugin::MetaTests - name: '@Author::KENTNL/MetaTests' - version: '5.020' - - - class: Dist::Zilla::Plugin::PodCoverageTests - name: '@Author::KENTNL/PodCoverageTests' - version: '5.020' - - - class: Dist::Zilla::Plugin::PodSyntaxTests - name: '@Author::KENTNL/PodSyntaxTests' - version: '5.020' - - - class: Dist::Zilla::Plugin::Test::ReportPrereqs - name: '@Author::KENTNL/Test::ReportPrereqs' - version: '0.019' - - - class: Dist::Zilla::Plugin::Test::Kwalitee - config: - Dist::Zilla::Plugin::Test::Kwalitee: - skiptest: [] - name: '@Author::KENTNL/Test::Kwalitee' - version: '2.08' - - - class: Dist::Zilla::Plugin::EOLTests - name: '@Author::KENTNL/EOLTests' - version: '0.02' - - - class: Dist::Zilla::Plugin::Test::MinimumVersion - name: '@Author::KENTNL/Test::MinimumVersion' - version: '2.000005' - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM' - version: '5.020' - - - class: Dist::Zilla::Plugin::Test::Compile::PerFile - config: - Dist::Zilla::Plugin::Test::Compile::PerFile: - file: - - lib/Git/PurePerl/Walker.pm - - lib/Git/PurePerl/Walker/Method/FirstParent.pm - - lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm - - lib/Git/PurePerl/Walker/OnCommit/CallBack.pm - - lib/Git/PurePerl/Walker/OnCommit/List.pm - - lib/Git/PurePerl/Walker/Role/HasRepo.pm - - lib/Git/PurePerl/Walker/Role/Method.pm - - lib/Git/PurePerl/Walker/Role/OnCommit.pm - - lib/Git/PurePerl/Walker/Types.pm - path_translator: base64_filter - prefix: t/00-compile - skip: [] - test_template: 01-basic.t.tpl - xt_mode: ~ - name: '@Author::KENTNL/Test::Compile::PerFile' - version: '0.002002' - - - class: Dist::Zilla::Plugin::Test::Perl::Critic - name: '@Author::KENTNL/Test::Perl::Critic' - version: '2.112410' - - - class: Dist::Zilla::Plugin::ManifestSkip - name: '@Author::KENTNL/ManifestSkip' - version: '5.020' - - - class: Dist::Zilla::Plugin::RewriteVersion::Sanitized - config: - Dist::Zilla::Role::Version::Sanitize: - mantissa: '6' - normal_form: numify - name: '@Author::KENTNL/RewriteVersion::Sanitized' - version: '0.001003' - - - class: Dist::Zilla::Plugin::PodWeaver - config: - Dist::Zilla::Plugin::PodWeaver: - finder: - - ':InstallModules' - - ':ExecFiles' - plugins: - - - class: Pod::Weaver::Plugin::EnsurePod5 - name: '@CorePrep/EnsurePod5' - version: '4.006' - - - class: Pod::Weaver::Plugin::H1Nester - name: '@CorePrep/H1Nester' - version: '4.006' - - - class: Pod::Weaver::Plugin::SingleEncoding - name: -SingleEncoding - version: '4.006' - - - class: Pod::Weaver::Section::Name - name: Name - version: '4.006' - - - class: Pod::Weaver::Section::Version - name: Version - version: '4.006' - - - class: Pod::Weaver::Section::Region - name: prelude - version: '4.006' - - - class: Pod::Weaver::Section::Generic - name: SYNOPSIS - version: '4.006' - - - class: Pod::Weaver::Section::Generic - name: DESCRIPTION - version: '4.006' - - - class: Pod::Weaver::Section::Generic - name: OVERVIEW - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: CARGS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: ATTRIBUTES - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: ATTRMETHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: REQUIRES_METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: INHERITED_METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: PCARGS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: PRIVATE_ATTRIBUTES - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: PRIVATE_METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: PATTRMETHODS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: EXTENDS - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: CONSUMED_ROLES - version: '4.006' - - - class: Pod::Weaver::Section::Collect - name: ROLE_METHODS - version: '4.006' - - - class: Pod::Weaver::Section::Leftovers - name: Leftovers - version: '4.006' - - - class: Pod::Weaver::Section::Region - name: postlude - version: '4.006' - - - class: Pod::Weaver::Section::Authors - name: Authors - version: '4.006' - - - class: Pod::Weaver::Section::Legal - name: Legal - version: '4.006' - name: '@Author::KENTNL/PodWeaver' - version: '4.006' - - - class: Dist::Zilla::Plugin::AutoPrereqs - name: '@Author::KENTNL/AutoPrereqs' - version: '5.020' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: develop - type: suggests - name: '@Author::KENTNL/BundleDevelSuggests' - version: '5.020' - - - class: Dist::Zilla::Plugin::MinimumPerl - name: '@Author::KENTNL/MinimumPerl' - version: '1.003' - - - class: Dist::Zilla::Plugin::Authority - name: '@Author::KENTNL/Authority' - version: '1.006' - - - class: Dist::Zilla::Plugin::MakeMaker - config: - Dist::Zilla::Role::TestRunner: - default_jobs: '10' - name: '@Author::KENTNL/MakeMaker' - version: '5.020' - - - class: Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes - name: '@Author::KENTNL/Author::KENTNL::RecommendFixes' - version: '0.002002' - - - class: Dist::Zilla::Plugin::ReadmeFromPod - name: '@Author::KENTNL/ReadmeFromPod' - version: '0.21' - - - class: Dist::Zilla::Plugin::ReadmeAnyFromPod - name: '@Author::KENTNL/ReadmeAnyFromPod' - version: '0.142250' - - - class: Dist::Zilla::Plugin::Test::CPAN::Changes - name: '@Author::KENTNL/Test::CPAN::Changes' - version: '0.008' - - - class: Dist::Zilla::Plugin::RunExtraTests - config: - Dist::Zilla::Role::TestRunner: - default_jobs: '10' - name: '@Author::KENTNL/RunExtraTests' - version: '0.022' - - - class: Dist::Zilla::Plugin::TestRelease - name: '@Author::KENTNL/TestRelease' - version: '5.020' - - - class: Dist::Zilla::Plugin::ConfirmRelease - name: '@Author::KENTNL/ConfirmRelease' - version: '5.020' - - - class: Dist::Zilla::Plugin::Git::Check - config: - Dist::Zilla::Plugin::Git::Check: - untracked_files: die - Dist::Zilla::Role::Git::DirtyFiles: - allow_dirty: - - dist.ini - - Changes - allow_dirty_match: [] - changelog: Changes - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/Git::Check' - version: '2.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 - config: - Dist::Zilla::Plugin::Git::Tag: - branch: ~ - signed: '0' - tag: 0.004000-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.002012' - - - class: Dist::Zilla::Plugin::BumpVersionAfterRelease - name: '@Author::KENTNL/BumpVersionAfterRelease' - version: '0.002' - - - class: Dist::Zilla::Plugin::Git::Commit - config: - Dist::Zilla::Plugin::Git::Commit: - add_files_in: [] - commit_msg: v%v%n%n%c - time_zone: local - Dist::Zilla::Role::Git::DirtyFiles: - allow_dirty: - - dist.ini - - Changes - allow_dirty_match: - - (?^u:^lib/) - changelog: Changes - Dist::Zilla::Role::Git::Repo: - repo_root: . - name: '@Author::KENTNL/commit_release_changes' - version: '2.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.023' - - - class: Dist::Zilla::Plugin::Git::Tag - config: - Dist::Zilla::Plugin::Git::Tag: - branch: releases - signed: '0' - tag: '0.004000' - 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.020' - - - class: Dist::Zilla::Plugin::Twitter - name: '@Author::KENTNL/Twitter' - version: '0.025' - - - class: Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - config: - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: - applyto_map: - - 'build.requires = build.recommends' - - 'test.requires = test.recommends' - - 'runtime.requires = runtime.recommends' - - 'configure.requires = configure.recommends' - - 'develop.requires = develop.recommends' - applyto_phase: - - build - - test - - runtime - - configure - - develop - modules: - - ExtUtils::MakeMaker - - Test::More - name: '@Author::KENTNL/Prereqs::Recommend::MatchInstalled' - version: '0.002001' - - - class: Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled - config: - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: - applyto_map: - - 'develop.suggests = develop.suggests' - applyto_phase: - - develop - modules: - - Dist::Zilla::PluginBundle::Author::KENTNL - - Dist::Zilla::App::Command::bakeini - name: '@Author::KENTNL/always_latest_develop_bundle' - version: '0.002001' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: develop - type: requires - name: '@Author::KENTNL/::Role::BundleDeps' - version: '5.020' - - - class: Dist::Zilla::Plugin::Encoding - name: Encoding - version: '5.020' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: runtime - type: requires - name: Prereqs - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':InstallModules' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':IncModules' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':TestFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':ExecFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':ShareFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':MainModule' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':AllFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: ':NoFiles' - version: '5.020' - - - class: Dist::Zilla::Plugin::FinderCode - name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.020' - zilla: - class: Dist::Zilla::Dist::Builder - config: - is_trial: '0' - version: '5.020' -x_authority: cpan:KENTNL +version: '0.004001' diff --git a/Makefile.PL b/Makefile.PL index 390e8aa..b4315ec 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,10 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009. use strict; use warnings; -use 5.008; - -use ExtUtils::MakeMaker ; - +use 5.006; +use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Walk over a sequence of commits in a Git::PurePerl repo", @@ -16,8 +13,8 @@ my %WriteMakefileArgs = ( "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Git-PurePerl-Walker", - "EXE_FILES" => [], "LICENSE" => "perl", + "MIN_PERL_VERSION" => "5.006", "NAME" => "Git::PurePerl::Walker", "PREREQ_PM" => { "Carp" => 0, @@ -31,7 +28,6 @@ my %WriteMakefileArgs = ( "Path::Tiny" => 0, "namespace::autoclean" => 0, "strict" => 0, - "utf8" => 0, "warnings" => 0 }, "TEST_REQUIRES" => { @@ -43,10 +39,10 @@ my %WriteMakefileArgs = ( "FindBin" => 0, "Package::Stash" => 0, "Scalar::Util" => 0, - "Test::More" => "0.89", + "Test::More" => 0, "lib" => 0 }, - "VERSION" => "0.004000", + "VERSION" => "0.004001", "test" => { "TESTS" => "t/*.t t/00-compile/*.t" } @@ -71,11 +67,10 @@ my %FallbackPrereqs = ( "Package::Stash" => 0, "Path::Tiny" => 0, "Scalar::Util" => 0, - "Test::More" => "0.89", + "Test::More" => 0, "lib" => 0, "namespace::autoclean" => 0, "strict" => 0, - "utf8" => 0, "warnings" => 0 ); @@ -90,6 +85,3 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); - - - diff --git a/README b/README index f3c3fa7..34ab1f7 100644 --- a/README +++ b/README @@ -1,174 +1,27 @@ -NAME - Git::PurePerl::Walker - Walk over a sequence of commits in a - Git::PurePerl repo +Git::PurePerl::Walker -VERSION - version 0.004000 -SYNOPSIS - use Git::PurePerl::Walker; - use Git::PurePerl::Walker::Method::FirstParent; - my $repo = Git::PurePerl->new( ... ); +INSTALLATION - my $walker = Git::PurePerl::Walker->new( - repo => $repo, - method => Git::PurePerl::Walker::Method::FirstParent->new( - start => $repo->ref_sha1('refs/heads/master'), - ), - on_commit => sub { - my ( $commit ) = @_; - print $commit->sha1; - }, - ); +This is a Perl module distribution. It should be installed with whichever +tool you use to manage your installation of Perl, e.g. any of - $walker->step_all; + cpanm . + cpan . + cpanp -i . -CONSTRUCTOR ARGUMENTS - repo - Mandatory: An instance of "Git::PurePerl" representing the repository to - work with. +Consult http://www.cpan.org/modules/INSTALL.html for further instruction. +Should you wish to install this module manually, the procedure is - method - Mandatory: either a "Str" describing a Class Name Suffix, or an "Object" - that "does" "Git::PurePerl::Walker::Role::Method". - - If its a "Str", the "Str" will be expanded as follows: - - ->new( - ... - method => 'Foo', - ... - ); - - $className = 'Git::PurePerl::Walker::Method::Foo' - - And the resulting class will be loaded, and instantiated for you. ( - Assuming of course, you don't need to pass any fancy args ). - - If you need fancy args, or a class outside the - "Git::PurePerl::Walker::Method::" namespace, constructing the object - will have to be your responsibility. - - ->new( - ... - method => Foo::Class->new(), - ... - ) - - on_commit - Mandatory: either a "Str" that can be expanded in a way similar to that - by "*method*", a "CodeRef", or an object that "does" - "Git::PurePerl::Walker::Role::OnCommit". - - If passed a "Str" it will be expanded like so: - - ->new( - ... - on_commit => $str, - ... - ); - - $class = 'Git::PurePerl::Walker::OnCommit::' . $str; - - And the resulting class loaded and instantiated. - - If passed a "CodeRef", "Git::PurePerl::Walker::OnCommit::CallBack" will - be loaded and your "CodeRef" will be passed as an argument. - - ->new( - ... - on_commit => sub { - my ( $commit ) = @_; - - }, - ... - ); - - If you need anything fancier, or requiring an unusual namespace, you'll - want to construct the object yourself. - - ->new( - ... - on_commit => Foo::Package->new() - ... - ); - -METHODS - reset - $walker->reset(); - - Reset the walk routine back to the state it was before you walked. - - step - Increments one step forward in the git history, and dispatches the - object to the "OnCommit" handlers. - - If there are more possible steps to take, it will return a true value. - - while ( $walker->step ) { - /* Code to execute if walker has more items */ - } - - This code is almost identical to: - - while(1) { - $walker->on_commit->handle( $walker->method->current ); - - last if not $walker->method->has_next; - - $walker->method->next; - - /* Code to execute if walker has more items */ - } - - step_all - my $steps = $walker->step_all; - - Mostly a convenience method to iterate until it can iterate no more, but - without you needing to wrap it in a while() block. - - Returns the number of steps executed. - -ATTRIBUTES - repo - method - on_commit -ATTRIBUTE GENERATED METHODS - repo - # Getter - my $repo = $walker->repo(); - - method - # Getter - my $method_object = $walker->method(); - - on_commit - # Getter - my $on_commit_object = $walker->on_commit(); - -PRIVATE ATTRIBUTES - _method - _on_commit -PRIVATE METHODS - _build_repo - _build_method - _build_on_commit -PRIVATE ATTRIBUTE GENERATED METHODS - _method - # Getter - my $methodish = $walker->_method(); - - _on_commit - # Getter - my $on_commitish => $walker->_on_commit(); - -AUTHOR - Kent Fredric + perl Makefile.PL + make + make test + make install COPYRIGHT AND LICENSE - This software is copyright (c) 2014 by Kent Fredric . - This is free software; you can redistribute it and/or modify it under - the same terms as the Perl 5 programming language system itself. +This software is copyright (c) 2017 by Kent Fredric . +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. diff --git a/dist.ini b/dist.ini index eff8ffa..df7fc62 100644 --- a/dist.ini +++ b/dist.ini @@ -1,5 +1,9 @@ ; This file is generated from dist.ini.meta by dzil bakeini. ; Edit that file or the bundles contained within for long-term changes. +; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.4.1 at Mon May 28 15:29:19 2012 +; vim: syntax=dosini +; Uncomment this to bootstrap via self +; [Bootstrap::lib] name = Git-PurePerl-Walker author = Kent Fredric license = Perl_5 @@ -14,9 +18,11 @@ issues = 1 :version = 1.14000001 [MetaData::BuiltWith / @Author::KENTNL/MetaData::BuiltWith] +:version = 1.004000 show_config = 1 show_uname = 1 uname_args = -s -o -r -m -i +use_external_file = only [Git::Contributors / @Author::KENTNL/Git::Contributors] :version = 0.006 @@ -35,10 +41,13 @@ include_dotfiles = 1 [MetaJSON / @Author::KENTNL/MetaJSON] -[MetaYAML / @Author::KENTNL/MetaYAML] +[MetaYAML::Minimal / @Author::KENTNL/MetaYAML::Minimal] [Manifest / @Author::KENTNL/Manifest] +[Author::KENTNL::TravisCI / @Author::KENTNL/Author::KENTNL::TravisCI] +:version = 0.001002 + [CopyFilesFromBuild / @Author::KENTNL/CopyXBuild] copy = LICENSE @@ -52,12 +61,14 @@ copy = LICENSE [Test::Kwalitee / @Author::KENTNL/Test::Kwalitee] -[EOLTests / @Author::KENTNL/EOLTests] +[Test::EOL / @Author::KENTNL/Test::EOL] trailing_whitespace = 1 [Test::MinimumVersion / @Author::KENTNL/Test::MinimumVersion] [Test::Compile::PerFile / @Author::KENTNL/Test::Compile::PerFile] +:version = 0.003902 +test_template = 02-raw-require.t.tpl [Test::Perl::Critic / @Author::KENTNL/Test::Perl::Critic] @@ -77,7 +88,9 @@ skips = ^t:: -phase = develop -type = suggests Dist::Zilla::App::Command::bakeini = 0.001000 -Dist::Zilla::PluginBundle::Author::KENTNL = 2.019000 +Dist::Zilla::PluginBundle::Author::KENTNL = 2.025021 + +[Prereqs::AuthorDeps / @Author::KENTNL/Prereqs::AuthorDeps] [MinimumPerl / @Author::KENTNL/MinimumPerl] @@ -91,9 +104,9 @@ locate_comment = 1 default_jobs = 10 [Author::KENTNL::RecommendFixes / @Author::KENTNL/Author::KENTNL::RecommendFixes] -:version = 0.001001 +:version = 0.004002 -[ReadmeFromPod / @Author::KENTNL/ReadmeFromPod] +[Readme::Brief / @Author::KENTNL/ShippedReadme] [ReadmeAnyFromPod / @Author::KENTNL/ReadmeAnyFromPod] filename = README.mkdn @@ -118,7 +131,9 @@ filename = Changes tag_format = %v-source [Git::NextRelease / @Author::KENTNL/Git::NextRelease] -format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ +:version = 0.004000 +default_branch = master +format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ %h time_zone = UTC [BumpVersionAfterRelease / @Author::KENTNL/BumpVersionAfterRelease] @@ -127,6 +142,7 @@ time_zone = UTC allow_dirty_match = ^lib/ [Git::CommitBuild / @Author::KENTNL/Git::CommitBuild] +branch = builds release_branch = releases [Git::Tag / @Author::KENTNL/tag_release] @@ -136,13 +152,20 @@ tag_format = %v [UploadToCPAN / @Author::KENTNL/UploadToCPAN] [Twitter / @Author::KENTNL/Twitter] -hash_tags = #perl #cpan +hash_tags = #perl #cpan #git tweet_url = https://metacpan.org/release/{{$AUTHOR_UC}}/{{$DIST}}-{{$VERSION}}{{$TRIAL}}#whatsnew url_shortener = none -[Prereqs::Recommend::MatchInstalled / @Author::KENTNL/Prereqs::Recommend::MatchInstalled] -modules = ExtUtils::MakeMaker -modules = Test::More +[Prereqs::Upgrade / @Author::KENTNL/Prereqs::Upgrade] +Dist::Zila::Plugin::MetaProvides::Package = 2.000000 +Dist::Zilla = 5 +ExtUtils::MakeMaker = 7.00 +File::ShareDir::Install = 0.10 +Moo = 1.000008 +Moose = 2.000 +Path::Tiny = 0.058 +Test::File::ShareDir = 1.000000 +Test::More = 0.99 [Prereqs::Recommend::MatchInstalled / @Author::KENTNL/always_latest_develop_bundle] applyto_map = develop.suggests = develop.suggests @@ -150,22 +173,32 @@ applyto_phase = develop modules = Dist::Zilla::PluginBundle::Author::KENTNL modules = Dist::Zilla::App::Command::bakeini +[RemovePrereqs::Provided / @Author::KENTNL/RemovePrereqs::Provided] + [Prereqs / @Author::KENTNL/::Role::BundleDeps] +; version_major = 0 +; version_minor = 1 +; the following data denotes when this minor was minted +; version_rel_year = 2012 +; version_rel_month = 5 +; version_rel_day = 28 +; version_rel_hour = 15 +; version_rel_time_zone = Pacific/Auckland -phase = develop -relationship = requires -Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.001001 +Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002 +Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002 Dist::Zilla::Plugin::Authority = 1.006 Dist::Zilla::Plugin::AutoPrereqs = 0 Dist::Zilla::Plugin::BumpVersionAfterRelease = 0 Dist::Zilla::Plugin::ConfirmRelease = 0 Dist::Zilla::Plugin::CopyFilesFromBuild = 0 -Dist::Zilla::Plugin::EOLTests = 0 Dist::Zilla::Plugin::Git::Check = 0 Dist::Zilla::Plugin::Git::Commit = 0 Dist::Zilla::Plugin::Git::CommitBuild = 0 Dist::Zilla::Plugin::Git::Contributors = 0.006 Dist::Zilla::Plugin::Git::GatherDir = 0 -Dist::Zilla::Plugin::Git::NextRelease = 0 +Dist::Zilla::Plugin::Git::NextRelease = 0.004000 Dist::Zilla::Plugin::Git::Tag = 0 Dist::Zilla::Plugin::GithubMeta = 0 Dist::Zilla::Plugin::License = 0 @@ -173,23 +206,27 @@ Dist::Zilla::Plugin::MakeMaker = 0 Dist::Zilla::Plugin::Manifest = 0 Dist::Zilla::Plugin::ManifestSkip = 0 Dist::Zilla::Plugin::MetaConfig = 0 -Dist::Zilla::Plugin::MetaData::BuiltWith = 0 +Dist::Zilla::Plugin::MetaData::BuiltWith = 1.004000 Dist::Zilla::Plugin::MetaJSON = 0 Dist::Zilla::Plugin::MetaProvides::Package = 1.14000001 Dist::Zilla::Plugin::MetaTests = 0 -Dist::Zilla::Plugin::MetaYAML = 0 +Dist::Zilla::Plugin::MetaYAML::Minimal = 0 Dist::Zilla::Plugin::MinimumPerl = 0 Dist::Zilla::Plugin::PodCoverageTests = 0 Dist::Zilla::Plugin::PodSyntaxTests = 0 Dist::Zilla::Plugin::PodWeaver = 0 Dist::Zilla::Plugin::Prereqs = 0 +Dist::Zilla::Plugin::Prereqs::AuthorDeps = 0 Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled = 0 +Dist::Zilla::Plugin::Prereqs::Upgrade = 0 +Dist::Zilla::Plugin::Readme::Brief = 0 Dist::Zilla::Plugin::ReadmeAnyFromPod = 0 -Dist::Zilla::Plugin::ReadmeFromPod = 0 +Dist::Zilla::Plugin::RemovePrereqs::Provided = 0 Dist::Zilla::Plugin::RewriteVersion::Sanitized = 0 Dist::Zilla::Plugin::RunExtraTests = 0 Dist::Zilla::Plugin::Test::CPAN::Changes = 0 -Dist::Zilla::Plugin::Test::Compile::PerFile = 0 +Dist::Zilla::Plugin::Test::Compile::PerFile = 0.003902 +Dist::Zilla::Plugin::Test::EOL = 0 Dist::Zilla::Plugin::Test::Kwalitee = 0 Dist::Zilla::Plugin::Test::MinimumVersion = 0 Dist::Zilla::Plugin::Test::Perl::Critic = 0 diff --git a/dist.ini.meta b/dist.ini.meta index e82a8b0..b55d753 100644 --- a/dist.ini.meta +++ b/dist.ini.meta @@ -1,4 +1,5 @@ ; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.4.1 at Mon May 28 15:29:19 2012 +; vim: syntax=dosini name = Git-PurePerl-Walker author = Kent Fredric license = Perl_5 @@ -9,8 +10,7 @@ copyright_holder = Kent Fredric [@Author::KENTNL] :version = 2.016000 -git_versions = 1 -twitter_hash_tags = #perl #cpan +twitter_extra_hash_tags = #git auto_prereqs_skip = ^t:: normal_form = numify mantissa = 6 diff --git a/lib/Git/PurePerl/Walker.pm b/lib/Git/PurePerl/Walker.pm index de59589..8a8160d 100644 --- a/lib/Git/PurePerl/Walker.pm +++ b/lib/Git/PurePerl/Walker.pm @@ -1,11 +1,10 @@ -use 5.008; #utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: Walk over a sequence of commits in a Git::PurePerl repo @@ -330,7 +329,7 @@ Git::PurePerl::Walker - Walk over a sequence of commits in a Git::PurePerl repo =head1 VERSION -version 0.004000 +version 0.004001 =head1 SYNOPSIS @@ -531,7 +530,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/Method/FirstParent.pm b/lib/Git/PurePerl/Walker/Method/FirstParent.pm index 43da6b7..e947d5d 100644 --- a/lib/Git/PurePerl/Walker/Method/FirstParent.pm +++ b/lib/Git/PurePerl/Walker/Method/FirstParent.pm @@ -1,11 +1,10 @@ -use 5.008; # utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::Method::FirstParent; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: Walk down a tree following the first parent. @@ -149,7 +148,7 @@ Git::PurePerl::Walker::Method::FirstParent - Walk down a tree following the firs =head1 VERSION -version 0.004000 +version 0.004001 =head1 CONSTRUCTOR ARGUMENTS @@ -227,7 +226,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm b/lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm index 7075423..3ba03e4 100644 --- a/lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm +++ b/lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm @@ -1,11 +1,10 @@ -use 5.008; # utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::Method::FirstParent::FromHEAD; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: Start at the HEAD of the current repo. @@ -153,7 +152,7 @@ Git::PurePerl::Walker::Method::FirstParent::FromHEAD - Start at the HEAD of the =head1 VERSION -version 0.004000 +version 0.004001 =head1 INHERITED METHODS @@ -248,7 +247,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/OnCommit/CallBack.pm b/lib/Git/PurePerl/Walker/OnCommit/CallBack.pm index f1f4831..ec3f2a0 100644 --- a/lib/Git/PurePerl/Walker/OnCommit/CallBack.pm +++ b/lib/Git/PurePerl/Walker/OnCommit/CallBack.pm @@ -1,11 +1,10 @@ -use 5.008; # utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::OnCommit::CallBack; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: Execute a sub() for each commit @@ -99,7 +98,7 @@ Git::PurePerl::Walker::OnCommit::CallBack - Execute a sub() for each commit =head1 VERSION -version 0.004000 +version 0.004001 =head1 CONSTRUCTOR ARGUMENTS @@ -151,7 +150,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/OnCommit/List.pm b/lib/Git/PurePerl/Walker/OnCommit/List.pm index 9016283..1c146b2 100644 --- a/lib/Git/PurePerl/Walker/OnCommit/List.pm +++ b/lib/Git/PurePerl/Walker/OnCommit/List.pm @@ -1,11 +1,10 @@ -use 5.008; # utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::OnCommit::List; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: Execute an ordered list of OnCommit events. @@ -125,7 +124,7 @@ Git::PurePerl::Walker::OnCommit::List - Execute an ordered list of OnCommit even =head1 VERSION -version 0.004000 +version 0.004001 =head1 CONSTRUCTOR ARGUMENTS @@ -177,7 +176,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/Role/HasRepo.pm b/lib/Git/PurePerl/Walker/Role/HasRepo.pm index 89ce2ca..8e9e2ef 100644 --- a/lib/Git/PurePerl/Walker/Role/HasRepo.pm +++ b/lib/Git/PurePerl/Walker/Role/HasRepo.pm @@ -1,11 +1,10 @@ -use 5.008; #utf8 +use 5.006; #our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::Role::HasRepo; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: An entity that has a repo @@ -84,7 +83,7 @@ Git::PurePerl::Walker::Role::HasRepo - An entity that has a repo =head1 VERSION -version 0.004000 +version 0.004001 =head1 DESCRIPTION @@ -155,7 +154,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/Role/Method.pm b/lib/Git/PurePerl/Walker/Role/Method.pm index 59a08b7..2f965e7 100644 --- a/lib/Git/PurePerl/Walker/Role/Method.pm +++ b/lib/Git/PurePerl/Walker/Role/Method.pm @@ -1,11 +1,10 @@ -use 5.008; #utf8 +use 5.006; #our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::Role::Method; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: A method for traversing a git repository @@ -107,7 +106,7 @@ Git::PurePerl::Walker::Role::Method - A method for traversing a git repository =head1 VERSION -version 0.004000 +version 0.004001 =head1 REQUIRES METHODS @@ -170,7 +169,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/Role/OnCommit.pm b/lib/Git/PurePerl/Walker/Role/OnCommit.pm index a3b89b9..d999c34 100644 --- a/lib/Git/PurePerl/Walker/Role/OnCommit.pm +++ b/lib/Git/PurePerl/Walker/Role/OnCommit.pm @@ -1,11 +1,10 @@ -use 5.008; # utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::Role::OnCommit; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: An event to execute when a commit is encountered @@ -79,7 +78,7 @@ Git::PurePerl::Walker::Role::OnCommit - An event to execute when a commit is enc =head1 VERSION -version 0.004000 +version 0.004001 =head1 REQUIRES METHODS @@ -125,7 +124,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/lib/Git/PurePerl/Walker/Types.pm b/lib/Git/PurePerl/Walker/Types.pm index 0ee6b36..754754b 100644 --- a/lib/Git/PurePerl/Walker/Types.pm +++ b/lib/Git/PurePerl/Walker/Types.pm @@ -1,11 +1,10 @@ -use 5.008; # utf8 +use 5.006; # our use strict; use warnings; -use utf8; package Git::PurePerl::Walker::Types; -our $VERSION = '0.004000'; +our $VERSION = '0.004001'; # ABSTRACT: Misc utility types for Git::PurePerl::Walker @@ -45,7 +44,7 @@ Git::PurePerl::Walker::Types - Misc utility types for Git::PurePerl::Walker =head1 VERSION -version 0.004000 +version 0.004001 =head1 AUTHOR @@ -53,7 +52,7 @@ Kent Fredric =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Kent Fredric . +This software is copyright (c) 2017 by Kent Fredric . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/misc/Changes.deps b/misc/Changes.deps index a4b2fec..1be3451 100644 --- a/misc/Changes.deps +++ b/misc/Changes.deps @@ -1,6 +1,22 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) -0.004000 +0.004001 + [Added / configure requires] + - perl 5.006 + + [Added / test requires] + - perl 5.006 + + [Changed / runtime requires] + - perl 5.008 → 5.006 + + [Changed / test requires] + - Test::More 0.89 → 0 + + [Removed / runtime requires] + - utf8 + +0.004000 2014-08-18T05:52:33Z [Added / runtime requires] - Module::Runtime - Path::Tiny @@ -45,4 +61,3 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co 0.001002 2012-05-29T07:28:29Z 0.001001 2012-05-29T05:23:43Z - diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all index d57382e..76ff3c8 100644 --- a/misc/Changes.deps.all +++ b/misc/Changes.deps.all @@ -1,6 +1,67 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) -0.004000 +0.004001 + [Added / configure requires] + - perl 5.006 + + [Added / develop recommends] + - Test::More 0.99 + + [Added / develop requires] + - Dist::Zilla 5 + - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002 + - Dist::Zilla::Plugin::Encoding + - Dist::Zilla::Plugin::MetaYAML::Minimal + - Dist::Zilla::Plugin::Prereqs::AuthorDeps + - Dist::Zilla::Plugin::Prereqs::Upgrade + - Dist::Zilla::Plugin::Readme::Brief + - Dist::Zilla::Plugin::RemovePrereqs::Provided + - Dist::Zilla::Plugin::Test::EOL + - English + - Software::License::Perl_5 + - Test::EOL + - Test::MinimumVersion + - Test::More 0.96 + + [Added / runtime recommends] + - Moose 2.000 + - Path::Tiny 0.058 + + [Added / test requires] + - perl 5.006 + + [Changed / configure recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + + [Changed / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 + - Dist::Zilla::Plugin::Git::NextRelease 0 → 0.004000 + - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 + - Dist::Zilla::Plugin::Test::Compile::PerFile 0 → 0.003902 + + [Changed / develop suggests] + - Dist::Zilla::App::Command::bakeini 0.001002 → 0.002006 + - Dist::Zilla::PluginBundle::Author::KENTNL 2.019000 → 2.025021 + + [Changed / runtime requires] + - perl 5.008 → 5.006 + + [Changed / test recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + - Test::More 1.001003 → 0.99 + + [Changed / test requires] + - Test::More 0.89 → 0 + + [Removed / develop requires] + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ReadmeFromPod + + [Removed / runtime requires] + - utf8 + +0.004000 2014-08-18T05:52:33Z [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 @@ -130,4 +191,3 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen 0.001002 2012-05-29T07:28:29Z 0.001001 2012-05-29T05:23:43Z - diff --git a/misc/Changes.deps.dev b/misc/Changes.deps.dev index 10556e3..3147893 100644 --- a/misc/Changes.deps.dev +++ b/misc/Changes.deps.dev @@ -1,6 +1,41 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) -0.004000 +0.004001 + [Added / develop recommends] + - Test::More 0.99 + + [Added / develop requires] + - Dist::Zilla 5 + - Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002 + - Dist::Zilla::Plugin::Encoding + - Dist::Zilla::Plugin::MetaYAML::Minimal + - Dist::Zilla::Plugin::Prereqs::AuthorDeps + - Dist::Zilla::Plugin::Prereqs::Upgrade + - Dist::Zilla::Plugin::Readme::Brief + - Dist::Zilla::Plugin::RemovePrereqs::Provided + - Dist::Zilla::Plugin::Test::EOL + - English + - Software::License::Perl_5 + - Test::EOL + - Test::MinimumVersion + - Test::More 0.96 + + [Changed / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 → 0.004002 + - Dist::Zilla::Plugin::Git::NextRelease 0 → 0.004000 + - Dist::Zilla::Plugin::MetaData::BuiltWith 0 → 1.004000 + - Dist::Zilla::Plugin::Test::Compile::PerFile 0 → 0.003902 + + [Changed / develop suggests] + - Dist::Zilla::App::Command::bakeini 0.001002 → 0.002006 + - Dist::Zilla::PluginBundle::Author::KENTNL 2.019000 → 2.025021 + + [Removed / develop requires] + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ReadmeFromPod + +0.004000 2014-08-18T05:52:33Z [Added / develop requires] - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes 0.001001 @@ -86,4 +121,3 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and 0.001002 2012-05-29T07:28:29Z 0.001001 2012-05-29T05:23:43Z - diff --git a/misc/Changes.deps.opt b/misc/Changes.deps.opt index 579322f..8242b5e 100644 --- a/misc/Changes.deps.opt +++ b/misc/Changes.deps.opt @@ -1,6 +1,18 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) -0.004000 +0.004001 + [Added / runtime recommends] + - Moose 2.000 + - Path::Tiny 0.058 + + [Changed / configure recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + + [Changed / test recommends] + - ExtUtils::MakeMaker 6.98 → 7.00 + - Test::More 1.001003 → 0.99 + +0.004000 2014-08-18T05:52:33Z 0.003001 2014-08-15T23:07:22Z @@ -18,4 +30,3 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (co 0.001002 2012-05-29T07:28:29Z 0.001001 2012-05-29T05:23:43Z - diff --git a/misc/built_with.json b/misc/built_with.json new file mode 100644 index 0000000..754f2de --- /dev/null +++ b/misc/built_with.json @@ -0,0 +1,105 @@ +{ + "modules" : { + "Archive::Tar" : "2.24", + "CPAN::Meta" : "2.150010", + "Carp" : "1.42", + "Dist::Zilla" : "6.009", + "Dist::Zilla::App::Command::bakeini" : "0.002006", + "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.005004", + "Dist::Zilla::Plugin::Author::KENTNL::TravisCI" : "0.001004", + "Dist::Zilla::Plugin::Authority" : "1.009", + "Dist::Zilla::Plugin::AutoPrereqs" : "6.009", + "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.015", + "Dist::Zilla::Plugin::ConfirmRelease" : "6.009", + "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.163040", + "Dist::Zilla::Plugin::Encoding" : "6.009", + "Dist::Zilla::Plugin::Git::Check" : "2.041", + "Dist::Zilla::Plugin::Git::Commit" : "2.041", + "Dist::Zilla::Plugin::Git::CommitBuild" : "2.041", + "Dist::Zilla::Plugin::Git::Contributors" : "0.029", + "Dist::Zilla::Plugin::Git::GatherDir" : "2.041", + "Dist::Zilla::Plugin::Git::NextRelease" : "0.004000", + "Dist::Zilla::Plugin::Git::Tag" : "2.041", + "Dist::Zilla::Plugin::GithubMeta" : "0.54", + "Dist::Zilla::Plugin::License" : "6.009", + "Dist::Zilla::Plugin::MakeMaker" : "6.009", + "Dist::Zilla::Plugin::Manifest" : "6.009", + "Dist::Zilla::Plugin::ManifestSkip" : "6.009", + "Dist::Zilla::Plugin::MetaConfig" : "6.009", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.004005", + "Dist::Zilla::Plugin::MetaJSON" : "6.009", + "Dist::Zilla::Plugin::MetaProvides::Package" : "2.004003", + "Dist::Zilla::Plugin::MetaTests" : "6.009", + "Dist::Zilla::Plugin::MetaYAML::Minimal" : "0.001001", + "Dist::Zilla::Plugin::MinimumPerl" : "1.006", + "Dist::Zilla::Plugin::PodCoverageTests" : "6.009", + "Dist::Zilla::Plugin::PodSyntaxTests" : "6.009", + "Dist::Zilla::Plugin::PodWeaver" : "4.008", + "Dist::Zilla::Plugin::Prereqs" : "6.009", + "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0.006", + "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.003002", + "Dist::Zilla::Plugin::Prereqs::Upgrade" : "0.001001", + "Dist::Zilla::Plugin::Readme::Brief" : "0.003001", + "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.163250", + "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0.001001", + "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001006", + "Dist::Zilla::Plugin::RunExtraTests" : "0.029", + "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.012", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.004000", + "Dist::Zilla::Plugin::Test::EOL" : "0.19", + "Dist::Zilla::Plugin::Test::Kwalitee" : "2.12", + "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000007", + "Dist::Zilla::Plugin::Test::Perl::Critic" : "3.000", + "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.025", + "Dist::Zilla::Plugin::TestRelease" : "6.009", + "Dist::Zilla::Plugin::Twitter" : "0.026", + "Dist::Zilla::Plugin::UploadToCPAN" : "6.009", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.025021", + "English" : "1.10", + "ExtUtils::MakeMaker" : "7.24", + "File::Spec" : "3.66", + "File::Temp" : "0.2304", + "File::pushd" : "1.014", + "FindBin" : "1.51", + "Git::PurePerl" : "0.53", + "Module::Runtime" : "0.014", + "Moose" : "2.2004", + "Moose::Role" : "2.2004", + "MooseX::Clone" : "0.06", + "MooseX::Types" : "0.50", + "MooseX::Types::Moose" : "0.50", + "Package::Stash" : "0.37", + "Path::Tiny" : "0.104", + "Pod::Coverage::TrustPod" : "0.100003", + "Scalar::Util" : "1.46_02", + "Software::License::Perl_5" : "0.103012", + "Test::CPAN::Changes" : "0.400002", + "Test::CPAN::Meta" : "0.25", + "Test::EOL" : "1.6", + "Test::Kwalitee" : "1.25", + "Test::MinimumVersion" : "0.101082", + "Test::More" : "1.302073", + "Test::Pod" : "1.51", + "Test::Pod::Coverage" : "1.10", + "lib" : "0.64", + "namespace::autoclean" : "0.28", + "strict" : "1.11", + "warnings" : "1.37" + }, + "perl" : { + "original" : "v5.25.10", + "qv" : 1, + "version" : [ + 5, + 25, + 10 + ] + }, + "perl-config" : { + "gccversion" : "5.4.0", + "myarchname" : "x86_64-linux", + "osname" : "linux" + }, + "platform" : "linux", + "uname" : "Linux 4.8.5-gentoo x86_64 GenuineIntel GNU/Linux" +} diff --git a/perlcritic.rc b/perlcritic.rc index 3538a63..e209323 100644 --- a/perlcritic.rc +++ b/perlcritic.rc @@ -42,6 +42,8 @@ allow_includes = 1 [BuiltinFunctions::ProhibitUniversalIsa] +[BuiltinFunctions::ProhibitUselessTopic] + [BuiltinFunctions::ProhibitVoidGrep] [BuiltinFunctions::ProhibitVoidMap] @@ -86,7 +88,7 @@ allow_includes = 1 [CodeLayout::RequireTrailingCommas] -[CodeLayout::RequireUseUTF8] +[-CodeLayout::RequireUseUTF8] [Compatibility::ConstantLeadingUnderscore] @@ -146,6 +148,8 @@ stop_words = repo OnCommit args namespace [Documentation::RequireEndBeforeLastPod] +[Documentation::RequireFilenameMarkup] + [Documentation::RequireFinalCut] [Documentation::RequireLinkedURLs] @@ -156,7 +160,7 @@ stop_words = repo OnCommit args namespace [Documentation::RequirePodAtEnd] -[Documentation::RequirePodLinksIncludeText] +[-Documentation::RequirePodLinksIncludeText] [-Documentation::RequirePodSections] @@ -293,13 +297,15 @@ allowed_pragmata = diagnostics feature perlversion strict warnings utf8 [RegularExpressions::ProhibitUnusualDelimiters] +[RegularExpressions::ProhibitUselessTopic] + [RegularExpressions::RequireBracesForMultiline] [RegularExpressions::RequireDotMatchAnything] [RegularExpressions::RequireExtendedFormatting] -[RegularExpressions::RequireLineBoundaryMatching] +[-RegularExpressions::RequireLineBoundaryMatching] [Subroutines::ProhibitAmpersandSigils] @@ -311,7 +317,7 @@ allowed_pragmata = diagnostics feature perlversion strict warnings utf8 [Subroutines::ProhibitExcessComplexity] -[Subroutines::ProhibitExplicitReturnUndef] +[-Subroutines::ProhibitExplicitReturnUndef] [Subroutines::ProhibitExportingUndeclaredSubs] @@ -330,9 +336,9 @@ private_name_regex = _(?!build_)\w [Subroutines::ProtectPrivateSubs] -[Subroutines::RequireArgUnpacking] +[-Subroutines::RequireArgUnpacking] -[Subroutines::RequireFinalReturn] +[-Subroutines::RequireFinalReturn] [TestingAndDebugging::ProhibitNoStrict] @@ -367,7 +373,7 @@ base_max = 130 [ValuesAndExpressions::ProhibitComplexVersion] -[ValuesAndExpressions::ProhibitConstantPragma] +[-ValuesAndExpressions::ProhibitConstantPragma] [ValuesAndExpressions::ProhibitDuplicateHashKeys] diff --git a/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_FromHEAD_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_FromHEAD_pm.t index 38e8a5d..4590d7a 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_FromHEAD_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_FromHEAD_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_pm.t index 49385f6..dcc82b9 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/Method/FirstParent.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/Method/FirstParent.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_CallBack_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_CallBack_pm.t index 720e344..04b2a98 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_CallBack_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_CallBack_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/OnCommit/CallBack.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/OnCommit/CallBack.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_List_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_List_pm.t index 11492b5..e928c97 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_List_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_OnCommit_List_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/OnCommit/List.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/OnCommit/List.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_Role_HasRepo_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_Role_HasRepo_pm.t index f539078..bf11e32 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_Role_HasRepo_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_Role_HasRepo_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/Role/HasRepo.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/Role/HasRepo.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_Role_Method_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_Role_Method_pm.t index cca05bc..d64dbf8 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_Role_Method_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_Role_Method_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/Role/Method.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/Role/Method.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_Role_OnCommit_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_Role_OnCommit_pm.t index 98b3bc0..a97b0c7 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_Role_OnCommit_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_Role_OnCommit_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/Role/OnCommit.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/Role/OnCommit.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_Types_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_Types_pm.t index d82add2..5e2c3c5 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_Types_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_Types_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker/Types.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker/Types.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-compile/lib_Git_PurePerl_Walker_pm.t b/t/00-compile/lib_Git_PurePerl_Walker_pm.t index 7f89700..4dd416a 100644 --- a/t/00-compile/lib_Git_PurePerl_Walker_pm.t +++ b/t/00-compile/lib_Git_PurePerl_Walker_pm.t @@ -1,11 +1,17 @@ -use strict; -use warnings; - # This test was generated for -# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002002 -# with template 01-basic.t.tpl - -use Test::More 0.89 tests => 1; - -require_ok("lib/Git/PurePerl/Walker.pm"); +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000 +# with template 02-raw-require.t.tpl +my $file = "Git/PurePerl/Walker.pm"; +my $err; +{ + local $@; + eval { require $file; 1 } or $err = $@; +}; +if( not defined $err ) { + print "1..1\nok 1 - require ${file}\n"; + exit 0; +} +print "1..1\nnot ok 1 - require ${file}\n"; +print STDERR "# ${_}\n" for split /\n/, $err; +exit 1; diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index e624bab..0f48ce9 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -1,27 +1,33 @@ do { my $x = { 'configure' => { 'recommends' => { - 'ExtUtils::MakeMaker' => '6.98' + 'ExtUtils::MakeMaker' => '7.00' }, 'requires' => { - 'ExtUtils::MakeMaker' => '0' + 'ExtUtils::MakeMaker' => '0', + 'perl' => '5.006' } }, 'develop' => { + 'recommends' => { + 'Test::More' => '0.99' + }, 'requires' => { - 'Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes' => '0.001001', + 'Dist::Zilla' => '5', + 'Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes' => '0.004002', + 'Dist::Zilla::Plugin::Author::KENTNL::TravisCI' => '0.001002', 'Dist::Zilla::Plugin::Authority' => '1.006', 'Dist::Zilla::Plugin::AutoPrereqs' => '0', 'Dist::Zilla::Plugin::BumpVersionAfterRelease' => '0', 'Dist::Zilla::Plugin::ConfirmRelease' => '0', 'Dist::Zilla::Plugin::CopyFilesFromBuild' => '0', - 'Dist::Zilla::Plugin::EOLTests' => '0', + 'Dist::Zilla::Plugin::Encoding' => '0', 'Dist::Zilla::Plugin::Git::Check' => '0', 'Dist::Zilla::Plugin::Git::Commit' => '0', 'Dist::Zilla::Plugin::Git::CommitBuild' => '0', 'Dist::Zilla::Plugin::Git::Contributors' => '0.006', 'Dist::Zilla::Plugin::Git::GatherDir' => '0', - 'Dist::Zilla::Plugin::Git::NextRelease' => '0', + 'Dist::Zilla::Plugin::Git::NextRelease' => '0.004000', 'Dist::Zilla::Plugin::Git::Tag' => '0', 'Dist::Zilla::Plugin::GithubMeta' => '0', 'Dist::Zilla::Plugin::License' => '0', @@ -29,23 +35,27 @@ do { my $x = { 'Dist::Zilla::Plugin::Manifest' => '0', 'Dist::Zilla::Plugin::ManifestSkip' => '0', 'Dist::Zilla::Plugin::MetaConfig' => '0', - 'Dist::Zilla::Plugin::MetaData::BuiltWith' => '0', + 'Dist::Zilla::Plugin::MetaData::BuiltWith' => '1.004000', 'Dist::Zilla::Plugin::MetaJSON' => '0', 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.14000001', 'Dist::Zilla::Plugin::MetaTests' => '0', - 'Dist::Zilla::Plugin::MetaYAML' => '0', + 'Dist::Zilla::Plugin::MetaYAML::Minimal' => '0', 'Dist::Zilla::Plugin::MinimumPerl' => '0', 'Dist::Zilla::Plugin::PodCoverageTests' => '0', 'Dist::Zilla::Plugin::PodSyntaxTests' => '0', 'Dist::Zilla::Plugin::PodWeaver' => '0', 'Dist::Zilla::Plugin::Prereqs' => '0', + 'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0', 'Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled' => '0', + 'Dist::Zilla::Plugin::Prereqs::Upgrade' => '0', + 'Dist::Zilla::Plugin::Readme::Brief' => '0', 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0', - 'Dist::Zilla::Plugin::ReadmeFromPod' => '0', + 'Dist::Zilla::Plugin::RemovePrereqs::Provided' => '0', 'Dist::Zilla::Plugin::RewriteVersion::Sanitized' => '0', 'Dist::Zilla::Plugin::RunExtraTests' => '0', 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0', - 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0', + 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0.003902', + 'Dist::Zilla::Plugin::Test::EOL' => '0', 'Dist::Zilla::Plugin::Test::Kwalitee' => '0', 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0', 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0', @@ -53,19 +63,28 @@ do { my $x = { 'Dist::Zilla::Plugin::TestRelease' => '0', 'Dist::Zilla::Plugin::Twitter' => '0', 'Dist::Zilla::Plugin::UploadToCPAN' => '0', + 'English' => '0', 'Pod::Coverage::TrustPod' => '0', + 'Software::License::Perl_5' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta' => '0', + 'Test::EOL' => '0', 'Test::Kwalitee' => '1.21', + 'Test::MinimumVersion' => '0', + 'Test::More' => '0.96', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08' }, 'suggests' => { - 'Dist::Zilla::App::Command::bakeini' => '0.001002', - 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.019000' + 'Dist::Zilla::App::Command::bakeini' => '0.002006', + 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.025021' } }, 'runtime' => { + 'recommends' => { + 'Moose' => '2.000', + 'Path::Tiny' => '0.058' + }, 'requires' => { 'Carp' => '0', 'Git::PurePerl' => '0', @@ -77,17 +96,16 @@ do { my $x = { 'MooseX::Types::Moose' => '0', 'Path::Tiny' => '0', 'namespace::autoclean' => '0', - 'perl' => '5.008', + 'perl' => '5.006', 'strict' => '0', - 'utf8' => '0', 'warnings' => '0' } }, 'test' => { 'recommends' => { 'CPAN::Meta' => '2.120900', - 'ExtUtils::MakeMaker' => '6.98', - 'Test::More' => '1.001003' + 'ExtUtils::MakeMaker' => '7.00', + 'Test::More' => '0.99' }, 'requires' => { 'Archive::Tar' => '0', @@ -98,8 +116,9 @@ do { my $x = { 'FindBin' => '0', 'Package::Stash' => '0', 'Scalar::Util' => '0', - 'Test::More' => '0.89', - 'lib' => '0' + 'Test::More' => '0', + 'lib' => '0', + 'perl' => '5.006' } } }; diff --git a/t/00-report-prereqs.t b/t/00-report-prereqs.t index 402b3d9..e338372 100644 --- a/t/00-report-prereqs.t +++ b/t/00-report-prereqs.t @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025 use Test::More tests => 1; @@ -78,10 +78,10 @@ my $full_prereqs = _merge_prereqs( # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; -if ( $source && $HAS_CPAN_META ) { - if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { - $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); - } +if ( $source && $HAS_CPAN_META + && (my $meta = eval { CPAN::Meta->load_file($source) } ) +) { + $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { $source = 'static metadata'; @@ -150,9 +150,16 @@ for my $phase ( qw(configure build test runtime develop other) ) { my $ml = _max( map { length $_->[0] } @reports ); my $wl = _max( map { length $_->[1] } @reports ); my $hl = _max( map { length $_->[2] } @reports ); - splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; - push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; + if ($type eq 'modules') { + splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports; + } + else { + splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; + } + push @full_reports, "\n"; } } diff --git a/t/01_test.t b/t/01_test.t index bd09680..2517020 100644 --- a/t/01_test.t +++ b/t/01_test.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 2; use FindBin; use Path::Tiny qw(path); @@ -39,4 +39,3 @@ is_deeply( ], 'Traverse whole tree' ); -done_testing; diff --git a/t/0200_firstparent.t b/t/0200_firstparent.t index 7edb364..5455ebf 100644 --- a/t/0200_firstparent.t +++ b/t/0200_firstparent.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 9; use FindBin; use Path::Tiny qw(path); @@ -29,5 +29,3 @@ is( $method->_commit->sha1, $expected->{'HEAD~1'}, 'At Head~1' ); is( $method->current->sha1, $expected->{'HEAD~1'}, 'At Head~1' ); is( $method->start, $expected->{'HEAD'}, 'At Head' ); ok( !$method->has_next, "Has no more items" ); - -done_testing; diff --git a/t/0201_firstparent_fromhead.t b/t/0201_firstparent_fromhead.t index a0af0fb..e6a3682 100644 --- a/t/0201_firstparent_fromhead.t +++ b/t/0201_firstparent_fromhead.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 9; use FindBin; use Path::Tiny qw( path ); @@ -29,5 +29,3 @@ is( $method->_commit->sha1, $expected->{'HEAD~1'}, 'At Head~1' ); is( $method->current->sha1, $expected->{'HEAD~1'}, 'At Head~1' ); is( $method->start, $expected->{'HEAD'}, 'At Head' ); ok( !$method->has_next, "Has no more items" ); - -done_testing; diff --git a/t/03_callback.t b/t/03_callback.t index 24014be..c9e7088 100644 --- a/t/03_callback.t +++ b/t/03_callback.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 1; use FindBin; use Path::Tiny qw(path); @@ -28,5 +28,3 @@ my $caller = $caller_factory->for_repository($repo); $caller->handle( $repo->master ); is( $v->[0]->sha1, '010fb4bcf7d92c031213f43d0130c811cbb355e7', 'Callback triggered' ); - -done_testing; diff --git a/t/04_list.t b/t/04_list.t index 39bd7cc..fd1e3ee 100644 --- a/t/04_list.t +++ b/t/04_list.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 5; use FindBin; use Path::Tiny qw(path); use Scalar::Util qw( refaddr ); @@ -53,5 +53,3 @@ my $c = Git::PurePerl::Walker::OnCommit::CallBack->new( ); $li->add_event($c); isnt( refaddr $li->events->[2], refaddr $c, "callback is cloned x3" ); - -done_testing; diff --git a/xt/author/eol.t b/xt/author/eol.t new file mode 100644 index 0000000..063992d --- /dev/null +++ b/xt/author/eol.t @@ -0,0 +1,39 @@ +use strict; +use warnings; + +# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19 + +use Test::More 0.88; +use Test::EOL; + +my @files = ( + 'lib/Git/PurePerl/Walker.pm', + 'lib/Git/PurePerl/Walker/Method/FirstParent.pm', + 'lib/Git/PurePerl/Walker/Method/FirstParent/FromHEAD.pm', + 'lib/Git/PurePerl/Walker/OnCommit/CallBack.pm', + 'lib/Git/PurePerl/Walker/OnCommit/List.pm', + 'lib/Git/PurePerl/Walker/Role/HasRepo.pm', + 'lib/Git/PurePerl/Walker/Role/Method.pm', + 'lib/Git/PurePerl/Walker/Role/OnCommit.pm', + 'lib/Git/PurePerl/Walker/Types.pm', + 't/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_FromHEAD_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_Method_FirstParent_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_OnCommit_CallBack_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_OnCommit_List_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_Role_HasRepo_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_Role_Method_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_Role_OnCommit_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_Types_pm.t', + 't/00-compile/lib_Git_PurePerl_Walker_pm.t', + 't/00-report-prereqs.dd', + 't/00-report-prereqs.t', + 't/01_test.t', + 't/0200_firstparent.t', + 't/0201_firstparent_fromhead.t', + 't/03_callback.t', + 't/04_list.t', + 't/tlib/t/util.pm' +); + +eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; +done_testing; diff --git a/xt/release/pod-coverage.t b/xt/author/pod-coverage.t similarity index 100% rename from xt/release/pod-coverage.t rename to xt/author/pod-coverage.t diff --git a/xt/release/pod-syntax.t b/xt/author/pod-syntax.t similarity index 84% rename from xt/release/pod-syntax.t rename to xt/author/pod-syntax.t index f0468f1..e563e5d 100644 --- a/xt/release/pod-syntax.t +++ b/xt/author/pod-syntax.t @@ -1,5 +1,6 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; use Test::More; use Test::Pod 1.41; diff --git a/xt/release/cpan-changes.t b/xt/release/cpan-changes.t index 8e6e413..286005a 100644 --- a/xt/release/cpan-changes.t +++ b/xt/release/cpan-changes.t @@ -1,11 +1,10 @@ -#!perl - use strict; use warnings; -use Test::More 0.96 tests => 2; -use_ok('Test::CPAN::Changes'); +# this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012 + +use Test::More 0.96 tests => 1; +use Test::CPAN::Changes; subtest 'changes_ok' => sub { changes_file_ok('Changes'); }; -done_testing(); diff --git a/xt/release/eol.t b/xt/release/eol.t deleted file mode 100644 index d13c49d..0000000 --- a/xt/release/eol.t +++ /dev/null @@ -1,8 +0,0 @@ -use strict; -use warnings; -use Test::More; - -eval 'use Test::EOL'; -plan skip_all => 'Test::EOL required' if $@; - -all_perl_files_ok({ trailing_whitespace => 1 }); diff --git a/xt/release/kwalitee.t b/xt/release/kwalitee.t index e7681e1..c986546 100644 --- a/xt/release/kwalitee.t +++ b/xt/release/kwalitee.t @@ -1,4 +1,4 @@ -# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.08 +# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.12 use strict; use warnings; use Test::More 0.88;