+++ /dev/null
-sudo: false
-language: perl
-perl:
- - '5.24'
- - '5.22'
- - '5.20'
- - '5.18'
- - '5.16'
- - '5.14'
-matrix:
- fast_finish: true
-branches:
- only: /^(dist|build\/.*)$/
-before_install:
- - rm .travis.yml
- - export AUTHOR_TESTING=0
-install:
- - cpanm --installdeps --verbose .
Revision history for Dist-Zilla-PluginBundle-Author-CCM.
+0.009 2018-11-22 22:46:42-07:00 MST7MDT
+
+ * Remove use of DZP::TravisYML and DZP::ReversionOnRelease
+
0.008001 2017-08-25 22:00:56-06:00 MST7MDT
* Declare new dependency on Perl::Version
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010.
-.travis.yml
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
Changes
LICENSE
MANIFEST
xt/author/clean-namespaces.t
xt/author/critic.t
xt/author/eol.t
+xt/author/minimum-version.t
xt/author/no-tabs.t
xt/author/pod-coverage.t
xt/author/pod-no404s.t
xt/author/portability.t
xt/release/cpan-changes.t
xt/release/distmeta.t
-xt/release/minimum-version.t
"Charles McGarvey <chazmcgarvey@brokenzipper.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
"keywords" : [
"dzil",
"author",
"Dist::Zilla::Plugin::Bootstrap::lib" : "0",
"Dist::Zilla::Plugin::Prereqs" : "0",
"Dist::Zilla::PluginBundle::Author::CCM" : "0",
- "English" : "0",
"Pod::Coverage::TrustPod" : "0",
"Software::License::Perl_5" : "0",
"Test::CPAN::Changes" : "0.19",
"Test::MinimumVersion" : "0",
"Test::More" : "0.96",
"Test::NoTabs" : "0",
+ "Test::Perl::Critic" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08",
"Test::Pod::No404s" : "0",
"Dist::Zilla::Plugin::PruneCruft" : "0",
"Dist::Zilla::Plugin::PruneFiles" : "0",
"Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0",
- "Dist::Zilla::Plugin::ReversionOnRelease" : "0",
"Dist::Zilla::Plugin::RunExtraTests" : "0",
"Dist::Zilla::Plugin::Test::CPAN::Changes" : "0",
"Dist::Zilla::Plugin::Test::CleanNamespaces" : "0",
"Dist::Zilla::Plugin::Test::Portability" : "0",
"Dist::Zilla::Plugin::Test::ReportPrereqs" : "0",
"Dist::Zilla::Plugin::TestRelease" : "0",
- "Dist::Zilla::Plugin::TravisYML" : "0",
"Dist::Zilla::Plugin::UploadToCPAN" : "0",
"Dist::Zilla::Role::PluginBundle::Config::Slicer" : "0",
"Dist::Zilla::Role::PluginBundle::Easy" : "0",
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
- "Test::More" : "0",
- "blib" : "1.01"
+ "Test::More" : "0"
}
}
},
"provides" : {
"Dist::Zilla::PluginBundle::Author::CCM" : {
"file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm",
- "version" : "0.008001"
+ "version" : "0.009"
},
"Pod::Weaver::PluginBundle::Author::CCM" : {
"file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm",
- "version" : "0.008001"
+ "version" : "0.009"
}
},
"release_status" : "stable",
"web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM"
}
},
- "version" : "0.008001",
+ "version" : "0.009",
"x_authority" : "cpan:CCM",
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225"
+ "x_generated_by_perl" : "v5.28.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.07"
}
IO::Handle: '0'
IPC::Open3: '0'
Test::More: '0'
- blib: '1.01'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
keywords:
- dzil
- author
provides:
Dist::Zilla::PluginBundle::Author::CCM:
file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm
- version: '0.008001'
+ version: '0.009'
Pod::Weaver::PluginBundle::Author::CCM:
file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm
- version: '0.008001'
+ version: '0.009'
recommends:
Dist::Zilla::Plugin::FakeRelease: '0'
Dist::Zilla::Plugin::Prereqs::FromCPANfile: '0'
Dist::Zilla::Plugin::PruneCruft: '0'
Dist::Zilla::Plugin::PruneFiles: '0'
Dist::Zilla::Plugin::ReadmeAnyFromPod: '0'
- Dist::Zilla::Plugin::ReversionOnRelease: '0'
Dist::Zilla::Plugin::RunExtraTests: '0'
Dist::Zilla::Plugin::Test::CPAN::Changes: '0'
Dist::Zilla::Plugin::Test::CleanNamespaces: '0'
Dist::Zilla::Plugin::Test::Portability: '0'
Dist::Zilla::Plugin::Test::ReportPrereqs: '0'
Dist::Zilla::Plugin::TestRelease: '0'
- Dist::Zilla::Plugin::TravisYML: '0'
Dist::Zilla::Plugin::UploadToCPAN: '0'
Dist::Zilla::Role::PluginBundle::Config::Slicer: '0'
Dist::Zilla::Role::PluginBundle::Easy: '0'
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.008001'
+version: '0.009'
x_authority: cpan:CCM
-x_serialization_backend: 'YAML::Tiny version 1.70'
+x_generated_by_perl: v5.28.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
use strict;
use warnings;
"Dist::Zilla::Plugin::PruneCruft" => 0,
"Dist::Zilla::Plugin::PruneFiles" => 0,
"Dist::Zilla::Plugin::ReadmeAnyFromPod" => 0,
- "Dist::Zilla::Plugin::ReversionOnRelease" => 0,
"Dist::Zilla::Plugin::RunExtraTests" => 0,
"Dist::Zilla::Plugin::Test::CPAN::Changes" => 0,
"Dist::Zilla::Plugin::Test::CleanNamespaces" => 0,
"Dist::Zilla::Plugin::Test::Portability" => 0,
"Dist::Zilla::Plugin::Test::ReportPrereqs" => 0,
"Dist::Zilla::Plugin::TestRelease" => 0,
- "Dist::Zilla::Plugin::TravisYML" => 0,
"Dist::Zilla::Plugin::UploadToCPAN" => 0,
"Dist::Zilla::Role::PluginBundle::Config::Slicer" => 0,
"Dist::Zilla::Role::PluginBundle::Easy" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
- "Test::More" => 0,
- "blib" => "1.01"
+ "Test::More" => 0
},
- "VERSION" => "0.008001",
+ "VERSION" => "0.009",
"test" => {
"TESTS" => "t/*.t"
}
"Dist::Zilla::Plugin::PruneCruft" => 0,
"Dist::Zilla::Plugin::PruneFiles" => 0,
"Dist::Zilla::Plugin::ReadmeAnyFromPod" => 0,
- "Dist::Zilla::Plugin::ReversionOnRelease" => 0,
"Dist::Zilla::Plugin::RunExtraTests" => 0,
"Dist::Zilla::Plugin::Test::CPAN::Changes" => 0,
"Dist::Zilla::Plugin::Test::CleanNamespaces" => 0,
"Dist::Zilla::Plugin::Test::Portability" => 0,
"Dist::Zilla::Plugin::Test::ReportPrereqs" => 0,
"Dist::Zilla::Plugin::TestRelease" => 0,
- "Dist::Zilla::Plugin::TravisYML" => 0,
"Dist::Zilla::Plugin::UploadToCPAN" => 0,
"Dist::Zilla::Role::PluginBundle::Config::Slicer" => 0,
"Dist::Zilla::Role::PluginBundle::Easy" => 0,
"Pod::Weaver::Section::Version" => 0,
"Test::CPAN::Meta" => 0,
"Test::More" => 0,
- "blib" => "1.01",
"namespace::autoclean" => 0,
"strict" => 0,
"warnings" => 0
VERSION
- version 0.008001
+ version 0.009
SYNOPSIS
; VERSION
[Git::NextVersion]
- [ReversionOnRelease]
- prompt = 1
; GATHER
[Git::GatherDir]
filename = README
location = build
type = text
- [TravisYML]
- build_branch = /^(dist|build\/.*)$/
[Manifest]
[ManifestSkip]
use warnings;
use strict;
-our $VERSION = '0.008001'; # VERSION
+our $VERSION = '0.009'; # VERSION
use Dist::Zilla::Util;
use Moose;
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 @allow_dirty = (@copy_from_build, qw(Changes LICENSE README.md));
my @git_remotes = qw(github origin);
my @check_files = qw(:InstallModules :ExecFiles :TestFiles :ExtraTestFiles);
my $perl_version_target = $self->max_target_perl;
- my ($perl_version, $perl_version_build) = $self->_travis_perl_versions($perl_version_target);
if ($self->no_upload) {
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
['Git::NextVersion'],
- ['ReversionOnRelease' => {prompt => 1}],
# GATHER
['Git::GatherDir' => {exclude_filename => [@gather_exclude]}],
['License'],
['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'],
$self->add_plugins(@plugins);
}
-sub _travis_perl_versions {
- my $self = shift;
-
- my $perl_version_target = Perl::Version->new(shift or die 'Missing target version');
- my $min_version = Perl::Version->new('5.14');
- my $min_version_build = Perl::Version->new($perl_version_target);
- $min_version_build->subversion(0);
-
- my @versions;
- my @versions_build;
-
- for my $v (qw{5.26 5.24 5.22 5.20 5.18 5.16 5.14 5.12 5.10 5.8}) {
- my $version = Perl::Version->new($v);
- push @versions, "$version" if $version >= $min_version_build && $version >= $min_version;
- push @versions_build, "$version" if $version >= $min_version_build;
- }
-
- my $perl_version = join(' ', @versions);
- my $perl_version_build = join(' ', @versions_build);
-
- return ($perl_version, $perl_version_build);
-}
-
with 'Dist::Zilla::Role::PluginBundle::Easy';
with 'Dist::Zilla::Role::PluginBundle::PluginRemover';
with 'Dist::Zilla::Role::PluginBundle::Config::Slicer';
=head1 VERSION
-version 0.008001
+version 0.009
=head1 SYNOPSIS
; VERSION
[Git::NextVersion]
- [ReversionOnRelease]
- prompt = 1
; GATHER
[Git::GatherDir]
filename = README
location = build
type = text
- [TravisYML]
- build_branch = /^(dist|build\/.*)$/
[Manifest]
[ManifestSkip]
use warnings;
use strict;
-our $VERSION = '0.008001'; # VERSION
+our $VERSION = '0.009'; # VERSION
use Pod::Weaver::Config::Assembler;
use namespace::autoclean;
=head1 VERSION
-version 0.008001
+version 0.009
=head1 SYNOPSIS
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use Test::More;
is($?, 0, "$lib loaded ok");
shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
- and not eval { require blib; blib->VERSION('1.01') };
+ and not eval { +require blib; blib->VERSION('1.01') };
if (@_warnings)
{
'Dist::Zilla::Plugin::Bootstrap::lib' => '0',
'Dist::Zilla::Plugin::Prereqs' => '0',
'Dist::Zilla::PluginBundle::Author::CCM' => '0',
- 'English' => '0',
'Pod::Coverage::TrustPod' => '0',
'Software::License::Perl_5' => '0',
'Test::CPAN::Changes' => '0.19',
'Test::MinimumVersion' => '0',
'Test::More' => '0.96',
'Test::NoTabs' => '0',
+ 'Test::Perl::Critic' => '0',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.08',
'Test::Pod::No404s' => '0',
'Dist::Zilla::Plugin::PruneCruft' => '0',
'Dist::Zilla::Plugin::PruneFiles' => '0',
'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0',
- 'Dist::Zilla::Plugin::ReversionOnRelease' => '0',
'Dist::Zilla::Plugin::RunExtraTests' => '0',
'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0',
'Dist::Zilla::Plugin::Test::CleanNamespaces' => '0',
'Dist::Zilla::Plugin::Test::Portability' => '0',
'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0',
'Dist::Zilla::Plugin::TestRelease' => '0',
- 'Dist::Zilla::Plugin::TravisYML' => '0',
'Dist::Zilla::Plugin::UploadToCPAN' => '0',
'Dist::Zilla::Role::PluginBundle::Config::Slicer' => '0',
'Dist::Zilla::Role::PluginBundle::Easy' => '0',
'File::Spec' => '0',
'IO::Handle' => '0',
'IPC::Open3' => '0',
- 'Test::More' => '0',
- 'blib' => '1.01'
+ 'Test::More' => '0'
}
}
};
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
use Test::More tests => 1;
);
# Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
# Merge all prereqs (either with ::Prereqs or a hashref)
my $full_prereqs = _merge_prereqs(
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+my $cpan_meta_error;
if ( $source && $HAS_CPAN_META
&& (my $meta = eval { CPAN::Meta->load_file($source) } )
) {
$full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
else {
+ $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
}
+if ( $cpan_meta_error || @dep_errors ) {
+ diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+ my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+ diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n";
+}
+
if ( @dep_errors ) {
diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
+ "\nThe following REQUIRED prerequisites were not satisfied:\n",
@dep_errors,
"\n"
);
use strict;
use warnings;
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
all_critic_ok();
'xt/author/clean-namespaces.t',
'xt/author/critic.t',
'xt/author/eol.t',
+ 'xt/author/minimum-version.t',
'xt/author/no-tabs.t',
'xt/author/pod-coverage.t',
'xt/author/pod-no404s.t',
'xt/author/pod-syntax.t',
'xt/author/portability.t',
'xt/release/cpan-changes.t',
- 'xt/release/distmeta.t',
- 'xt/release/minimum-version.t'
+ 'xt/release/distmeta.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
--- /dev/null
+#!perl
+
+use Test::More;
+
+use Test::MinimumVersion;
+all_minimum_version_ok( qq{5.14.0} );
'xt/author/clean-namespaces.t',
'xt/author/critic.t',
'xt/author/eol.t',
+ 'xt/author/minimum-version.t',
'xt/author/no-tabs.t',
'xt/author/pod-coverage.t',
'xt/author/pod-no404s.t',
'xt/author/pod-syntax.t',
'xt/author/portability.t',
'xt/release/cpan-changes.t',
- 'xt/release/distmeta.t',
- 'xt/release/minimum-version.t'
+ 'xt/release/distmeta.t'
);
notabs_ok($_) foreach @files;
+++ /dev/null
-#!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} );