]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
Version 0.003
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 26 Nov 2016 07:10:06 +0000 (00:10 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 26 Nov 2016 07:10:06 +0000 (00:10 -0700)
Changes
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

diff --git a/Changes b/Changes
index 82b35ad37055c32c4e727aa3e280b65a1203cfb9..310549deb0cc4ca30451b013562a7c769cd86a51 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
 Revision history for Dist-Zilla-PluginBundle-Author-CCM.
 
+0.003     2016-11-26 00:09:53-07:00 MST7MDT
+
+  * Set default authority to cpan:CCM
+  * Add Test::CPAN::Meta to prereqs
+
 0.002     2016-11-25 22:12:27-07:00 MST7MDT
 
   * Add DZIL_NO_UPLOAD to enable no_upload mode
index ea2a3e6d9630d16e39bf4a0716d2ba7385f0da03..bb309428a8ac9838335ca1a63a4e801396b5ff49 100644 (file)
--- a/META.json
+++ b/META.json
             "Pod::Weaver::Section::Name" : "0",
             "Pod::Weaver::Section::Region" : "0",
             "Pod::Weaver::Section::Version" : "0",
+            "Test::CPAN::Meta" : "0",
             "namespace::autoclean" : "0",
             "strict" : "0",
             "warnings" : "0"
    "provides" : {
       "Dist::Zilla::PluginBundle::Author::CCM" : {
          "file" : "lib/Dist/Zilla/PluginBundle/Author/CCM.pm",
-         "version" : "0.002"
+         "version" : "0.003"
       },
       "Pod::Weaver::PluginBundle::Author::CCM" : {
          "file" : "lib/Pod/Weaver/PluginBundle/Author/CCM.pm",
-         "version" : "0.002"
+         "version" : "0.003"
       }
    },
    "release_status" : "stable",
          "web" : "https://github.com/chazmcgarvey/Dist-Zilla-PluginBundle-Author-CCM"
       }
    },
-   "version" : "0.002",
+   "version" : "0.003",
    "x_authority" : "cpan:CCM",
    "x_serialization_backend" : "Cpanel::JSON::XS version 3.0224"
 }
index 00f55f3206ff337cd6c404033b14ba8c24f81662..7737f1e92636924c94a397e24693d02880d8fcee 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -35,10 +35,10 @@ no_index:
 provides:
   Dist::Zilla::PluginBundle::Author::CCM:
     file: lib/Dist/Zilla/PluginBundle/Author/CCM.pm
-    version: '0.002'
+    version: '0.003'
   Pod::Weaver::PluginBundle::Author::CCM:
     file: lib/Pod/Weaver/PluginBundle/Author/CCM.pm
-    version: '0.002'
+    version: '0.003'
 requires:
   Dist::Zilla: '5.038'
   Dist::Zilla::Plugin::Authority: '0'
@@ -114,6 +114,7 @@ requires:
   Pod::Weaver::Section::Name: '0'
   Pod::Weaver::Section::Region: '0'
   Pod::Weaver::Section::Version: '0'
+  Test::CPAN::Meta: '0'
   namespace::autoclean: '0'
   strict: '0'
   warnings: '0'
@@ -121,6 +122,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.002'
+version: '0.003'
 x_authority: cpan:CCM
 x_serialization_backend: 'YAML::Tiny version 1.69'
index 4e001c5e5b6c03691d79732b665cfb41a09956f5..be7dcd2a17afaf6c5dbab530ba130c1b5c4e3556 100644 (file)
@@ -91,6 +91,7 @@ my %WriteMakefileArgs = (
     "Pod::Weaver::Section::Name" => 0,
     "Pod::Weaver::Section::Region" => 0,
     "Pod::Weaver::Section::Version" => 0,
+    "Test::CPAN::Meta" => 0,
     "namespace::autoclean" => 0,
     "strict" => 0,
     "warnings" => 0
@@ -103,7 +104,7 @@ my %WriteMakefileArgs = (
     "Test::More" => 0,
     "blib" => "1.01"
   },
-  "VERSION" => "0.002",
+  "VERSION" => "0.003",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -189,6 +190,7 @@ my %FallbackPrereqs = (
   "Pod::Weaver::Section::Name" => 0,
   "Pod::Weaver::Section::Region" => 0,
   "Pod::Weaver::Section::Version" => 0,
+  "Test::CPAN::Meta" => 0,
   "Test::More" => 0,
   "blib" => "1.01",
   "namespace::autoclean" => 0,
diff --git a/README b/README
index 5c5a8ced475904ba5a38dba5f1b1a9c94f8df724..4a358ad94df1d7d45f5834818550904bebed1ffd 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ NAME
 
 VERSION
 
-    version 0.002
+    version 0.003
 
 SYNOPSIS
 
@@ -114,6 +114,10 @@ DESCRIPTION
 
 ATTRIBUTES
 
+ authority
+
+    Specify the release authority. Defaults to cpan:CCM.
+
  installer
 
     Specify which installer to use, such as:
index ba07b62ac26a286f18d1996d3f9f2753fd57ffdd..07d58664701d5699ecfc18a07674051809555175 100644 (file)
--- a/cpanfile
+++ b/cpanfile
@@ -70,3 +70,4 @@ requires 'Pod::Weaver::Section::Legal';
 requires 'Pod::Weaver::Section::Name';
 requires 'Pod::Weaver::Section::Region';
 requires 'Pod::Weaver::Section::Version';
+requires 'Test::CPAN::Meta';
index 411f4ac9c5b9f07100f1de61d4af3487ccb64065..206eb8361af6f75acbd4c46bda3a565c71ea8616 100644 (file)
@@ -6,13 +6,24 @@ package Dist::Zilla::PluginBundle::Author::CCM;
 use warnings;
 use strict;
 
-our $VERSION = '0.002'; # VERSION
+our $VERSION = '0.003'; # VERSION
 
 use Dist::Zilla::Util;
 use Moose;
 use namespace::autoclean;
 
 
+has authority => (
+    is      => 'ro',
+    isa     => 'Str',
+    lazy    => 1,
+    default => sub {
+        my $self = shift;
+        $self->payload->{'Authority.authority'} // $self->payload->{authority} // 'cpan:CCM';
+    },
+);
+
+
 has installer => (
     is      => 'ro',
     isa     => 'Str',
@@ -88,7 +99,7 @@ sub configure {
         ['Test::ReportPrereqs'],
 
         # METADATA
-        ['Authority' => {do_munging => 0}],
+        ['Authority' => {authority => $self->authority, do_munging => 0}],
         ['MetaJSON'],
         ['MetaYAML'],
         ['MetaNoIndex' => {directory => [@no_index]}],
@@ -156,7 +167,7 @@ Dist::Zilla::PluginBundle::Author::CCM - A plugin bundle for distributions built
 
 =head1 VERSION
 
-version 0.002
+version 0.003
 
 =head1 SYNOPSIS
 
@@ -265,6 +276,10 @@ You probably don't want to use this.
 
 =head1 ATTRIBUTES
 
+=head2 authority
+
+Specify the release authority. Defaults to C<cpan:CCM>.
+
 =head2 installer
 
 Specify which installer to use, such as:
index 0b8d0029e1af58c7c96bbe22d305e7e54ba7bfcf..dd4c2c5c40e65719119744524e6f83720611ff52 100644 (file)
@@ -5,7 +5,7 @@ package Pod::Weaver::PluginBundle::Author::CCM;
 use warnings;
 use strict;
 
-our $VERSION = '0.002'; # VERSION
+our $VERSION = '0.003'; # 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.002
+version 0.003
 
 =head1 SYNOPSIS
 
index 887ad61f3946d3e2a67f0d9aa58d62036dba204d..ce85a6735479b2ffa80d35b0019fb579a1510b13 100644 (file)
@@ -100,6 +100,7 @@ do { my $x = {
                                       'Pod::Weaver::Section::Name' => '0',
                                       'Pod::Weaver::Section::Region' => '0',
                                       'Pod::Weaver::Section::Version' => '0',
+                                      'Test::CPAN::Meta' => '0',
                                       'namespace::autoclean' => '0',
                                       'strict' => '0',
                                       'warnings' => '0'
This page took 0.031014 seconds and 4 git commands to generate.