OpusVL/ToCPAN.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
configure
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Dist::Zilla::PluginBundle::Author::OpusVL::ToCPAN;
2  
3 use Moose;
4 use 5.014;
5  
6 with (
7 'Dist::Zilla::Role::PluginBundle::Easy',
8 'Dist::Zilla::Role::PluginBundle::PluginRemover',
9 'Dist::Zilla::Role::PluginBundle::Config::Slicer',
10 );
11  
12 our $VERSION = '0.015';
13  
14 sub configure {
15 my $self = shift;
16 my $remove = $self->payload->{ $self->plugin_remover_attribute } || [];
17  
18 $self->add_bundle('@Author::OpusVL', {
19 '-remove' => [ 'CPAN::Mini::Inject::REST', 'Repository', @$remove ],
20 mcpani_host => 'fake',
21 });
22  
23 $self->add_plugins(qw(
24 UploadToCPAN
25 GitHub::Meta
26 ));
27 }
28 __PACKAGE__->meta->make_immutable;
29 no Moose;
30 1;
31 __END__