| 1 | package Role::Versioning::Scheme; | ||||||||||
| 2 | |||||||||||
| 3 | 9 | our $DATE = '2020-10-01'; # DATE | |||||||||
| 4 | 9 | our $VERSION = '0.011'; # VERSION | |||||||||
| 5 | |||||||||||
| 6 | 9 | ▶ | use Role::Tiny; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 9 | requires qw( | |||||||||
| 9 | is_valid_version | ||||||||||
| 10 | normalize_version | ||||||||||
| 11 | cmp_version | ||||||||||
| 12 | bump_version | ||||||||||
| 13 | parse_version | ||||||||||
| 14 | ); | ||||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | sub versioning_scheme { | ||||||||
|
Subroutine
versioning_scheme: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 17 | 0 | my $class = shift; | |||||||||
| 18 | 0 | ▶ | $class = ref $class if ref $class; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 19 | 0 | $class =~ s/\AVersioning::Scheme:://; | |||||||||
| 20 | 0 | $class; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 9 | 1; | |||||||||
| 24 | # ABSTRACT: Role for Versioning::Scheme::* modules | ||||||||||
| 25 | |||||||||||
| 26 | __END__ | ||||||||||