line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
5
|
|
|
5
|
|
9144804
|
use 5.008; # utf8 |
|
5
|
|
|
|
|
16
|
|
2
|
5
|
|
|
5
|
|
19
|
use strict; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
110
|
|
3
|
5
|
|
|
5
|
|
25
|
use warnings; |
|
5
|
|
|
|
|
6
|
|
|
5
|
|
|
|
|
138
|
|
4
|
5
|
|
|
5
|
|
531
|
use utf8; |
|
5
|
|
|
|
|
16
|
|
|
5
|
|
|
|
|
41
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::Git::NextVersion::Sanitized; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.002003'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Sanitize versions handed to you by Git::NextVersion |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
13
|
|
|
|
|
|
|
|
14
|
5
|
|
|
5
|
|
815
|
use Moose qw( extends with ); |
|
5
|
|
|
|
|
297043
|
|
|
5
|
|
|
|
|
32
|
|
15
|
|
|
|
|
|
|
extends 'Dist::Zilla::Plugin::Git::NextVersion'; |
16
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::Version::Sanitize'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
19
|
5
|
|
|
5
|
|
18949
|
no Moose; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
22
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding UTF-8 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Git::NextVersion::Sanitized - Sanitize versions handed to you by Git::NextVersion |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 VERSION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
version 0.002003 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SYNOPSIS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This exist, mostly because I accidentally keep doing |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
V=2.6.0 dzil release # shit, I mean 2.006000 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Or |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
V=2.00001 dzil release # Crap, I can't count, how many 0's is that? |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
So this wraps L<< C<::Role::Version::Sanitize>|Dist::Zilla::Role::Version::Sanitize >> around |
48
|
|
|
|
|
|
|
L<< C<[Git::NextVersion]>|Dist::Zilla::Plugin::Git::NextVersion >> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Kent Fredric <kentnl@gmail.com> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This software is copyright (c) 2017 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 |