From: Charles McGarvey Date: Mon, 28 Nov 2016 01:29:02 +0000 (-0700) Subject: Version 0.004 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c1e72a18ccc92c73472ea8608b5df6994133ea7e;p=chaz%2Fp5-Dist-Zilla-PluginBundle-Author-CCM Version 0.004 --- diff --git a/.travis.yml b/.travis.yml index 274d978..68c32c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,16 @@ sudo: false language: perl perl: - - 'blead' + - '5.24' + - '5.22' - '5.20' - '5.18' - '5.16' - '5.14' - - '5.12' - - '5.10' - - '5.8' matrix: - allow_failures: - - perl: 'blead' - - perl: '5.8' fast_finish: true branches: - only: /^build\/.*/ + only: /^(dist|build\/.*)$/ before_install: - rm .travis.yml - export AUTHOR_TESTING=0 diff --git a/Changes b/Changes index 310549d..e853255 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Dist-Zilla-PluginBundle-Author-CCM. +0.004 2016-11-27 18:28:43-07:00 MST7MDT + + * This bundle now requires at least perl 5.14.0 + * Add Test::MinimumVersion as a release test + 0.003 2016-11-26 00:09:53-07:00 MST7MDT * Set default authority to cpan:CCM diff --git a/MANIFEST b/MANIFEST index 607e709..768d9f4 100644 --- a/MANIFEST +++ b/MANIFEST @@ -24,3 +24,4 @@ xt/author/pod-syntax.t xt/author/portability.t xt/release/cpan-changes.t xt/release/distmeta.t +xt/release/minimum-version.t diff --git a/META.json b/META.json index bb30942..9625eac 100644 --- a/META.json +++ b/META.json @@ -47,6 +47,7 @@ "Test::CPAN::Meta" : "0", "Test::CleanNamespaces" : "0.15", "Test::EOL" : "0", + "Test::MinimumVersion" : "0", "Test::More" : "0.96", "Test::NoTabs" : "0", "Test::Pod" : "1.41", @@ -102,6 +103,7 @@ "Dist::Zilla::Plugin::Test::CleanNamespaces" : "0", "Dist::Zilla::Plugin::Test::Compile" : "0", "Dist::Zilla::Plugin::Test::EOL" : "0", + "Dist::Zilla::Plugin::Test::MinimumVersion" : "0", "Dist::Zilla::Plugin::Test::NoTabs" : "0", "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", "Dist::Zilla::Plugin::Test::Pod::No404s" : "0", @@ -133,6 +135,7 @@ "Pod::Weaver::Section::Version" : "0", "Test::CPAN::Meta" : "0", "namespace::autoclean" : "0", + "perl" : "5.014", "strict" : "0", "warnings" : "0" } @@ -147,19 +150,18 @@ "IO::Handle" : "0", "IPC::Open3" : "0", "Test::More" : "0", - "blib" : "1.01", - "perl" : "5.006" + "blib" : "1.01" } } }, "provides" : { "Dist::Zilla::PluginBundle::Author::CCM" : { "file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm", - "version" : "0.003" + "version" : "0.004" }, "Pod::Weaver::PluginBundle::Author::CCM" : { "file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm", - "version" : "0.003" + "version" : "0.004" } }, "release_status" : "stable", @@ -174,7 +176,7 @@ "web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM" } }, - "version" : "0.003", + "version" : "0.004", "x_authority" : "cpan:CCM", "x_serialization_backend" : "Cpanel::JSON::XS version 3.0224" } diff --git a/META.yml b/META.yml index 7737f1e..c597f03 100644 --- a/META.yml +++ b/META.yml @@ -9,7 +9,6 @@ build_requires: IPC::Open3: '0' Test::More: '0' blib: '1.01' - perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 @@ -35,10 +34,10 @@ no_index: provides: Dist::Zilla::PluginBundle::Author::CCM: file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm - version: '0.003' + version: '0.004' Pod::Weaver::PluginBundle::Author::CCM: file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm - version: '0.003' + version: '0.004' requires: Dist::Zilla: '5.038' Dist::Zilla::Plugin::Authority: '0' @@ -85,6 +84,7 @@ requires: Dist::Zilla::Plugin::Test::CleanNamespaces: '0' Dist::Zilla::Plugin::Test::Compile: '0' Dist::Zilla::Plugin::Test::EOL: '0' + Dist::Zilla::Plugin::Test::MinimumVersion: '0' Dist::Zilla::Plugin::Test::NoTabs: '0' Dist::Zilla::Plugin::Test::Perl::Critic: '0' Dist::Zilla::Plugin::Test::Pod::No404s: '0' @@ -116,12 +116,13 @@ requires: Pod::Weaver::Section::Version: '0' Test::CPAN::Meta: '0' namespace::autoclean: '0' + perl: '5.014' strict: '0' warnings: '0' 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.003' +version: '0.004' x_authority: cpan:CCM x_serialization_backend: 'YAML::Tiny version 1.69' diff --git a/Makefile.PL b/Makefile.PL index be7dcd2..807ac30 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ use strict; use warnings; -use 5.006; +use 5.014; use ExtUtils::MakeMaker; @@ -14,7 +14,7 @@ my %WriteMakefileArgs = ( }, "DISTNAME" => "Dist-Zilla-PluginBundle-Author-CCM", "LICENSE" => "perl", - "MIN_PERL_VERSION" => "5.006", + "MIN_PERL_VERSION" => "5.014", "NAME" => "Dist::Zilla::PluginBundle::Author::CCM", "PREREQ_PM" => { "Dist::Zilla" => "5.038", @@ -62,6 +62,7 @@ my %WriteMakefileArgs = ( "Dist::Zilla::Plugin::Test::CleanNamespaces" => 0, "Dist::Zilla::Plugin::Test::Compile" => 0, "Dist::Zilla::Plugin::Test::EOL" => 0, + "Dist::Zilla::Plugin::Test::MinimumVersion" => 0, "Dist::Zilla::Plugin::Test::NoTabs" => 0, "Dist::Zilla::Plugin::Test::Perl::Critic" => 0, "Dist::Zilla::Plugin::Test::Pod::No404s" => 0, @@ -104,7 +105,7 @@ my %WriteMakefileArgs = ( "Test::More" => 0, "blib" => "1.01" }, - "VERSION" => "0.003", + "VERSION" => "0.004", "test" => { "TESTS" => "t/*.t" } @@ -157,6 +158,7 @@ my %FallbackPrereqs = ( "Dist::Zilla::Plugin::Test::CleanNamespaces" => 0, "Dist::Zilla::Plugin::Test::Compile" => 0, "Dist::Zilla::Plugin::Test::EOL" => 0, + "Dist::Zilla::Plugin::Test::MinimumVersion" => 0, "Dist::Zilla::Plugin::Test::NoTabs" => 0, "Dist::Zilla::Plugin::Test::Perl::Critic" => 0, "Dist::Zilla::Plugin::Test::Pod::No404s" => 0, diff --git a/README b/README index 4a358ad..6bda323 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ NAME VERSION - version 0.003 + version 0.004 SYNOPSIS @@ -46,6 +46,8 @@ DESCRIPTION [PodSyntaxTests] [Test::Pod::No404s] [Test::Compile] + [Test::MinimumVersion] + max_target_perl = 5.10.1 [Test::EOL] [Test::NoTabs] [Test::Perl::Critic] @@ -88,6 +90,7 @@ DESCRIPTION location = build type = text [TravisYML] + build_branch = /^(dist|build\/.*)$/ [Manifest] [ManifestSkip] diff --git a/cpanfile b/cpanfile index 07d5866..4f58fc0 100644 --- a/cpanfile +++ b/cpanfile @@ -47,6 +47,7 @@ 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'; diff --git a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm index 206eb83..2941a46 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm @@ -3,10 +3,11 @@ package Dist::Zilla::PluginBundle::Author::CCM; # KEYWORDS: dzil author bundle distribution tool +use 5.014; use warnings; use strict; -our $VERSION = '0.003'; # VERSION +our $VERSION = '0.004'; # VERSION use Dist::Zilla::Util; use Moose; @@ -51,19 +52,22 @@ has no_upload => ( sub configure { my $self = shift; + my @copy_from_build = qw(LICENSE); + my @network_plugins = qw(Git::Push Test::Pod::No404s UploadToCPAN); + my @gather_exclude = (@copy_from_build, qw(README.md)); + my @gather_prune = qw(dist.ini); + my @no_index = qw(eg share shares t xt); + my @allow_dirty = (@copy_from_build, qw(.travis.yml Changes LICENSE README.md)); + my @git_remotes = qw(github origin); + my @check_files = qw(:InstallModules :ExecFiles :TestFiles :ExtraTestFiles); + my $perl_version_target = '5.10.1'; + my $perl_version = '5.24 5.22 5.20 5.18 5.16 5.14'; + my $perl_version_build = $perl_version . ' 5.12 5.10 -5.8'; + if ($self->no_upload) { - print '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***', "\n"; + say '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***'; } - my @copy_from_build = qw(LICENSE); - my @network_plugins = qw(Git::Push Test::Pod::No404s UploadToCPAN); - my @gather_exclude = (@copy_from_build, qw(README.md)); - my @gather_prune = qw(dist.ini); - my @no_index = qw(eg share shares t xt); - my @allow_dirty = (@copy_from_build, qw(.travis.yml Changes LICENSE README.md)); - my @git_remotes = qw(github origin); - my @check_files = qw(:InstallModules :ExecFiles :TestFiles :ExtraTestFiles); - my @plugins = ( # VERSION @@ -91,6 +95,7 @@ sub configure { ['PodSyntaxTests'], ['Test::Pod::No404s'], ['Test::Compile'], + ['Test::MinimumVersion' => {max_target_perl => $perl_version_target}], ['Test::EOL' => {finder => [@check_files]}], ['Test::NoTabs' => {finder => [@check_files]}], ['Test::Perl::Critic'], @@ -116,7 +121,7 @@ sub configure { ['License'], ['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown', phase => 'release'}], ['ReadmeAnyFromPod' => 'dist readme' => {filename => 'README', location => 'build', type => 'text'}], - ['TravisYML'], + ['TravisYML' => {build_branch => '/^(dist|build\/.*)$/', perl_version => $perl_version, perl_version_build => $perl_version_build}], ['Manifest'], ['ManifestSkip'], @@ -167,7 +172,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built =head1 VERSION -version 0.003 +version 0.004 =head1 SYNOPSIS @@ -208,6 +213,8 @@ You probably don't want to use this. [PodSyntaxTests] [Test::Pod::No404s] [Test::Compile] + [Test::MinimumVersion] + max_target_perl = 5.10.1 [Test::EOL] [Test::NoTabs] [Test::Perl::Critic] @@ -250,6 +257,7 @@ You probably don't want to use this. location = build type = text [TravisYML] + build_branch = /^(dist|build\/.*)$/ [Manifest] [ManifestSkip] diff --git a/lib/Pod/Weaver/PluginBundle/Author/CCM.pm b/lib/Pod/Weaver/PluginBundle/Author/CCM.pm index dd4c2c5..edc4ead 100644 --- a/lib/Pod/Weaver/PluginBundle/Author/CCM.pm +++ b/lib/Pod/Weaver/PluginBundle/Author/CCM.pm @@ -2,10 +2,11 @@ package Pod::Weaver::PluginBundle::Author::CCM; # ABSTRACT: A plugin bundle for pod woven by CCM +use 5.008; use warnings; use strict; -our $VERSION = '0.003'; # VERSION +our $VERSION = '0.004'; # VERSION use Pod::Weaver::Config::Assembler; use namespace::autoclean; @@ -104,7 +105,7 @@ Pod::Weaver::PluginBundle::Author::CCM - A plugin bundle for pod woven by CCM =head1 VERSION -version 0.003 +version 0.004 =head1 SYNOPSIS diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index ce85a67..18b02c3 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -16,6 +16,7 @@ do { my $x = { 'Test::CPAN::Meta' => '0', 'Test::CleanNamespaces' => '0.15', 'Test::EOL' => '0', + 'Test::MinimumVersion' => '0', 'Test::More' => '0.96', 'Test::NoTabs' => '0', 'Test::Pod' => '1.41', @@ -71,6 +72,7 @@ do { my $x = { 'Dist::Zilla::Plugin::Test::CleanNamespaces' => '0', 'Dist::Zilla::Plugin::Test::Compile' => '0', 'Dist::Zilla::Plugin::Test::EOL' => '0', + 'Dist::Zilla::Plugin::Test::MinimumVersion' => '0', 'Dist::Zilla::Plugin::Test::NoTabs' => '0', 'Dist::Zilla::Plugin::Test::Perl::Critic' => '0', 'Dist::Zilla::Plugin::Test::Pod::No404s' => '0', @@ -102,6 +104,7 @@ do { my $x = { 'Pod::Weaver::Section::Version' => '0', 'Test::CPAN::Meta' => '0', 'namespace::autoclean' => '0', + 'perl' => '5.014', 'strict' => '0', 'warnings' => '0' } @@ -116,8 +119,7 @@ do { my $x = { 'IO::Handle' => '0', 'IPC::Open3' => '0', 'Test::More' => '0', - 'blib' => '1.01', - 'perl' => '5.006' + 'blib' => '1.01' } } }; diff --git a/xt/author/eol.t b/xt/author/eol.t index fc70079..585faf1 100644 --- a/xt/author/eol.t +++ b/xt/author/eol.t @@ -22,7 +22,8 @@ my @files = ( 'xt/author/pod-syntax.t', 'xt/author/portability.t', 'xt/release/cpan-changes.t', - 'xt/release/distmeta.t' + 'xt/release/distmeta.t', + 'xt/release/minimum-version.t' ); eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; diff --git a/xt/author/no-tabs.t b/xt/author/no-tabs.t index aec7153..e76ce83 100644 --- a/xt/author/no-tabs.t +++ b/xt/author/no-tabs.t @@ -22,7 +22,8 @@ my @files = ( 'xt/author/pod-syntax.t', 'xt/author/portability.t', 'xt/release/cpan-changes.t', - 'xt/release/distmeta.t' + 'xt/release/distmeta.t', + 'xt/release/minimum-version.t' ); notabs_ok($_) foreach @files; diff --git a/xt/release/minimum-version.t b/xt/release/minimum-version.t new file mode 100644 index 0000000..24bd4de --- /dev/null +++ b/xt/release/minimum-version.t @@ -0,0 +1,8 @@ +#!perl + +use Test::More; + +eval "use Test::MinimumVersion"; +plan skip_all => "Test::MinimumVersion required for testing minimum versions" + if $@; +all_minimum_version_ok( qq{5.14.0} );