From db45e3b4f4f8b9580a52e9bbfa49187999fe120e Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sun, 27 Nov 2016 19:52:41 -0700 Subject: [PATCH] Version 0.005 --- Changes | 5 ++ MANIFEST | 1 - META.json | 13 ++-- META.yml | 11 ++-- Makefile.PL | 6 +- README | 2 +- cpanfile | 74 ----------------------- lib/Dist/Zilla/PluginBundle/Author/CCM.pm | 8 +-- lib/Pod/Weaver/PluginBundle/Author/CCM.pm | 4 +- t/00-report-prereqs.dd | 7 ++- 10 files changed, 32 insertions(+), 99 deletions(-) delete mode 100644 cpanfile diff --git a/Changes b/Changes index e853255..ac1e9f7 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Dist-Zilla-PluginBundle-Author-CCM. +0.005 2016-11-27 19:52:27-07:00 MST7MDT + + * Move dependencies from cpanfile to dist.ini (fixes testing) + * Set copyright year + 0.004 2016-11-27 18:28:43-07:00 MST7MDT * This bundle now requires at least perl 5.14.0 diff --git a/MANIFEST b/MANIFEST index 768d9f4..a00f8ea 100644 --- a/MANIFEST +++ b/MANIFEST @@ -7,7 +7,6 @@ META.json META.yml Makefile.PL README -cpanfile lib/Dist/Zilla/PluginBundle/Author/CCM.pm lib/Pod/Weaver/PluginBundle/Author/CCM.pm t/00-compile.t diff --git a/META.json b/META.json index 9625eac..03c91f2 100644 --- a/META.json +++ b/META.json @@ -39,6 +39,7 @@ "requires" : { "Dist::Zilla" : "5", "Dist::Zilla::Plugin::Bootstrap::lib" : "0", + "Dist::Zilla::Plugin::Prereqs" : "0", "Dist::Zilla::PluginBundle::Author::CCM" : "0", "English" : "0", "Pod::Coverage::TrustPod" : "0", @@ -57,6 +58,10 @@ } }, "runtime" : { + "recommends" : { + "Dist::Zilla::Plugin::FakeRelease" : "0", + "Dist::Zilla::Plugin::Prereqs::FromCPANfile" : "0" + }, "requires" : { "Dist::Zilla" : "5.038", "Dist::Zilla::Plugin::Authority" : "0", @@ -67,7 +72,6 @@ "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0", "Dist::Zilla::Plugin::Encoding" : "0", "Dist::Zilla::Plugin::ExecDir" : "0", - "Dist::Zilla::Plugin::FakeRelease" : "0", "Dist::Zilla::Plugin::Git::Check" : "0", "Dist::Zilla::Plugin::Git::Commit" : "0", "Dist::Zilla::Plugin::Git::CommitBuild" : "0", @@ -93,7 +97,6 @@ "Dist::Zilla::Plugin::PodSyntaxTests" : "0", "Dist::Zilla::Plugin::PodWeaver" : "0", "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0", - "Dist::Zilla::Plugin::Prereqs::FromCPANfile" : "0", "Dist::Zilla::Plugin::PruneCruft" : "0", "Dist::Zilla::Plugin::PruneFiles" : "0", "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0", @@ -157,11 +160,11 @@ "provides" : { "Dist::Zilla::PluginBundle::Author::CCM" : { "file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm", - "version" : "0.004" + "version" : "0.005" }, "Pod::Weaver::PluginBundle::Author::CCM" : { "file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm", - "version" : "0.004" + "version" : "0.005" } }, "release_status" : "stable", @@ -176,7 +179,7 @@ "web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM" } }, - "version" : "0.004", + "version" : "0.005", "x_authority" : "cpan:CCM", "x_serialization_backend" : "Cpanel::JSON::XS version 3.0224" } diff --git a/META.yml b/META.yml index c597f03..4546ec9 100644 --- a/META.yml +++ b/META.yml @@ -34,10 +34,13 @@ no_index: provides: Dist::Zilla::PluginBundle::Author::CCM: file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm - version: '0.004' + version: '0.005' Pod::Weaver::PluginBundle::Author::CCM: file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm - version: '0.004' + version: '0.005' +recommends: + Dist::Zilla::Plugin::FakeRelease: '0' + Dist::Zilla::Plugin::Prereqs::FromCPANfile: '0' requires: Dist::Zilla: '5.038' Dist::Zilla::Plugin::Authority: '0' @@ -48,7 +51,6 @@ requires: Dist::Zilla::Plugin::CopyFilesFromBuild: '0' Dist::Zilla::Plugin::Encoding: '0' Dist::Zilla::Plugin::ExecDir: '0' - Dist::Zilla::Plugin::FakeRelease: '0' Dist::Zilla::Plugin::Git::Check: '0' Dist::Zilla::Plugin::Git::Commit: '0' Dist::Zilla::Plugin::Git::CommitBuild: '0' @@ -74,7 +76,6 @@ requires: Dist::Zilla::Plugin::PodSyntaxTests: '0' Dist::Zilla::Plugin::PodWeaver: '0' Dist::Zilla::Plugin::Prereqs::AuthorDeps: '0' - Dist::Zilla::Plugin::Prereqs::FromCPANfile: '0' Dist::Zilla::Plugin::PruneCruft: '0' Dist::Zilla::Plugin::PruneFiles: '0' Dist::Zilla::Plugin::ReadmeAnyFromPod: '0' @@ -123,6 +124,6 @@ resources: bugtracker: https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM/issues homepage: https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM repository: https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM.git -version: '0.004' +version: '0.005' x_authority: cpan:CCM x_serialization_backend: 'YAML::Tiny version 1.69' diff --git a/Makefile.PL b/Makefile.PL index 807ac30..515efc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -26,7 +26,6 @@ my %WriteMakefileArgs = ( "Dist::Zilla::Plugin::CopyFilesFromBuild" => 0, "Dist::Zilla::Plugin::Encoding" => 0, "Dist::Zilla::Plugin::ExecDir" => 0, - "Dist::Zilla::Plugin::FakeRelease" => 0, "Dist::Zilla::Plugin::Git::Check" => 0, "Dist::Zilla::Plugin::Git::Commit" => 0, "Dist::Zilla::Plugin::Git::CommitBuild" => 0, @@ -52,7 +51,6 @@ my %WriteMakefileArgs = ( "Dist::Zilla::Plugin::PodSyntaxTests" => 0, "Dist::Zilla::Plugin::PodWeaver" => 0, "Dist::Zilla::Plugin::Prereqs::AuthorDeps" => 0, - "Dist::Zilla::Plugin::Prereqs::FromCPANfile" => 0, "Dist::Zilla::Plugin::PruneCruft" => 0, "Dist::Zilla::Plugin::PruneFiles" => 0, "Dist::Zilla::Plugin::ReadmeAnyFromPod" => 0, @@ -105,7 +103,7 @@ my %WriteMakefileArgs = ( "Test::More" => 0, "blib" => "1.01" }, - "VERSION" => "0.004", + "VERSION" => "0.005", "test" => { "TESTS" => "t/*.t" } @@ -122,7 +120,6 @@ my %FallbackPrereqs = ( "Dist::Zilla::Plugin::CopyFilesFromBuild" => 0, "Dist::Zilla::Plugin::Encoding" => 0, "Dist::Zilla::Plugin::ExecDir" => 0, - "Dist::Zilla::Plugin::FakeRelease" => 0, "Dist::Zilla::Plugin::Git::Check" => 0, "Dist::Zilla::Plugin::Git::Commit" => 0, "Dist::Zilla::Plugin::Git::CommitBuild" => 0, @@ -148,7 +145,6 @@ my %FallbackPrereqs = ( "Dist::Zilla::Plugin::PodSyntaxTests" => 0, "Dist::Zilla::Plugin::PodWeaver" => 0, "Dist::Zilla::Plugin::Prereqs::AuthorDeps" => 0, - "Dist::Zilla::Plugin::Prereqs::FromCPANfile" => 0, "Dist::Zilla::Plugin::PruneCruft" => 0, "Dist::Zilla::Plugin::PruneFiles" => 0, "Dist::Zilla::Plugin::ReadmeAnyFromPod" => 0, diff --git a/README b/README index 6bda323..17d7cf6 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ NAME VERSION - version 0.004 + version 0.005 SYNOPSIS diff --git a/cpanfile b/cpanfile deleted file mode 100644 index 4f58fc0..0000000 --- a/cpanfile +++ /dev/null @@ -1,74 +0,0 @@ -# requires 'Badge::Depot::Plugin::Coverage'; -# requires 'Badge::Depot::Plugin::Perl'; -# requires 'Badge::Depot::Plugin::Travis'; -# requires 'Pod::Weaver::Section::Badges'; -requires 'Dist::Zilla', '5.038'; -requires 'Dist::Zilla::Plugin::Authority'; -requires 'Dist::Zilla::Plugin::AutoPrereqs'; -requires 'Dist::Zilla::Plugin::BlockRelease'; -requires 'Dist::Zilla::Plugin::CheckChangesHasContent'; -requires 'Dist::Zilla::Plugin::ConfirmRelease'; -requires 'Dist::Zilla::Plugin::CopyFilesFromBuild'; -requires 'Dist::Zilla::Plugin::Encoding'; -requires 'Dist::Zilla::Plugin::ExecDir'; -requires 'Dist::Zilla::Plugin::FakeRelease'; -requires 'Dist::Zilla::Plugin::Git::Check'; -requires 'Dist::Zilla::Plugin::Git::Commit'; -requires 'Dist::Zilla::Plugin::Git::CommitBuild'; -requires 'Dist::Zilla::Plugin::Git::Contributors'; -requires 'Dist::Zilla::Plugin::Git::GatherDir'; -requires 'Dist::Zilla::Plugin::Git::NextVersion'; -requires 'Dist::Zilla::Plugin::Git::Push'; -requires 'Dist::Zilla::Plugin::Git::Tag'; -requires 'Dist::Zilla::Plugin::GithubMeta'; -requires 'Dist::Zilla::Plugin::Keywords'; -requires 'Dist::Zilla::Plugin::License'; -requires 'Dist::Zilla::Plugin::MakeMaker'; -requires 'Dist::Zilla::Plugin::Manifest'; -requires 'Dist::Zilla::Plugin::ManifestSkip'; -requires 'Dist::Zilla::Plugin::MetaJSON'; -requires 'Dist::Zilla::Plugin::MetaNoIndex'; -requires 'Dist::Zilla::Plugin::MetaProvides::Package'; -requires 'Dist::Zilla::Plugin::MetaTests'; -requires 'Dist::Zilla::Plugin::MetaYAML'; -requires 'Dist::Zilla::Plugin::NextRelease'; -requires 'Dist::Zilla::Plugin::OverridePkgVersion'; -requires 'Dist::Zilla::Plugin::PodCoverageTests'; -requires 'Dist::Zilla::Plugin::PodSyntaxTests'; -requires 'Dist::Zilla::Plugin::PodWeaver'; -requires 'Dist::Zilla::Plugin::Prereqs::AuthorDeps'; -requires 'Dist::Zilla::Plugin::Prereqs::FromCPANfile'; -requires 'Dist::Zilla::Plugin::PruneCruft'; -requires 'Dist::Zilla::Plugin::PruneFiles'; -requires 'Dist::Zilla::Plugin::ReadmeAnyFromPod'; -requires 'Dist::Zilla::Plugin::ReversionOnRelease'; -requires 'Dist::Zilla::Plugin::RunExtraTests'; -requires 'Dist::Zilla::Plugin::Test::CPAN::Changes'; -requires 'Dist::Zilla::Plugin::Test::CleanNamespaces'; -requires 'Dist::Zilla::Plugin::Test::Compile'; -requires 'Dist::Zilla::Plugin::Test::EOL'; -requires 'Dist::Zilla::Plugin::Test::MinimumVersion'; -requires 'Dist::Zilla::Plugin::Test::NoTabs'; -requires 'Dist::Zilla::Plugin::Test::Perl::Critic'; -requires 'Dist::Zilla::Plugin::Test::Pod::No404s'; -requires 'Dist::Zilla::Plugin::Test::Portability'; -requires 'Dist::Zilla::Plugin::Test::ReportPrereqs'; -requires 'Dist::Zilla::Plugin::TestRelease'; -requires 'Dist::Zilla::Plugin::TravisYML'; -requires 'Dist::Zilla::Plugin::UploadToCPAN'; -requires 'Pod::Elemental::Transformer::List'; -requires 'Pod::Elemental::Transformer::Verbatim'; -requires 'Pod::Weaver::Plugin::EnsurePod5'; -requires 'Pod::Weaver::Plugin::H1Nester'; -requires 'Pod::Weaver::Plugin::SingleEncoding'; -requires 'Pod::Weaver::Plugin::Transformer'; -requires 'Pod::Weaver::Section::Authors'; -requires 'Pod::Weaver::Section::Bugs'; -requires 'Pod::Weaver::Section::Collect'; -requires 'Pod::Weaver::Section::Contributors'; -requires 'Pod::Weaver::Section::Generic'; -requires 'Pod::Weaver::Section::Legal'; -requires 'Pod::Weaver::Section::Name'; -requires 'Pod::Weaver::Section::Region'; -requires 'Pod::Weaver::Section::Version'; -requires 'Test::CPAN::Meta'; diff --git a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm index 2941a46..b58965e 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm @@ -7,7 +7,7 @@ use 5.014; use warnings; use strict; -our $VERSION = '0.004'; # VERSION +our $VERSION = '0.005'; # VERSION use Dist::Zilla::Util; use Moose; @@ -119,8 +119,8 @@ sub configure { # GENERATE FILES ['License'], - ['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown', phase => 'release'}], - ['ReadmeAnyFromPod' => 'dist readme' => {filename => 'README', location => 'build', type => 'text'}], + ['ReadmeAnyFromPod' => 'RepoReadme' => {filename => 'README.md', location => 'root', type => 'markdown', phase => 'release'}], + ['ReadmeAnyFromPod' => 'DistReadme' => {filename => 'README', location => 'build', type => 'text'}], ['TravisYML' => {build_branch => '/^(dist|build\/.*)$/', perl_version => $perl_version, perl_version_build => $perl_version_build}], ['Manifest'], ['ManifestSkip'], @@ -172,7 +172,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built =head1 VERSION -version 0.004 +version 0.005 =head1 SYNOPSIS diff --git a/lib/Pod/Weaver/PluginBundle/Author/CCM.pm b/lib/Pod/Weaver/PluginBundle/Author/CCM.pm index edc4ead..dba44d5 100644 --- a/lib/Pod/Weaver/PluginBundle/Author/CCM.pm +++ b/lib/Pod/Weaver/PluginBundle/Author/CCM.pm @@ -6,7 +6,7 @@ use 5.008; use warnings; use strict; -our $VERSION = '0.004'; # VERSION +our $VERSION = '0.005'; # VERSION use Pod::Weaver::Config::Assembler; use namespace::autoclean; @@ -105,7 +105,7 @@ Pod::Weaver::PluginBundle::Author::CCM - A plugin bundle for pod woven by CCM =head1 VERSION -version 0.004 +version 0.005 =head1 SYNOPSIS diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 18b02c3..6aaf302 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -8,6 +8,7 @@ do { my $x = { 'requires' => { 'Dist::Zilla' => '5', 'Dist::Zilla::Plugin::Bootstrap::lib' => '0', + 'Dist::Zilla::Plugin::Prereqs' => '0', 'Dist::Zilla::PluginBundle::Author::CCM' => '0', 'English' => '0', 'Pod::Coverage::TrustPod' => '0', @@ -26,6 +27,10 @@ do { my $x = { } }, 'runtime' => { + 'recommends' => { + 'Dist::Zilla::Plugin::FakeRelease' => '0', + 'Dist::Zilla::Plugin::Prereqs::FromCPANfile' => '0' + }, 'requires' => { 'Dist::Zilla' => '5.038', 'Dist::Zilla::Plugin::Authority' => '0', @@ -36,7 +41,6 @@ do { my $x = { 'Dist::Zilla::Plugin::CopyFilesFromBuild' => '0', 'Dist::Zilla::Plugin::Encoding' => '0', 'Dist::Zilla::Plugin::ExecDir' => '0', - 'Dist::Zilla::Plugin::FakeRelease' => '0', 'Dist::Zilla::Plugin::Git::Check' => '0', 'Dist::Zilla::Plugin::Git::Commit' => '0', 'Dist::Zilla::Plugin::Git::CommitBuild' => '0', @@ -62,7 +66,6 @@ do { my $x = { 'Dist::Zilla::Plugin::PodSyntaxTests' => '0', 'Dist::Zilla::Plugin::PodWeaver' => '0', 'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0', - 'Dist::Zilla::Plugin::Prereqs::FromCPANfile' => '0', 'Dist::Zilla::Plugin::PruneCruft' => '0', 'Dist::Zilla::Plugin::PruneFiles' => '0', 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0', -- 2.45.2