blib/lib/Dist/Zilla/Role/VersionProvider.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Dist/Zilla/Role/Stash/Login.pm ↑ Summary blib/lib/Dist/Zilla/Stash/Mint.pm »
1 package Dist::Zilla::Role::VersionProvider 6.040;
2 # ABSTRACT: something that provides a version number for the dist
3  
4 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 with 'Dist::Zilla::Role::Plugin';
6  
7 2 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 #pod =head1 DESCRIPTION
12 #pod
13 #pod Plugins implementing this role must provide a C<provide_version> method that
14 #pod will be called when setting the dist's version.
15 #pod
16 #pod If a VersionProvider offers a version but one has already been set, an
17 #pod exception will be raised. If C<provides_version> returns undef, it will be
18 #pod ignored.
19 #pod
20 #pod =cut
21  
22 2 requires 'provide_version';
23  
24 2 1;
25  
26 #pod =head1 SEE ALSO
27 #pod
28 #pod Core Dist::Zilla plugins implementing this role:
29 #pod L<AutoVersion|Dist::Zilla::Plugin::AutoVersion>.
30 #pod
31 #pod =cut
32  
33 __END__
« blib/lib/Dist/Zilla/Role/Stash/Login.pm ↑ Summary blib/lib/Dist/Zilla/Stash/Mint.pm »