From b1006ace4c1ae06e4ccfed99a380f8d909e5db8f Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Mon, 28 Nov 2016 02:08:20 -0700 Subject: [PATCH] Version 0.006 --- Changes | 4 ++++ META.json | 6 +++--- META.yml | 6 +++--- Makefile.PL | 2 +- README | 2 +- lib/Dist/Zilla/PluginBundle/Author/CCM.pm | 25 +++++++++++++++++++++-- lib/Pod/Weaver/PluginBundle/Author/CCM.pm | 4 ++-- 7 files changed, 37 insertions(+), 12 deletions(-) diff --git a/Changes b/Changes index ac1e9f7..dbee4f7 100644 --- 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) diff --git a/META.json b/META.json index 03c91f2..0e7b6b0 100644 --- a/META.json +++ b/META.json @@ -160,11 +160,11 @@ "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", @@ -179,7 +179,7 @@ "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" } diff --git a/META.yml b/META.yml index 4546ec9..39598ec 100644 --- 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' diff --git a/Makefile.PL b/Makefile.PL index 515efc0..1db97e6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 17d7cf6..00a0d94 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ NAME VERSION - version 0.005 + version 0.006 SYNOPSIS diff --git a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm index b58965e..65eb1a3 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.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 diff --git a/lib/Pod/Weaver/PluginBundle/Author/CCM.pm b/lib/Pod/Weaver/PluginBundle/Author/CCM.pm index dba44d5..1a8459e 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.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 -- 2.44.0