]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
Version 0.002
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 26 Nov 2016 05:13:19 +0000 (22:13 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 26 Nov 2016 05:13:19 +0000 (22:13 -0700)
22 files changed:
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
t/author-no-tabs.t [deleted file]
t/release-distmeta.t [deleted file]
xt/author/clean-namespaces.t [moved from t/author-clean-namespaces.t with 64% similarity]
xt/author/critic.t [moved from t/author-critic.t with 68% similarity]
xt/author/eol.t [moved from t/author-eol.t with 50% similarity]
xt/author/no-tabs.t [new file with mode: 0644]
xt/author/pod-coverage.t [moved from t/author-pod-coverage.t with 62% similarity]
xt/author/pod-no404s.t [moved from t/author-pod-no404s.t with 72% similarity]
xt/author/pod-syntax.t [moved from t/author-pod-syntax.t with 56% similarity]
xt/author/portability.t [moved from t/author-portability.t with 58% similarity]
xt/release/cpan-changes.t [moved from t/release-cpan-changes.t with 62% similarity]
xt/release/distmeta.t [new file with mode: 0644]

diff --git a/Changes b/Changes
index 2fda8b52f4e17401b764c7de00b26f4db72a57cf..82b35ad37055c32c4e727aa3e280b65a1203cfb9 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,13 @@
 Revision history for Dist-Zilla-PluginBundle-Author-CCM.
 
+0.002     2016-11-25 22:12:27-07:00 MST7MDT
+
+  * Add DZIL_NO_UPLOAD to enable no_upload mode
+  * Only rewrite repo README on release
+  * Use RunExtraTests instead of ExtraTests
+  * Use Bootstrap::lib
+  * Require Dist::Zilla 5.038 (for :ExtraTestFiles)
+
 0.001     2016-11-25 18:28:13-07:00 MST7MDT
 
   * Initial version
index 4ff05e81ee1983cc0721ad75248ee0b4b75cfd1a..607e709393910d8930cdd13b3328ab54fe3b4147 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -14,13 +14,13 @@ t/00-compile.t
 t/00-report-prereqs.dd
 t/00-report-prereqs.t
 t/01-basic.t
-t/author-clean-namespaces.t
-t/author-critic.t
-t/author-eol.t
-t/author-no-tabs.t
-t/author-pod-coverage.t
-t/author-pod-no404s.t
-t/author-pod-syntax.t
-t/author-portability.t
-t/release-cpan-changes.t
-t/release-distmeta.t
+xt/author/clean-namespaces.t
+xt/author/critic.t
+xt/author/eol.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
index 699eaf78da57727782d411caa1cc6dbaf8f01753..ea2a3e6d9630d16e39bf4a0716d2ba7385f0da03 100644 (file)
--- a/META.json
+++ b/META.json
       "develop" : {
          "requires" : {
             "Dist::Zilla" : "5",
+            "Dist::Zilla::Plugin::Bootstrap::lib" : "0",
             "Dist::Zilla::PluginBundle::Author::CCM" : "0",
+            "English" : "0",
             "Pod::Coverage::TrustPod" : "0",
             "Software::License::Perl_5" : "0",
             "Test::CPAN::Changes" : "0.19",
             "Test::CPAN::Meta" : "0",
             "Test::CleanNamespaces" : "0.15",
             "Test::EOL" : "0",
-            "Test::More" : "0.88",
+            "Test::More" : "0.96",
             "Test::NoTabs" : "0",
             "Test::Pod" : "1.41",
             "Test::Pod::Coverage" : "1.08",
@@ -55,6 +57,7 @@
       },
       "runtime" : {
          "requires" : {
+            "Dist::Zilla" : "5.038",
             "Dist::Zilla::Plugin::Authority" : "0",
             "Dist::Zilla::Plugin::AutoPrereqs" : "0",
             "Dist::Zilla::Plugin::BlockRelease" : "0",
@@ -63,7 +66,6 @@
             "Dist::Zilla::Plugin::CopyFilesFromBuild" : "0",
             "Dist::Zilla::Plugin::Encoding" : "0",
             "Dist::Zilla::Plugin::ExecDir" : "0",
-            "Dist::Zilla::Plugin::ExtraTests" : "0",
             "Dist::Zilla::Plugin::FakeRelease" : "0",
             "Dist::Zilla::Plugin::Git::Check" : "0",
             "Dist::Zilla::Plugin::Git::Commit" : "0",
@@ -95,6 +97,7 @@
             "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::Compile" : "0",
    "provides" : {
       "Dist::Zilla::PluginBundle::Author::CCM" : {
          "file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm",
-         "version" : "0.001"
+         "version" : "0.002"
       },
       "Pod::Weaver::PluginBundle::Author::CCM" : {
          "file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm",
-         "version" : "0.001"
+         "version" : "0.002"
       }
    },
    "release_status" : "stable",
          "web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM"
       }
    },
-   "version" : "0.001",
+   "version" : "0.002",
    "x_authority" : "cpan:CCM",
    "x_serialization_backend" : "Cpanel::JSON::XS version 3.0224"
 }
index 7187bcf1cf345133764741152a8ce8ba16b31eaf..00f55f3206ff337cd6c404033b14ba8c24f81662 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -35,11 +35,12 @@ no_index:
 provides:
   Dist::Zilla::PluginBundle::Author::CCM:
     file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm
-    version: '0.001'
+    version: '0.002'
   Pod::Weaver::PluginBundle::Author::CCM:
     file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm
-    version: '0.001'
+    version: '0.002'
 requires:
+  Dist::Zilla: '5.038'
   Dist::Zilla::Plugin::Authority: '0'
   Dist::Zilla::Plugin::AutoPrereqs: '0'
   Dist::Zilla::Plugin::BlockRelease: '0'
@@ -48,7 +49,6 @@ requires:
   Dist::Zilla::Plugin::CopyFilesFromBuild: '0'
   Dist::Zilla::Plugin::Encoding: '0'
   Dist::Zilla::Plugin::ExecDir: '0'
-  Dist::Zilla::Plugin::ExtraTests: '0'
   Dist::Zilla::Plugin::FakeRelease: '0'
   Dist::Zilla::Plugin::Git::Check: '0'
   Dist::Zilla::Plugin::Git::Commit: '0'
@@ -80,6 +80,7 @@ requires:
   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::Compile: '0'
@@ -120,6 +121,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.001'
+version: '0.002'
 x_authority: cpan:CCM
 x_serialization_backend: 'YAML::Tiny version 1.69'
index 485fbd284b4960436829969476947eb1963378fc..4e001c5e5b6c03691d79732b665cfb41a09956f5 100644 (file)
@@ -17,6 +17,7 @@ my %WriteMakefileArgs = (
   "MIN_PERL_VERSION" => "5.006",
   "NAME" => "Dist::Zilla::PluginBundle::Author::CCM",
   "PREREQ_PM" => {
+    "Dist::Zilla" => "5.038",
     "Dist::Zilla::Plugin::Authority" => 0,
     "Dist::Zilla::Plugin::AutoPrereqs" => 0,
     "Dist::Zilla::Plugin::BlockRelease" => 0,
@@ -25,7 +26,6 @@ my %WriteMakefileArgs = (
     "Dist::Zilla::Plugin::CopyFilesFromBuild" => 0,
     "Dist::Zilla::Plugin::Encoding" => 0,
     "Dist::Zilla::Plugin::ExecDir" => 0,
-    "Dist::Zilla::Plugin::ExtraTests" => 0,
     "Dist::Zilla::Plugin::FakeRelease" => 0,
     "Dist::Zilla::Plugin::Git::Check" => 0,
     "Dist::Zilla::Plugin::Git::Commit" => 0,
@@ -57,6 +57,7 @@ my %WriteMakefileArgs = (
     "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::Compile" => 0,
@@ -102,7 +103,7 @@ my %WriteMakefileArgs = (
     "Test::More" => 0,
     "blib" => "1.01"
   },
-  "VERSION" => "0.001",
+  "VERSION" => "0.002",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -110,6 +111,7 @@ my %WriteMakefileArgs = (
 
 
 my %FallbackPrereqs = (
+  "Dist::Zilla" => "5.038",
   "Dist::Zilla::Plugin::Authority" => 0,
   "Dist::Zilla::Plugin::AutoPrereqs" => 0,
   "Dist::Zilla::Plugin::BlockRelease" => 0,
@@ -118,7 +120,6 @@ my %FallbackPrereqs = (
   "Dist::Zilla::Plugin::CopyFilesFromBuild" => 0,
   "Dist::Zilla::Plugin::Encoding" => 0,
   "Dist::Zilla::Plugin::ExecDir" => 0,
-  "Dist::Zilla::Plugin::ExtraTests" => 0,
   "Dist::Zilla::Plugin::FakeRelease" => 0,
   "Dist::Zilla::Plugin::Git::Check" => 0,
   "Dist::Zilla::Plugin::Git::Commit" => 0,
@@ -150,6 +151,7 @@ my %FallbackPrereqs = (
   "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::Compile" => 0,
diff --git a/README b/README
index 91eed14f592e32d718414e97c42c7faa02bf8e7c..5c5a8ced475904ba5a38dba5f1b1a9c94f8df724 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ NAME
 
 VERSION
 
-    version 0.001
+    version 0.002
 
 SYNOPSIS
 
@@ -22,9 +22,6 @@ DESCRIPTION
         [ReversionOnRelease]
         prompt              = 1
     
-        [ExecDir]
-        [ExtraTests]
-    
         ; GATHER
         [Git::GatherDir]
         exclude_filename    = LICENSE
@@ -35,6 +32,7 @@ DESCRIPTION
     
         [CopyFilesFromBuild]
         copy                = LICENSE
+        [ExecDir]
     
         ; PREREQS
         [AutoPrereqs]
@@ -84,6 +82,7 @@ DESCRIPTION
         filename            = README.md
         locaton             = root
         type                = markdown
+        phase               = release
         [ReadmeAnyFromPod]
         filename            = README
         location            = build
@@ -97,6 +96,7 @@ DESCRIPTION
         ; RELEASE
         [CheckChangesHasContent]
         [Git::Check]
+        [RunExtraTests]
         [TestRelease]
         [ConfirmRelease]
         [UploadToCPAN]              ; disable with the "no_upload" attribute
@@ -128,7 +128,7 @@ ATTRIBUTES
 
  no_upload
 
-    Do not upload to CPAN.
+    Do not upload to CPAN or git push.
 
 METHODS
 
index bde24ebe47790ebc23aeab65577e019305744e7c..ba07b62ac26a286f18d1996d3f9f2753fd57ffdd 100644 (file)
--- a/cpanfile
+++ b/cpanfile
@@ -2,6 +2,7 @@
 # requires 'Badge::Depot::Plugin::Perl';
 # requires 'Badge::Depot::Plugin::Travis';
 # requires 'Pod::Weaver::Section::Badges';
+requires 'Dist::Zilla', '5.038';
 requires 'Dist::Zilla::Plugin::Authority';
 requires 'Dist::Zilla::Plugin::AutoPrereqs';
 requires 'Dist::Zilla::Plugin::BlockRelease';
@@ -10,7 +11,6 @@ requires 'Dist::Zilla::Plugin::ConfirmRelease';
 requires 'Dist::Zilla::Plugin::CopyFilesFromBuild';
 requires 'Dist::Zilla::Plugin::Encoding';
 requires 'Dist::Zilla::Plugin::ExecDir';
-requires 'Dist::Zilla::Plugin::ExtraTests';
 requires 'Dist::Zilla::Plugin::FakeRelease';
 requires 'Dist::Zilla::Plugin::Git::Check';
 requires 'Dist::Zilla::Plugin::Git::Commit';
@@ -42,6 +42,7 @@ requires 'Dist::Zilla::Plugin::PruneCruft';
 requires 'Dist::Zilla::Plugin::PruneFiles';
 requires 'Dist::Zilla::Plugin::ReadmeAnyFromPod';
 requires 'Dist::Zilla::Plugin::ReversionOnRelease';
+requires 'Dist::Zilla::Plugin::RunExtraTests';
 requires 'Dist::Zilla::Plugin::Test::CPAN::Changes';
 requires 'Dist::Zilla::Plugin::Test::CleanNamespaces';
 requires 'Dist::Zilla::Plugin::Test::Compile';
index 3fc159ca2140900f4da91241fb316e7de08b9480..411f4ac9c5b9f07100f1de61d4af3487ccb64065 100644 (file)
@@ -6,7 +6,7 @@ package Dist::Zilla::PluginBundle::Author::CCM;
 use warnings;
 use strict;
 
-our $VERSION = '0.001'; # VERSION
+our $VERSION = '0.002'; # VERSION
 
 use Dist::Zilla::Util;
 use Moose;
@@ -33,13 +33,17 @@ has no_upload => (
     is      => 'ro',
     isa     => 'Bool',
     lazy    => 1,
-    default => 0,
+    default => sub { $ENV{DZIL_NO_UPLOAD} // shift->payload->{no_upload} // 0 },
 );
 
 
 sub configure {
     my $self = shift;
 
+    if ($self->no_upload) {
+        print '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***', "\n";
+    }
+
     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));
@@ -56,15 +60,13 @@ sub configure {
         ['NextRelease'],
         ['ReversionOnRelease' => {prompt => 1}],
 
-        ['ExecDir'],
-        ['ExtraTests'],
-
         # GATHER
         ['Git::GatherDir' => {exclude_filename  => [@gather_exclude]}],
         ['PruneCruft'],
         ['PruneFiles' => {filename => [@gather_prune]}],
 
         ['CopyFilesFromBuild' => {copy => [@copy_from_build]}],
+        ['ExecDir'],
 
         # PREREQS
         ['AutoPrereqs'],
@@ -101,7 +103,7 @@ sub configure {
 
         # GENERATE FILES
         ['License'],
-        ['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown'}],
+        ['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown', phase => 'release'}],
         ['ReadmeAnyFromPod' => 'dist readme' => {filename => 'README', location => 'build', type => 'text'}],
         ['TravisYML'],
         ['Manifest'],
@@ -112,13 +114,14 @@ sub configure {
         # RELEASE
         ['CheckChangesHasContent'],
         ['Git::Check' => {allow_dirty => [@allow_dirty], untracked_files => 'ignore'}],
+        ['RunExtraTests'],
         ['TestRelease'],
         # ['ConfirmRelease'],
         $self->no_upload ? ['FakeRelease'] : ['UploadToCPAN'],
         ['Git::Commit' => {allow_dirty => [@allow_dirty], commit_msg => 'Release %N %v%t%n%n%c'}],
         ['Git::CommitBuild' => {branch => '', release_branch => 'dist', release_message => 'Version %v%t'}],
         ['Git::Tag' => {tag_message => 'Version %v%t%n%n%c'}],
-        ['Git::Push' => {push_to => 'origin master +master:refs/heads/release +dist', remotes_must_exist => 0}],
+        $self->no_upload ? () : ['Git::Push' => {push_to => 'origin master +master:refs/heads/release +dist', remotes_must_exist => 0}],
 
     );
 
@@ -153,7 +156,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built
 
 =head1 VERSION
 
-version 0.001
+version 0.002
 
 =head1 SYNOPSIS
 
@@ -170,9 +173,6 @@ You probably don't want to use this.
     [ReversionOnRelease]
     prompt              = 1
 
-    [ExecDir]
-    [ExtraTests]
-
     ; GATHER
     [Git::GatherDir]
     exclude_filename    = LICENSE
@@ -183,6 +183,7 @@ You probably don't want to use this.
 
     [CopyFilesFromBuild]
     copy                = LICENSE
+    [ExecDir]
 
     ; PREREQS
     [AutoPrereqs]
@@ -232,6 +233,7 @@ You probably don't want to use this.
     filename            = README.md
     locaton             = root
     type                = markdown
+    phase               = release
     [ReadmeAnyFromPod]
     filename            = README
     location            = build
@@ -245,6 +247,7 @@ You probably don't want to use this.
     ; RELEASE
     [CheckChangesHasContent]
     [Git::Check]
+    [RunExtraTests]
     [TestRelease]
     [ConfirmRelease]
     [UploadToCPAN]              ; disable with the "no_upload" attribute
@@ -284,7 +287,7 @@ Disable plugins that use the network, and prevent releasing.
 
 =head2 no_upload
 
-Do not upload to CPAN.
+Do not upload to CPAN or git push.
 
 =head1 METHODS
 
index f7ccf73339027b326702cc70750a98fbaf82abd1..0b8d0029e1af58c7c96bbe22d305e7e54ba7bfcf 100644 (file)
@@ -5,7 +5,7 @@ package Pod::Weaver::PluginBundle::Author::CCM;
 use warnings;
 use strict;
 
-our $VERSION = '0.001'; # VERSION
+our $VERSION = '0.002'; # VERSION
 
 use Pod::Weaver::Config::Assembler;
 use namespace::autoclean;
@@ -104,7 +104,7 @@ Pod::Weaver::PluginBundle::Author::CCM - A plugin bundle for pod woven by CCM
 
 =head1 VERSION
 
-version 0.001
+version 0.002
 
 =head1 SYNOPSIS
 
index 687022ec3bbe5577c8ed73248e12fd8527ae4cba..887ad61f3946d3e2a67f0d9aa58d62036dba204d 100644 (file)
@@ -7,14 +7,16 @@ do { my $x = {
        'develop' => {
                       'requires' => {
                                       'Dist::Zilla' => '5',
+                                      'Dist::Zilla::Plugin::Bootstrap::lib' => '0',
                                       'Dist::Zilla::PluginBundle::Author::CCM' => '0',
+                                      'English' => '0',
                                       'Pod::Coverage::TrustPod' => '0',
                                       'Software::License::Perl_5' => '0',
                                       'Test::CPAN::Changes' => '0.19',
                                       'Test::CPAN::Meta' => '0',
                                       'Test::CleanNamespaces' => '0.15',
                                       'Test::EOL' => '0',
-                                      'Test::More' => '0.88',
+                                      'Test::More' => '0.96',
                                       'Test::NoTabs' => '0',
                                       'Test::Pod' => '1.41',
                                       'Test::Pod::Coverage' => '1.08',
@@ -24,6 +26,7 @@ do { my $x = {
                     },
        'runtime' => {
                       'requires' => {
+                                      'Dist::Zilla' => '5.038',
                                       'Dist::Zilla::Plugin::Authority' => '0',
                                       'Dist::Zilla::Plugin::AutoPrereqs' => '0',
                                       'Dist::Zilla::Plugin::BlockRelease' => '0',
@@ -32,7 +35,6 @@ do { my $x = {
                                       'Dist::Zilla::Plugin::CopyFilesFromBuild' => '0',
                                       'Dist::Zilla::Plugin::Encoding' => '0',
                                       'Dist::Zilla::Plugin::ExecDir' => '0',
-                                      'Dist::Zilla::Plugin::ExtraTests' => '0',
                                       'Dist::Zilla::Plugin::FakeRelease' => '0',
                                       'Dist::Zilla::Plugin::Git::Check' => '0',
                                       'Dist::Zilla::Plugin::Git::Commit' => '0',
@@ -64,6 +66,7 @@ do { my $x = {
                                       '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::Compile' => '0',
diff --git a/t/author-no-tabs.t b/t/author-no-tabs.t
deleted file mode 100644 (file)
index aad38ac..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.15
-
-use Test::More 0.88;
-use Test::NoTabs;
-
-my @files = (
-    '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',
-    't/01-basic.t',
-    't/author-clean-namespaces.t',
-    't/author-critic.t',
-    't/author-eol.t',
-    't/author-no-tabs.t',
-    't/author-pod-coverage.t',
-    't/author-pod-no404s.t',
-    't/author-pod-syntax.t',
-    't/author-portability.t',
-    't/release-cpan-changes.t',
-    't/release-distmeta.t'
-);
-
-notabs_ok($_) foreach @files;
-done_testing;
diff --git a/t/release-distmeta.t b/t/release-distmeta.t
deleted file mode 100644 (file)
index ff0d696..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!perl
-
-BEGIN {
-  unless ($ENV{RELEASE_TESTING}) {
-    print qq{1..0 # SKIP these tests are for release candidate testing\n};
-    exit
-  }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-
-use Test::CPAN::Meta;
-
-meta_yaml_ok();
similarity index 64%
rename from t/author-clean-namespaces.t
rename to xt/author/clean-namespaces.t
index a5531c3518bcbfef7275d03e10aa14677a0f5765..36387dab679be0080f44a7557adb610adc9c6a4f 100644 (file)
@@ -1,11 +1,3 @@
-
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
 use strict;
 use warnings;
 
similarity index 68%
rename from t/author-critic.t
rename to xt/author/critic.t
index 30b99d8f3c4b6f48c019091ecb2a51715930ba27..d5b4c96b1267b25d84c8105126e044055b72d919 100644 (file)
@@ -1,13 +1,5 @@
 #!perl
 
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
-
 use strict;
 use warnings;
 
similarity index 50%
rename from t/author-eol.t
rename to xt/author/eol.t
index 38c97657d0bcd379a812fb067536338bcf5fecc2..fc7007952010e277ce966b4a61a30394528451e8 100644 (file)
@@ -1,11 +1,3 @@
-
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
 use strict;
 use warnings;
 
@@ -21,16 +13,16 @@ my @files = (
     't/00-report-prereqs.dd',
     't/00-report-prereqs.t',
     't/01-basic.t',
-    't/author-clean-namespaces.t',
-    't/author-critic.t',
-    't/author-eol.t',
-    't/author-no-tabs.t',
-    't/author-pod-coverage.t',
-    't/author-pod-no404s.t',
-    't/author-pod-syntax.t',
-    't/author-portability.t',
-    't/release-cpan-changes.t',
-    't/release-distmeta.t'
+    'xt/author/clean-namespaces.t',
+    'xt/author/critic.t',
+    'xt/author/eol.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'
 );
 
 eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
diff --git a/xt/author/no-tabs.t b/xt/author/no-tabs.t
new file mode 100644 (file)
index 0000000..aec7153
--- /dev/null
@@ -0,0 +1,29 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.15
+
+use Test::More 0.88;
+use Test::NoTabs;
+
+my @files = (
+    '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',
+    't/01-basic.t',
+    'xt/author/clean-namespaces.t',
+    'xt/author/critic.t',
+    'xt/author/eol.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'
+);
+
+notabs_ok($_) foreach @files;
+done_testing;
similarity index 62%
rename from t/author-pod-coverage.t
rename to xt/author/pod-coverage.t
index 243340fd1cf16872582b21b8aa3ce0937b019cc1..66b3b6481c044f0d79b512ac976aa523143539f6 100644 (file)
@@ -1,12 +1,4 @@
 #!perl
-
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
 # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
 
 use Test::Pod::Coverage 1.08;
similarity index 72%
rename from t/author-pod-no404s.t
rename to xt/author/pod-no404s.t
index 74e653121b1c9da8b5739fbd46d2e34bd4a6d2b4..eb9760c2ecf2486b9c77d3898bff34c0efdf8d94 100644 (file)
@@ -1,13 +1,5 @@
 #!perl
 
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
-
 use strict;
 use warnings;
 use Test::More;
similarity index 56%
rename from t/author-pod-syntax.t
rename to xt/author/pod-syntax.t
index 2233af0821cc8be6d5430dbf4abc14bee39db2b2..e563e5d8ea4f229f09cb4a7f0aecf1e402cb01af 100644 (file)
@@ -1,12 +1,4 @@
 #!perl
-
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
 # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
 use strict; use warnings;
 use Test::More;
similarity index 58%
rename from t/author-portability.t
rename to xt/author/portability.t
index b6c314704440f211c63153fb7217e37900986e70..c531252253024b9c427cb7af6f66ee5c9618a75f 100644 (file)
@@ -1,11 +1,3 @@
-
-BEGIN {
-  unless ($ENV{AUTHOR_TESTING}) {
-    print qq{1..0 # SKIP these tests are for testing by the author\n};
-    exit
-  }
-}
-
 use strict;
 use warnings;
 
similarity index 62%
rename from t/release-cpan-changes.t
rename to xt/release/cpan-changes.t
index 08331d3e754555f70ad09b541bbd843aca84d7ec..286005a355a57081e86e4c260380dffd43cd0833 100644 (file)
@@ -1,11 +1,3 @@
-
-BEGIN {
-  unless ($ENV{RELEASE_TESTING}) {
-    print qq{1..0 # SKIP these tests are for release candidate testing\n};
-    exit
-  }
-}
-
 use strict;
 use warnings;
 
diff --git a/xt/release/distmeta.t b/xt/release/distmeta.t
new file mode 100644 (file)
index 0000000..c2280dc
--- /dev/null
@@ -0,0 +1,6 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
+
+use Test::CPAN::Meta;
+
+meta_yaml_ok();
This page took 0.0561 seconds and 4 git commands to generate.