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
"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"
}
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'
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'
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'
"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
"Test::More" => 0,
"blib" => "1.01"
},
- "VERSION" => "0.002",
+ "VERSION" => "0.003",
"test" => {
"TESTS" => "t/*.t"
}
"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,
VERSION
- version 0.002
+ version 0.003
SYNOPSIS
ATTRIBUTES
+ authority
+
+ Specify the release authority. Defaults to cpan:CCM.
+
installer
Specify which installer to use, such as:
requires 'Pod::Weaver::Section::Name';
requires 'Pod::Weaver::Section::Region';
requires 'Pod::Weaver::Section::Version';
+requires 'Test::CPAN::Meta';
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',
['Test::ReportPrereqs'],
# METADATA
- ['Authority' => {do_munging => 0}],
+ ['Authority' => {authority => $self->authority, do_munging => 0}],
['MetaJSON'],
['MetaYAML'],
['MetaNoIndex' => {directory => [@no_index]}],
=head1 VERSION
-version 0.002
+version 0.003
=head1 SYNOPSIS
=head1 ATTRIBUTES
+=head2 authority
+
+Specify the release authority. Defaults to C<cpan:CCM>.
+
=head2 installer
Specify which installer to use, such as:
use warnings;
use strict;
-our $VERSION = '0.002'; # VERSION
+our $VERSION = '0.003'; # VERSION
use Pod::Weaver::Config::Assembler;
use namespace::autoclean;
=head1 VERSION
-version 0.002
+version 0.003
=head1 SYNOPSIS
'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'