line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
10
|
|
|
10
|
|
58551
|
use 5.006; # our |
|
10
|
|
|
|
|
25
|
|
2
|
10
|
|
|
10
|
|
33
|
use strict; |
|
10
|
|
|
|
|
15
|
|
|
10
|
|
|
|
|
159
|
|
3
|
10
|
|
|
10
|
|
32
|
use warnings; |
|
10
|
|
|
|
|
12
|
|
|
10
|
|
|
|
|
628
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package CPAN::Meta::Prereqs::Diff::Role::Change; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.001004'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# ABSTRACT: A base behavior for prerequisite changes |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
12
|
|
|
|
|
|
|
|
13
|
10
|
|
|
10
|
|
451
|
use Moo::Role qw( has requires ); |
|
10
|
|
|
|
|
13446
|
|
|
10
|
|
|
|
|
53
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has 'phase' => ( is => ro =>, required => 1, ); |
30
|
|
|
|
|
|
|
has 'type' => ( is => ro =>, required => 1, ); |
31
|
|
|
|
|
|
|
has 'module' => ( is => ro =>, required => 1, ); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
requires is_addition =>; |
44
|
|
|
|
|
|
|
requires is_removal =>; |
45
|
|
|
|
|
|
|
requires is_change =>; |
46
|
|
|
|
|
|
|
requires describe =>; |
47
|
|
|
|
|
|
|
|
48
|
10
|
|
|
10
|
|
3075
|
no Moo; |
|
10
|
|
|
|
|
1385
|
|
|
10
|
|
|
|
|
53
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
__END__ |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=pod |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=encoding UTF-8 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 NAME |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
CPAN::Meta::Prereqs::Diff::Role::Change - A base behavior for prerequisite changes |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 VERSION |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
version 0.001004 |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 C<phase> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The dependency phase ( such as: C<runtime>,C<configure> ) |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 C<type> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The dependency type ( such as: C<requires>,C<suggests> ) |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 C<module> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The depended upon module |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 REQUIRES |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 C<is_addition> |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 C<is_removal> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 C<is_change> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 C<describe> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 AUTHOR |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Kent Fredric <kentnl@cpan.org> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
99
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=cut |