]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
Version 0.006
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Mon, 28 Nov 2016 09:08:20 +0000 (02:08 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Mon, 28 Nov 2016 09:08:20 +0000 (02:08 -0700)
Changes
META.json
META.yml
Makefile.PL
README
lib/Dist/Zilla/PluginBundle/Author/CCM.pm
lib/Pod/Weaver/PluginBundle/Author/CCM.pm

diff --git a/Changes b/Changes
index ac1e9f72f5787fa16a4a0580e7dfe3759ad29069..dbee4f7602c917b7dc0b148f688074733b8044e5 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Dist-Zilla-PluginBundle-Author-CCM.
 
+0.006     2016-11-28 02:08:07-07:00 MST7MDT
+
+  * Work around a bug in DZP::TravisYML
+
 0.005     2016-11-27 19:52:27-07:00 MST7MDT
 
   * Move dependencies from cpanfile to dist.ini (fixes testing)
index 03c91f2cccab3ee6b278ff98f867b918da9618fc..0e7b6b022cdb8f6c02c4abde033904eac4f9e640 100644 (file)
--- a/META.json
+++ b/META.json
    "provides" : {
       "Dist::Zilla::PluginBundle::Author::CCM" : {
          "file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm",
-         "version" : "0.005"
+         "version" : "0.006"
       },
       "Pod::Weaver::PluginBundle::Author::CCM" : {
          "file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm",
-         "version" : "0.005"
+         "version" : "0.006"
       }
    },
    "release_status" : "stable",
          "web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM"
       }
    },
-   "version" : "0.005",
+   "version" : "0.006",
    "x_authority" : "cpan:CCM",
    "x_serialization_backend" : "Cpanel::JSON::XS version 3.0224"
 }
index 4546ec9a70a2068916a3391fe5075da0c9241818..39598ec907256f8487cf22f43f7251035897b03a 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -34,10 +34,10 @@ no_index:
 provides:
   Dist::Zilla::PluginBundle::Author::CCM:
     file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm
-    version: '0.005'
+    version: '0.006'
   Pod::Weaver::PluginBundle::Author::CCM:
     file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm
-    version: '0.005'
+    version: '0.006'
 recommends:
   Dist::Zilla::Plugin::FakeRelease: '0'
   Dist::Zilla::Plugin::Prereqs::FromCPANfile: '0'
@@ -124,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.005'
+version: '0.006'
 x_authority: cpan:CCM
 x_serialization_backend: 'YAML::Tiny version 1.69'
index 515efc009f7d7fddeaa6d0bc125de2c82691c233..1db97e6e305e9efc58337522de57791bd72de117 100644 (file)
@@ -103,7 +103,7 @@ my %WriteMakefileArgs = (
     "Test::More" => 0,
     "blib" => "1.01"
   },
-  "VERSION" => "0.005",
+  "VERSION" => "0.006",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff --git a/README b/README
index 17d7cf6664de5d8de40d443241a693cfaec1ac8a..00a0d948044356624a110ca20fd162449eedf2df 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ NAME
 
 VERSION
 
-    version 0.005
+    version 0.006
 
 SYNOPSIS
 
index b58965e0c238c2d04485da8af8d27ffcb33dadfc..65eb1a337fc5283b3df3d63aa70f534c4bc91ce7 100644 (file)
@@ -7,7 +7,7 @@ use 5.014;
 use warnings;
 use strict;
 
-our $VERSION = '0.005'; # VERSION
+our $VERSION = '0.006'; # VERSION
 
 use Dist::Zilla::Util;
 use Moose;
@@ -68,6 +68,27 @@ sub configure {
         say '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***';
     }
 
+    if (!$self->payload->{'TravisYML.support_builddir'}) {
+        # swap perl_version and perl_version_build because DZP::TravisYML got it backwards!
+        # https://github.com/SineSwiper/Dist-Zilla-TravisCI/pull/40
+
+        my $tmp = $self->payload->{'TravisYML.perl_version_build'};
+        if (defined $self->payload->{'TravisYML.perl_version'}) {
+            $self->payload->{'TravisYML.perl_version_build'} = $self->payload->{'TravisYML.perl_version'}
+        }
+        else {
+            delete $self->payload->{'TravisYML.perl_version_build'};
+        }
+        if (defined $tmp) {
+            $self->payload->{'TravisYML.perl_version'} = $tmp;
+        }
+        else {
+            delete $self->payload->{'TravisYML.perl_version'};
+        }
+
+        ($perl_version, $perl_version_build) = ($perl_version_build, $perl_version);
+    }
+
     my @plugins = (
 
         # VERSION
@@ -172,7 +193,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built
 
 =head1 VERSION
 
-version 0.005
+version 0.006
 
 =head1 SYNOPSIS
 
index dba44d5d75c2330086849bce7b33177331014e66..1a8459e90ef74bcd63e62cfdb5aedcc531cd2ed5 100644 (file)
@@ -6,7 +6,7 @@ use 5.008;
 use warnings;
 use strict;
 
-our $VERSION = '0.005'; # VERSION
+our $VERSION = '0.006'; # 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.005
+version 0.006
 
 =head1 SYNOPSIS
 
This page took 0.032973 seconds and 4 git commands to generate.