line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Role::Versioning::Scheme; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $DATE = '2020-10-01'; # DATE |
4
|
|
|
|
|
|
|
our $VERSION = '0.011'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
2061
|
use Role::Tiny; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
23
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
requires qw( |
9
|
|
|
|
|
|
|
is_valid_version |
10
|
|
|
|
|
|
|
normalize_version |
11
|
|
|
|
|
|
|
cmp_version |
12
|
|
|
|
|
|
|
bump_version |
13
|
|
|
|
|
|
|
parse_version |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub versioning_scheme { |
17
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
18
|
0
|
0
|
|
|
|
|
$class = ref $class if ref $class; |
19
|
0
|
|
|
|
|
|
$class =~ s/\AVersioning::Scheme:://; |
20
|
0
|
|
|
|
|
|
$class; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
# ABSTRACT: Role for Versioning::Scheme::* modules |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |