File Coverage

lib/Dist/Zilla/Plugin/RewriteVersion/Sanitized.pm
Criterion Covered Total %
statement 13 15 86.6
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 20 90.0


line stmt bran cond sub pod time code
1 1     1   1152 use 5.008; # utf8
  1         5  
  1         41  
2 1     1   6 use strict;
  1         2  
  1         38  
3 1     1   16 use warnings;
  1         2  
  1         30  
4 1     1   963 use utf8;
  1         10  
  1         6  
5              
6             package Dist::Zilla::Plugin::RewriteVersion::Sanitized;
7              
8             our $VERSION = '0.001004';
9              
10             # ABSTRACT: RewriteVersion but force normalizing ENV{V} and other sources.
11              
12             our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
13              
14 1     1   539 use Moose qw( extends with );
  0            
  0            
15              
16             extends 'Dist::Zilla::Plugin::RewriteVersion';
17             with 'Dist::Zilla::Role::Version::Sanitize';
18              
19             __PACKAGE__->meta->make_immutable;
20             no Moose;
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             Dist::Zilla::Plugin::RewriteVersion::Sanitized - RewriteVersion but force normalizing ENV{V} and other sources.
33              
34             =head1 VERSION
35              
36             version 0.001004
37              
38             =head1 SYNOPSIS
39              
40             As per L<< C<[Git::NextVersion::Sanitized]>|Dist::Zilla::Plugin::Git::NextVersion::Sanitized >>
41              
42             V=2.6.0 dzil release # -> V=2.006000 interally
43              
44             This is really just a glue layer that wraps L<< C<Dist::Zilla::Role::Version::Sanitize>|Dist::Zilla::Role::Version::Sanitize >>
45             around L<< C<[RewriteVersion]>|Dist::Zilla::Plugin::RewriteVersion >>.
46              
47             So see L<< the documentation for Dist::Zilla::Role::Version::Sanitize|Dist::Zilla::Role::Version::Sanitize >> for details and
48             attributes.
49              
50             =head1 AUTHOR
51              
52             Kent Fredric <kentnl@cpan.org>
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut