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: