File Coverage

blib/lib/Dist/Zilla/PluginBundle/RBO.pm
Criterion Covered Total %
statement 2 4 50.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 4 6 66.6


line stmt bran cond sub pod time code
1             package Dist::Zilla::PluginBundle::RBO;
2             BEGIN {
3 1     1   780 $Dist::Zilla::PluginBundle::RBO::VERSION = '0.002';
4             }
5              
6             # ABSTRACT: Dist::Zilla plugins for RBO
7              
8 1     1   495 use Moose;
  0            
  0            
9             use Moose::Autobox;
10             use Dist::Zilla 4.102346; # TestRelease
11             with 'Dist::Zilla::Role::PluginBundle::Easy';
12              
13             use Dist::Zilla::PluginBundle::Basic;
14              
15             sub configure {
16             my ($self) = @_;
17              
18             $self->add_bundle('@Basic');
19              
20             $self->add_plugins(
21             qw(
22             MetaConfig
23             MetaJSON
24             Git::NextVersion
25             Git::Tag
26             PkgVersion
27             PodVersion
28             )
29             );
30              
31             $self->add_plugins(
32             [
33             AutoMetaResources => {
34             'bugtracker.rt' => 1,
35             'repository.github' => 'user:rbo',
36             'homepage' => 'http://search.cpan.org/dist/%{dist}',
37             }
38             ]
39             );
40              
41             $self->add_bundle( '@Git' => { tag_format => 'v%v', } );
42             }
43              
44             __PACKAGE__->meta->make_immutable;
45             no Moose;
46             1;
47             __END__
48              
49             =head1 NAME
50              
51             Dist::Zilla::PluginBundle::RBO - Dist::Zilla plugins for RBO
52              
53             =head1 VERSION
54              
55             version 0.002
56              
57             =head1 SYNOPSIS
58              
59             # dist.ini
60             [@RBO]
61              
62             =head1 DESCRIPTION
63              
64             This is the plugin bundle for RBO. It's an equivalent to:
65              
66             [@Basic]
67              
68             [MetaConfig]
69             [MetaJSON]
70             [Git::NextVersion]
71             [Git::Tag]
72             [PkgVersion]
73             [PodVersion]
74              
75             [AutoMetaResources]
76             bugtracker.rt = 1
77             repository.github = user:rbo
78             homepage = http://search.cpan.org/dist/%{dist}
79              
80             [@Git]
81             tag_format = v%v
82            
83             =head1 DESCRIPTION
84              
85             This is the plugin bundle that RBO uses.
86              
87             =cut