line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
5
|
|
|
5
|
|
1322
|
use 5.008; # utf8 |
|
5
|
|
|
|
|
19
|
|
|
5
|
|
|
|
|
331
|
|
2
|
5
|
|
|
5
|
|
28
|
use strict; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
148
|
|
3
|
5
|
|
|
5
|
|
24
|
use warnings; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
130
|
|
4
|
5
|
|
|
5
|
|
922
|
use utf8; |
|
5
|
|
|
|
|
29
|
|
|
5
|
|
|
|
|
29
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package CPAN::Meta::Prereqs::Diff::Upgrade; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.001002'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: A dependency which changes its requirements to a newer version |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
13
|
|
|
|
|
|
|
|
14
|
5
|
|
|
5
|
|
1231
|
use Moo qw( with has extends ); |
|
5
|
|
|
|
|
19691
|
|
|
5
|
|
|
|
|
38
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
extends 'CPAN::Meta::Prereqs::Diff::Change'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
1
|
4
|
sub is_upgrade { return 1 } |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub describe { |
35
|
1
|
|
|
1
|
1
|
3
|
my ($self) = @_; |
36
|
1
|
|
|
|
|
32
|
return sprintf q[%s.%s: ^^^ %s %s -> %s], $self->phase, $self->type, $self->module, $self->old_requirement, |
37
|
|
|
|
|
|
|
$self->new_requirement; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
5
|
|
|
5
|
|
3998
|
no Moo; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
24
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=pod |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=encoding UTF-8 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 NAME |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
CPAN::Meta::Prereqs::Diff::Upgrade - A dependency which changes its requirements to a newer version |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 VERSION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
version 0.001002 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 METHODS |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 C<is_upgrade> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
returns true |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 C<describe> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
$object->describe(); |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
# runtime.requires: ^^^ ExtUtils::MakeMaker 5.0 -> 5.1 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 AUTHOR |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Kent Fredric <kentfredric@gmail.com> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
79
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |