]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
Version 0.010
authorCharles McGarvey <ccm@cpan.org>
Wed, 30 Mar 2022 02:09:11 +0000 (20:09 -0600)
committerCharles McGarvey <ccm@cpan.org>
Wed, 30 Mar 2022 02:09:11 +0000 (20:09 -0600)
15 files changed:
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
lib/Dist/Zilla/PluginBundle/Author/CCM.pm
lib/Pod/Weaver/PluginBundle/Author/CCM.pm
t/00-report-prereqs.t
t/basic.t [moved from t/01-basic.t with 100% similarity]
xt/author/distmeta.t [moved from xt/release/distmeta.t with 100% similarity]
xt/author/eol.t
xt/author/minimum-version.t
xt/author/no-tabs.t

diff --git a/Changes b/Changes
index 892750bdf1e41259ee5ef586e8a42dc4262bec73..49e2f03923f446617f8fdd906bc4589d06850a57 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Dist-Zilla-PluginBundle-Author-CCM.
 
+0.010     2022-03-29 20:09:03-06:00 America/Denver
+
+  * Add no_index option so MetaNoIndex is easily configurable
+
 0.009     2018-11-22 22:46:42-07:00 MST7MDT
 
   * Remove use of DZP::TravisYML and DZP::ReversionOnRelease
diff --git a/LICENSE b/LICENSE
index 1935df6c3c1684e70caf21b2050a20e2956763e6..99e5ee2283a519063814ffaf8beb62a4e1f900d4 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -292,21 +292,21 @@ Definitions:
 
   - "Package" refers to the collection of files distributed by the Copyright
     Holder, and derivatives of that collection of files created through
-    textual modification. 
+    textual modification.
   - "Standard Version" refers to such a Package if it has not been modified,
     or has been modified in accordance with the wishes of the Copyright
-    Holder. 
+    Holder.
   - "Copyright Holder" is whoever is named in the copyright or copyrights for
-    the package. 
+    the package.
   - "You" is you, if you're thinking about copying or distributing this Package.
   - "Reasonable copying fee" is whatever you can justify on the basis of media
     cost, duplication charges, time of people involved, and so on. (You will
     not be required to justify it to the Copyright Holder, but only to the
-    computing community at large as a market that must bear the fee.) 
+    computing community at large as a market that must bear the fee.)
   - "Freely Available" means that no fee is charged for the item itself, though
     there may be fees involved in handling the item. It also means that
     recipients of the item may redistribute it under the same conditions they
-    received it. 
+    received it.
 
 1. You may make and give away verbatim copies of the source form of the
 Standard Version of this Package without restriction, provided that you
@@ -373,7 +373,7 @@ products derived from this software without specific prior written permission.
 
 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
 The End
 
index 1c61b112a4462c836de90f16aad4a0f0f2e5a989..ad13e25c62ad953c30a53bead0ebb9968e1c7cd2 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024.
 Changes
 LICENSE
 MANIFEST
@@ -11,9 +11,10 @@ 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/basic.t
 xt/author/clean-namespaces.t
 xt/author/critic.t
+xt/author/distmeta.t
 xt/author/eol.t
 xt/author/minimum-version.t
 xt/author/no-tabs.t
@@ -22,4 +23,3 @@ xt/author/pod-no404s.t
 xt/author/pod-syntax.t
 xt/author/portability.t
 xt/release/cpan-changes.t
-xt/release/distmeta.t
index d0371a1defe1e6d7ba4569dbd546f59d29cf9fd2..be91f42e11fe04e4c9df1c46c7befda92365e1ad 100644 (file)
--- a/META.json
+++ b/META.json
@@ -1,10 +1,10 @@
 {
    "abstract" : "A plugin bundle for distributions built by CCM",
    "author" : [
-      "Charles McGarvey <chazmcgarvey@brokenzipper.com>"
+      "Charles McGarvey <ccm@cpan.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
+   "generated_by" : "Dist::Zilla version 6.024, 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.009"
+         "version" : "0.010"
       },
       "Pod::Weaver::PluginBundle::Author::CCM" : {
          "file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm",
-         "version" : "0.009"
+         "version" : "0.010"
       }
    },
    "release_status" : "stable",
          "web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM"
       }
    },
-   "version" : "0.009",
+   "version" : "0.010",
    "x_authority" : "cpan:CCM",
-   "x_generated_by_perl" : "v5.28.0",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.07"
+   "x_generated_by_perl" : "v5.34.1",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.27",
+   "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
 }
 
index 9a1faf3d0b25dda938a525fd0ad48d467e1be28b..1dd1bb5808c1cb1704675da6c609c2999b7e8331 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,7 +1,7 @@
 ---
 abstract: 'A plugin bundle for distributions built by CCM'
 author:
-  - 'Charles McGarvey <chazmcgarvey@brokenzipper.com>'
+  - 'Charles McGarvey <ccm@cpan.org>'
 build_requires:
   ExtUtils::MakeMaker: '0'
   File::Spec: '0'
@@ -11,7 +11,7 @@ build_requires:
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
 keywords:
   - dzil
   - author
@@ -33,10 +33,10 @@ no_index:
 provides:
   Dist::Zilla::PluginBundle::Author::CCM:
     file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm
-    version: '0.009'
+    version: '0.010'
   Pod::Weaver::PluginBundle::Author::CCM:
     file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm
-    version: '0.009'
+    version: '0.010'
 recommends:
   Dist::Zilla::Plugin::FakeRelease: '0'
   Dist::Zilla::Plugin::Prereqs::FromCPANfile: '0'
@@ -122,7 +122,8 @@ 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.009'
+version: '0.010'
 x_authority: cpan:CCM
-x_generated_by_perl: v5.28.0
+x_generated_by_perl: v5.34.1
 x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
index e188eac850643ed2e866edaff9a171862d64f688..e1039144e34bfe2ed11ae09f3efca575615e55c1 100644 (file)
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024.
 use strict;
 use warnings;
 
@@ -8,7 +8,7 @@ use ExtUtils::MakeMaker;
 
 my %WriteMakefileArgs = (
   "ABSTRACT" => "A plugin bundle for distributions built by CCM",
-  "AUTHOR" => "Charles McGarvey <chazmcgarvey\@brokenzipper.com>",
+  "AUTHOR" => "Charles McGarvey <ccm\@cpan.org>",
   "CONFIGURE_REQUIRES" => {
     "ExtUtils::MakeMaker" => 0
   },
@@ -101,7 +101,7 @@ my %WriteMakefileArgs = (
     "IPC::Open3" => 0,
     "Test::More" => 0
   },
-  "VERSION" => "0.009",
+  "VERSION" => "0.010",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff --git a/README b/README
index a79958f4419d5ef0cf499866f976ddc2e6068950..4078921fb90ca93ef406f36faa518addc962fa4d 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ NAME
 
 VERSION
 
-    version 0.009
+    version 0.010
 
 SYNOPSIS
 
@@ -117,6 +117,12 @@ ATTRIBUTES
 
     Specify the minimum perl version. Defaults to 5.10.1.
 
+ no_index
+
+    Set directories to not index.
+
+    Default:
+
  authority
 
     Specify the release authority. Defaults to cpan:CCM.
@@ -159,7 +165,7 @@ BUGS
 
 AUTHOR
 
-    Charles McGarvey <chazmcgarvey@brokenzipper.com>
+    Charles McGarvey <ccm@cpan.org>
 
 COPYRIGHT AND LICENSE
 
index 9fab751464ad47bb74ef5688b1ad530a03c578db..8e2598e6d1d305b62bdc55b01e751edf4a72f84e 100644 (file)
@@ -7,7 +7,7 @@ use 5.014;
 use warnings;
 use strict;
 
-our $VERSION = '0.009'; # VERSION
+our $VERSION = '0.010'; # VERSION
 
 use Dist::Zilla::Util;
 use Moose;
@@ -21,7 +21,22 @@ has max_target_perl => (
     lazy    => 1,
     default => sub {
         my $self = shift;
-        $self->payload->{'Test::MinimumVersion.max_target_perl'} // $self->payload->{max_target_perl} // '5.10.1';
+        $self->payload->{'Test::MinimumVersion.max_target_perl'}
+            // $self->payload->{max_target_perl}
+            // '5.10.1';
+    },
+);
+
+
+has no_index => (
+    is      => 'ro',
+    isa     => 'ArrayRef',
+    lazy    => 1,
+    default => sub {
+        my $self = shift;
+        [split(/\s+/, $self->payload->{'MetaNoIndex.directories'}
+                     // $self->payload->{no_index}
+                     // 'eg share shares t xt')];
     },
 );
 
@@ -68,7 +83,7 @@ sub configure {
     my @network_plugins     = qw(Git::Push Test::Pod::No404s UploadToCPAN);
     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 @no_index            = @{$self->no_index};
     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);
@@ -180,7 +195,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built
 
 =head1 VERSION
 
-version 0.009
+version 0.010
 
 =head1 SYNOPSIS
 
@@ -292,6 +307,12 @@ You probably don't want to use this.
 
 Specify the minimum perl version. Defaults to C<5.10.1>.
 
+=head2 no_index
+
+Set directories to not index.
+
+Default:
+
 =head2 authority
 
 Specify the release authority. Defaults to C<cpan:CCM>.
@@ -351,7 +372,7 @@ feature.
 
 =head1 AUTHOR
 
-Charles McGarvey <chazmcgarvey@brokenzipper.com>
+Charles McGarvey <ccm@cpan.org>
 
 =head1 COPYRIGHT AND LICENSE
 
index e355c61400d1dadd430144cd0821af2c9d08afd4..ec44cf2166b4d5d949dfcf55fa8033169b86e65f 100644 (file)
@@ -6,7 +6,7 @@ use 5.008;
 use warnings;
 use strict;
 
-our $VERSION = '0.009'; # VERSION
+our $VERSION = '0.010'; # 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.009
+version 0.010
 
 =head1 SYNOPSIS
 
@@ -160,7 +160,7 @@ feature.
 
 =head1 AUTHOR
 
-Charles McGarvey <chazmcgarvey@brokenzipper.com>
+Charles McGarvey <ccm@cpan.org>
 
 =head1 COPYRIGHT AND LICENSE
 
index c72183a1bebf16b344dc1a660fee5207cee16e05..c3a94ca1da25657cbfbae83860d3d64ac9c030ff 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028
 
 use Test::More tests => 1;
 
@@ -188,6 +188,6 @@ if ( @dep_errors ) {
     );
 }
 
-pass;
+pass('Reported prereqs');
 
 # vim: ts=4 sts=4 sw=4 et:
similarity index 100%
rename from t/01-basic.t
rename to t/basic.t
similarity index 100%
rename from xt/release/distmeta.t
rename to xt/author/distmeta.t
index e0960ee4a7dbb2e12ada889ee845484f42a5ea5b..15dbb417ed906faa50042619fa9ebbbc124f2a47 100644 (file)
@@ -12,9 +12,10 @@ my @files = (
     't/00-compile.t',
     't/00-report-prereqs.dd',
     't/00-report-prereqs.t',
-    't/01-basic.t',
+    't/basic.t',
     'xt/author/clean-namespaces.t',
     'xt/author/critic.t',
+    'xt/author/distmeta.t',
     'xt/author/eol.t',
     'xt/author/minimum-version.t',
     'xt/author/no-tabs.t',
@@ -22,8 +23,7 @@ my @files = (
     '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/cpan-changes.t'
 );
 
 eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
index 2b484b2d302a9a06487fb543552d82c5711538a3..1e5e5b40bbc71139e811231fb309c5562ab61492 100644 (file)
@@ -1,6 +1,6 @@
-#!perl
+use strict;
+use warnings;
 
 use Test::More;
-
 use Test::MinimumVersion;
 all_minimum_version_ok( qq{5.14.0} );
index 41ea6ff9bf9f49a2d94c4837a0507a1930c45edc..e211ec59b05a6c7cb6de804e5002af3c41404aa8 100644 (file)
@@ -12,9 +12,10 @@ my @files = (
     't/00-compile.t',
     't/00-report-prereqs.dd',
     't/00-report-prereqs.t',
-    't/01-basic.t',
+    't/basic.t',
     'xt/author/clean-namespaces.t',
     'xt/author/critic.t',
+    'xt/author/distmeta.t',
     'xt/author/eol.t',
     'xt/author/minimum-version.t',
     'xt/author/no-tabs.t',
@@ -22,8 +23,7 @@ my @files = (
     '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/cpan-changes.t'
 );
 
 notabs_ok($_) foreach @files;
This page took 0.037492 seconds and 4 git commands to generate.