line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
3
|
|
|
3
|
|
1291
|
use 5.006; # our |
|
3
|
|
|
|
|
7
|
|
2
|
3
|
|
|
3
|
|
10
|
use strict; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
50
|
|
3
|
3
|
|
|
3
|
|
9
|
use warnings; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
188
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Dist::Zilla::Role::PrereqSource::External; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = 'v0.3.0'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# FILENAME: External.pm |
12
|
|
|
|
|
|
|
# CREATED: 30/10/11 10:56:47 by Kent Fredric (kentnl) <kentfredric@gmail.com> |
13
|
|
|
|
|
|
|
# ABSTRACT: A plugin that depends on DarkPAN/External sources |
14
|
|
|
|
|
|
|
|
15
|
3
|
|
|
3
|
|
704
|
use Moose::Role qw( with requires around ); |
|
3
|
|
|
|
|
289970
|
|
|
3
|
|
|
|
|
14
|
|
16
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::Plugin'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
3
|
|
|
3
|
|
8790
|
use namespace::autoclean; |
|
3
|
|
|
|
|
5712
|
|
|
3
|
|
|
|
|
14
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
requires 'register_external_prereqs'; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
around dump_config => sub { |
35
|
|
|
|
|
|
|
my ( $orig, $self, @args ) = @_; |
36
|
|
|
|
|
|
|
my $config = $self->$orig(@args); |
37
|
|
|
|
|
|
|
$config->{ +__PACKAGE__ }->{ q[$] . __PACKAGE__ . q[::VERSION] } = $VERSION; |
38
|
|
|
|
|
|
|
return $config; |
39
|
|
|
|
|
|
|
}; |
40
|
|
|
|
|
|
|
|
41
|
3
|
|
|
3
|
|
400
|
no Moose::Role; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
12
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=pod |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=encoding UTF-8 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 NAME |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Dist::Zilla::Role::PrereqSource::External - A plugin that depends on DarkPAN/External sources |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 VERSION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
version v0.3.0 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=begin MetaPOD::JSON v1.1.0 |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
{ |
61
|
|
|
|
|
|
|
"namespace":"Dist::Zilla::Role::PrereqSource::External", |
62
|
|
|
|
|
|
|
"interface":"role", |
63
|
|
|
|
|
|
|
"does":"Dist::Zilla::Role::Plugin" |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=end MetaPOD::JSON |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 AUTHOR |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Kent Fredric <kentnl@cpan.org> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
78
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |