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