]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
Version 0.009
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 23 Nov 2018 05:46:54 +0000 (22:46 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 23 Nov 2018 05:46:54 +0000 (22:46 -0700)
17 files changed:
.travis.yml [deleted file]
Changes
MANIFEST
META.json
META.yml
Makefile.PL
README
lib/Dist/Zilla/PluginBundle/Author/CCM.pm
lib/Pod/Weaver/PluginBundle/Author/CCM.pm
t/00-compile.t
t/00-report-prereqs.dd
t/00-report-prereqs.t
xt/author/critic.t
xt/author/eol.t
xt/author/minimum-version.t [new file with mode: 0644]
xt/author/no-tabs.t
xt/release/minimum-version.t [deleted file]

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index 68c32c5..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-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  .
diff --git a/Changes b/Changes
index e705cf850c369779fbd9f3f9dc4cbf6a67e0e00e..892750bdf1e41259ee5ef586e8a42dc4262bec73 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 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
index 67c2e0e0969fe052538b8bbfd7eafd523af4206e..1c61b112a4462c836de90f16aad4a0f0f2e5a989 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,5 +1,4 @@
-# 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
@@ -16,6 +15,7 @@ t/01-basic.t
 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
@@ -23,4 +23,3 @@ xt/author/pod-syntax.t
 xt/author/portability.t
 xt/release/cpan-changes.t
 xt/release/distmeta.t
-xt/release/minimum-version.t
index 9eaa6d38b0347b0a04268b16acffeb7613a384a9..d0371a1defe1e6d7ba4569dbd546f59d29cf9fd2 100644 (file)
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "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",
@@ -41,7 +41,6 @@
             "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",
@@ -51,6 +50,7 @@
             "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"
 }
 
index 5197d1f6a885d5f1bb3631a7fd6c8b4a84a2795a..9a1faf3d0b25dda938a525fd0ad48d467e1be28b 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -8,11 +8,10 @@ build_requires:
   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
@@ -34,10 +33,10 @@ no_index:
 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'
@@ -79,7 +78,6 @@ requires:
   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'
@@ -92,7 +90,6 @@ requires:
   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'
@@ -125,6 +122,7 @@ 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.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'
index 008511360a27e663ea9e4b0975a963e069530da4..e188eac850643ed2e866edaff9a171862d64f688 100644 (file)
@@ -1,4 +1,4 @@
-# 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;
 
@@ -54,7 +54,6 @@ my %WriteMakefileArgs = (
     "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,
@@ -67,7 +66,6 @@ my %WriteMakefileArgs = (
     "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,
@@ -101,10 +99,9 @@ my %WriteMakefileArgs = (
     "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"
   }
@@ -149,7 +146,6 @@ my %FallbackPrereqs = (
   "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,
@@ -162,7 +158,6 @@ my %FallbackPrereqs = (
   "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,
@@ -192,7 +187,6 @@ my %FallbackPrereqs = (
   "Pod::Weaver::Section::Version" => 0,
   "Test::CPAN::Meta" => 0,
   "Test::More" => 0,
-  "blib" => "1.01",
   "namespace::autoclean" => 0,
   "strict" => 0,
   "warnings" => 0
diff --git a/README b/README
index 04046fc05be3e0b43e044e3deb766539a80c26eb..a79958f4419d5ef0cf499866f976ddc2e6068950 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ NAME
 
 VERSION
 
-    version 0.008001
+    version 0.009
 
 SYNOPSIS
 
@@ -18,8 +18,6 @@ DESCRIPTION
 
         ; VERSION
         [Git::NextVersion]
-        [ReversionOnRelease]
-        prompt              = 1
     
         ; GATHER
         [Git::GatherDir]
@@ -88,8 +86,6 @@ DESCRIPTION
         filename            = README
         location            = build
         type                = text
-        [TravisYML]
-        build_branch        = /^(dist|build\/.*)$/
         [Manifest]
         [ManifestSkip]
     
index 806a6e1c9c0ec5d3145aa8b6bec474ac74a0c0c7..9fab751464ad47bb74ef5688b1ad530a03c578db 100644 (file)
@@ -7,7 +7,7 @@ use 5.014;
 use warnings;
 use strict;
 
-our $VERSION = '0.008001'; # VERSION
+our $VERSION = '0.009'; # VERSION
 
 use Dist::Zilla::Util;
 use Moose;
@@ -69,42 +69,19 @@ sub configure {
     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]}],
@@ -152,7 +129,6 @@ sub configure {
         ['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'],
 
@@ -185,29 +161,6 @@ sub configure {
     $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';
@@ -227,7 +180,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built
 
 =head1 VERSION
 
-version 0.008001
+version 0.009
 
 =head1 SYNOPSIS
 
@@ -240,8 +193,6 @@ You probably don't want to use this.
 
     ; VERSION
     [Git::NextVersion]
-    [ReversionOnRelease]
-    prompt              = 1
 
     ; GATHER
     [Git::GatherDir]
@@ -310,8 +261,6 @@ You probably don't want to use this.
     filename            = README
     location            = build
     type                = text
-    [TravisYML]
-    build_branch        = /^(dist|build\/.*)$/
     [Manifest]
     [ManifestSkip]
 
index 69a31367d7b7ad75e1110f2969a2886d0b914fcb..e355c61400d1dadd430144cd0821af2c9d08afd4 100644 (file)
@@ -6,7 +6,7 @@ use 5.008;
 use warnings;
 use strict;
 
-our $VERSION = '0.008001'; # VERSION
+our $VERSION = '0.009'; # 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.008001
+version 0.009
 
 =head1 SYNOPSIS
 
index 52055325068b88f3d96f104beefa2db864027a47..19fc8e9be3391fd02007aa84636457319fb0f168 100644 (file)
@@ -2,7 +2,7 @@ use 5.006;
 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;
 
@@ -44,7 +44,7 @@ for my $lib (@module_files)
     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)
     {
index 711e466f3b215118ea4448aa6c2634df85e8e5e7..a1d4e4d818809f9b7e24d98d1f00f9eded894a83 100644 (file)
@@ -10,7 +10,6 @@ do { my $x = {
                                       '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',
@@ -20,6 +19,7 @@ do { my $x = {
                                       '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',
@@ -69,7 +69,6 @@ do { my $x = {
                                       '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',
@@ -82,7 +81,6 @@ do { my $x = {
                                       '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',
@@ -122,8 +120,7 @@ do { my $x = {
                                    'File::Spec' => '0',
                                    'IO::Handle' => '0',
                                    'IPC::Open3' => '0',
-                                   'Test::More' => '0',
-                                   'blib' => '1.01'
+                                   'Test::More' => '0'
                                  }
                  }
      };
index e338372ff6d5e48f6b4d012d807abb4614c79161..c72183a1bebf16b344dc1a660fee5207cee16e05 100644 (file)
@@ -3,7 +3,7 @@
 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;
 
@@ -68,7 +68,7 @@ my @exclude = qw(
 );
 
 # 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(
@@ -78,12 +78,14 @@ 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';
 }
 
@@ -169,10 +171,18 @@ if ( @full_reports ) {
     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"
     );
index d5b4c96b1267b25d84c8105126e044055b72d919..80ccdad3ee8f68f6a41342b41973ce13efe506d9 100644 (file)
@@ -3,10 +3,5 @@
 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();
index 585faf1b4281498717dbcbc8684ae159ce33b18b..e0960ee4a7dbb2e12ada889ee845484f42a5ea5b 100644 (file)
@@ -16,14 +16,14 @@ my @files = (
     '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;
diff --git a/xt/author/minimum-version.t b/xt/author/minimum-version.t
new file mode 100644 (file)
index 0000000..2b484b2
--- /dev/null
@@ -0,0 +1,6 @@
+#!perl
+
+use Test::More;
+
+use Test::MinimumVersion;
+all_minimum_version_ok( qq{5.14.0} );
index e76ce83709d2d0d2b32212821caa71aee2243466..41ea6ff9bf9f49a2d94c4837a0507a1930c45edc 100644 (file)
@@ -16,14 +16,14 @@ my @files = (
     '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;
diff --git a/xt/release/minimum-version.t b/xt/release/minimum-version.t
deleted file mode 100644 (file)
index 24bd4de..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!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.058486 seconds and 4 git commands to generate.