From b4d33155c85f1f5bbb10f696fc339d28469518ab Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Tue, 30 Jun 2015 14:09:28 +1200 Subject: [PATCH] Build results of 0bf8579 (on master) --- Changes | 9 +++++++++ META.json | 20 +++++++++++++------ META.yml | 5 +++-- Makefile.PL | 18 +++++++++++++++-- dist.ini | 2 ++ dist.ini.meta | 2 ++ .../Plugin/Author/KENTNL/CONTRIBUTING.pm | 4 ++-- misc/Changes.deps | 6 +++++- misc/Changes.deps.all | 12 ++++++++++- misc/Changes.deps.dev | 6 +++++- misc/Changes.deps.opt | 6 +++++- misc/built_with.json | 2 ++ t/00-report-prereqs.dd | 5 ++++- 13 files changed, 80 insertions(+), 17 deletions(-) diff --git a/Changes b/Changes index 478c64c..0ad0823 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,14 @@ Release history for Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING +0.001002 2015-06-30T02:08:26Z 473269e + [Bugfix] + - Turns out to be useful to actually install files intended for a sharedir + + [Dependencies::Stats] + - Dependencies changed since 0.001001, see misc/*.deps* for details + - configure: +1 (recommends: +1) + - develop: +1 + 0.001001 2015-06-30T00:24:44Z 24a9a5d [Content] - Credit original author in emitted file. diff --git a/META.json b/META.json index a690367..2ba108c 100644 --- a/META.json +++ b/META.json @@ -16,10 +16,12 @@ "prereqs" : { "configure" : { "recommends" : { - "ExtUtils::MakeMaker" : "7.00" + "ExtUtils::MakeMaker" : "7.00", + "File::ShareDir::Install" : "0.10" }, "requires" : { "ExtUtils::MakeMaker" : "0", + "File::ShareDir::Install" : "0.06", "perl" : "5.006" } }, @@ -69,6 +71,7 @@ "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0", "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0", "Dist::Zilla::Plugin::RunExtraTests" : "0", + "Dist::Zilla::Plugin::ShareDir" : "0", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0", "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0", "Dist::Zilla::Plugin::Test::EOL" : "0", @@ -131,7 +134,7 @@ "provides" : { "Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING" : { "file" : "lib/Dist/Zilla/Plugin/Author/KENTNL/CONTRIBUTING.pm", - "version" : "0.001001" + "version" : "0.001002" } }, "release_status" : "stable", @@ -146,7 +149,7 @@ "web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING" } }, - "version" : "0.001001", + "version" : "0.001002", "x_BuiltWith" : { "external_file" : "misc/built_with.json" }, @@ -179,6 +182,11 @@ "name" : "Bootstrap::ShareDir::Dist", "version" : "1.001001" }, + { + "class" : "Dist::Zilla::Plugin::ShareDir", + "name" : "ShareDir", + "version" : "5.037" + }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", @@ -644,7 +652,7 @@ "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, "signed" : 0, - "tag" : "0.001001-source", + "tag" : "0.001002-source", "tag_format" : "%v-source", "tag_message" : "v%v", "time_zone" : "local" @@ -715,7 +723,7 @@ "Dist::Zilla::Plugin::Git::Tag" : { "branch" : "releases", "signed" : 0, - "tag" : "0.001001", + "tag" : "0.001002", "tag_format" : "%v", "tag_message" : "v%v", "time_zone" : "local" @@ -799,7 +807,7 @@ } }, "name" : "Author::KENTNL::CONTRIBUTING", - "version" : "0.001001" + "version" : "0.001002" }, { "class" : "Dist::Zilla::Plugin::RemovePrereqs::Provided", diff --git a/META.yml b/META.yml index cee07ec..93b12ea 100644 --- a/META.yml +++ b/META.yml @@ -9,6 +9,7 @@ build_requires: perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' + File::ShareDir::Install: '0.06' perl: '5.006' dynamic_config: 0 generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005' @@ -20,7 +21,7 @@ name: Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING provides: Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING: file: lib/Dist/Zilla/Plugin/Author/KENTNL/CONTRIBUTING.pm - version: '0.001001' + version: '0.001002' recommends: Moose: '2.000' Path::Tiny: '0.058' @@ -41,4 +42,4 @@ resources: bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING/issues homepage: https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING repository: https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING.git -version: '0.001001' +version: '0.001002' diff --git a/Makefile.PL b/Makefile.PL index 6588765..f587c67 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,11 +6,18 @@ use 5.006; use ExtUtils::MakeMaker; +use File::ShareDir::Install; +$File::ShareDir::Install::INCLUDE_DOTFILES = 1; +$File::ShareDir::Install::INCLUDE_DOTDIRS = 1; +install_share dist => "share"; + + my %WriteMakefileArgs = ( "ABSTRACT" => "Generates a CONTRIBUTING file for KENTNL's distributions.", "AUTHOR" => "Kent Fredric ", "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => 0 + "ExtUtils::MakeMaker" => 0, + "File::ShareDir::Install" => "0.06" }, "DISTNAME" => "Dist-Zilla-Plugin-Author-KENTNL-CONTRIBUTING", "EXE_FILES" => [], @@ -35,7 +42,7 @@ my %WriteMakefileArgs = ( "File::Spec" => 0, "Test::More" => "0.89" }, - "VERSION" => "0.001001", + "VERSION" => "0.001002", "test" => { "TESTS" => "t/*.t t/00-compile/*.t" } @@ -48,6 +55,7 @@ my %FallbackPrereqs = ( "Dist::Zilla::Util::ConfigDumper" => 0, "ExtUtils::MakeMaker" => 0, "File::ShareDir" => 0, + "File::ShareDir::Install" => "0.06", "File::Spec" => 0, "Moose" => 0, "Moose::Util::TypeConstraints" => 0, @@ -70,3 +78,9 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); + +{ +package +MY; +use File::ShareDir::Install qw(postamble); +} diff --git a/dist.ini b/dist.ini index 0922ccf..07be0c8 100644 --- a/dist.ini +++ b/dist.ini @@ -13,6 +13,8 @@ copyright_holder = Kent Fredric [Bootstrap::ShareDir::Dist] share = share +[ShareDir] + [MetaConfig / @Author::KENTNL/MetaConfig] [GithubMeta / @Author::KENTNL/GithubMeta] diff --git a/dist.ini.meta b/dist.ini.meta index f6bf09c..4d680da 100644 --- a/dist.ini.meta +++ b/dist.ini.meta @@ -11,6 +11,8 @@ copyright_holder = Kent Fredric [Bootstrap::ShareDir::Dist] share = share +[ShareDir] + [@Author::KENTNL] :version = 2.024002 normal_form = numify diff --git a/lib/Dist/Zilla/Plugin/Author/KENTNL/CONTRIBUTING.pm b/lib/Dist/Zilla/Plugin/Author/KENTNL/CONTRIBUTING.pm index 25a3cb0..f031299 100644 --- a/lib/Dist/Zilla/Plugin/Author/KENTNL/CONTRIBUTING.pm +++ b/lib/Dist/Zilla/Plugin/Author/KENTNL/CONTRIBUTING.pm @@ -4,7 +4,7 @@ use warnings; package Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING; -our $VERSION = '0.001001'; +our $VERSION = '0.001002'; # ABSTRACT: Generates a CONTRIBUTING file for KENTNL's distributions. @@ -149,7 +149,7 @@ Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING - Generates a CONTRIBUTING fil =head1 VERSION -version 0.001001 +version 0.001002 =head1 DESCRIPTION diff --git a/misc/Changes.deps b/misc/Changes.deps index 04392cc..ba9c736 100644 --- a/misc/Changes.deps +++ b/misc/Changes.deps @@ -1,3 +1,7 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) -0.001001 +0.001002 + [Added / configure requires] + - File::ShareDir::Install 0.06 + +0.001001 2015-06-30T00:24:44Z diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all index 416df5f..f443196 100644 --- a/misc/Changes.deps.all +++ b/misc/Changes.deps.all @@ -1,6 +1,16 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) -0.001001 +0.001002 + [Added / configure recommends] + - File::ShareDir::Install 0.10 + + [Added / configure requires] + - File::ShareDir::Install 0.06 + + [Added / develop requires] + - Dist::Zilla::Plugin::ShareDir + +0.001001 2015-06-30T00:24:44Z [Added / develop requires] - Dist::Zilla::Plugin::RemovePrereqs::Provided diff --git a/misc/Changes.deps.dev b/misc/Changes.deps.dev index e433e07..d830080 100644 --- a/misc/Changes.deps.dev +++ b/misc/Changes.deps.dev @@ -1,6 +1,10 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) -0.001001 +0.001002 + [Added / develop requires] + - Dist::Zilla::Plugin::ShareDir + +0.001001 2015-06-30T00:24:44Z [Added / develop requires] - Dist::Zilla::Plugin::RemovePrereqs::Provided diff --git a/misc/Changes.deps.opt b/misc/Changes.deps.opt index b87dd70..56382ff 100644 --- a/misc/Changes.deps.opt +++ b/misc/Changes.deps.opt @@ -1,3 +1,7 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) -0.001001 +0.001002 + [Added / configure recommends] + - File::ShareDir::Install 0.10 + +0.001001 2015-06-30T00:24:44Z diff --git a/misc/built_with.json b/misc/built_with.json index 04ab913..997d329 100644 --- a/misc/built_with.json +++ b/misc/built_with.json @@ -44,6 +44,7 @@ "Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0.001000", "Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001005", "Dist::Zilla::Plugin::RunExtraTests" : "0.027", + "Dist::Zilla::Plugin::ShareDir" : "5.037", "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.009", "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.003000", "Dist::Zilla::Plugin::Test::EOL" : "0.18", @@ -59,6 +60,7 @@ "Dist::Zilla::Util::ConfigDumper" : "0.003006", "ExtUtils::MakeMaker" : "7.04_01", "File::ShareDir" : "1.102", + "File::ShareDir::Install" : "0.10", "File::Spec" : "3.56", "Moose" : "2.1405", "Moose::Util::TypeConstraints" : "2.1405", diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 36f1eb8..68dbdd0 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -1,10 +1,12 @@ do { my $x = { 'configure' => { 'recommends' => { - 'ExtUtils::MakeMaker' => '7.00' + 'ExtUtils::MakeMaker' => '7.00', + 'File::ShareDir::Install' => '0.10' }, 'requires' => { 'ExtUtils::MakeMaker' => '0', + 'File::ShareDir::Install' => '0.06', 'perl' => '5.006' } }, @@ -54,6 +56,7 @@ do { my $x = { 'Dist::Zilla::Plugin::RemovePrereqs::Provided' => '0', 'Dist::Zilla::Plugin::RewriteVersion::Sanitized' => '0', 'Dist::Zilla::Plugin::RunExtraTests' => '0', + 'Dist::Zilla::Plugin::ShareDir' => '0', 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0', 'Dist::Zilla::Plugin::Test::Compile::PerFile' => '0', 'Dist::Zilla::Plugin::Test::EOL' => '0',