]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
Version 0.004
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Mon, 28 Nov 2016 01:29:02 +0000 (18:29 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Mon, 28 Nov 2016 01:29:02 +0000 (18:29 -0700)
14 files changed:
.travis.yml
Changes
MANIFEST
META.json
META.yml
Makefile.PL
README
cpanfile
lib/Dist/Zilla/PluginBundle/Author/CCM.pm
lib/Pod/Weaver/PluginBundle/Author/CCM.pm
t/00-report-prereqs.dd
xt/author/eol.t
xt/author/no-tabs.t
xt/release/minimum-version.t [new file with mode: 0644]

index 274d978acc81cdcb0dfaa319f2bf8d244c5a5535..68c32c5dcda95c5eebd85f04332f59b8decd92ac 100644 (file)
@@ -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 310549deb0cc4ca30451b013562a7c769cd86a51..e853255d1d3353be16ddce79e80b3268c218ee04 100644 (file)
--- 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
index 607e709393910d8930cdd13b3328ab54fe3b4147..768d9f471b3404f246e54e5c2370712138b2c7e5 100644 (file)
--- 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
index bb309428a8ac9838335ca1a63a4e801396b5ff49..9625eac9ff7c2418276aef0835184a74435b03ec 100644 (file)
--- 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",
             "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",
             "Pod::Weaver::Section::Version" : "0",
             "Test::CPAN::Meta" : "0",
             "namespace::autoclean" : "0",
+            "perl" : "5.014",
             "strict" : "0",
             "warnings" : "0"
          }
             "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",
          "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"
 }
index 7737f1e92636924c94a397e24693d02880d8fcee..c597f0357416ddd7621048be2c4ad349c3919319 100644 (file)
--- 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'
index be7dcd2a17afaf6c5dbab530ba130c1b5c4e3556..807ac30580c4a41cb7456273a959e6fd0d895712 100644 (file)
@@ -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 4a358ad94df1d7d45f5834818550904bebed1ffd..6bda323151683aff139a1c2cdada9a9f82092b85 100644 (file)
--- 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]
     
index 07d58664701d5699ecfc18a07674051809555175..4f58fc0abf69b42c638f6bd80bec7722a20a0f36 100644 (file)
--- 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';
index 206eb8361af6f75acbd4c46bda3a565c71ea8616..2941a46a1a1d2ba980ad00e6c4a28bf24a987e67 100644 (file)
@@ -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]
 
index dd4c2c5c40e65719119744524e6f83720611ff52..edc4ead5e860460fb3c213b9fa47a964ce93fbef 100644 (file)
@@ -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
 
index ce85a6735479b2ffa80d35b0019fb579a1510b13..18b02c3b610147453756cb8a7eec12cc1b4eefd9 100644 (file)
@@ -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'
                                  }
                  }
      };
index fc7007952010e277ce966b4a61a30394528451e8..585faf1b4281498717dbcbc8684ae159ce33b18b 100644 (file)
@@ -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;
index aec71538c5bbce568383a9aad5d545941c644256..e76ce83709d2d0d2b32212821caa71aee2243466 100644 (file)
@@ -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 (file)
index 0000000..24bd4de
--- /dev/null
@@ -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} );
This page took 0.040264 seconds and 4 git commands to generate.