File Coverage

blib/lib/Dist/Zilla/Role/YANICK/PreviousVersionProvider.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::YANICK::PreviousVersionProvider;
2             our $AUTHORITY = 'cpan:YANICK';
3             #ABSTRACT: provides the distribution's previously released version
4             $Dist::Zilla::Role::YANICK::PreviousVersionProvider::VERSION = '0.2.6';
5              
6 1     1   645 use strict;
  1         3  
  1         37  
7 1     1   6 use warnings;
  1         2  
  1         27  
8              
9 1     1   5 use Moose::Role;
  1         2  
  1         9  
10              
11             requires 'provide_previous_version';
12              
13              
14             1;
15              
16             __END__
17              
18             =pod
19              
20             =encoding UTF-8
21              
22             =head1 NAME
23              
24             Dist::Zilla::Role::YANICK::PreviousVersionProvider - provides the distribution's previously released version
25              
26             =head1 VERSION
27              
28             version 0.2.6
29              
30             =head1 DESCRIPTION
31              
32             Role for L<Dist::Zilla::Plugin> classes that return
33             the previously released version.
34              
35             The namespace contains I<YANICK> simply because I didn't want
36             to encroach on the official namespace without asking permission.
37             If allowed, this role will migrate to
38             I<Dist::Zilla::Role::PreviousVersionProvider>.
39              
40             =head1 METHODS REQUIRED BY THE ROLE
41              
42             =head2 provide_previous_version
43              
44             Returns the previously released version
45              
46             =head1 AUTHOR
47              
48             Yanick Champoux <yanick@cpan.org>
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is copyright (c) 2021, 2015, 2014, 2013, 2012 by Yanick Champoux.
53              
54             This is free software; you can redistribute it and/or modify it under
55             the same terms as the Perl 5 programming language system itself.
56              
57             =cut