@@ -0,0 +1,2 @@
+.build
+Test-File-ShareDir-*
@@ -0,0 +1,60 @@
+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.18"
+ env: STERILIZE_ENV=0
+ - perl: "5.19"
+ env: STERILIZE_ENV=0
+ - perl: "5.8"
+ env: STERILIZE_ENV=1
+ - perl: "5.10"
+ env: STERILIZE_ENV=1
+ - perl: "5.12"
+ env: STERILIZE_ENV=1
+ - perl: "5.14"
+ env: STERILIZE_ENV=1
+ - perl: "5.18"
+ env: STERILIZE_ENV=1
+ - perl: "5.19"
+ env: STERILIZE_ENV=1
+ - perl: "5.19"
+ env: STERILIZE_ENV=0 DEVELOPER_DEPS=1
+ - perl: "5.19"
+ env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1
+ - perl: "5.19"
+ env: STERILIZE_ENV=0 COVERAGE_TESTING=1
+before_install:
+ - perlbrew list
+ - time git clone --depth 10 https://github.com/kentfredric/travis-scripts.git maint-travis-ci
+ - time git -C ./maint-travis-ci reset --hard master
+ - time perl ./maint-travis-ci/branch_reset.pl
+ - time perl ./maint-travis-ci/sterilize_env.pl
+install:
+ - time perl ./maint-travis-ci/install_deps_early.pl
+ - time perl ./maint-travis-ci/install_deps.pl
+before_script:
+ - time perl ./maint-travis-ci/before_script.pl
+script:
+ - time perl ./maint-travis-ci/script.pl
+after_failure:
+ - perl ./maint-travis-ci/report_fail_ctx.pl
+branches:
+ only:
+ - "master"
+ - "build/master"
+ - "releases"
+
@@ -1,61 +0,0 @@
-
-use strict;
-use warnings;
-
-use Module::Build 0.3601;
-
-
-my %module_build_args = (
- "build_requires" => {
- "Module::Build" => "0.4004"
- },
- "configure_requires" => {
- "Module::Build" => "0.4004"
- },
- "dist_abstract" => "Create a Fake ShareDir for your modules for testing.",
- "dist_author" => [
- "Kent Fredric <kentnl\@cpan.org>"
- ],
- "dist_name" => "Test-File-ShareDir",
- "dist_version" => "0.3.3",
- "license" => "perl",
- "module_name" => "Test::File::ShareDir",
- "recommends" => {},
- "recursive_test_files" => 1,
- "requires" => {
- "Carp" => 0,
- "File::Copy::Recursive" => 0,
- "File::ShareDir" => "1.00",
- "File::Temp" => 0,
- "Path::Tiny" => 0,
- "perl" => "5.006",
- "strict" => 0,
- "warnings" => 0
- },
- "script_files" => [],
- "test_requires" => {
- "Cwd" => 0,
- "File::Find" => 0,
- "FindBin" => 0,
- "Test::Fatal" => 0,
- "Test::More" => "0.98"
- }
-);
-
-
-unless ( eval { Module::Build->VERSION(0.4004) } ) {
- my $tr = delete $module_build_args{test_requires};
- my $br = $module_build_args{build_requires};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
-
-my $build = Module::Build->new(%module_build_args);
-
-$build->create_build_script;
@@ -1,42 +1,115 @@
Release history for Test-File-ShareDir
+1.000004 2014-07-22T19:29:27Z
+ [Doc Bugfix]
+ - Previous releases changelog was misleading.
+ - We're requiring a newer Path::Tiny to avoid a problem. ( As opposed to the impression that a newer Path::Tiny caused
+ the problem, grammar-- )
+
+1.000003 2014-07-22T19:02:06Z
+ [Bugfix]
+ - Attempt to avoid tempdir(CLEANUP => 1) being an error by requiring newer Path::Tiny
+
+ [Dependencies::Stats]
+ - Dependencies changed since 1.000002, see misc/*.deps* for details
+ - runtime: ↑1
+
+1.000002 2014-07-18T16:33:36Z
+ [00 Trivial]
+ - Minor packaging cleanups shaving ~7k
+
+ [Dependencies::Stats]
+ - Dependencies changed since 1.000001, see misc/*.deps* for details
+ - develop: (suggests: ↑2)
+ - test: +2 ↑1 (recommends: +1)
+
+1.000001 2014-06-07T15:14:38Z
+ [00 Trivial]
+ - Mostly internal aesthetic changes / perlcritic things.
+ - tempdir behaviours used via Path::Tiny interface instead of directly.
+ - Silly runtime function proxies mostly deleted.
+ - packaging tweaked minorly
+
+ [Dependencies::Stats]
+ - Dependencies changed since 1.000000, see misc/*.deps* for details
+ - configure: (recommends: ↑1)
+ - develop: +3 -3 (suggests: +2 -1)
+ - runtime: -1
+ - test: (recommends: ↑2)
+
+1.000000 2014-01-30T15:23:48Z
+ [00 Tooling and Version replacement]
+ - Switched to EUMM to accelerate clean-install time.
+ - Build-time requirements are now softened
+ - Readvertise higher requirements as recommendations
+ - version schema moved from x.y.z to x.YYYzzz and is the primary reason for incrementing the major
+
+ [Dependencies::Stats]
+ - Dependencies changed since 0.4.1, see misc/*.deps* for details
+ - build: -1
+ - configure: +1 -1 (recommends: +1)
+ - develop: +7 ↑1 -9
+ - test: +4 ↓1 (recommends: +4)
+
+0.4.1 2013-11-21T06:51:24Z
+ [00 Trivial Doc Fix]
+ - Escaping of code containing > was done wrong.
+
+0.4.0 2013-11-21T06:38:44Z
+ [00 Major Changes]
+ - New Modules/Interfaces to make life easier for people who only need one of (Dist|Module) shares.
+
+ [Dependencies::Noteworthy]
+ - use Class::Tiny
+ - use new MB and TestMore
+
+ [Dependencies::Stats]
+ - Dependencies changed since 0.3.3, see misc/*.deps* for details
+ - build: ↑1
+ - configure: ↑1
+ - develop: +45 -1 (recommends: -1, suggests: +1 -1)
+ - runtime: +1
+ - test: +1 ↑1 -1
+
+ [Documentation]
+ - Encoding specified
+ - MetaPOD annotations added
+
+ [Packaging]
+ - use new MB syntax for fallback
+
+ [Tests]
+ - use Test::Compile::PerFile
+ - Regenerate ReportVersions::Tiny to not report develop deps.
+ - Regenerate CPAN::Changes test
+ - Regenerate Kwalitee test
+
0.3.3 2013-04-03T11:32:08Z
[!Noteable Changes]
- Replace Path::Class with Path::Tiny
- [Dependencies::Added / runtime_requires]
- - Path::Tiny
+ [Dependencies::Noteworthy]
+ - use Path::Tiny
+ - stop using Path::Class::Dir
- [Dependencies::Removed / runtime_requires]
- - Path::Class::Dir
+ [Dependencies::Stats]
+ - Dependencies changed since 0.3.2, see misc/*.deps* for details
+ - runtime: +1 -1
0.3.2 2013-04-03T07:03:58Z
- Maintenance release for MB 0.4004
- [Dependencies::Added / develop_requires]
- - Pod::Coverage::TrustPod
- - Test::CPAN::Meta
- - Test::Pod 1.41
- - Test::Pod::Coverage 1.08
- - version 0.9901
-
- [Dependencies::Added / runtime_requires]
- - perl 5.006
+ [Dependencies::Noteworthy]
+ - 5.006 is now minimum
+ - upgrade MB and TM
- [Dependencies::Changed / build_requires]
- - Module::Build 0.3601 → 0.4004
-
- [Dependencies::Changed / configure_requires]
- - Module::Build 0.3601 → 0.4004
-
- [Dependencies::Changed / develop_recommends]
- - Dist::Zilla::PluginBundle::Author::KENTNL::Lite 0.01009803 → v1.3.0
-
- [Dependencies::Changed / develop_suggests]
- - Dist::Zilla::PluginBundle::Author::KENTNL 1.0.0 → v1.7.2
-
- [Dependencies::Changed / test_requires]
- - Test::More 0.96 → 0.98
+ [Dependencies::Stats]
+ - Dependencies changed since 0.3.1, see misc/*.deps* for details
+ - build: ↑1
+ - configure: ↑1
+ - develop: +5 (recommends: ↑1, suggests: ↑1)
+ - runtime: +1
+ - test: ↑1
[Documentation]
- Reindent License
@@ -55,38 +128,42 @@ Release history for Test-File-ShareDir
0.3.1 2011-10-28T20:58:28Z
[Bugs]
- - Absolute paths were treated incorrectly as relative ones. Now using
- Path::Class properly which should fix this problem. Thanks to RJBS for
- diagnosing and reporting this problem.
+ - Absolute paths were treated incorrectly as relative ones. Now using Path::Class properly which should fix this
+ problem. Thanks to RJBS for diagnosing and reporting this problem.
- [Dependencies]
+ [Dependencies::Noteworthy]
- test removed: English
+ [Dependencies::Stats]
+ - Dependencies changed since 0.3.0, see misc/*.deps* for details
+ - runtime: +2
+ - test: -1
+
[Packaging]
- Updated License ( Indentation, Address )
- Extra tests moved to xt/
0.3.0 2011-05-05T03:29:45Z
- [Dependencies::Testing]
- - Now requires Cwd as provided by File-Spec / PathTools.
+ [Dependencies::Noteworthy]
+ - For testing, Now requires Cwd as provided by File-Spec / PathTools.
+
+ [Dependencies::Stats]
+ - Dependencies changed since 0.2.0, see misc/*.deps* for details
+ - test: +1
[Documentation]
- Improved primary documentation to explain import flags
[Features]
- - In the absense of passing the 'root' parameter, it will default to the
- current work directory. Considering that most of the time, the Cwd is
- the project root directory when running tests, this constitutes a
- reasonably sane default.
+ - In the absense of passing the 'root' parameter, it will default to the current work directory. Considering that most
+ of the time, the Cwd is the project root directory when running tests, this constitutes a reasonably sane default.
[Tests]
- Now uses Test::CPAN::Changes plugin instead of CPANChangesTests plugin
- - Added 03_cwd.t which tests how the module behaves when -root is
- implicit.
+ - Added 03_cwd.t which tests how the module behaves when -root is implicit.
0.2.0 2011-04-07T21:10:54Z
- - Rereleased as 0.2.0 to signify backwards incompatible changes introduced
- in 0.1.2
+ - Rereleased as 0.2.0 to signify backwards incompatible changes introduced in 0.1.2
0.1.2 2011-04-07T21:08:05Z
[Features]
@@ -108,6 +185,10 @@ Release history for Test-File-ShareDir
- Slightly more strict, but just to stop you doing stupid things.
- Module Loading is now slightly lazier.
+ [Dependencies::Stats]
+ - Dependencies changed since 0.1.0, see misc/*.deps* for details
+ - runtime: +1 -1
+
0.1.0 2011-02-21T12:42:47Z
- First version, released on an unsuspecting world.
- Presently only supports module share-dirs.
@@ -1,4 +1,4 @@
-This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
+This software is Copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software, licensed under:
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
+This software is Copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software, licensed under:
@@ -1,17 +1,41 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
+.gitignore
.perltidyrc
-Build.PL
+.travis.yml
Changes
LICENSE
MANIFEST
META.json
META.yml
+Makefile.PL
README
dist.ini
+dist.ini.meta
+layout/self_structure.dot
+layout/self_structure.png
lib/Test/File/ShareDir.pm
+lib/Test/File/ShareDir/Dist.pm
+lib/Test/File/ShareDir/Module.pm
+lib/Test/File/ShareDir/Object/Dist.pm
+lib/Test/File/ShareDir/Object/Inc.pm
+lib/Test/File/ShareDir/Object/Module.pm
lib/Test/File/ShareDir/TempDirObject.pm
+maint/perlcritic.rc.gen.pl
+misc/Changes.deps
+misc/Changes.deps.all
+misc/Changes.deps.dev
+misc/Changes.deps.opt
+misc/perlcritic.deps
perlcritic.rc
-t/00-compile.t
-t/000-report-versions-tiny.t
+t/00-compile/lib_Test_File_ShareDir_Dist_pm.t
+t/00-compile/lib_Test_File_ShareDir_Module_pm.t
+t/00-compile/lib_Test_File_ShareDir_Object_Dist_pm.t
+t/00-compile/lib_Test_File_ShareDir_Object_Inc_pm.t
+t/00-compile/lib_Test_File_ShareDir_Object_Module_pm.t
+t/00-compile/lib_Test_File_ShareDir_TempDirObject_pm.t
+t/00-compile/lib_Test_File_ShareDir_pm.t
+t/00-report-prereqs.dd
+t/00-report-prereqs.t
t/01_basic.t
t/01_files/lib/Example.pm
t/01_files/share/afile
@@ -20,6 +44,14 @@ t/02_files/share/afile
t/03_cwd.t
t/03_files/lib/Example.pm
t/03_files/share/afile
+t/04_basic_simple.t
+t/04_files/lib/Example.pm
+t/04_files/share/afile
+t/05_dist_dir_simple.t
+t/05_files/share/afile
+t/06_cwd_simple.t
+t/06_files/lib/Example.pm
+t/06_files/share/afile
weaver.ini
xt/author/critic.t
xt/release/cpan-changes.t
@@ -4,7 +4,7 @@
"Kent Fredric <kentnl@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300032, CPAN::Meta::Converter version 2.130880",
+ "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520",
"license" : [
"perl_5"
],
@@ -19,145 +19,274 @@
]
},
"prereqs" : {
- "build" : {
- "requires" : {
- "Module::Build" : "0.4004"
- }
- },
"configure" : {
+ "recommends" : {
+ "ExtUtils::MakeMaker" : "6.98"
+ },
"requires" : {
- "Module::Build" : "0.4004"
+ "ExtUtils::MakeMaker" : "6.30"
}
},
"develop" : {
- "recommends" : {
- "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "v1.3.0"
- },
"requires" : {
- "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "0",
+ "Dist::Zilla::Plugin::Authority" : "1.006",
+ "Dist::Zilla::Plugin::AutoPrereqs" : "0",
+ "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0",
+ "Dist::Zilla::Plugin::ConfirmRelease" : "0",
+ "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0",
+ "Dist::Zilla::Plugin::EOLTests" : "0",
+ "Dist::Zilla::Plugin::Git::Check" : "0",
+ "Dist::Zilla::Plugin::Git::Commit" : "0",
+ "Dist::Zilla::Plugin::Git::CommitBuild" : "0",
+ "Dist::Zilla::Plugin::Git::GatherDir" : "0",
+ "Dist::Zilla::Plugin::Git::NextRelease" : "0",
+ "Dist::Zilla::Plugin::Git::Tag" : "0",
+ "Dist::Zilla::Plugin::GithubMeta" : "0",
+ "Dist::Zilla::Plugin::License" : "0",
+ "Dist::Zilla::Plugin::MakeMaker" : "0",
+ "Dist::Zilla::Plugin::Manifest" : "0",
+ "Dist::Zilla::Plugin::ManifestSkip" : "0",
+ "Dist::Zilla::Plugin::MetaConfig" : "0",
+ "Dist::Zilla::Plugin::MetaData::BuiltWith" : "0",
+ "Dist::Zilla::Plugin::MetaJSON" : "0",
+ "Dist::Zilla::Plugin::MetaProvides::Package" : "1.14000001",
+ "Dist::Zilla::Plugin::MetaTests" : "0",
+ "Dist::Zilla::Plugin::MetaYAML" : "0",
+ "Dist::Zilla::Plugin::MinimumPerl" : "0",
+ "Dist::Zilla::Plugin::PodCoverageTests" : "0",
+ "Dist::Zilla::Plugin::PodSyntaxTests" : "0",
+ "Dist::Zilla::Plugin::PodWeaver" : "0",
+ "Dist::Zilla::Plugin::Prereqs" : "0",
+ "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0",
+ "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0",
+ "Dist::Zilla::Plugin::ReadmeFromPod" : "0",
+ "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0",
+ "Dist::Zilla::Plugin::RunExtraTests" : "0",
+ "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0",
+ "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0",
+ "Dist::Zilla::Plugin::Test::Kwalitee" : "0",
+ "Dist::Zilla::Plugin::Test::MinimumVersion" : "0",
+ "Dist::Zilla::Plugin::Test::Perl::Critic" : "0",
+ "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0",
+ "Dist::Zilla::Plugin::TestRelease" : "0",
+ "Dist::Zilla::Plugin::Twitter" : "0",
+ "Dist::Zilla::Plugin::UploadToCPAN" : "0",
"Pod::Coverage::TrustPod" : "0",
+ "Test::CPAN::Changes" : "0.19",
"Test::CPAN::Meta" : "0",
+ "Test::Kwalitee" : "1.12",
"Test::Pod" : "1.41",
- "Test::Pod::Coverage" : "1.08",
- "version" : "0.9901"
+ "Test::Pod::Coverage" : "1.08"
},
"suggests" : {
- "Dist::Zilla::PluginBundle::Author::KENTNL" : "v1.7.2"
+ "Dist::Zilla::App::Command::bakeini" : "0.001001",
+ "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.016004"
}
},
"runtime" : {
"requires" : {
"Carp" : "0",
+ "Class::Tiny" : "0",
"File::Copy::Recursive" : "0",
"File::ShareDir" : "1.00",
- "File::Temp" : "0",
- "Path::Tiny" : "0",
+ "Path::Tiny" : "0.018",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
+ "recommends" : {
+ "CPAN::Meta" : "0",
+ "CPAN::Meta::Prereqs" : "0",
+ "CPAN::Meta::Requirements" : "2.120900",
+ "ExtUtils::MakeMaker" : "6.98",
+ "Test::More" : "1.001003"
+ },
"requires" : {
"Cwd" : "0",
- "File::Find" : "0",
+ "ExtUtils::MakeMaker" : "0",
+ "File::Spec" : "0",
+ "File::Spec::Functions" : "0",
"FindBin" : "0",
+ "List::Util" : "0",
+ "Scalar::Util" : "0",
"Test::Fatal" : "0",
- "Test::More" : "0.98"
+ "Test::More" : "0.96",
+ "lib" : "0",
+ "version" : "0.77"
}
}
},
"provides" : {
"Test::File::ShareDir" : {
"file" : "lib/Test/File/ShareDir.pm",
- "version" : "v0.3.3"
+ "version" : "1.000004"
+ },
+ "Test::File::ShareDir::Dist" : {
+ "file" : "lib/Test/File/ShareDir/Dist.pm",
+ "version" : "1.000004"
+ },
+ "Test::File::ShareDir::Module" : {
+ "file" : "lib/Test/File/ShareDir/Module.pm",
+ "version" : "1.000004"
+ },
+ "Test::File::ShareDir::Object::Dist" : {
+ "file" : "lib/Test/File/ShareDir/Object/Dist.pm",
+ "version" : "1.000004"
+ },
+ "Test::File::ShareDir::Object::Inc" : {
+ "file" : "lib/Test/File/ShareDir/Object/Inc.pm",
+ "version" : "1.000004"
+ },
+ "Test::File::ShareDir::Object::Module" : {
+ "file" : "lib/Test/File/ShareDir/Object/Module.pm",
+ "version" : "1.000004"
},
"Test::File::ShareDir::TempDirObject" : {
"file" : "lib/Test/File/ShareDir/TempDirObject.pm",
- "version" : "v0.3.3"
+ "version" : "1.000004"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "web" : "https://github.com/kentfredric/Test-File-ShareDir/issues"
+ "web" : "https://github.com/kentnl/Test-File-ShareDir/issues"
},
- "homepage" : "https://github.com/kentfredric/Test-File-ShareDir",
+ "homepage" : "https://github.com/kentnl/Test-File-ShareDir",
"repository" : {
"type" : "git",
- "url" : "https://github.com/kentfredric/Test-File-ShareDir.git",
- "web" : "https://github.com/kentfredric/Test-File-ShareDir"
+ "url" : "https://github.com/kentnl/Test-File-ShareDir.git",
+ "web" : "https://github.com/kentnl/Test-File-ShareDir"
}
},
- "version" : "0.3.3",
+ "version" : "1.000004",
"x_BuiltWith" : {
"modules" : {
- "Carp" : "1.28",
- "Cwd" : "3.40",
- "Dist::Zilla::PluginBundle::Author::KENTNL" : "1.7.2",
- "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "NA(possibly not installed)",
+ "CPAN::Meta" : "2.141520",
+ "CPAN::Meta::Prereqs" : "2.141520",
+ "CPAN::Meta::Requirements" : "2.125",
+ "Carp" : "1.34",
+ "Class::Tiny" : "1.000",
+ "Cwd" : "3.48",
+ "Dist::Zilla::App::Command::bakeini" : "0.001001",
+ "Dist::Zilla::Plugin::Authority" : "1.006",
+ "Dist::Zilla::Plugin::AutoPrereqs" : "5.019",
+ "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.002",
+ "Dist::Zilla::Plugin::ConfirmRelease" : "5.019",
+ "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.103510",
+ "Dist::Zilla::Plugin::EOLTests" : "0.02",
+ "Dist::Zilla::Plugin::Git::Check" : "2.023",
+ "Dist::Zilla::Plugin::Git::Commit" : "2.023",
+ "Dist::Zilla::Plugin::Git::CommitBuild" : "2.023",
+ "Dist::Zilla::Plugin::Git::GatherDir" : "2.023",
+ "Dist::Zilla::Plugin::Git::NextRelease" : "0.002011",
+ "Dist::Zilla::Plugin::Git::Tag" : "2.023",
+ "Dist::Zilla::Plugin::GithubMeta" : "0.46",
+ "Dist::Zilla::Plugin::License" : "5.019",
+ "Dist::Zilla::Plugin::MakeMaker" : "5.019",
+ "Dist::Zilla::Plugin::Manifest" : "5.019",
+ "Dist::Zilla::Plugin::ManifestSkip" : "5.019",
+ "Dist::Zilla::Plugin::MetaConfig" : "5.019",
+ "Dist::Zilla::Plugin::MetaData::BuiltWith" : "1.000001",
+ "Dist::Zilla::Plugin::MetaJSON" : "5.019",
+ "Dist::Zilla::Plugin::MetaProvides::Package" : "2.000002",
+ "Dist::Zilla::Plugin::MetaTests" : "5.019",
+ "Dist::Zilla::Plugin::MetaYAML" : "5.019",
+ "Dist::Zilla::Plugin::MinimumPerl" : "1.003",
+ "Dist::Zilla::Plugin::PodCoverageTests" : "5.019",
+ "Dist::Zilla::Plugin::PodSyntaxTests" : "5.019",
+ "Dist::Zilla::Plugin::PodWeaver" : "4.005",
+ "Dist::Zilla::Plugin::Prereqs" : "5.019",
+ "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.002000",
+ "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.141760",
+ "Dist::Zilla::Plugin::ReadmeFromPod" : "0.21",
+ "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001001",
+ "Dist::Zilla::Plugin::RunExtraTests" : "0.022",
+ "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008",
+ "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.002001",
+ "Dist::Zilla::Plugin::Test::Kwalitee" : "2.07",
+ "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000005",
+ "Dist::Zilla::Plugin::Test::Perl::Critic" : "2.112410",
+ "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.014",
+ "Dist::Zilla::Plugin::TestRelease" : "5.019",
+ "Dist::Zilla::Plugin::Twitter" : "0.025",
+ "Dist::Zilla::Plugin::UploadToCPAN" : "5.019",
+ "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.016004",
+ "ExtUtils::MakeMaker" : "6.98",
"File::Copy::Recursive" : "0.38",
- "File::Find" : "1.23",
- "File::ShareDir" : "1.03",
- "File::Temp" : "0.23",
+ "File::ShareDir" : "1.102",
+ "File::Spec" : "3.48",
+ "File::Spec::Functions" : "3.48",
"FindBin" : "1.51",
- "Module::Build" : "0.4004",
- "Path::Tiny" : "0.017",
- "Pod::Coverage::TrustPod" : "0.100002",
- "Test::CPAN::Meta" : "0.22",
- "Test::Fatal" : "0.010",
- "Test::More" : "0.98",
- "Test::Pod" : "1.46",
- "Test::Pod::Coverage" : "1.08",
- "perl" : "NA(skipped: perl)",
- "strict" : "1.07",
- "version" : "0.9902",
- "warnings" : "1.18"
+ "List::Util" : "1.39",
+ "Path::Tiny" : "0.055",
+ "Pod::Coverage::TrustPod" : "0.100003",
+ "Scalar::Util" : "1.39",
+ "Test::CPAN::Changes" : "0.28",
+ "Test::CPAN::Meta" : "0.23",
+ "Test::Fatal" : "0.013",
+ "Test::Kwalitee" : "1.19",
+ "Test::More" : "1.001003",
+ "Test::Pod" : "1.48",
+ "Test::Pod::Coverage" : "1.10",
+ "lib" : "0.63",
+ "strict" : "1.08",
+ "version" : "0.9908",
+ "warnings" : "1.24"
},
"perl" : {
- "original" : "v5.17.11",
+ "original" : "v5.21.1",
"qv" : 1,
"version" : [
5,
- 17,
- 11
+ 21,
+ 1
]
},
"perl-config" : {
- "gccversion" : "4.7.2",
- "git_commit_date" : "2013-04-03 10:11:16 +1300",
- "git_commit_id" : "117af28243a5b43f9072467ac83dbe4d3a2a3d7d",
- "git_describe" : "v5.17.10-50-g117af28",
+ "gccversion" : "4.8.3",
"myarchname" : "x86_64-linux",
"osname" : "linux"
},
"platform" : "linux",
- "uname" : "Linux 3.8.2-gentoo x86_64 GenuineIntel GNU/Linux"
+ "uname" : "Linux 3.15.2-aufs x86_64 GenuineIntel GNU/Linux"
},
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.017011"
+ "version" : "5.021001"
},
"plugins" : [
{
- "class" : "Dist::Zilla::Plugin::Git::NextVersion",
- "name" : "@Author::KENTNL/Git::NextVersion",
- "version" : "2.012"
- },
- {
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::KENTNL/MetaConfig",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@Author::KENTNL/GithubMeta",
- "version" : "0.28"
+ "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.019"
+ }
+ ]
+ },
+ "Dist::Zilla::Role::MetaProvider::Provider" : {
+ "inherit_missing" : "1",
+ "inherit_version" : "1",
+ "meta_noindex" : "1"
+ }
+ },
"name" : "@Author::KENTNL/MetaProvides::Package",
- "version" : "1.14000001"
+ "version" : "2.000002"
},
{
"class" : "Dist::Zilla::Plugin::MetaData::BuiltWith",
@@ -179,57 +308,70 @@
}
},
"name" : "@Author::KENTNL/MetaData::BuiltWith",
- "version" : "0.03000100"
+ "version" : "1.000001"
},
{
"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.012"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::KENTNL/License",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::KENTNL/MetaJSON",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::KENTNL/MetaYAML",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::KENTNL/Manifest",
- "version" : "4.300032"
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild",
+ "name" : "@Author::KENTNL/CopyXBuild",
+ "version" : "0.103510"
},
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@Author::KENTNL/MetaTests",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Author::KENTNL/PodCoverageTests",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::KENTNL/PodSyntaxTests",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
- "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
- "name" : "@Author::KENTNL/ReportVersions::Tiny",
- "version" : "1.08"
+ "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
+ "name" : "@Author::KENTNL/Test::ReportPrereqs",
+ "version" : "0.014"
},
{
"class" : "Dist::Zilla::Plugin::Test::Kwalitee",
"name" : "@Author::KENTNL/Test::Kwalitee",
- "version" : "2.03"
+ "version" : "2.07"
},
{
"class" : "Dist::Zilla::Plugin::EOLTests",
@@ -239,12 +381,35 @@
{
"class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
"name" : "@Author::KENTNL/Test::MinimumVersion",
- "version" : "2.000004"
+ "version" : "2.000005"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM",
+ "version" : "5.019"
},
{
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "name" : "@Author::KENTNL/Test::Compile",
- "version" : "2.001"
+ "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Compile::PerFile" : {
+ "file" : [
+ "lib/Test/File/ShareDir.pm",
+ "lib/Test/File/ShareDir/Dist.pm",
+ "lib/Test/File/ShareDir/Module.pm",
+ "lib/Test/File/ShareDir/Object/Dist.pm",
+ "lib/Test/File/ShareDir/Object/Inc.pm",
+ "lib/Test/File/ShareDir/Object/Module.pm",
+ "lib/Test/File/ShareDir/TempDirObject.pm"
+ ],
+ "path_translator" : "base64_filter",
+ "prefix" : "t/00-compile",
+ "skip" : [],
+ "test_template" : "01-basic.t.tpl",
+ "xt_mode" : null
+ }
+ },
+ "name" : "@Author::KENTNL/Test::Compile::PerFile",
+ "version" : "0.002001"
},
{
"class" : "Dist::Zilla::Plugin::Test::Perl::Critic",
@@ -252,56 +417,130 @@
"version" : "2.112410"
},
{
- "class" : "Dist::Zilla::Plugin::PruneCruft",
- "name" : "@Author::KENTNL/PruneCruft",
- "version" : "4.300032"
- },
- {
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Author::KENTNL/ManifestSkip",
- "version" : "4.300032"
- },
- {
- "class" : "Dist::Zilla::Plugin::PkgVersion",
- "name" : "@Author::KENTNL/PkgVersion",
- "version" : "4.300032"
- },
- {
- "class" : "Dist::Zilla::Plugin::PodWeaver",
- "name" : "@Author::KENTNL/PodWeaver",
- "version" : "3.101641"
+ "version" : "5.019"
},
{
- "class" : "Dist::Zilla::Plugin::NextRelease",
- "name" : "@Author::KENTNL/NextRelease",
- "version" : "4.300032"
- },
- {
- "class" : "Dist::Zilla::Plugin::AutoPrereqs",
- "name" : "@Author::KENTNL/AutoPrereqs",
- "version" : "4.300032"
- },
- {
- "class" : "Dist::Zilla::Plugin::Prereqs",
+ "class" : "Dist::Zilla::Plugin::RewriteVersion::Sanitized",
"config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "develop",
- "type" : "requires"
+ "Dist::Zilla::Role::Version::Sanitize" : {
+ "mantissa" : "6",
+ "normal_form" : "numify"
}
},
- "name" : "@Author::KENTNL/Prereqs/BundleDevelNeeds",
- "version" : "4.300032"
+ "name" : "@Author::KENTNL/RewriteVersion::Sanitized",
+ "version" : "0.001001"
},
{
- "class" : "Dist::Zilla::Plugin::Prereqs",
+ "class" : "Dist::Zilla::Plugin::PodWeaver",
"config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "develop",
- "type" : "recommends"
+ "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::Generic",
+ "name" : "SIMPLE INTERFACE",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "METHODS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "ATTRIBUTES",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "PRIVATE_ATTRIBUTES",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "PRIVATE_METHODS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "Legal",
+ "version" : "4.006"
+ }
+ ]
}
},
- "name" : "@Author::KENTNL/Prereqs/BundleDevelRecommends",
- "version" : "4.300032"
+ "name" : "@Author::KENTNL/PodWeaver",
+ "version" : "4.005"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::AutoPrereqs",
+ "name" : "@Author::KENTNL/AutoPrereqs",
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -311,18 +550,13 @@
"type" : "suggests"
}
},
- "name" : "@Author::KENTNL/Prereqs/BundleDevelSuggests",
- "version" : "4.300032"
- },
- {
- "class" : "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl",
- "name" : "@Author::KENTNL/Author::KENTNL::MinimumPerl",
- "version" : "1.7.2"
+ "name" : "@Author::KENTNL/BundleDevelSuggests",
+ "version" : "5.019"
},
{
- "class" : "Dist::Zilla::Plugin::Author::KENTNL::Prereqs::Latest::Selective",
- "name" : "@Author::KENTNL/Author::KENTNL::Prereqs::Latest::Selective",
- "version" : "0.1.0"
+ "class" : "Dist::Zilla::Plugin::MinimumPerl",
+ "name" : "@Author::KENTNL/MinimumPerl",
+ "version" : "1.003"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
@@ -330,79 +564,254 @@
"version" : "1.006"
},
{
- "class" : "Dist::Zilla::Plugin::ModuleBuild",
- "name" : "@Author::KENTNL/ModuleBuild",
- "version" : "4.300032"
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : "10"
+ }
+ },
+ "name" : "@Author::KENTNL/MakeMaker",
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeFromPod",
"name" : "@Author::KENTNL/ReadmeFromPod",
- "version" : "0.18"
+ "version" : "0.21"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
"name" : "@Author::KENTNL/ReadmeAnyFromPod",
- "version" : "0.120120"
+ "version" : "0.141760"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
"name" : "@Author::KENTNL/Test::CPAN::Changes",
- "version" : "0.005"
+ "version" : "0.008"
},
{
- "class" : "Dist::Zilla::Plugin::CheckExtraTests",
- "name" : "@Author::KENTNL/CheckExtraTests",
- "version" : "0.011"
+ "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" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::KENTNL/ConfirmRelease",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"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.012"
+ "version" : "2.023"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "v%v%n%n%c",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@Author::KENTNL/commit_dirty_files",
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
- "name" : "@Author::KENTNL/Git::Tag/tag_master",
- "version" : "2.012"
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "signed" : 0,
+ "tag" : "1.000004-source",
+ "tag_format" : "%v-source",
+ "tag_message" : "v%v",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@Author::KENTNL/tag_master",
+ "version" : "2.023"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::NextRelease",
+ "name" : "@Author::KENTNL/Git::NextRelease",
+ "version" : "0.002011"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease",
+ "name" : "@Author::KENTNL/BumpVersionAfterRelease",
+ "version" : "0.002"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
- "name" : "@Author::KENTNL/Git::Commit",
- "version" : "2.012"
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "v%v%n%n%c",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [
+ "(?^u:^lib/)"
+ ],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@Author::KENTNL/commit_release_changes",
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::CommitBuild",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::CommitBuild" : {
+ "branch" : "build/%b",
+ "build_root" : null,
+ "message" : "Build results of %h (on %b)",
+ "multiple_inheritance" : 0,
+ "release_branch" : "releases",
+ "release_message" : "Build results of %h (on %b)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::KENTNL/Git::CommitBuild",
- "version" : "2.012"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
- "name" : "@Author::KENTNL/Git::Tag/tag_release",
- "version" : "2.012"
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : "releases",
+ "signed" : 0,
+ "tag" : "1.000004",
+ "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" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Twitter",
"name" : "@Author::KENTNL/Twitter",
- "version" : "0.020"
+ "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.002000"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : {
+ "applyto_map" : [
+ "develop.suggests = develop.suggests"
+ ],
+ "applyto_phase" : [
+ "develop"
+ ],
+ "modules" : [
+ "Dist::Zilla::PluginBundle::Author::KENTNL",
+ "Dist::Zilla::App::Command::bakeini"
+ ]
+ }
+ },
+ "name" : "@Author::KENTNL/always_latest_develop_bundle",
+ "version" : "0.002000"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "develop",
+ "type" : "requires"
+ }
+ },
+ "name" : "@Author::KENTNL/::Role::BundleDeps",
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "MetaNoIndex",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -413,37 +822,52 @@
}
},
"name" : "Prereqs",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300032"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300032"
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
+ "version" : "5.019"
}
],
"zilla" : {
@@ -451,7 +875,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300032"
+ "version" : "5.019"
}
},
"x_authority" : "cpan:KENTNL"
@@ -3,20 +3,25 @@ abstract: 'Create a Fake ShareDir for your modules for testing.'
author:
- 'Kent Fredric <kentnl@cpan.org>'
build_requires:
- Cwd: 0
- File::Find: 0
- FindBin: 0
- Module::Build: 0.4004
- Test::Fatal: 0
- Test::More: 0.98
+ Cwd: '0'
+ ExtUtils::MakeMaker: '0'
+ File::Spec: '0'
+ File::Spec::Functions: '0'
+ FindBin: '0'
+ List::Util: '0'
+ Scalar::Util: '0'
+ Test::Fatal: '0'
+ Test::More: '0.96'
+ lib: '0'
+ version: '0.77'
configure_requires:
- Module::Build: 0.4004
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300032, CPAN::Meta::Converter version 2.130880'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-File-ShareDir
no_index:
directory:
@@ -24,276 +29,555 @@ no_index:
provides:
Test::File::ShareDir:
file: lib/Test/File/ShareDir.pm
- version: v0.3.3
+ version: '1.000004'
+ Test::File::ShareDir::Dist:
+ file: lib/Test/File/ShareDir/Dist.pm
+ version: '1.000004'
+ Test::File::ShareDir::Module:
+ file: lib/Test/File/ShareDir/Module.pm
+ version: '1.000004'
+ Test::File::ShareDir::Object::Dist:
+ file: lib/Test/File/ShareDir/Object/Dist.pm
+ version: '1.000004'
+ Test::File::ShareDir::Object::Inc:
+ file: lib/Test/File/ShareDir/Object/Inc.pm
+ version: '1.000004'
+ Test::File::ShareDir::Object::Module:
+ file: lib/Test/File/ShareDir/Object/Module.pm
+ version: '1.000004'
Test::File::ShareDir::TempDirObject:
file: lib/Test/File/ShareDir/TempDirObject.pm
- version: v0.3.3
+ version: '1.000004'
requires:
- Carp: 0
- File::Copy::Recursive: 0
- File::ShareDir: 1.00
- File::Temp: 0
- Path::Tiny: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ Carp: '0'
+ Class::Tiny: '0'
+ File::Copy::Recursive: '0'
+ File::ShareDir: '1.00'
+ Path::Tiny: '0.018'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
resources:
- bugtracker: https://github.com/kentfredric/Test-File-ShareDir/issues
- homepage: https://github.com/kentfredric/Test-File-ShareDir
- repository: https://github.com/kentfredric/Test-File-ShareDir.git
-version: 0.3.3
+ bugtracker: https://github.com/kentnl/Test-File-ShareDir/issues
+ homepage: https://github.com/kentnl/Test-File-ShareDir
+ repository: https://github.com/kentnl/Test-File-ShareDir.git
+version: '1.000004'
x_BuiltWith:
modules:
- Carp: 1.28
- Cwd: 3.40
- Dist::Zilla::PluginBundle::Author::KENTNL: 1.7.2
- Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 'NA(possibly not installed)'
- File::Copy::Recursive: 0.38
- File::Find: 1.23
- File::ShareDir: 1.03
- File::Temp: 0.23
- FindBin: 1.51
- Module::Build: 0.4004
- Path::Tiny: 0.017
- Pod::Coverage::TrustPod: 0.100002
- Test::CPAN::Meta: 0.22
- Test::Fatal: 0.010
- Test::More: 0.98
- Test::Pod: 1.46
- Test::Pod::Coverage: 1.08
- perl: 'NA(skipped: perl)'
- strict: 1.07
- version: 0.9902
- warnings: 1.18
+ CPAN::Meta: '2.141520'
+ CPAN::Meta::Prereqs: '2.141520'
+ CPAN::Meta::Requirements: '2.125'
+ Carp: '1.34'
+ Class::Tiny: '1.000'
+ Cwd: '3.48'
+ Dist::Zilla::App::Command::bakeini: '0.001001'
+ Dist::Zilla::Plugin::Authority: '1.006'
+ Dist::Zilla::Plugin::AutoPrereqs: '5.019'
+ Dist::Zilla::Plugin::BumpVersionAfterRelease: '0.002'
+ Dist::Zilla::Plugin::ConfirmRelease: '5.019'
+ Dist::Zilla::Plugin::CopyFilesFromBuild: '0.103510'
+ Dist::Zilla::Plugin::EOLTests: '0.02'
+ Dist::Zilla::Plugin::Git::Check: '2.023'
+ Dist::Zilla::Plugin::Git::Commit: '2.023'
+ Dist::Zilla::Plugin::Git::CommitBuild: '2.023'
+ Dist::Zilla::Plugin::Git::GatherDir: '2.023'
+ Dist::Zilla::Plugin::Git::NextRelease: '0.002011'
+ Dist::Zilla::Plugin::Git::Tag: '2.023'
+ Dist::Zilla::Plugin::GithubMeta: '0.46'
+ Dist::Zilla::Plugin::License: '5.019'
+ Dist::Zilla::Plugin::MakeMaker: '5.019'
+ Dist::Zilla::Plugin::Manifest: '5.019'
+ Dist::Zilla::Plugin::ManifestSkip: '5.019'
+ Dist::Zilla::Plugin::MetaConfig: '5.019'
+ Dist::Zilla::Plugin::MetaData::BuiltWith: '1.000001'
+ Dist::Zilla::Plugin::MetaJSON: '5.019'
+ Dist::Zilla::Plugin::MetaProvides::Package: '2.000002'
+ Dist::Zilla::Plugin::MetaTests: '5.019'
+ Dist::Zilla::Plugin::MetaYAML: '5.019'
+ Dist::Zilla::Plugin::MinimumPerl: '1.003'
+ Dist::Zilla::Plugin::PodCoverageTests: '5.019'
+ Dist::Zilla::Plugin::PodSyntaxTests: '5.019'
+ Dist::Zilla::Plugin::PodWeaver: '4.005'
+ Dist::Zilla::Plugin::Prereqs: '5.019'
+ Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled: '0.002000'
+ Dist::Zilla::Plugin::ReadmeAnyFromPod: '0.141760'
+ Dist::Zilla::Plugin::ReadmeFromPod: '0.21'
+ Dist::Zilla::Plugin::RewriteVersion::Sanitized: '0.001001'
+ Dist::Zilla::Plugin::RunExtraTests: '0.022'
+ Dist::Zilla::Plugin::Test::CPAN::Changes: '0.008'
+ Dist::Zilla::Plugin::Test::Compile::PerFile: '0.002001'
+ Dist::Zilla::Plugin::Test::Kwalitee: '2.07'
+ Dist::Zilla::Plugin::Test::MinimumVersion: '2.000005'
+ Dist::Zilla::Plugin::Test::Perl::Critic: '2.112410'
+ Dist::Zilla::Plugin::Test::ReportPrereqs: '0.014'
+ Dist::Zilla::Plugin::TestRelease: '5.019'
+ Dist::Zilla::Plugin::Twitter: '0.025'
+ Dist::Zilla::Plugin::UploadToCPAN: '5.019'
+ Dist::Zilla::PluginBundle::Author::KENTNL: '2.016004'
+ ExtUtils::MakeMaker: '6.98'
+ File::Copy::Recursive: '0.38'
+ File::ShareDir: '1.102'
+ File::Spec: '3.48'
+ File::Spec::Functions: '3.48'
+ FindBin: '1.51'
+ List::Util: '1.39'
+ Path::Tiny: '0.055'
+ Pod::Coverage::TrustPod: '0.100003'
+ Scalar::Util: '1.39'
+ Test::CPAN::Changes: '0.28'
+ Test::CPAN::Meta: '0.23'
+ Test::Fatal: '0.013'
+ Test::Kwalitee: '1.19'
+ Test::More: '1.001003'
+ Test::Pod: '1.48'
+ Test::Pod::Coverage: '1.10'
+ lib: '0.63'
+ strict: '1.08'
+ version: '0.9908'
+ warnings: '1.24'
perl:
- original: v5.17.11
+ original: v5.21.1
qv: 1
version:
- 5
- - 17
- - 11
+ - 21
+ - 1
perl-config:
- gccversion: 4.7.2
- git_commit_date: '2013-04-03 10:11:16 +1300'
- git_commit_id: 117af28243a5b43f9072467ac83dbe4d3a2a3d7d
- git_describe: v5.17.10-50-g117af28
+ gccversion: 4.8.3
myarchname: x86_64-linux
osname: linux
platform: linux
- uname: 'Linux 3.8.2-gentoo x86_64 GenuineIntel GNU/Linux'
+ uname: 'Linux 3.15.2-aufs x86_64 GenuineIntel GNU/Linux'
x_Dist_Zilla:
perl:
- version: 5.017011
+ version: '5.021001'
plugins:
-
- class: Dist::Zilla::Plugin::Git::NextVersion
- name: '@Author::KENTNL/Git::NextVersion'
- version: 2.012
- -
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::KENTNL/MetaConfig'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::KENTNL/GithubMeta'
- version: 0.28
+ 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.019'
+ Dist::Zilla::Role::MetaProvider::Provider:
+ inherit_missing: '1'
+ inherit_version: '1'
+ meta_noindex: '1'
name: '@Author::KENTNL/MetaProvides::Package'
- version: 1.14000001
+ version: '2.000002'
-
class: Dist::Zilla::Plugin::MetaData::BuiltWith
config:
Dist::Zilla::Plugin::MetaData::BuiltWith:
_stash_key: x_BuiltWith
- show_config: 1
- show_uname: 1
+ show_config: '1'
+ show_uname: '1'
uname:
uname_args:
- - '-s'
- - '-o'
- - '-r'
- - '-m'
- - '-i'
+ - -s
+ - -o
+ - -r
+ - -m
+ - -i
uname_call: uname
name: '@Author::KENTNL/MetaData::BuiltWith'
- version: 0.03000100
+ version: '1.000001'
-
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.012
+ version: '2.023'
-
class: Dist::Zilla::Plugin::License
name: '@Author::KENTNL/License'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::KENTNL/MetaJSON'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::KENTNL/MetaYAML'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::KENTNL/Manifest'
- version: 4.300032
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::CopyFilesFromBuild
+ name: '@Author::KENTNL/CopyXBuild'
+ version: '0.103510'
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::KENTNL/MetaTests'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Author::KENTNL/PodCoverageTests'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::KENTNL/PodSyntaxTests'
- version: 4.300032
+ version: '5.019'
-
- class: Dist::Zilla::Plugin::ReportVersions::Tiny
- name: '@Author::KENTNL/ReportVersions::Tiny'
- version: 1.08
+ class: Dist::Zilla::Plugin::Test::ReportPrereqs
+ name: '@Author::KENTNL/Test::ReportPrereqs'
+ version: '0.014'
-
class: Dist::Zilla::Plugin::Test::Kwalitee
name: '@Author::KENTNL/Test::Kwalitee'
- version: 2.03
+ version: '2.07'
-
class: Dist::Zilla::Plugin::EOLTests
name: '@Author::KENTNL/EOLTests'
- version: 0.02
+ version: '0.02'
-
class: Dist::Zilla::Plugin::Test::MinimumVersion
name: '@Author::KENTNL/Test::MinimumVersion'
- version: 2.000004
+ version: '2.000005'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: '@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM'
+ version: '5.019'
-
- class: Dist::Zilla::Plugin::Test::Compile
- name: '@Author::KENTNL/Test::Compile'
- version: 2.001
+ class: Dist::Zilla::Plugin::Test::Compile::PerFile
+ config:
+ Dist::Zilla::Plugin::Test::Compile::PerFile:
+ file:
+ - lib/Test/File/ShareDir.pm
+ - lib/Test/File/ShareDir/Dist.pm
+ - lib/Test/File/ShareDir/Module.pm
+ - lib/Test/File/ShareDir/Object/Dist.pm
+ - lib/Test/File/ShareDir/Object/Inc.pm
+ - lib/Test/File/ShareDir/Object/Module.pm
+ - lib/Test/File/ShareDir/TempDirObject.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.002001'
-
class: Dist::Zilla::Plugin::Test::Perl::Critic
name: '@Author::KENTNL/Test::Perl::Critic'
- version: 2.112410
- -
- class: Dist::Zilla::Plugin::PruneCruft
- name: '@Author::KENTNL/PruneCruft'
- version: 4.300032
+ version: '2.112410'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Author::KENTNL/ManifestSkip'
- version: 4.300032
+ version: '5.019'
-
- class: Dist::Zilla::Plugin::PkgVersion
- name: '@Author::KENTNL/PkgVersion'
- version: 4.300032
+ class: Dist::Zilla::Plugin::RewriteVersion::Sanitized
+ config:
+ Dist::Zilla::Role::Version::Sanitize:
+ mantissa: '6'
+ normal_form: numify
+ name: '@Author::KENTNL/RewriteVersion::Sanitized'
+ version: '0.001001'
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ 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::Generic
+ name: 'SIMPLE INTERFACE'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: METHODS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: ATTRIBUTES
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: PRIVATE_ATTRIBUTES
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: PRIVATE_METHODS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: Leftovers
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: postlude
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Authors
+ name: Authors
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Legal
+ name: Legal
+ version: '4.006'
name: '@Author::KENTNL/PodWeaver'
- version: 3.101641
- -
- class: Dist::Zilla::Plugin::NextRelease
- name: '@Author::KENTNL/NextRelease'
- version: 4.300032
+ version: '4.005'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::KENTNL/AutoPrereqs'
- version: 4.300032
- -
- class: Dist::Zilla::Plugin::Prereqs
- config:
- Dist::Zilla::Plugin::Prereqs:
- phase: develop
- type: requires
- name: '@Author::KENTNL/Prereqs/BundleDevelNeeds'
- version: 4.300032
- -
- class: Dist::Zilla::Plugin::Prereqs
- config:
- Dist::Zilla::Plugin::Prereqs:
- phase: develop
- type: recommends
- name: '@Author::KENTNL/Prereqs/BundleDevelRecommends'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: develop
type: suggests
- name: '@Author::KENTNL/Prereqs/BundleDevelSuggests'
- version: 4.300032
- -
- class: Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl
- name: '@Author::KENTNL/Author::KENTNL::MinimumPerl'
- version: 1.7.2
+ name: '@Author::KENTNL/BundleDevelSuggests'
+ version: '5.019'
-
- class: Dist::Zilla::Plugin::Author::KENTNL::Prereqs::Latest::Selective
- name: '@Author::KENTNL/Author::KENTNL::Prereqs::Latest::Selective'
- version: 0.1.0
+ class: Dist::Zilla::Plugin::MinimumPerl
+ name: '@Author::KENTNL/MinimumPerl'
+ version: '1.003'
-
class: Dist::Zilla::Plugin::Authority
name: '@Author::KENTNL/Authority'
- version: 1.006
+ version: '1.006'
-
- class: Dist::Zilla::Plugin::ModuleBuild
- name: '@Author::KENTNL/ModuleBuild'
- version: 4.300032
+ class: Dist::Zilla::Plugin::MakeMaker
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: '10'
+ name: '@Author::KENTNL/MakeMaker'
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ReadmeFromPod
name: '@Author::KENTNL/ReadmeFromPod'
- version: 0.18
+ version: '0.21'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::KENTNL/ReadmeAnyFromPod'
- version: 0.120120
+ version: '0.141760'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::KENTNL/Test::CPAN::Changes'
- version: 0.005
+ version: '0.008'
-
- class: Dist::Zilla::Plugin::CheckExtraTests
- name: '@Author::KENTNL/CheckExtraTests'
- version: 0.011
+ 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: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::KENTNL/ConfirmRelease'
- version: 4.300032
+ version: '5.019'
-
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.012
+ version: '2.023'
+ -
+ class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: v%v%n%n%c
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@Author::KENTNL/commit_dirty_files'
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Tag
- name: '@Author::KENTNL/Git::Tag/tag_master'
- version: 2.012
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: 1.000004-source
+ tag_format: '%v-source'
+ tag_message: v%v
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@Author::KENTNL/tag_master'
+ version: '2.023'
+ -
+ class: Dist::Zilla::Plugin::Git::NextRelease
+ name: '@Author::KENTNL/Git::NextRelease'
+ version: '0.002011'
+ -
+ class: Dist::Zilla::Plugin::BumpVersionAfterRelease
+ name: '@Author::KENTNL/BumpVersionAfterRelease'
+ version: '0.002'
-
class: Dist::Zilla::Plugin::Git::Commit
- name: '@Author::KENTNL/Git::Commit'
- version: 2.012
+ 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.012
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Tag
- name: '@Author::KENTNL/Git::Tag/tag_release'
- version: 2.012
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: releases
+ signed: 0
+ tag: '1.000004'
+ 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: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Twitter
name: '@Author::KENTNL/Twitter'
- version: 0.020
+ 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.002000'
+ -
+ class: Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled
+ config:
+ Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled:
+ applyto_map:
+ - 'develop.suggests = develop.suggests'
+ applyto_phase:
+ - develop
+ modules:
+ - Dist::Zilla::PluginBundle::Author::KENTNL
+ - Dist::Zilla::App::Command::bakeini
+ name: '@Author::KENTNL/always_latest_develop_bundle'
+ version: '0.002000'
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: develop
+ type: requires
+ name: '@Author::KENTNL/::Role::BundleDeps'
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaNoIndex
name: MetaNoIndex
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -301,34 +585,46 @@ x_Dist_Zilla:
phase: runtime
type: requires
name: Prereqs
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300032
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300032
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
+ version: '5.019'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 4.300032
+ is_trial: '0'
+ version: '5.019'
x_authority: cpan:KENTNL
@@ -0,0 +1,85 @@
+
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
+use strict;
+use warnings;
+
+use 5.006;
+
+use ExtUtils::MakeMaker 6.30;
+
+
+
+my %WriteMakefileArgs = (
+ "ABSTRACT" => "Create a Fake ShareDir for your modules for testing.",
+ "AUTHOR" => "Kent Fredric <kentnl\@cpan.org>",
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30"
+ },
+ "DISTNAME" => "Test-File-ShareDir",
+ "EXE_FILES" => [],
+ "LICENSE" => "perl",
+ "NAME" => "Test::File::ShareDir",
+ "PREREQ_PM" => {
+ "Carp" => 0,
+ "Class::Tiny" => 0,
+ "File::Copy::Recursive" => 0,
+ "File::ShareDir" => "1.00",
+ "Path::Tiny" => "0.018",
+ "strict" => 0,
+ "warnings" => 0
+ },
+ "TEST_REQUIRES" => {
+ "Cwd" => 0,
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "File::Spec::Functions" => 0,
+ "FindBin" => 0,
+ "List::Util" => 0,
+ "Scalar::Util" => 0,
+ "Test::Fatal" => 0,
+ "Test::More" => "0.96",
+ "lib" => 0,
+ "version" => "0.77"
+ },
+ "VERSION" => "1.000004",
+ "test" => {
+ "TESTS" => "t/*.t t/00-compile/*.t"
+ }
+);
+
+
+my %FallbackPrereqs = (
+ "Carp" => 0,
+ "Class::Tiny" => 0,
+ "Cwd" => 0,
+ "ExtUtils::MakeMaker" => 0,
+ "File::Copy::Recursive" => 0,
+ "File::ShareDir" => "1.00",
+ "File::Spec" => 0,
+ "File::Spec::Functions" => 0,
+ "FindBin" => 0,
+ "List::Util" => 0,
+ "Path::Tiny" => "0.018",
+ "Scalar::Util" => 0,
+ "Test::Fatal" => 0,
+ "Test::More" => "0.96",
+ "lib" => 0,
+ "strict" => 0,
+ "version" => "0.77",
+ "warnings" => 0
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
@@ -3,7 +3,7 @@ NAME
testing.
VERSION
- version 0.3.3
+ version 1.000004
SYNOPSIS
use Test::More;
@@ -32,6 +32,68 @@ DESCRIPTION
For this reason, unless you have File::ShareDir 1.00 or later installed,
this module will not be usable by you.
+SIMPLE INTERFACE
+ Starting with version 0.4.0, there are a few extra interfaces you can
+ use.
+
+ These will probably be more useful, and easier to grok, because they
+ don't have a layer of indirection in order to simultaneously support
+ both "Module" and "Dist" "ShareDir"'s.
+
+ Simple Exporter Interfaces
+ "Test::File::ShareDir::Dist"
+ "Test::File::ShareDir::Dist" provides a simple export interface for
+ making "TempDir" "ShareDir"'s from a given path:
+
+ use Test::File::ShareDir::Dist { "Dist-Name" => "share/" };
+
+ This will automatically create a "ShareDir" for "Dist-Name" in a
+ "TempDir" based on the contents of "CWD/share/"
+
+ See "Test::File::ShareDir::Dist" for details.
+
+ "Test::File::ShareDir::Module"
+ "Test::File::ShareDir::Module" provides a simple export interface for
+ making "TempDir" "ShareDir"'s from a given path:
+
+ use Test::File::ShareDir::Module { "Module::Name" => "share/" };
+
+ This will automatically create a "ShareDir" for "Module::Name" in a
+ "TempDir" based on the contents of "CWD/share/"
+
+ See "Test::File::ShareDir::Module" for details.
+
+ Simple Object Oriented Interfaces
+ "Test::File::ShareDir::Object::Dist"
+ "Test::File::ShareDir::Object::Dist" provides a simple object oriented
+ interface for making "TempDir" "ShareDir"'s from a given path:
+
+ use Test::File::ShareDir::Object::Dist;
+
+ my $obj = Test::File::ShareDir::Object::Dist->new( dists => { "Dist-Name" => "share/" } );
+ $obj->install_all_dists;
+ $obj->add_to_inc;
+
+ This will automatically create a "ShareDir" for "Dist-Name" in a
+ "TempDir" based on the contents of "CWD/share/"
+
+ See "Test::File::ShareDir::Object::Dist" for details.
+
+ "Test::File::ShareDir::Object::Module"
+ "Test::File::ShareDir::Object::Module" provides a simple object oriented
+ interface for making "TempDir" "ShareDir"'s from a given path:
+
+ use Test::File::ShareDir::Object::Module;
+
+ my $obj = Test::File::ShareDir::Object::Module->new( modules => { "Module::Name" => "share/" } );
+ $obj->install_all_modules;
+ $obj->add_to_inc;
+
+ This will automatically create a "ShareDir" for "Module::Name" in a
+ "TempDir" based on the contents of "CWD/share/"
+
+ See "Test::File::ShareDir::Object::Module" for details.
+
IMPORTING
-root
This parameter is the prefix the other paths are relative to.
@@ -93,7 +155,7 @@ AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
- This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
+ This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -1,27 +1,194 @@
-; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.0.2 at Tue Feb 22 00:49:00 2011
-name = Test-File-ShareDir
-author = Kent Fredric <kentnl@cpan.org>
-license = Perl_5
+; This file is generated from dist.ini.meta by dzil bakeini.
+; Edit that file or the bundles contained within for long-term changes.
+name = Test-File-ShareDir
+author = Kent Fredric <kentnl@cpan.org>
+license = Perl_5
copyright_holder = Kent Fredric <kentnl@cpan.org>
-; Uncomment this to bootstrap via self
-; [Bootstrap::lib]
-
-[@Author::KENTNL]
-git_versions = 1
-;version_major = 0
-;version_minor = 1
-; the following data denotes when this minor was minted
-;version_rel_year = 2011
-;version_rel_month = 2
-;version_rel_day = 22
-;version_rel_hour = 0
-;version_rel_time_zone = Pacific/Auckland
-no_fiveten = 1
-twitter_hash_tags = #perl #cpan
-auto_prereqs_skip = ^Example$
+[MetaConfig / @Author::KENTNL/MetaConfig]
+
+[GithubMeta / @Author::KENTNL/GithubMeta]
+issues = 1
+
+[MetaProvides::Package / @Author::KENTNL/MetaProvides::Package]
+:version = 1.14000001
+
+[MetaData::BuiltWith / @Author::KENTNL/MetaData::BuiltWith]
+show_config = 1
+show_uname = 1
+uname_args = -s -o -r -m -i
+
+[Git::GatherDir / @Author::KENTNL/Git::GatherDir]
+exclude_filename = README
+exclude_filename = README.mkdn
+exclude_filename = README.pod
+exclude_filename = LICENSE
+include_dotfiles = 1
+
+[License / @Author::KENTNL/License]
+
+[MetaJSON / @Author::KENTNL/MetaJSON]
+
+[MetaYAML / @Author::KENTNL/MetaYAML]
+
+[Manifest / @Author::KENTNL/Manifest]
+
+[CopyFilesFromBuild / @Author::KENTNL/CopyXBuild]
+copy = LICENSE
+
+[MetaTests / @Author::KENTNL/MetaTests]
+
+[PodCoverageTests / @Author::KENTNL/PodCoverageTests]
+
+[PodSyntaxTests / @Author::KENTNL/PodSyntaxTests]
+
+[Test::ReportPrereqs / @Author::KENTNL/Test::ReportPrereqs]
+
+[Test::Kwalitee / @Author::KENTNL/Test::Kwalitee]
+
+[EOLTests / @Author::KENTNL/EOLTests]
+trailing_whitespace = 1
+
+[Test::MinimumVersion / @Author::KENTNL/Test::MinimumVersion]
+
+[Test::Compile::PerFile / @Author::KENTNL/Test::Compile::PerFile]
+
+[Test::Perl::Critic / @Author::KENTNL/Test::Perl::Critic]
+
+[ManifestSkip / @Author::KENTNL/ManifestSkip]
+
+[RewriteVersion::Sanitized / @Author::KENTNL/RewriteVersion::Sanitized]
+mantissa = 6
+normal_form = numify
+
+[PodWeaver / @Author::KENTNL/PodWeaver]
+replacer = replace_with_blank
+
+[AutoPrereqs / @Author::KENTNL/AutoPrereqs]
+skips = ^Example$
+
+[Prereqs / @Author::KENTNL/BundleDevelSuggests]
+-phase = develop
+-type = suggests
+Dist::Zilla::App::Command::bakeini = 0.001000
+Dist::Zilla::PluginBundle::Author::KENTNL = 2.016004
+
+[MinimumPerl / @Author::KENTNL/MinimumPerl]
+
+[Authority / @Author::KENTNL/Authority]
+:version = 1.006
+authority = cpan:KENTNL
+do_metadata = 1
+locate_comment = 1
+
+[MakeMaker / @Author::KENTNL/MakeMaker]
+default_jobs = 10
+
+[ReadmeFromPod / @Author::KENTNL/ReadmeFromPod]
+
+[ReadmeAnyFromPod / @Author::KENTNL/ReadmeAnyFromPod]
+filename = README.mkdn
+location = root
+type = markdown
+
+[Test::CPAN::Changes / @Author::KENTNL/Test::CPAN::Changes]
+
+[RunExtraTests / @Author::KENTNL/RunExtraTests]
+default_jobs = 10
+
+[TestRelease / @Author::KENTNL/TestRelease]
+
+[ConfirmRelease / @Author::KENTNL/ConfirmRelease]
+
+[Git::Check / @Author::KENTNL/Git::Check]
+filename = Changes
+
+[Git::Commit / @Author::KENTNL/commit_dirty_files]
+
+[Git::Tag / @Author::KENTNL/tag_master]
+tag_format = %v-source
+
+[Git::NextRelease / @Author::KENTNL/Git::NextRelease]
+format = %v %{yyyy-MM-dd'T'HH:mm:ss}dZ
+time_zone = UTC
+
+[BumpVersionAfterRelease / @Author::KENTNL/BumpVersionAfterRelease]
+
+[Git::Commit / @Author::KENTNL/commit_release_changes]
+allow_dirty_match = ^lib/
+
+[Git::CommitBuild / @Author::KENTNL/Git::CommitBuild]
+release_branch = releases
+
+[Git::Tag / @Author::KENTNL/tag_release]
+branch = releases
+tag_format = %v
+
+[UploadToCPAN / @Author::KENTNL/UploadToCPAN]
+
+[Twitter / @Author::KENTNL/Twitter]
+hash_tags = #perl #cpan
+tweet_url = https://metacpan.org/release/{{$AUTHOR_UC}}/{{$DIST}}-{{$VERSION}}{{$TRIAL}}#whatsnew
+url_shortener = none
+
+[Prereqs::Recommend::MatchInstalled / @Author::KENTNL/Prereqs::Recommend::MatchInstalled]
+modules = ExtUtils::MakeMaker
+modules = Test::More
+
+[Prereqs::Recommend::MatchInstalled / @Author::KENTNL/always_latest_develop_bundle]
+applyto_map = develop.suggests = develop.suggests
+applyto_phase = develop
+modules = Dist::Zilla::PluginBundle::Author::KENTNL
+modules = Dist::Zilla::App::Command::bakeini
+
+[Prereqs / @Author::KENTNL/::Role::BundleDeps]
+-phase = develop
+-relationship = requires
+Dist::Zilla::Plugin::Authority = 1.006
+Dist::Zilla::Plugin::AutoPrereqs = 0
+Dist::Zilla::Plugin::BumpVersionAfterRelease = 0
+Dist::Zilla::Plugin::ConfirmRelease = 0
+Dist::Zilla::Plugin::CopyFilesFromBuild = 0
+Dist::Zilla::Plugin::EOLTests = 0
+Dist::Zilla::Plugin::Git::Check = 0
+Dist::Zilla::Plugin::Git::Commit = 0
+Dist::Zilla::Plugin::Git::CommitBuild = 0
+Dist::Zilla::Plugin::Git::GatherDir = 0
+Dist::Zilla::Plugin::Git::NextRelease = 0
+Dist::Zilla::Plugin::Git::Tag = 0
+Dist::Zilla::Plugin::GithubMeta = 0
+Dist::Zilla::Plugin::License = 0
+Dist::Zilla::Plugin::MakeMaker = 0
+Dist::Zilla::Plugin::Manifest = 0
+Dist::Zilla::Plugin::ManifestSkip = 0
+Dist::Zilla::Plugin::MetaConfig = 0
+Dist::Zilla::Plugin::MetaData::BuiltWith = 0
+Dist::Zilla::Plugin::MetaJSON = 0
+Dist::Zilla::Plugin::MetaProvides::Package = 1.14000001
+Dist::Zilla::Plugin::MetaTests = 0
+Dist::Zilla::Plugin::MetaYAML = 0
+Dist::Zilla::Plugin::MinimumPerl = 0
+Dist::Zilla::Plugin::PodCoverageTests = 0
+Dist::Zilla::Plugin::PodSyntaxTests = 0
+Dist::Zilla::Plugin::PodWeaver = 0
+Dist::Zilla::Plugin::Prereqs = 0
+Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled = 0
+Dist::Zilla::Plugin::ReadmeAnyFromPod = 0
+Dist::Zilla::Plugin::ReadmeFromPod = 0
+Dist::Zilla::Plugin::RewriteVersion::Sanitized = 0
+Dist::Zilla::Plugin::RunExtraTests = 0
+Dist::Zilla::Plugin::Test::CPAN::Changes = 0
+Dist::Zilla::Plugin::Test::Compile::PerFile = 0
+Dist::Zilla::Plugin::Test::Kwalitee = 0
+Dist::Zilla::Plugin::Test::MinimumVersion = 0
+Dist::Zilla::Plugin::Test::Perl::Critic = 0
+Dist::Zilla::Plugin::Test::ReportPrereqs = 0
+Dist::Zilla::Plugin::TestRelease = 0
+Dist::Zilla::Plugin::Twitter = 0
+Dist::Zilla::Plugin::UploadToCPAN = 0
[MetaNoIndex]
directory = t/tlib
[Prereqs]
+Path::Tiny = 0.018
@@ -0,0 +1,36 @@
+; Generated by Dist::Zilla::Plugin::Author::KENTNL::DistINI version 1.0.2 at Tue Feb 22 00:49:00 2011
+name = Test-File-ShareDir
+author = Kent Fredric <kentnl@cpan.org>
+license = Perl_5
+copyright_holder = Kent Fredric <kentnl@cpan.org>
+
+; Uncomment this to bootstrap via self
+; [Bootstrap::lib]
+
+[@Author::KENTNL]
+:version = 2.016000
+git_versions = 1
+normal_form = numify
+mantissa = 6
+toolkit = eumm
+toolkit_hardness = soft
+bumpversions = 1
+copyfiles = LICENSE
+srcreadme = mkdn
+
+;version_major = 0
+;version_minor = 1
+; the following data denotes when this minor was minted
+;version_rel_year = 2011
+;version_rel_month = 2
+;version_rel_day = 22
+;version_rel_hour = 0
+;version_rel_time_zone = Pacific/Auckland
+twitter_hash_tags = #perl #cpan
+auto_prereqs_skip = ^Example$
+
+[MetaNoIndex]
+directory = t/tlib
+
+[Prereqs]
+Path::Tiny = 0.018 ; # Attempt to avoid ::tempdir( CLEANUP => 1 ) failing
@@ -0,0 +1,16 @@
+strict digraph Perl {
+ graph [compound=1, concentrate=1, overlap=false, rankdir=LR, ranksep=1, smoothing=triangle, splines=spline];
+ node [label="\N", shape=record, style=dotted];
+ edge [minlen=1];
+ "Class::Tiny::Object" [label="Class::Tiny::Object"];
+ "Test::File::ShareDir" [label="Test::File::ShareDir"];
+ "Test::File::ShareDir::Dist" [label="Test::File::ShareDir::Dist"];
+ "Test::File::ShareDir::Module" [label="Test::File::ShareDir::Module"];
+ "Test::File::ShareDir::Object::Dist" [label="Test::File::ShareDir::Object::Dist", shape=Mrecord, style=solid, color="#7e1e9c", fontsize=7, height="0.1"];
+ "Test::File::ShareDir::Object::Inc" [label="Test::File::ShareDir::Object::Inc", shape=Mrecord, style=solid, color="#7e1e9c", fontsize=7, height="0.1"];
+ "Test::File::ShareDir::Object::Module" [label="Test::File::ShareDir::Object::Module", shape=Mrecord, style=solid, color="#7e1e9c", fontsize=7, height="0.1"];
+ "Test::File::ShareDir::TempDirObject" [label="Test::File::ShareDir::TempDirObject", shape=Mrecord, style=solid, color="#7e1e9c", fontsize=7, height="0.1"];
+ "Class::Tiny::Object" -> "Test::File::ShareDir::Object::Dist" [arrowhead=open, arrowsize="0.5", color="#ff81c0", dir=forward, fontsize=6, headclip=1, label="inherited by", samehead=head, tailclip=1, weight=10];
+ "Class::Tiny::Object" -> "Test::File::ShareDir::Object::Inc" [arrowhead=open, arrowsize="0.5", color="#ff81c0", dir=forward, fontsize=6, headclip=1, label="inherited by", samehead=head, tailclip=1, weight=10];
+ "Class::Tiny::Object" -> "Test::File::ShareDir::Object::Module" [arrowhead=open, arrowsize="0.5", color="#ff81c0", dir=forward, fontsize=6, headclip=1, label="inherited by", samehead=head, tailclip=1, weight=10];
+}
diff --git a/var/tmp/source/KENTNL/Test-File-ShareDir-1.000004/Test-File-ShareDir-1.000004/layout/self_structure.png b/var/tmp/source/KENTNL/Test-File-ShareDir-1.000004/Test-File-ShareDir-1.000004/layout/self_structure.png
new file mode 100644
index 00000000..73c1d89a
Binary files /dev/null and b/var/tmp/source/KENTNL/Test-File-ShareDir-1.000004/Test-File-ShareDir-1.000004/layout/self_structure.png differ
@@ -0,0 +1,116 @@
+use 5.006; # pragmas
+use strict;
+use warnings;
+
+package Test::File::ShareDir::Dist;
+
+our $VERSION = '1.000004';
+
+# ABSTRACT: Simplified dist oriented ShareDir tester
+
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+use File::ShareDir 1.00 qw();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+sub import {
+ my ( undef, $arg ) = @_;
+
+ if ( not ref $arg or 'HASH' ne ref $arg ) {
+ require Carp;
+ return Carp::croak q[Must pass a hashref];
+ }
+
+ my %input_config = %{$arg};
+
+ require Test::File::ShareDir::Object::Dist;
+
+ my $params = {};
+ for my $key ( keys %input_config ) {
+ next unless $key =~ /\A-(.*)\z/msx;
+ $params->{$1} = delete $input_config{$key};
+ }
+ $params->{dists} = {} if not exists $params->{dists};
+ for my $key ( keys %input_config ) {
+ $params->{dists}->{$key} = $input_config{$key};
+ }
+
+ my $dist_object = Test::File::ShareDir::Object::Dist->new($params);
+ $dist_object->install_all_dists();
+ $dist_object->add_to_inc();
+
+ return 1;
+}
+
+1;
+
+__END__
+
+=pod
+
+=encoding UTF-8
+
+=head1 NAME
+
+Test::File::ShareDir::Dist - Simplified dist oriented ShareDir tester
+
+=head1 VERSION
+
+version 1.000004
+
+=head1 SYNOPSIS
+
+ use Test::File::ShareDir::Dist {
+ '-root' => 'some/root/path',
+ 'Dist-Zilla-Plugin-Foo' => 'share/DZPF',
+ };
+
+C<-root> is optional, and defaults to C<cwd>
+
+B<NOTE:> There's a bug prior to 5.18 with C<< use Foo { -key => } >>, so for backwards compatibility, make sure you either quote
+the key: C<< use Foo { '-key' => } >>, or make it the non-first key.
+
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir::Dist",
+ "interface":"exporter"
+}
+
+
+=end MetaPOD::JSON
+
+=head1 AUTHOR
+
+Kent Fredric <kentnl@cpan.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
@@ -0,0 +1,118 @@
+use 5.006; # pragmas
+use strict;
+use warnings;
+
+package Test::File::ShareDir::Module;
+
+our $VERSION = '1.000004';
+
+# ABSTRACT: Simplified module oriented ShareDir tester
+
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+use File::ShareDir 1.00 qw();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+sub import {
+ my ( undef, $arg ) = @_;
+
+ if ( not ref $arg or 'HASH' ne ref $arg ) {
+ require Carp;
+ return Carp::croak q[Must pass a hashref];
+ }
+
+ my %input_config = %{$arg};
+
+ require Test::File::ShareDir::Object::Module;
+
+ my $params = {};
+ for my $key ( keys %input_config ) {
+ next unless $key =~ /\A-(.*)\z/msx;
+ $params->{$1} = delete $input_config{$key};
+ }
+ $params->{modules} = {} if not exists $params->{modules};
+ for my $key ( keys %input_config ) {
+ $params->{modules}->{$key} = $input_config{$key};
+ }
+
+ my $module_object = Test::File::ShareDir::Object::Module->new($params);
+ $module_object->install_all_modules();
+ $module_object->add_to_inc();
+
+ return 1;
+}
+
+1;
+
+__END__
+
+=pod
+
+=encoding UTF-8
+
+=head1 NAME
+
+Test::File::ShareDir::Module - Simplified module oriented ShareDir tester
+
+=head1 VERSION
+
+version 1.000004
+
+=head1 SYNOPSIS
+
+ use Test::File::ShareDir::Module {
+ '-root' => "some/root/path",
+ 'Module::Foo' => "share/ModuleFoo",
+ };
+
+C<-root> is optional, and defaults to C<cwd>
+
+B<NOTE:> There's a bug prior to 5.18 with C<< use Foo { -key => } >>, so for backwards compatibility, make sure you either quote
+the key: C<< use Foo { '-key' => } >>, or make it the non-first key.
+
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir::Module",
+ "interface":"exporter"
+}
+
+
+=end MetaPOD::JSON
+
+=head1 AUTHOR
+
+Kent Fredric <kentnl@cpan.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
@@ -0,0 +1,266 @@
+use 5.006; # pragmas
+use strict;
+use warnings;
+
+package Test::File::ShareDir::Object::Dist;
+
+our $VERSION = '1.000004';
+
+# ABSTRACT: Object Oriented ShareDir creation for distributions
+
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+use Class::Tiny {
+ inc => sub {
+ require Test::File::ShareDir::Object::Inc;
+ return Test::File::ShareDir::Object::Inc->new();
+ },
+ dists => sub {
+ return {};
+ },
+ root => sub {
+ require Path::Tiny;
+ return Path::Tiny::path(q[./])->absolute;
+ },
+};
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+sub __rcopy { require File::Copy::Recursive; goto \&File::Copy::Recursive::rcopy; }
+
+
+
+
+
+
+
+
+
+sub dist_names {
+ my ($self) = @_;
+ return keys %{ $self->dists };
+}
+
+
+
+
+
+
+
+
+
+sub dist_share_target_dir {
+ my ( $self, $distname ) = @_;
+ return $self->inc->dist_tempdir->child($distname);
+}
+
+
+
+
+
+
+
+
+
+sub dist_share_source_dir {
+ my ( $self, $distname ) = @_;
+ require Path::Tiny;
+ return Path::Tiny::path( $self->dists->{$distname} )->absolute( $self->root );
+}
+
+
+
+
+
+
+
+
+
+sub install_dist {
+ my ( $self, $distname ) = @_;
+ my $source = $self->dist_share_source_dir($distname);
+ my $target = $self->dist_share_target_dir($distname);
+ return __rcopy( $source, $target );
+}
+
+
+
+
+
+
+
+
+
+sub install_all_dists {
+ my ($self) = @_;
+ for my $dist ( $self->dist_names ) {
+ $self->install_dist($dist);
+ }
+ return;
+}
+
+
+
+
+
+
+
+
+
+sub add_to_inc {
+ my ($self) = @_;
+ $self->inc->add_to_inc;
+ return;
+}
+
+1;
+
+__END__
+
+=pod
+
+=encoding UTF-8
+
+=head1 NAME
+
+Test::File::ShareDir::Object::Dist - Object Oriented ShareDir creation for distributions
+
+=head1 VERSION
+
+version 1.000004
+
+=head1 SYNOPSIS
+
+ use Test::File::ShareDir::Object::Dist;
+
+ my $dir = Test::File::ShareDir::Object::Dist->new(
+ root => "some/path",
+ dists => {
+ "Hello-Nurse" => "share/HN"
+ },
+ );
+
+ $dir->install_all_dists;
+ $dir->add_to_inc;
+
+=head1 METHODS
+
+=head2 C<dist_names>
+
+ my @names = $instance->dist_names();
+
+Returns the names of all distributions listed in the C<dists> set.
+
+=head2 C<dist_share_target_dir>
+
+ my $dir = $instance->dist_share_target_dir("Dist-Name");
+
+Returns the path where the C<ShareDir> will be created for C<Dist-Name>
+
+=head2 C<dist_share_source_dir>
+
+ my $dir = $instance->dist_share_source_dir("Dist-Name");
+
+Returns the path where the C<ShareDir> will be B<COPIED> I<FROM> for C<Dist-Name>
+
+=head2 C<install_dist>
+
+ $instance->install_dist("Dist-Name");
+
+Installs C<Dist-Name>'s C<ShareDir>
+
+=head2 C<install_all_dists>
+
+ $instance->install_all_dists();
+
+Installs all C<dist_names>
+
+=head2 C<add_to_inc>
+
+ $instance->add_to_inc();
+
+Adds the C<Tempdir> C<ShareDir> ( C<inc> ) to the global C<@INC>
+
+=head1 ATTRIBUTES
+
+=head2 C<inc>
+
+A C<Test::File::ShareDir::Object::Inc> object.
+
+=head2 C<dists>
+
+A hash of :
+
+ Dist-Name => "relative/path"
+
+=head2 C<root>
+
+The origin all paths's are relative to.
+
+( Defaults to C<cwd> )
+
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir::Object::Dist",
+ "interface":"class",
+ "inherits":"Class::Tiny::Object"
+}
+
+
+=end MetaPOD::JSON
+
+=head1 AUTHOR
+
+Kent Fredric <kentnl@cpan.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
@@ -0,0 +1,178 @@
+use 5.006; # pragmas
+use strict;
+use warnings;
+
+package Test::File::ShareDir::Object::Inc;
+
+our $VERSION = '1.000004';
+
+# ABSTRACT: Shared tempdir object code to inject into @INC
+
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+my @cache;
+
+use Class::Tiny {
+ tempdir => sub {
+ require Path::Tiny;
+ my $dir = Path::Tiny::tempdir( CLEANUP => 1 );
+ push @cache, $dir; # explicit keepalive
+ return $dir;
+ },
+ module_tempdir => sub {
+ my ($self) = @_;
+ my $dir = $self->tempdir->child('auto/share/module');
+ $dir->mkpath();
+ return $dir->absolute;
+ },
+ dist_tempdir => sub {
+ my ($self) = @_;
+ my $dir = $self->tempdir->child('auto/share/dist');
+ $dir->mkpath();
+ return $dir->absolute;
+ },
+};
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+sub add_to_inc {
+ my ($self) = @_;
+ unshift @INC, $self->tempdir->stringify;
+ return;
+}
+
+1;
+
+__END__
+
+=pod
+
+=encoding UTF-8
+
+=head1 NAME
+
+Test::File::ShareDir::Object::Inc - Shared tempdir object code to inject into @INC
+
+=head1 VERSION
+
+version 1.000004
+
+=head1 SYNOPSIS
+
+ use Test::File::ShareDir::Object::Inc;
+
+ my $inc = Test::File::ShareDir::Object::Inc->new();
+
+ $inc->tempdir() # add files to here
+
+ $inc->module_tempdir() # or here
+
+ $inc->dist_tempdir() # or here
+
+ $inc->add_to_inc;
+
+=head1 DESCRIPTION
+
+This class doesn't do very much on its own.
+
+It simply exists to facilitate C<tempdir> creation,
+and the injection of those C<tempdir>'s into C<@INC>
+
+=head1 METHODS
+
+=head2 C<add_to_inc>
+
+ $instance->add_to_inc;
+
+Injects C<tempdir> into C<@INC>
+
+=head1 ATTRIBUTES
+
+=head2 C<tempdir>
+
+A path to a C<tempdir> of some description.
+
+=head2 C<module_tempdir>
+
+The C<module> C<ShareDir> base directory within the C<tempdir>
+
+=head2 C<dist_tempdir>
+
+The C<dist> C<ShareDir> base directory within the C<tempdir>
+
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir::Object::Inc",
+ "interface":"class",
+ "inherits":"Class::Tiny::Object"
+}
+
+
+=end MetaPOD::JSON
+
+=head1 AUTHOR
+
+Kent Fredric <kentnl@cpan.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
@@ -0,0 +1,269 @@
+use 5.006; # pragmas
+use strict;
+use warnings;
+
+package Test::File::ShareDir::Object::Module;
+
+our $VERSION = '1.000004';
+
+# ABSTRACT: Object Oriented ShareDir creation for modules
+
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+use Class::Tiny {
+ inc => sub {
+ require Test::File::ShareDir::Object::Inc;
+ return Test::File::ShareDir::Object::Inc->new();
+ },
+ modules => sub {
+ return {};
+ },
+ root => sub {
+ require Path::Tiny;
+ return Path::Tiny::path(q[./])->absolute;
+ },
+};
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+sub __rcopy { require File::Copy::Recursive; goto \&File::Copy::Recursive::rcopy; }
+
+
+
+
+
+
+
+
+
+sub module_names {
+ my ( $self, ) = @_;
+ return keys %{ $self->modules };
+}
+
+
+
+
+
+
+
+
+
+sub module_share_target_dir {
+ my ( $self, $module ) = @_;
+
+ $module =~ s/::/-/msxg;
+
+ return $self->inc->module_tempdir->child($module);
+}
+
+
+
+
+
+
+
+
+
+sub module_share_source_dir {
+ my ( $self, $module ) = @_;
+ require Path::Tiny;
+ return Path::Tiny::path( $self->modules->{$module} )->absolute( $self->root );
+}
+
+
+
+
+
+
+
+
+
+sub install_module {
+ my ( $self, $module ) = @_;
+ my $source = $self->module_share_source_dir($module);
+ my $target = $self->module_share_target_dir($module);
+ return __rcopy( $source, $target );
+}
+
+
+
+
+
+
+
+
+
+sub install_all_modules {
+ my ($self) = @_;
+ for my $module ( $self->module_names ) {
+ $self->install_module($module);
+ }
+ return;
+}
+
+
+
+
+
+
+
+
+
+sub add_to_inc {
+ my ($self) = @_;
+ $self->inc->add_to_inc;
+ return;
+}
+
+1;
+
+__END__
+
+=pod
+
+=encoding UTF-8
+
+=head1 NAME
+
+Test::File::ShareDir::Object::Module - Object Oriented ShareDir creation for modules
+
+=head1 VERSION
+
+version 1.000004
+
+=head1 SYNOPSIS
+
+ use Test::File::ShareDir::Object::Module;
+
+ my $dir = Test::File::ShareDir::Object::Module->new(
+ root => "some/path",
+ modules => {
+ "Hello::Nurse" => "share/HN"
+ },
+ );
+
+ $dir->install_all_modules;
+ $dir->add_to_inc;
+
+=head1 METHODS
+
+=head2 C<module_names>
+
+ my @names = $instance->module_names();
+
+Returns the names of all modules listed in the C<modules> set.
+
+=head2 C<module_share_target_dir>
+
+ my $dir = $instance->module_share_target_dir("Module::Name");
+
+Returns the path where the C<ShareDir> will be created for C<Module::Name>
+
+=head2 C<module_share_source_dir>
+
+ my $dir = $instance->module_share_source_dir("Module::Name");
+
+Returns the path where the C<ShareDir> will be B<COPIED> I<FROM> for C<Module::Name>
+
+=head2 C<install_module>
+
+ $instance->install_module("Module::Name");
+
+Installs C<Module::Name>'s C<ShareDir>
+
+=head2 C<install_all_modules>
+
+ $instance->install_all_modules();
+
+Installs all C<module_names>.
+
+=head2 C<add_to_inc>
+
+ $instance->add_to_inc();
+
+Adds the C<Tempdir> C<ShareDir> ( C<inc> ) to the global C<@INC>.
+
+=head1 ATTRIBUTES
+
+=head2 C<inc>
+
+A C<Test::File::ShareDir::Object::Inc> object.
+
+=head2 C<modules>
+
+A hash of :
+
+ Module::Name => "relative/path"
+
+=head2 C<root>
+
+The origin all paths's are relative to.
+
+( Defaults to C<cwd> )
+
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir::Object::Module",
+ "interface":"class",
+ "inherits":"Class::Tiny::Object"
+}
+
+
+=end MetaPOD::JSON
+
+=head1 AUTHOR
+
+Kent Fredric <kentnl@cpan.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
@@ -1,53 +1,94 @@
+use 5.006; # pragmas
use strict;
use warnings;
package Test::File::ShareDir::TempDirObject;
-BEGIN {
- $Test::File::ShareDir::TempDirObject::AUTHORITY = 'cpan:KENTNL';
-}
-{
- $Test::File::ShareDir::TempDirObject::VERSION = '0.3.3';
-}
+
+our $VERSION = '1.000004';
# ABSTRACT: Internal Object to make code simpler.
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+use Path::Tiny qw(path);
+use Carp qw(confess);
## no critic (Subroutines::RequireArgUnpacking)
-sub __dir { require Path::Tiny; return Path::Tiny::path(@_); }
-sub __tempdir { require File::Temp; goto \&File::Temp::tempdir; }
-sub __rcopy { require File::Copy::Recursive; goto \&File::Copy::Recursive::rcopy; }
-sub __confess { require Carp; goto \&Carp::confess; }
+sub __rcopy { require File::Copy::Recursive; goto \&File::Copy::Recursive::rcopy; }
+
+
+
+
+
sub new {
my ( $class, $config ) = @_;
- __confess('Need -share => for Test::File::ShareDir') unless exists $config->{-share};
+ confess('Need -share => for Test::File::ShareDir') unless exists $config->{-share};
my $realconfig = {
- root => __dir(q{./})->absolute, #->resolve->absolute,
+ root => path(q{./})->absolute, #->resolve->absolute,
modules => {},
dists => {},
};
- $realconfig->{root} = __dir( delete $config->{-root} )->absolute if exists $config->{-root};
- $realconfig->{modules} = delete $config->{-share}->{-module} if exists $config->{-share}->{-module};
- $realconfig->{dists} = delete $config->{-share}->{-dist} if exists $config->{-share}->{-dist};
+ $realconfig->{root} = path( delete $config->{-root} )->absolute if exists $config->{-root};
+ $realconfig->{modules} = delete $config->{-share}->{-module} if exists $config->{-share}->{-module};
+ $realconfig->{dists} = delete $config->{-share}->{-dist} if exists $config->{-share}->{-dist};
- __confess( 'Unsupported -share types : ' . join q{ }, keys %{ $config->{-share} } ) if keys %{ $config->{-share} };
+ confess( 'Unsupported -share types : ' . join q{ }, keys %{ $config->{-share} } ) if keys %{ $config->{-share} };
delete $config->{-share};
- __confess( 'Unsupported parameter to import() : ' . join q{ }, keys %{$config} ) if keys %{$config};
+ confess( 'Unsupported parameter to import() : ' . join q{ }, keys %{$config} ) if keys %{$config};
return bless $realconfig, $class;
}
+my @cache;
+
sub _tempdir {
my ($self) = shift;
return $self->{tempdir} if exists $self->{tempdir};
- $self->{tempdir} = __dir( __tempdir( CLEANUP => 1 ) );
- return $self->{tempdir}->absolute;
+ $self->{tempdir} = Path::Tiny::tempdir( CLEANUP => 1 );
+
+ # Explicit keepalive till GC
+ push @cache, $self->{tempdir};
+ return $self->{tempdir};
}
sub _module_tempdir {
@@ -101,12 +142,12 @@ sub _dist_share_target_dir {
sub _module_share_source_dir {
my ( $self, $module ) = @_;
- return __dir( $self->_modules->{$module} )->absolute( $self->_root );
+ return path( $self->_modules->{$module} )->absolute( $self->_root );
}
sub _dist_share_source_dir {
my ( $self, $dist ) = @_;
- return __dir( $self->_dists->{$dist} )->absolute( $self->_root );
+ return path( $self->_dists->{$dist} )->absolute( $self->_root );
}
sub _install_module {
@@ -125,13 +166,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Test::File::ShareDir::TempDirObject - Internal Object to make code simpler.
=head1 VERSION
-version 0.3.3
+version 1.000004
=head1 SYNOPSIS
@@ -162,13 +205,23 @@ version 0.3.3
Creates a new instance of this object.
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir::TempDirObject",
+ "interface":"class"
+}
+
+
+=end MetaPOD::JSON
+
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -1,37 +1,198 @@
+use 5.006; # pragmas
use strict;
use warnings;
package Test::File::ShareDir;
-BEGIN {
- $Test::File::ShareDir::AUTHORITY = 'cpan:KENTNL';
-}
-{
- $Test::File::ShareDir::VERSION = '0.3.3';
-}
+
+our $VERSION = '1.000004';
# ABSTRACT: Create a Fake ShareDir for your modules for testing.
+our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
use File::ShareDir 1.00 qw();
sub import {
- my ( $class, %input_config ) = @_;
+ my ( undef, %input_config ) = @_;
require Test::File::ShareDir::TempDirObject;
- my $object = Test::File::ShareDir::TempDirObject->new( \%input_config );
+ my $tempdir_object = Test::File::ShareDir::TempDirObject->new( \%input_config );
- for my $module ( $object->_module_names ) {
- $object->_install_module($module);
+ for my $module ( $tempdir_object->_module_names ) {
+ $tempdir_object->_install_module($module);
}
- for my $dist ( $object->_dist_names ) {
- $object->_install_dist($dist);
+ for my $dist ( $tempdir_object->_dist_names ) {
+ $tempdir_object->_install_dist($dist);
}
- unshift @INC, $object->_tempdir->stringify;
+ unshift @INC, $tempdir_object->_tempdir->stringify;
return 1;
}
@@ -42,13 +203,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Test::File::ShareDir - Create a Fake ShareDir for your modules for testing.
=head1 VERSION
-version 0.3.3
+version 1.000004
=head1 SYNOPSIS
@@ -77,6 +240,79 @@ This module only has support for creating 'new' style share dirs and are NOT com
For this reason, unless you have File::ShareDir 1.00 or later installed, this module will not be usable by you.
+=head1 SIMPLE INTERFACE
+
+Starting with version C<0.4.0>, there are a few extra interfaces you can use.
+
+These will probably be more useful, and easier to grok, because they don't have a layer of
+indirection in order to simultaneously support both C<Module> and C<Dist> C<ShareDir>'s.
+
+=head2 Simple Exporter Interfaces
+
+=head3 C<Test::File::ShareDir::Dist>
+
+L<< C<Test::File::ShareDir::Dist>|Test::File::ShareDir::Dist >> provides a simple export interface
+for making C<TempDir> C<ShareDir>'s from a given path:
+
+ use Test::File::ShareDir::Dist { "Dist-Name" => "share/" };
+
+This will automatically create a C<ShareDir> for C<Dist-Name> in a C<TempDir> based on the contents of C<CWD/share/>
+
+See L<< C<Test::File::ShareDir::Dist>|Test::File::ShareDir::Dist >> for details.
+
+=head3 C<Test::File::ShareDir::Module>
+
+L<< C<Test::File::ShareDir::Module>|Test::File::ShareDir::Module >> provides a simple export interface
+for making C<TempDir> C<ShareDir>'s from a given path:
+
+ use Test::File::ShareDir::Module { "Module::Name" => "share/" };
+
+This will automatically create a C<ShareDir> for C<Module::Name> in a C<TempDir> based on the contents of C<CWD/share/>
+
+See L<< C<Test::File::ShareDir::Module>|Test::File::ShareDir::Module >> for details.
+
+=head2 Simple Object Oriented Interfaces
+
+=head3 C<Test::File::ShareDir::Object::Dist>
+
+L<< C<Test::File::ShareDir::Object::Dist>|Test::File::ShareDir::Object::Dist >> provides a simple object oriented interface for
+making C<TempDir> C<ShareDir>'s from a given path:
+
+ use Test::File::ShareDir::Object::Dist;
+
+ my $obj = Test::File::ShareDir::Object::Dist->new( dists => { "Dist-Name" => "share/" } );
+ $obj->install_all_dists;
+ $obj->add_to_inc;
+
+This will automatically create a C<ShareDir> for C<Dist-Name> in a C<TempDir> based on the contents of C<CWD/share/>
+
+See L<< C<Test::File::ShareDir::Object::Dist>|Test::File::ShareDir::Object::Dist >> for details.
+
+=head3 C<Test::File::ShareDir::Object::Module>
+
+L<< C<Test::File::ShareDir::Object::Module>|Test::File::ShareDir::Object::Module >> provides a simple object oriented interface
+for making C<TempDir> C<ShareDir>'s from a given path:
+
+ use Test::File::ShareDir::Object::Module;
+
+ my $obj = Test::File::ShareDir::Object::Module->new( modules => { "Module::Name" => "share/" } );
+ $obj->install_all_modules;
+ $obj->add_to_inc;
+
+This will automatically create a C<ShareDir> for C<Module::Name> in a C<TempDir> based on the contents of C<CWD/share/>
+
+See L<< C<Test::File::ShareDir::Object::Module>|Test::File::ShareDir::Object::Module >> for details.
+
+=begin MetaPOD::JSON v1.1.0
+
+{
+ "namespace":"Test::File::ShareDir",
+ "interface":"exporter"
+}
+
+
+=end MetaPOD::JSON
+
=head1 IMPORTING
=head2 -root
@@ -122,11 +358,13 @@ C<-module> contains a C<hashref> mapping Module names to path names for module_d
module_dir('My::Module')
-Notedly, it is a C<hashref>, which means there is a limitation of one share dir per module. This is simply because having more than one share dir per module makes no sense at all.
+Notedly, it is a C<hashref>, which means there is a limitation of one share dir per module. This is simply because having more
+than one share dir per module makes no sense at all.
=head3 -dist
-C<-dist> contains a C<hashref> mapping Distribution names to path names for dist_dir style share dirs. The same limitation applied to C<-module> applies here.
+C<-dist> contains a C<hashref> mapping Distribution names to path names for dist_dir style share dirs. The same limitation
+applied to C<-module> applies here.
-share => {
-dist => { 'My-Dist' => 'share/mydist' }
@@ -140,7 +378,7 @@ Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
+This software is copyright (c) 2014 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -0,0 +1,61 @@
+#!/usr/bin/env perl
+## no critic (Modules::RequireVersionVar)
+
+# FILENAME: bundle_to_ini.pl
+# CREATED: 02/06/14 01:48:56 by Kent Fredric (kentnl) <kentfredric@gmail.com>
+# ABSTRACT: Write an INI file from a bundle
+
+use 5.008; #utf8
+use strict;
+use warnings;
+use utf8;
+
+use Carp qw( croak carp );
+use Perl::Critic::ProfileCompiler::Util qw( create_bundle );
+use Path::Tiny qw(path);
+
+## no critic (ErrorHandling::RequireUseOfExceptions)
+my $bundle = create_bundle('Example::Author::KENTNL');
+$bundle->configure;
+
+my @stopwords = (
+ qw(
+ ShareDir sharedirs dir dirs Notedly tempdir
+ )
+);
+for my $wordlist (@stopwords) {
+ $bundle->add_or_append_policy_field( 'Documentation::PodSpelling' => ( 'stop_words' => $wordlist ) );
+}
+
+#$bundle->remove_policy('ErrorHandling::RequireCarping');
+#$bundle->remove_policy('Subroutines::ProhibitCallsToUnexportedSubs');
+#$bundle->remove_policy('Subroutines::ProhibitExcessComplexity');
+$bundle->remove_policy('CodeLayout::RequireUseUTF8');
+$bundle->remove_policy('ErrorHandling::RequireUseOfExceptions');
+$bundle->remove_policy('NamingConventions::Capitalization');
+$bundle->remove_policy('NamingConventions::Capitalization');
+$bundle->remove_policy('Subroutines::ProhibitSubroutinePrototypes');
+$bundle->remove_policy('Subroutines::RequireArgUnpacking');
+
+my $inf = $bundle->actionlist->get_inflated;
+
+my $config = $inf->apply_config;
+
+{
+ my $rcfile = path('./perlcritic.rc')->openw_utf8;
+ $rcfile->print( $config->as_ini, "\n" );
+ close $rcfile or croak 'Something fubared closing perlcritic.rc';
+}
+my $deps = $inf->own_deps;
+{
+ my $target = path('./misc');
+ $target->mkpath if not $target->is_dir;
+
+ my $depsfile = $target->child('perlcritic.deps')->openw_utf8;
+ for my $key ( sort keys %{$deps} ) {
+ $depsfile->printf( "%s~%s\n", $key, $deps->{$key} );
+ *STDERR->printf( "%s => %s\n", $key, $deps->{$key} );
+ }
+ close $depsfile or carp 'Something fubared closing perlcritic.deps';
+}
+
@@ -0,0 +1,103 @@
+This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test)
+
+1.000004
+
+1.000003 2014-07-22T19:02:06Z
+ [Changed / runtime requires]
+ - Path::Tiny 0 → 0.018
+
+1.000002 2014-07-18T16:33:36Z
+ [Added / test requires]
+ - File::Spec
+ - Scalar::Util
+
+ [Changed / test requires]
+ - version 0 → 0.77
+
+1.000001 2014-06-07T15:14:38Z
+ [Removed / runtime requires]
+ - File::Temp
+
+1.000000 2014-01-30T15:23:48Z
+ [Added / configure requires]
+ - ExtUtils::MakeMaker 6.30
+
+ [Added / test requires]
+ - ExtUtils::MakeMaker
+ - File::Spec::Functions
+ - List::Util
+ - version
+
+ [Changed / test requires]
+ - Test::More 1.001002 → 0.96
+
+ [Removed / build requires]
+ - Module::Build 0.4202
+
+ [Removed / configure requires]
+ - Module::Build 0.4202
+
+0.4.1 2013-11-21T06:51:24Z
+
+0.4.0 2013-11-21T06:38:44Z
+ [Added / runtime requires]
+ - Class::Tiny
+
+ [Added / test requires]
+ - lib
+
+ [Changed / build requires]
+ - Module::Build 0.4004 → 0.4202
+
+ [Changed / configure requires]
+ - Module::Build 0.4004 → 0.4202
+
+ [Changed / test requires]
+ - Test::More 0.98 → 1.001002
+
+ [Removed / test requires]
+ - File::Find
+
+0.3.3 2013-04-03T11:32:08Z
+ [Added / runtime requires]
+ - Path::Tiny
+
+ [Removed / runtime requires]
+ - Path::Class::Dir
+
+0.3.2 2013-04-03T07:03:58Z
+ [Added / runtime requires]
+ - perl 5.006
+
+ [Changed / build requires]
+ - Module::Build 0.3601 → 0.4004
+
+ [Changed / configure requires]
+ - Module::Build 0.3601 → 0.4004
+
+ [Changed / test requires]
+ - Test::More 0.96 → 0.98
+
+0.3.1 2011-10-28T20:58:28Z
+ [Added / runtime requires]
+ - strict
+ - warnings
+
+ [Removed / test requires]
+ - English
+
+0.3.0 2011-05-05T03:29:45Z
+ [Added / test requires]
+ - Cwd
+
+0.2.0 2011-04-07T21:10:54Z
+
+0.1.2 2011-04-07T21:08:05Z
+
+0.1.1 2011-03-10T16:35:13Z
+ [Added / runtime requires]
+ - Path::Class::Dir
+
+ [Removed / runtime requires]
+ - Path::Class
+
@@ -0,0 +1,238 @@
+This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop)
+
+1.000004
+
+1.000003 2014-07-22T19:02:06Z
+ [Changed / runtime requires]
+ - Path::Tiny 0 → 0.018
+
+1.000002 2014-07-18T16:33:36Z
+ [Added / test recommends]
+ - CPAN::Meta::Prereqs
+
+ [Added / test requires]
+ - File::Spec
+ - Scalar::Util
+
+ [Changed / develop suggests]
+ - Dist::Zilla::App::Command::bakeini 0.001000 → 0.001001
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000 → 2.016004
+
+ [Changed / test requires]
+ - version 0 → 0.77
+
+1.000001 2014-06-07T15:14:38Z
+ [Added / develop requires]
+ - Dist::Zilla::Plugin::BumpVersionAfterRelease
+ - Dist::Zilla::Plugin::CopyFilesFromBuild
+ - Dist::Zilla::Plugin::RewriteVersion::Sanitized
+
+ [Added / develop suggests]
+ - Dist::Zilla::App::Command::bakeini 0.001000
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000
+
+ [Changed / configure recommends]
+ - ExtUtils::MakeMaker 6.86 → 6.98
+
+ [Changed / test recommends]
+ - ExtUtils::MakeMaker 6.86 → 6.98
+ - Test::More 1.001002 → 1.001003
+
+ [Removed / develop requires]
+ - Dist::Zilla::Plugin::Git::NextVersion::Sanitized
+ - Dist::Zilla::Plugin::PkgVersion
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.011001
+
+ [Removed / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0
+
+ [Removed / runtime requires]
+ - File::Temp
+
+1.000000 2014-01-30T15:23:48Z
+ [Added / configure recommends]
+ - ExtUtils::MakeMaker 6.86
+
+ [Added / configure requires]
+ - ExtUtils::MakeMaker 6.30
+
+ [Added / develop requires]
+ - Dist::Zilla::Plugin::Git::NextRelease
+ - Dist::Zilla::Plugin::Git::NextVersion::Sanitized
+ - Dist::Zilla::Plugin::MakeMaker
+ - Dist::Zilla::Plugin::MinimumPerl
+ - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled
+ - Dist::Zilla::Plugin::RunExtraTests
+ - Dist::Zilla::Plugin::Test::ReportPrereqs
+
+ [Added / test recommends]
+ - CPAN::Meta
+ - CPAN::Meta::Requirements 2.120900
+ - ExtUtils::MakeMaker 6.86
+ - Test::More 1.001002
+
+ [Added / test requires]
+ - ExtUtils::MakeMaker
+ - File::Spec::Functions
+ - List::Util
+ - version
+
+ [Changed / develop requires]
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 → 2.011001
+
+ [Changed / test requires]
+ - Test::More 1.001002 → 0.96
+
+ [Removed / build requires]
+ - Module::Build 0.4202
+
+ [Removed / configure requires]
+ - Module::Build 0.4202
+
+ [Removed / develop requires]
+ - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl
+ - Dist::Zilla::Plugin::CheckExtraTests
+ - Dist::Zilla::Plugin::Git::NextVersion
+ - Dist::Zilla::Plugin::ModuleBuild
+ - Dist::Zilla::Plugin::NextRelease
+ - Dist::Zilla::Plugin::Prereqs::MatchInstalled
+ - Dist::Zilla::Plugin::PruneCruft
+ - Dist::Zilla::Plugin::ReportVersions::Tiny
+ - version 0.9901
+
+0.4.1 2013-11-21T06:51:24Z
+
+0.4.0 2013-11-21T06:38:44Z
+ [Added / develop requires]
+ - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl
+ - Dist::Zilla::Plugin::Authority 1.006
+ - Dist::Zilla::Plugin::AutoPrereqs
+ - Dist::Zilla::Plugin::CheckExtraTests
+ - Dist::Zilla::Plugin::ConfirmRelease
+ - Dist::Zilla::Plugin::EOLTests
+ - Dist::Zilla::Plugin::Git::Check
+ - Dist::Zilla::Plugin::Git::Commit
+ - Dist::Zilla::Plugin::Git::CommitBuild
+ - Dist::Zilla::Plugin::Git::GatherDir
+ - Dist::Zilla::Plugin::Git::NextVersion
+ - Dist::Zilla::Plugin::Git::Tag
+ - Dist::Zilla::Plugin::GithubMeta
+ - Dist::Zilla::Plugin::License
+ - Dist::Zilla::Plugin::Manifest
+ - Dist::Zilla::Plugin::ManifestSkip
+ - Dist::Zilla::Plugin::MetaConfig
+ - Dist::Zilla::Plugin::MetaData::BuiltWith
+ - Dist::Zilla::Plugin::MetaJSON
+ - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001
+ - Dist::Zilla::Plugin::MetaTests
+ - Dist::Zilla::Plugin::MetaYAML
+ - Dist::Zilla::Plugin::ModuleBuild
+ - Dist::Zilla::Plugin::NextRelease
+ - Dist::Zilla::Plugin::PkgVersion
+ - Dist::Zilla::Plugin::PodCoverageTests
+ - Dist::Zilla::Plugin::PodSyntaxTests
+ - Dist::Zilla::Plugin::PodWeaver
+ - Dist::Zilla::Plugin::Prereqs
+ - Dist::Zilla::Plugin::Prereqs::MatchInstalled
+ - Dist::Zilla::Plugin::PruneCruft
+ - Dist::Zilla::Plugin::ReadmeAnyFromPod
+ - Dist::Zilla::Plugin::ReadmeFromPod
+ - Dist::Zilla::Plugin::ReportVersions::Tiny
+ - Dist::Zilla::Plugin::Test::CPAN::Changes
+ - Dist::Zilla::Plugin::Test::Compile::PerFile
+ - Dist::Zilla::Plugin::Test::Kwalitee
+ - Dist::Zilla::Plugin::Test::MinimumVersion
+ - Dist::Zilla::Plugin::Test::Perl::Critic
+ - Dist::Zilla::Plugin::TestRelease
+ - Dist::Zilla::Plugin::Twitter
+ - Dist::Zilla::Plugin::UploadToCPAN
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001
+ - Test::CPAN::Changes 0.19
+ - Test::Kwalitee 1.12
+
+ [Added / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0
+
+ [Added / runtime requires]
+ - Class::Tiny
+
+ [Added / test requires]
+ - lib
+
+ [Changed / build requires]
+ - Module::Build 0.4004 → 0.4202
+
+ [Changed / configure requires]
+ - Module::Build 0.4004 → 0.4202
+
+ [Changed / test requires]
+ - Test::More 0.98 → 1.001002
+
+ [Removed / develop recommends]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0
+
+ [Removed / develop requires]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite
+
+ [Removed / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.2
+
+ [Removed / test requires]
+ - File::Find
+
+0.3.3 2013-04-03T11:32:08Z
+ [Added / runtime requires]
+ - Path::Tiny
+
+ [Removed / runtime requires]
+ - Path::Class::Dir
+
+0.3.2 2013-04-03T07:03:58Z
+ [Added / develop requires]
+ - Pod::Coverage::TrustPod
+ - Test::CPAN::Meta
+ - Test::Pod 1.41
+ - Test::Pod::Coverage 1.08
+ - version 0.9901
+
+ [Added / runtime requires]
+ - perl 5.006
+
+ [Changed / build requires]
+ - Module::Build 0.3601 → 0.4004
+
+ [Changed / configure requires]
+ - Module::Build 0.3601 → 0.4004
+
+ [Changed / develop recommends]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite 0.01009803 → v1.3.0
+
+ [Changed / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL v1.0.0 → v1.7.2
+
+ [Changed / test requires]
+ - Test::More 0.96 → 0.98
+
+0.3.1 2011-10-28T20:58:28Z
+ [Added / runtime requires]
+ - strict
+ - warnings
+
+ [Removed / test requires]
+ - English
+
+0.3.0 2011-05-05T03:29:45Z
+ [Added / test requires]
+ - Cwd
+
+0.2.0 2011-04-07T21:10:54Z
+
+0.1.2 2011-04-07T21:08:05Z
+
+0.1.1 2011-03-10T16:35:13Z
+ [Added / runtime requires]
+ - Path::Class::Dir
+
+ [Removed / runtime requires]
+ - Path::Class
+
@@ -0,0 +1,141 @@
+This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL )
+
+1.000004
+
+1.000003 2014-07-22T19:02:06Z
+
+1.000002 2014-07-18T16:33:36Z
+ [Changed / develop suggests]
+ - Dist::Zilla::App::Command::bakeini 0.001000 → 0.001001
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000 → 2.016004
+
+1.000001 2014-06-07T15:14:38Z
+ [Added / develop requires]
+ - Dist::Zilla::Plugin::BumpVersionAfterRelease
+ - Dist::Zilla::Plugin::CopyFilesFromBuild
+ - Dist::Zilla::Plugin::RewriteVersion::Sanitized
+
+ [Added / develop suggests]
+ - Dist::Zilla::App::Command::bakeini 0.001000
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.016000
+
+ [Removed / develop requires]
+ - Dist::Zilla::Plugin::Git::NextVersion::Sanitized
+ - Dist::Zilla::Plugin::PkgVersion
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.011001
+
+ [Removed / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0
+
+1.000000 2014-01-30T15:23:48Z
+ [Added / develop requires]
+ - Dist::Zilla::Plugin::Git::NextRelease
+ - Dist::Zilla::Plugin::Git::NextVersion::Sanitized
+ - Dist::Zilla::Plugin::MakeMaker
+ - Dist::Zilla::Plugin::MinimumPerl
+ - Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled
+ - Dist::Zilla::Plugin::RunExtraTests
+ - Dist::Zilla::Plugin::Test::ReportPrereqs
+
+ [Changed / develop requires]
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 → 2.011001
+
+ [Removed / develop requires]
+ - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl
+ - Dist::Zilla::Plugin::CheckExtraTests
+ - Dist::Zilla::Plugin::Git::NextVersion
+ - Dist::Zilla::Plugin::ModuleBuild
+ - Dist::Zilla::Plugin::NextRelease
+ - Dist::Zilla::Plugin::Prereqs::MatchInstalled
+ - Dist::Zilla::Plugin::PruneCruft
+ - Dist::Zilla::Plugin::ReportVersions::Tiny
+ - version 0.9901
+
+0.4.1 2013-11-21T06:51:24Z
+
+0.4.0 2013-11-21T06:38:44Z
+ [Added / develop requires]
+ - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl
+ - Dist::Zilla::Plugin::Authority 1.006
+ - Dist::Zilla::Plugin::AutoPrereqs
+ - Dist::Zilla::Plugin::CheckExtraTests
+ - Dist::Zilla::Plugin::ConfirmRelease
+ - Dist::Zilla::Plugin::EOLTests
+ - Dist::Zilla::Plugin::Git::Check
+ - Dist::Zilla::Plugin::Git::Commit
+ - Dist::Zilla::Plugin::Git::CommitBuild
+ - Dist::Zilla::Plugin::Git::GatherDir
+ - Dist::Zilla::Plugin::Git::NextVersion
+ - Dist::Zilla::Plugin::Git::Tag
+ - Dist::Zilla::Plugin::GithubMeta
+ - Dist::Zilla::Plugin::License
+ - Dist::Zilla::Plugin::Manifest
+ - Dist::Zilla::Plugin::ManifestSkip
+ - Dist::Zilla::Plugin::MetaConfig
+ - Dist::Zilla::Plugin::MetaData::BuiltWith
+ - Dist::Zilla::Plugin::MetaJSON
+ - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001
+ - Dist::Zilla::Plugin::MetaTests
+ - Dist::Zilla::Plugin::MetaYAML
+ - Dist::Zilla::Plugin::ModuleBuild
+ - Dist::Zilla::Plugin::NextRelease
+ - Dist::Zilla::Plugin::PkgVersion
+ - Dist::Zilla::Plugin::PodCoverageTests
+ - Dist::Zilla::Plugin::PodSyntaxTests
+ - Dist::Zilla::Plugin::PodWeaver
+ - Dist::Zilla::Plugin::Prereqs
+ - Dist::Zilla::Plugin::Prereqs::MatchInstalled
+ - Dist::Zilla::Plugin::PruneCruft
+ - Dist::Zilla::Plugin::ReadmeAnyFromPod
+ - Dist::Zilla::Plugin::ReadmeFromPod
+ - Dist::Zilla::Plugin::ReportVersions::Tiny
+ - Dist::Zilla::Plugin::Test::CPAN::Changes
+ - Dist::Zilla::Plugin::Test::Compile::PerFile
+ - Dist::Zilla::Plugin::Test::Kwalitee
+ - Dist::Zilla::Plugin::Test::MinimumVersion
+ - Dist::Zilla::Plugin::Test::Perl::Critic
+ - Dist::Zilla::Plugin::TestRelease
+ - Dist::Zilla::Plugin::Twitter
+ - Dist::Zilla::Plugin::UploadToCPAN
+ - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001
+ - Test::CPAN::Changes 0.19
+ - Test::Kwalitee 1.12
+
+ [Added / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0
+
+ [Removed / develop recommends]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0
+
+ [Removed / develop requires]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite
+
+ [Removed / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL v1.7.2
+
+0.3.3 2013-04-03T11:32:08Z
+
+0.3.2 2013-04-03T07:03:58Z
+ [Added / develop requires]
+ - Pod::Coverage::TrustPod
+ - Test::CPAN::Meta
+ - Test::Pod 1.41
+ - Test::Pod::Coverage 1.08
+ - version 0.9901
+
+ [Changed / develop recommends]
+ - Dist::Zilla::PluginBundle::Author::KENTNL::Lite 0.01009803 → v1.3.0
+
+ [Changed / develop suggests]
+ - Dist::Zilla::PluginBundle::Author::KENTNL v1.0.0 → v1.7.2
+
+0.3.1 2011-10-28T20:58:28Z
+
+0.3.0 2011-05-05T03:29:45Z
+
+0.2.0 2011-04-07T21:10:54Z
+
+0.1.2 2011-04-07T21:08:05Z
+
+0.1.1 2011-03-10T16:35:13Z
+
@@ -0,0 +1,46 @@
+This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test)
+
+1.000004
+
+1.000003 2014-07-22T19:02:06Z
+
+1.000002 2014-07-18T16:33:36Z
+ [Added / test recommends]
+ - CPAN::Meta::Prereqs
+
+1.000001 2014-06-07T15:14:38Z
+ [Changed / configure recommends]
+ - ExtUtils::MakeMaker 6.86 → 6.98
+
+ [Changed / test recommends]
+ - ExtUtils::MakeMaker 6.86 → 6.98
+ - Test::More 1.001002 → 1.001003
+
+1.000000 2014-01-30T15:23:48Z
+ [Added / configure recommends]
+ - ExtUtils::MakeMaker 6.86
+
+ [Added / test recommends]
+ - CPAN::Meta
+ - CPAN::Meta::Requirements 2.120900
+ - ExtUtils::MakeMaker 6.86
+ - Test::More 1.001002
+
+0.4.1 2013-11-21T06:51:24Z
+
+0.4.0 2013-11-21T06:38:44Z
+
+0.3.3 2013-04-03T11:32:08Z
+
+0.3.2 2013-04-03T07:03:58Z
+
+0.3.1 2011-10-28T20:58:28Z
+
+0.3.0 2011-05-05T03:29:45Z
+
+0.2.0 2011-04-07T21:10:54Z
+
+0.1.2 2011-04-07T21:08:05Z
+
+0.1.1 2011-03-10T16:35:13Z
+
@@ -0,0 +1,15 @@
+Perl::Critic::Policy::Documentation::PodSpelling~0
+Perl::Critic::Policy::Lax::RequireExplicitPackage::ExceptForPragmata~0
+Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter~0
+Perl::Critic::ProfileCompiler::Bundle::Bangs~0
+Perl::Critic::ProfileCompiler::Bundle::Compatibility~0
+Perl::Critic::ProfileCompiler::Bundle::Core~0
+Perl::Critic::ProfileCompiler::Bundle::Deprecated~0
+Perl::Critic::ProfileCompiler::Bundle::Itch~0
+Perl::Critic::ProfileCompiler::Bundle::Lax~0
+Perl::Critic::ProfileCompiler::Bundle::Moose~0
+Perl::Critic::ProfileCompiler::Bundle::More~0
+Perl::Critic::ProfileCompiler::Bundle::Pulp~0
+Perl::Critic::ProfileCompiler::Bundle::StricterSubs~0
+Perl::Critic::ProfileCompiler::Bundle::Swift~0
+Perl::Critic::ProfileCompiler::Bundle::Tics~0
@@ -1,23 +1,456 @@
-severity = 1
-exclude = RequireTidyCode RequirePodSections ProhibitPostfixControls RequireRcsKeywords RequireExplicitPackage
-include = Moose::ProhibitMultipleWiths Moose::ProhibitNewMethod Moose::RequireCleanNamespace Moose::RequireMakeImmutable
color = 1
+color-severity-low = green
+color-severity-medium = yellow
+only = 1
+severity = 1
verbose = 9
+[Bangs::ProhibitBitwiseOperators]
+
+[Bangs::ProhibitCommentedOutCode]
+
+[Bangs::ProhibitDebuggingModules]
+
+[-Bangs::ProhibitFlagComments]
+
+[Bangs::ProhibitNoPlan]
+
+[Bangs::ProhibitNumberedNames]
+
+[Bangs::ProhibitRefProtoOrProto]
+
+[Bangs::ProhibitUselessRegexModifiers]
+
+[Bangs::ProhibitVagueNames]
+
+[BuiltinFunctions::ProhibitBooleanGrep]
+
+[BuiltinFunctions::ProhibitComplexMappings]
+
+[BuiltinFunctions::ProhibitLvalueSubstr]
+
+[BuiltinFunctions::ProhibitReverseSortBlock]
+
+[BuiltinFunctions::ProhibitSleepViaSelect]
+
[BuiltinFunctions::ProhibitStringyEval]
allow_includes = 1
+[BuiltinFunctions::ProhibitStringySplit]
+
+[BuiltinFunctions::ProhibitUniversalCan]
+
+[BuiltinFunctions::ProhibitUniversalIsa]
+
+[BuiltinFunctions::ProhibitVoidGrep]
+
+[BuiltinFunctions::ProhibitVoidMap]
+
+[BuiltinFunctions::RequireBlockGrep]
+
+[BuiltinFunctions::RequireBlockMap]
+
+[BuiltinFunctions::RequireGlobFunction]
+
+[BuiltinFunctions::RequireSimpleSortBlock]
+
+[ClassHierarchies::ProhibitAutoloading]
+
+[ClassHierarchies::ProhibitExplicitISA]
+
+[ClassHierarchies::ProhibitOneArgBless]
+
+[CodeLayout::ProhibitFatCommaNewline]
+
+[CodeLayout::ProhibitHardTabs]
+
+[-CodeLayout::ProhibitHashBarewords]
+
+[CodeLayout::ProhibitIfIfSameLine]
+
+[CodeLayout::ProhibitParensWithBuiltins]
+
+[CodeLayout::ProhibitQuotedWordLists]
+
[CodeLayout::ProhibitTrailingWhitespace]
+[-CodeLayout::RequireASCII]
+
+[CodeLayout::RequireConsistentNewlines]
+
+[CodeLayout::RequireFinalSemicolon]
+
+[-CodeLayout::RequireTidyCode]
+
+[CodeLayout::RequireTrailingCommaAtNewline]
+
+[CodeLayout::RequireTrailingCommas]
+
+[-CodeLayout::RequireUseUTF8]
+
+[Compatibility::ConstantLeadingUnderscore]
+
+[Compatibility::ConstantPragmaHash]
+
+[Compatibility::Gtk2Constants]
+
+[Compatibility::PerlMinimumVersionAndWhy]
+
+[-Compatibility::PodMinimumVersion]
+
+[Compatibility::ProhibitThreeArgumentOpen]
+
+[Compatibility::ProhibitUnixDevNull]
+
+[ControlStructures::ProhibitCStyleForLoops]
+
+[ControlStructures::ProhibitCascadingIfElse]
+
+[ControlStructures::ProhibitDeepNests]
+
+[ControlStructures::ProhibitLabelsWithSpecialBlockNames]
+
+[ControlStructures::ProhibitMutatingListFunctions]
+
+[ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions]
+
+[-ControlStructures::ProhibitPostfixControls]
+
+[ControlStructures::ProhibitUnlessBlocks]
+
+[ControlStructures::ProhibitUnreachableCode]
+
+[ControlStructures::ProhibitUntilBlocks]
+
[Documentation::PodSpelling]
-stop_words = ShareDir sharedirs dir dirs Notedly
+spell_command = aspell list --lang en_US
+stop_words = ShareDir sharedirs dir dirs Notedly tempdir
+
+[Documentation::ProhibitAdjacentLinks]
+
+[Documentation::ProhibitBadAproposMarkup]
+
+[Documentation::ProhibitDuplicateHeadings]
+
+[Documentation::ProhibitDuplicateSeeAlso]
+
+[Documentation::ProhibitLinkToSelf]
+
+[Documentation::ProhibitParagraphEndComma]
+
+[Documentation::ProhibitParagraphTwoDots]
+
+[Documentation::ProhibitUnbalancedParens]
+
+[Documentation::ProhibitVerbatimMarkup]
+
+[Documentation::RequireEndBeforeLastPod]
+
+[Documentation::RequireFinalCut]
+
+[Documentation::RequireLinkedURLs]
+
+[-Documentation::RequirePODUseEncodingUTF8]
+
+[Documentation::RequirePackageMatchesPodName]
+
+[Documentation::RequirePodAtEnd]
+
+[Documentation::RequirePodLinksIncludeText]
+
+[-Documentation::RequirePodSections]
+
+[-Editor::RequireEmacsFileVariables]
+
+[ErrorHandling::RequireCarping]
+
+[ErrorHandling::RequireCheckingReturnValueOfEval]
+
+[-ErrorHandling::RequireUseOfExceptions]
+
+[InputOutput::ProhibitBacktickOperators]
+
+[InputOutput::ProhibitBarewordFileHandles]
+
+[InputOutput::ProhibitExplicitStdin]
+
+[InputOutput::ProhibitInteractiveTest]
+
+[InputOutput::ProhibitJoinedReadline]
+
+[InputOutput::ProhibitOneArgSelect]
+
+[InputOutput::ProhibitReadlineInForLoop]
+
+[InputOutput::ProhibitTwoArgOpen]
+
+[InputOutput::RequireBracedFileHandleWithPrint]
+
+[InputOutput::RequireBriefOpen]
+
+[InputOutput::RequireCheckedClose]
+
+[InputOutput::RequireCheckedOpen]
+
+[InputOutput::RequireCheckedSyscalls]
+
+[InputOutput::RequireEncodingWithUTF8Layer]
+
+[Lax::ProhibitComplexMappings::LinesNotStatements]
+
+[Lax::ProhibitEmptyQuotes::ExceptAsFallback]
+
+[Lax::ProhibitLeadingZeros::ExceptChmod]
+
+[Lax::ProhibitStringyEval::ExceptForRequire]
+
+[Lax::RequireEndWithTrueConst]
+
+[Lax::RequireExplicitPackage::ExceptForPragmata]
+allowed_pragmata = diagnostics feature perlversion strict warnings utf8
+
+[Miscellanea::ProhibitFormats]
+
+[Miscellanea::ProhibitTies]
+
+[Miscellanea::ProhibitUnrestrictedNoCritic]
+
+[-Miscellanea::ProhibitUselessNoCritic]
+
+[-Miscellanea::RequireRcsKeywords]
+
+[Miscellanea::TextDomainPlaceholders]
+
+[Miscellanea::TextDomainUnused]
+
+[Modules::PerlMinimumVersion]
+
+[Modules::ProhibitAutomaticExportation]
+
+[Modules::ProhibitConditionalUseStatements]
+
+[Modules::ProhibitEvilModules]
+
+[Modules::ProhibitExcessMainComplexity]
+
+[Modules::ProhibitModuleShebang]
+
+[Modules::ProhibitMultiplePackages]
+
+[Modules::ProhibitPOSIXimport]
+
+[Modules::ProhibitUseQuotedVersion]
+
+[Modules::RequireBarewordIncludes]
+
+[Modules::RequireEndWithOne]
+
+[-Modules::RequireExplicitInclusion]
+
+[-Modules::RequireExplicitPackage]
+
+[Modules::RequireFilenameMatchesPackage]
+
+[Modules::RequireNoMatchVarsWithUseEnglish]
+
+[Modules::RequirePerlVersion]
+
+[Modules::RequireVersionVar]
+
+[-Moose::ProhibitMultipleWiths]
+
+[Moose::ProhibitNewMethod]
+
+[Moose::RequireCleanNamespace]
+
+[Moose::RequireMakeImmutable]
+
+[-NamingConventions::Capitalization]
+
+[NamingConventions::ProhibitAmbiguousNames]
+
+[NamingConventions::ProhibitMixedCaseSubs]
+
+[NamingConventions::ProhibitMixedCaseVars]
+
+[Objects::ProhibitIndirectSyntax]
+
+[References::ProhibitDoubleSigils]
+
+[RegularExpressions::ProhibitCaptureWithoutTest]
+
+[RegularExpressions::ProhibitComplexRegexes]
+
+[RegularExpressions::ProhibitEnumeratedClasses]
+
+[RegularExpressions::ProhibitEscapedMetacharacters]
+
+[RegularExpressions::ProhibitFixedStringMatches]
+
+[RegularExpressions::ProhibitSingleCharAlternation]
+
+[RegularExpressions::ProhibitUnusedCapture]
+
+[RegularExpressions::ProhibitUnusualDelimiters]
+
+[RegularExpressions::RequireBracesForMultiline]
+
+[RegularExpressions::RequireDotMatchAnything]
+
+[RegularExpressions::RequireExtendedFormatting]
+
+[RegularExpressions::RequireLineBoundaryMatching]
+
+[Subroutines::ProhibitAmpersandSigils]
+
+[Subroutines::ProhibitBuiltinHomonyms]
+
+[Subroutines::ProhibitCallsToUndeclaredSubs]
+
+[Subroutines::ProhibitCallsToUnexportedSubs]
+
+[Subroutines::ProhibitExcessComplexity]
+
+[Subroutines::ProhibitExplicitReturnUndef]
+
+[Subroutines::ProhibitExportingUndeclaredSubs]
+
+[Subroutines::ProhibitManyArgs]
+
+[Subroutines::ProhibitNestedSubs]
+
+[Subroutines::ProhibitQualifiedSubDeclarations]
+
+[Subroutines::ProhibitReturnSort]
+
+[-Subroutines::ProhibitSubroutinePrototypes]
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build_)\w
+[Subroutines::ProtectPrivateSubs]
+
+[-Subroutines::RequireArgUnpacking]
+
+[Subroutines::RequireFinalReturn]
+
+[TestingAndDebugging::ProhibitNoStrict]
+
+[TestingAndDebugging::ProhibitNoWarnings]
+
+[TestingAndDebugging::ProhibitProlongedStrictureOverride]
+
+[TestingAndDebugging::RequireTestLabels]
+
[TestingAndDebugging::RequireUseStrict]
-equivalent_modules = Moose
+equivalent_modules = Moose Moo
[TestingAndDebugging::RequireUseWarnings]
-equivalent_modules = Moose
+equivalent_modules = Moose Moo
+
+[Tics::ProhibitLongLines]
+base_max = 130
+
+[Tics::ProhibitManyArrows]
+
+[Tics::ProhibitUseBase]
+
+[ValuesAndExpressions::ConstantBeforeLt]
+
+[ValuesAndExpressions::NotWithCompare]
+
+[ValuesAndExpressions::ProhibitArrayAssignAref]
+
+[ValuesAndExpressions::ProhibitBarewordDoubleColon]
+
+[ValuesAndExpressions::ProhibitCommaSeparatedStatements]
+
+[ValuesAndExpressions::ProhibitComplexVersion]
+
+[ValuesAndExpressions::ProhibitConstantPragma]
+
+[ValuesAndExpressions::ProhibitDuplicateHashKeys]
+
+[-ValuesAndExpressions::ProhibitEmptyCommas]
+
+[ValuesAndExpressions::ProhibitEmptyQuotes]
+
+[ValuesAndExpressions::ProhibitEscapedCharacters]
+
+[ValuesAndExpressions::ProhibitFiletest_f]
+
+[ValuesAndExpressions::ProhibitImplicitNewlines]
+
+[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
+
+[ValuesAndExpressions::ProhibitLeadingZeros]
+
+[ValuesAndExpressions::ProhibitLongChainsOfMethodCalls]
+
+[-ValuesAndExpressions::ProhibitMagicNumbers]
+
+[ValuesAndExpressions::ProhibitMismatchedOperators]
+
+[ValuesAndExpressions::ProhibitMixedBooleanOperators]
+
+[ValuesAndExpressions::ProhibitNoisyQuotes]
+
+[ValuesAndExpressions::ProhibitNullStatements]
+
+[ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters]
+
+[ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator]
+
+[ValuesAndExpressions::ProhibitUnknownBackslash]
+
+[ValuesAndExpressions::ProhibitVersionStrings]
+
+[ValuesAndExpressions::RequireConstantOnLeftSideOfEquality]
+
+[ValuesAndExpressions::RequireConstantVersion]
+
+[ValuesAndExpressions::RequireInterpolationOfMetachars]
+
+[ValuesAndExpressions::RequireNumberSeparators]
+
+[ValuesAndExpressions::RequireNumericVersion]
+
+[ValuesAndExpressions::RequireQuotedHeredocTerminator]
+
+[ValuesAndExpressions::RequireUpperCaseHeredocTerminator]
+
+[ValuesAndExpressions::RestrictLongStrings]
+
+[ValuesAndExpressions::UnexpandedSpecialLiteral]
+
+[Variables::ProhibitAugmentedAssignmentInDeclaration]
+
+[Variables::ProhibitConditionalDeclarations]
+
+[Variables::ProhibitEvilVariables]
+
+[Variables::ProhibitLocalVars]
+
+[Variables::ProhibitMatchVars]
+
+[Variables::ProhibitPackageVars]
+
+[Variables::ProhibitPerl4PackageNames]
+
+[-Variables::ProhibitPunctuationVars]
+
+[Variables::ProhibitReusedNames]
+
+[Variables::ProhibitUnusedVariables]
+
+[Variables::ProhibitUnusedVarsStricter]
+
+[Variables::ProtectPrivateVars]
+
+[Variables::RequireInitializationForLocalVars]
+
+[Variables::RequireLexicalLoopIterators]
+
+[Variables::RequireLocalizedPunctuationVars]
+[Variables::RequireNegativeIndices]
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir/Dist.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir/Dist.pm");
+
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir/Module.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir/Module.pm");
+
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir/Object/Dist.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir/Object/Dist.pm");
+
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir/Object/Inc.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir/Object/Inc.pm");
+
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir/Object/Module.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir/Object/Module.pm");
+
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir/TempDirObject.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir/TempDirObject.pm");
+
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# This test was generated for <lib/Test/File/ShareDir.pm>
+# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.002001
+# with template 01-basic.t.tpl
+
+use Test::More 0.89 tests => 1;
+
+require_ok("lib/Test/File/ShareDir.pm");
+
@@ -1,74 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-
-use Test::More;
-
-
-
-use File::Find;
-use File::Temp qw{ tempdir };
-
-my @modules;
-find(
- sub {
- return if $File::Find::name !~ /\.pm\z/;
- my $found = $File::Find::name;
- $found =~ s{^lib/}{};
- $found =~ s{[/\\]}{::}g;
- $found =~ s/\.pm$//;
- # nothing to skip
- push @modules, $found;
- },
- 'lib',
-);
-
-sub _find_scripts {
- my $dir = shift @_;
-
- my @found_scripts = ();
- find(
- sub {
- return unless -f;
- my $found = $File::Find::name;
- # nothing to skip
- open my $FH, '<', $_ or do {
- note( "Unable to open $found in ( $! ), skipping" );
- return;
- };
- my $shebang = <$FH>;
- return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
- push @found_scripts, $found;
- },
- $dir,
- );
-
- return @found_scripts;
-}
-
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
- for qw{ bin script scripts };
-
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
-
-{
- # fake home for cpan-testers
- # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
-
- like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" )
- for sort @modules;
-
- SKIP: {
- eval "use Test::Script 1.05; 1;";
- skip "Test::Script needed to test script compilation", scalar(@scripts) if $@;
- foreach my $file ( @scripts ) {
- my $script = $file;
- $script =~ s!.*/!!;
- script_compiles( $file, "$script script compiles" );
- }
- }
-
-}
@@ -0,0 +1,102 @@
+do { my $x = {
+ 'configure' => {
+ 'recommends' => {
+ 'ExtUtils::MakeMaker' => '6.98'
+ },
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '6.30'
+ }
+ },
+ 'develop' => {
+ 'requires' => {
+ 'Dist::Zilla::Plugin::Authority' => '1.006',
+ 'Dist::Zilla::Plugin::AutoPrereqs' => '0',
+ 'Dist::Zilla::Plugin::BumpVersionAfterRelease' => '0',
+ 'Dist::Zilla::Plugin::ConfirmRelease' => '0',
+ 'Dist::Zilla::Plugin::CopyFilesFromBuild' => '0',
+ 'Dist::Zilla::Plugin::EOLTests' => '0',
+ 'Dist::Zilla::Plugin::Git::Check' => '0',
+ 'Dist::Zilla::Plugin::Git::Commit' => '0',
+ 'Dist::Zilla::Plugin::Git::CommitBuild' => '0',
+ 'Dist::Zilla::Plugin::Git::GatherDir' => '0',
+ 'Dist::Zilla::Plugin::Git::NextRelease' => '0',
+ 'Dist::Zilla::Plugin::Git::Tag' => '0',
+ 'Dist::Zilla::Plugin::GithubMeta' => '0',
+ 'Dist::Zilla::Plugin::License' => '0',
+ 'Dist::Zilla::Plugin::MakeMaker' => '0',
+ 'Dist::Zilla::Plugin::Manifest' => '0',
+ 'Dist::Zilla::Plugin::ManifestSkip' => '0',
+ 'Dist::Zilla::Plugin::MetaConfig' => '0',
+ 'Dist::Zilla::Plugin::MetaData::BuiltWith' => '0',
+ 'Dist::Zilla::Plugin::MetaJSON' => '0',
+ 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.14000001',
+ 'Dist::Zilla::Plugin::MetaTests' => '0',
+ 'Dist::Zilla::Plugin::MetaYAML' => '0',
+ 'Dist::Zilla::Plugin::MinimumPerl' => '0',
+ 'Dist::Zilla::Plugin::PodCoverageTests' => '0',
+ 'Dist::Zilla::Plugin::PodSyntaxTests' => '0',
+ 'Dist::Zilla::Plugin::PodWeaver' => '0',
+ 'Dist::Zilla::Plugin::Prereqs' => '0',
+ 'Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled' => '0',
+ 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0',
+ 'Dist::Zilla::Plugin::ReadmeFromPod' => '0',
+ 'Dist::Zilla::Plugin::RewriteVersion::Sanitized' => '0',
+ 'Dist::Zilla::Plugin::RunExtraTests' => '0',
+ 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0',
+ 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0',
+ 'Dist::Zilla::Plugin::Test::Kwalitee' => '0',
+ 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0',
+ 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0',
+ 'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0',
+ 'Dist::Zilla::Plugin::TestRelease' => '0',
+ 'Dist::Zilla::Plugin::Twitter' => '0',
+ 'Dist::Zilla::Plugin::UploadToCPAN' => '0',
+ 'Pod::Coverage::TrustPod' => '0',
+ 'Test::CPAN::Changes' => '0.19',
+ 'Test::CPAN::Meta' => '0',
+ 'Test::Kwalitee' => '1.12',
+ 'Test::Pod' => '1.41',
+ 'Test::Pod::Coverage' => '1.08'
+ },
+ 'suggests' => {
+ 'Dist::Zilla::App::Command::bakeini' => '0.001001',
+ 'Dist::Zilla::PluginBundle::Author::KENTNL' => '2.016004'
+ }
+ },
+ 'runtime' => {
+ 'requires' => {
+ 'Carp' => '0',
+ 'Class::Tiny' => '0',
+ 'File::Copy::Recursive' => '0',
+ 'File::ShareDir' => '1.00',
+ 'Path::Tiny' => '0.018',
+ 'perl' => '5.006',
+ 'strict' => '0',
+ 'warnings' => '0'
+ }
+ },
+ 'test' => {
+ 'recommends' => {
+ 'CPAN::Meta' => '0',
+ 'CPAN::Meta::Prereqs' => '0',
+ 'CPAN::Meta::Requirements' => '2.120900',
+ 'ExtUtils::MakeMaker' => '6.98',
+ 'Test::More' => '1.001003'
+ },
+ 'requires' => {
+ 'Cwd' => '0',
+ 'ExtUtils::MakeMaker' => '0',
+ 'File::Spec' => '0',
+ 'File::Spec::Functions' => '0',
+ 'FindBin' => '0',
+ 'List::Util' => '0',
+ 'Scalar::Util' => '0',
+ 'Test::Fatal' => '0',
+ 'Test::More' => '0.96',
+ 'lib' => '0',
+ 'version' => '0.77'
+ }
+ }
+ };
+ $x;
+ }
\ No newline at end of file
@@ -0,0 +1,164 @@
+#!perl
+
+use strict;
+use warnings;
+
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.014
+
+use Test::More tests => 1;
+
+use ExtUtils::MakeMaker;
+use File::Spec::Functions;
+use List::Util qw/max first/;
+use Scalar::Util qw/blessed/;
+use version;
+
+# hide optional CPAN::Meta modules from prereq scanner
+# and check if they are available
+my $cpan_meta = "CPAN::Meta";
+my $cpan_meta_pre = "CPAN::Meta::Prereqs";
+my $cpan_meta_req = "CPAN::Meta::Requirements";
+my $HAS_CPAN_META = eval "require $cpan_meta"; ## no critic
+my $HAS_CPAN_META_REQ = eval "require $cpan_meta_req; $cpan_meta_req->VERSION('2.120900')";
+
+# Verify requirements?
+my $DO_VERIFY_PREREQS = 1;
+
+sub _merge_prereqs {
+ my ($collector, $prereqs) = @_;
+
+ # CPAN::Meta::Prereqs object
+ if (blessed $collector eq $cpan_meta_pre) {
+ return $collector->with_merged_prereqs(
+ CPAN::Meta::Prereqs->new( $prereqs )
+ );
+ }
+
+ # Raw hashrefs
+ for my $phase ( keys %$prereqs ) {
+ for my $type ( keys %{ $prereqs->{$phase} } ) {
+ for my $module ( keys %{ $prereqs->{$phase}{$type} } ) {
+ $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module};
+ }
+ }
+ }
+
+ return $collector;
+}
+
+my @include = qw(
+
+);
+
+my @exclude = qw(
+
+);
+
+# Add static prereqs to the included modules list
+my $static_prereqs = do 't/00-report-prereqs.dd';
+
+### XXX: Assume these are Runtime Requires
+my $static_prereqs_requires = $static_prereqs->{runtime}{requires};
+for my $mod (@include) {
+ $static_prereqs_requires->{$mod} = 0 unless exists $static_prereqs_requires->{$mod};
+}
+
+# Merge all prereqs (either with ::Prereqs or a hashref)
+my $full_prereqs = _merge_prereqs(
+ ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ),
+ $static_prereqs
+);
+
+# Add dynamic prereqs to the included modules list (if we can)
+my $source = first { -f } 'MYMETA.json', 'MYMETA.yml';
+if ( $source && $HAS_CPAN_META ) {
+ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
+ $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
+ }
+}
+else {
+ $source = 'static metadata';
+}
+
+my @full_reports;
+my @dep_errors;
+my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
+
+for my $phase ( qw(configure build test runtime develop) ) {
+ next unless $req_hash->{$phase};
+ next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
+
+ for my $type ( qw(requires recommends suggests conflicts) ) {
+ next unless $req_hash->{$phase}{$type};
+
+ my $title = ucfirst($phase).' '.ucfirst($type);
+ my @reports = [qw/Module Want Have/];
+
+ for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
+ next if $mod eq 'perl';
+ next if first { $_ eq $mod } @exclude;
+
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my $prefix = first { -e catfile($_, $file) } @INC;
+
+ my $want = $req_hash->{$phase}{$type}{$mod};
+ $want = "undef" unless defined $want;
+ $want = "any" if !$want && $want == 0;
+
+ my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required";
+
+ if ($prefix) {
+ my $have = MM->parse_version( catfile($prefix, $file) );
+ $have = "undef" unless defined $have;
+ push @reports, [$mod, $want, $have];
+
+ if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) {
+ if ( ! defined eval { version->parse($have) } ) {
+ push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)";
+ }
+ elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) {
+ push @dep_errors, "$mod version '$have' is not in required range '$want'";
+ }
+ }
+ }
+ else {
+ push @reports, [$mod, $want, "missing"];
+
+ if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) {
+ push @dep_errors, "$mod is not installed ($req_string)";
+ }
+ }
+ }
+
+ if ( @reports ) {
+ push @full_reports, "=== $title ===\n\n";
+
+ my $ml = max map { length $_->[0] } @reports;
+ my $wl = max map { length $_->[1] } @reports;
+ my $hl = max map { length $_->[2] } @reports;
+ splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl];
+
+ push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports;
+ push @full_reports, "\n";
+ }
+ }
+}
+
+if ( @full_reports ) {
+ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
+}
+
+if ( @dep_errors ) {
+ diag join("\n",
+ "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
+ "The following REQUIRED prerequisites were not satisfied:\n",
+ @dep_errors,
+ "\n"
+ );
+}
+
+pass;
+
+# vim: ts=4 sts=4 sw=4 et:
@@ -1,89 +0,0 @@
-use strict;
-use warnings;
-use Test::More 0.88;
-# This is a relatively nice way to avoid Test::NoWarnings breaking our
-# expectations by adding extra tests, without using no_plan. It also helps
-# avoid any other test module that feels introducing random tests, or even
-# test plans, is a nice idea.
-our $success = 0;
-END { $success && done_testing; }
-
-# List our own version used to generate this
-my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
-
-eval { # no excuses!
- # report our Perl details
- my $want = '5.006';
- $v .= "perl: $] (wanted $want) on $^O from $^X\n\n";
-};
-defined($@) and diag("$@");
-
-# Now, our module version dependencies:
-sub pmver {
- my ($module, $wanted) = @_;
- $wanted = " (want $wanted)";
- my $pmver;
- eval "require $module;";
- if ($@) {
- if ($@ =~ m/Can't locate .* in \@INC/) {
- $pmver = 'module not found.';
- } else {
- diag("${module}: $@");
- $pmver = 'died during require.';
- }
- } else {
- my $version;
- eval { $version = $module->VERSION; };
- if ($@) {
- diag("${module}: $@");
- $pmver = 'died during VERSION check.';
- } elsif (defined $version) {
- $pmver = "$version";
- } else {
- $pmver = '<undef>';
- }
- }
-
- # So, we should be good, right?
- return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
-}
-
-eval { $v .= pmver('Carp','any version') };
-eval { $v .= pmver('Cwd','any version') };
-eval { $v .= pmver('Dist::Zilla::PluginBundle::Author::KENTNL','v1.7.2') };
-eval { $v .= pmver('Dist::Zilla::PluginBundle::Author::KENTNL::Lite','v1.3.0') };
-eval { $v .= pmver('File::Copy::Recursive','any version') };
-eval { $v .= pmver('File::Find','any version') };
-eval { $v .= pmver('File::ShareDir','1.00') };
-eval { $v .= pmver('File::Temp','any version') };
-eval { $v .= pmver('FindBin','any version') };
-eval { $v .= pmver('Module::Build','0.4004') };
-eval { $v .= pmver('Path::Tiny','any version') };
-eval { $v .= pmver('Pod::Coverage::TrustPod','any version') };
-eval { $v .= pmver('Test::CPAN::Meta','any version') };
-eval { $v .= pmver('Test::Fatal','any version') };
-eval { $v .= pmver('Test::More','0.98') };
-eval { $v .= pmver('Test::Pod','1.41') };
-eval { $v .= pmver('Test::Pod::Coverage','1.08') };
-eval { $v .= pmver('strict','any version') };
-eval { $v .= pmver('version','0.9901') };
-eval { $v .= pmver('warnings','any version') };
-
-
-# All done.
-$v .= <<'EOT';
-
-Thanks for using my code. I hope it works for you.
-If not, please try and include this output in the bug report.
-That will help me reproduce the issue and solve your problem.
-
-EOT
-
-diag($v);
-ok(1, "we really didn't test anything, just reporting data");
-$success = 1;
-
-# Work around another nasty module on CPAN. :/
-no warnings 'once';
-$Template::Test::NO_FLUSH = 1;
-exit 0;
@@ -0,0 +1,36 @@
+
+use strict;
+use warnings;
+
+use Test::More 0.96;
+use Test::Fatal;
+use FindBin;
+
+use Test::File::ShareDir::Module {
+ '-root' => "$FindBin::Bin/04_files",
+ Example => 'share',
+};
+
+use lib "$FindBin::Bin/04_files/lib";
+
+use Example;
+
+use File::ShareDir qw( module_dir module_file );
+
+is(
+ exception {
+ note module_dir('Example');
+ },
+ undef,
+ 'module_dir doesn\'t bail as it finds the dir'
+);
+
+is(
+ exception {
+ note module_file( 'Example', 'afile' );
+ },
+ undef,
+ 'module_file doesn\'t bail as it finds the file'
+);
+
+done_testing;
@@ -0,0 +1,9 @@
+#
+#===============================================================================
+
+use strict;
+use warnings;
+
+package Example;
+
+1;
@@ -0,0 +1,31 @@
+
+use strict;
+use warnings;
+
+use Test::More 0.96;
+use Test::Fatal;
+use FindBin;
+use Test::File::ShareDir::Dist {
+ '-root' => "$FindBin::Bin/05_files",
+ 'Example-Dist' => 'share'
+};
+
+use File::ShareDir qw( dist_dir dist_file );
+
+is(
+ exception {
+ note dist_dir('Example-Dist');
+ },
+ undef,
+ 'dist_dir doesn\'t bail as it finds the dir'
+);
+
+is(
+ exception {
+ note dist_file( 'Example-Dist', 'afile' );
+ },
+ undef,
+ 'dist_file doesn\'t bail as it finds the file'
+);
+
+done_testing;
@@ -0,0 +1,46 @@
+
+use strict;
+use warnings;
+
+use Test::More 0.96;
+use Test::Fatal;
+use FindBin;
+use Cwd qw(chdir getcwd);
+my $prevcwd;
+
+use lib "$FindBin::Bin/../lib";
+
+BEGIN {
+ $prevcwd = getcwd;
+ chdir "$FindBin::Bin/06_files";
+}
+
+use Test::File::ShareDir::Module { 'Example' => 'share' };
+
+BEGIN {
+ chdir $prevcwd;
+}
+
+use lib "$FindBin::Bin/06_files/lib";
+
+use Example;
+
+use File::ShareDir qw( module_dir module_file );
+
+is(
+ exception {
+ note module_dir('Example');
+ },
+ undef,
+ 'module_dir doesn\'t bail as it finds the dir'
+);
+
+is(
+ exception {
+ note module_file( 'Example', 'afile' );
+ },
+ undef,
+ 'module_file doesn\'t bail as it finds the file'
+);
+
+done_testing;
@@ -0,0 +1,9 @@
+#
+#===============================================================================
+
+use strict;
+use warnings;
+
+package Example;
+
+1;
@@ -1,4 +1,5 @@
[@CorePrep]
+[-SingleEncoding]
[Name]
[Version]
@@ -8,7 +9,7 @@
[Generic / SYNOPSIS]
[Generic / DESCRIPTION]
[Generic / OVERVIEW]
-
+[Generic / SIMPLE INTERFACE]
;[Generic / METHODS]
;[Collect / METHODS]
[Collect / METHODS]
@@ -1,7 +1,11 @@
#!perl
-use Test::More;
-eval 'use Test::CPAN::Changes';
-plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
-changes_ok();
+use strict;
+use warnings;
+
+use Test::More 0.96 tests => 2;
+use_ok('Test::CPAN::Changes');
+subtest 'changes_ok' => sub {
+ changes_file_ok('Changes');
+};
done_testing();
@@ -1,7 +1,6 @@
#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-use Test::More;
+use Test::CPAN::Meta;
-eval "use Test::CPAN::Meta";
-plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
meta_yaml_ok();
@@ -1,9 +1,4 @@
-#!perl
-
-# This test is generated by Dist::Zilla::Plugin::Test::Kwalitee
+# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07
use strict;
use warnings;
-use Test::More; # needed to provide plan.
-eval "use Test::Kwalitee";
-
-plan skip_all => "Test::Kwalitee required for testing kwalitee" if $@;
+use Test::Kwalitee;
@@ -1,13 +1,7 @@
#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
@@ -1,7 +1,6 @@
#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();