File Coverage

blib/lib/Dist/Zilla/Role/BeforeRelease.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Dist::Zilla::Role::BeforeRelease 6.029;
2             # ABSTRACT: something that runs before release really begins
3              
4 11     11   6402 use Moose::Role;
  11         38  
  11         112  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 11     11   61190 use Dist::Zilla::Pragmas;
  11         35  
  11         87  
8              
9 11     11   106 use namespace::autoclean;
  11         36  
  11         99  
10              
11             #pod =head1 DESCRIPTION
12             #pod
13             #pod Plugins implementing this role have their C<before_release> method
14             #pod called before the release is actually done.
15             #pod
16             #pod =cut
17              
18             requires 'before_release';
19              
20             1;
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Dist::Zilla::Role::BeforeRelease - something that runs before release really begins
31              
32             =head1 VERSION
33              
34             version 6.029
35              
36             =head1 DESCRIPTION
37              
38             Plugins implementing this role have their C<before_release> method
39             called before the release is actually done.
40              
41             =head1 PERL VERSION
42              
43             This module should work on any version of perl still receiving updates from
44             the Perl 5 Porters. This means it should work on any version of perl released
45             in the last two to three years. (That is, if the most recently released
46             version is v5.40, then this module should work on both v5.40 and v5.38.)
47              
48             Although it may work on older versions of perl, no guarantee is made that the
49             minimum required version will not be increased. The version may be increased
50             for any reason, and there is no promise that patches will be accepted to lower
51             the minimum required perl.
52              
53             =head1 AUTHOR
54              
55             Ricardo SIGNES 😏 <cpan@semiotic.systems>
56              
57             =head1 COPYRIGHT AND LICENSE
58              
59             This software is copyright (c) 2022 by Ricardo SIGNES.
60              
61             This is free software; you can redistribute it and/or modify it under
62             the same terms as the Perl 5 programming language system itself.
63              
64             =cut