| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
3
|
|
|
3
|
|
459
|
use 5.006; |
|
|
3
|
|
|
|
|
9
|
|
|
2
|
3
|
|
|
3
|
|
12
|
use strict; |
|
|
3
|
|
|
|
|
3
|
|
|
|
3
|
|
|
|
|
73
|
|
|
3
|
3
|
|
|
3
|
|
10
|
use warnings; |
|
|
3
|
|
|
|
|
4
|
|
|
|
3
|
|
|
|
|
971
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Dist::Zilla::Util::RoleDB::Items::ThirdParty; |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.004001'; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# ABSTRACT: An aggregate provisioned index of third-party roles |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my @items; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub all { |
|
24
|
2
|
50
|
|
2
|
1
|
62
|
return @items if @items; |
|
25
|
2
|
|
|
|
|
5
|
_add_items(); |
|
26
|
2
|
|
|
|
|
8
|
return @items; |
|
27
|
|
|
|
|
|
|
} |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub _add_entry { |
|
30
|
24
|
|
|
24
|
|
42
|
my ( $name, $description, @extra ) = @_; |
|
31
|
24
|
|
|
|
|
83
|
require Dist::Zilla::Util::RoleDB::Entry; |
|
32
|
24
|
|
|
|
|
446
|
push @items, Dist::Zilla::Util::RoleDB::Entry->new( name => $name, description => $description, @extra ); |
|
33
|
24
|
|
|
|
|
163
|
return; |
|
34
|
|
|
|
|
|
|
} |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub _add_phase { |
|
37
|
0
|
|
|
0
|
|
0
|
my ( $name, $description, $phase_method, @extra ) = @_; |
|
38
|
0
|
|
|
|
|
0
|
require Dist::Zilla::Util::RoleDB::Entry::Phase; |
|
39
|
0
|
|
|
|
|
0
|
push @items, |
|
40
|
|
|
|
|
|
|
Dist::Zilla::Util::RoleDB::Entry::Phase->new( |
|
41
|
|
|
|
|
|
|
name => $name, |
|
42
|
|
|
|
|
|
|
description => $description, |
|
43
|
|
|
|
|
|
|
phase_method => $phase_method, |
|
44
|
|
|
|
|
|
|
@extra, |
|
45
|
|
|
|
|
|
|
); |
|
46
|
0
|
|
|
|
|
0
|
return; |
|
47
|
|
|
|
|
|
|
} |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
sub _add_items { |
|
50
|
2
|
|
|
2
|
|
5
|
_add_entry( q[-Bootstrap] => q[Shared logic for bootstrap things.] ); |
|
51
|
2
|
|
|
|
|
4
|
_add_entry( q[-BundleDeps] => q[Automatically add all plugins in a bundle as dependencies] ); |
|
52
|
2
|
|
|
|
|
26
|
_add_entry( q[-Git::DirtyFiles] => q[provide the allow_dirty & changelog attributes] ); |
|
53
|
2
|
|
|
|
|
4
|
_add_entry( q[-Git::LocalRepository] => q[A plugin which works with a local git repository as its Dist::Zilla source.] ); |
|
54
|
2
|
|
|
|
|
4
|
_add_entry( q[-Git::Remote::Branch] => q[Parts to enable aggregated specification of remote branches.] ); |
|
55
|
2
|
|
|
|
|
5
|
_add_entry( q[-Git::Remote::Check] => q[Check a remote branch is not ahead of a local one] ); |
|
56
|
2
|
|
|
|
|
3
|
_add_entry( q[-Git::Remote::Update] => q[Update tracking data for a remote repository] ); |
|
57
|
2
|
|
|
|
|
5
|
_add_entry( q[-Git::Remote] => q[Git Remote specification and validation for plugins.] ); |
|
58
|
2
|
|
|
|
|
4
|
_add_entry( q[-Git::Repo] => q[Provide repository information for Git plugins] ); |
|
59
|
2
|
|
|
|
|
3
|
_add_entry( q[-MetaProvider::Provider] => q[A Role for Metadata providers specific to the 'provider' key.] ); |
|
60
|
2
|
|
|
|
|
4
|
_add_entry( q[-PluginBundle::Config::Slicer] => q[Pass Portions of Bundle Config to Plugins] ); |
|
61
|
2
|
|
|
|
|
4
|
_add_entry( q[-PluginBundle::PluginRemover] => q[Add '-remove' functionality to a bundle] ); |
|
62
|
2
|
|
|
|
|
1
|
return; |
|
63
|
|
|
|
|
|
|
} |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
1; |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
__END__ |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=pod |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=encoding UTF-8 |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 NAME |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Dist::Zilla::Util::RoleDB::Items::ThirdParty - An aggregate provisioned index of third-party roles |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 VERSION |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
version 0.004001 |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 METHODS |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 C<all> |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Returns all items in this item set, as a list |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
my @entries = $class->all();. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Kent Fredric <kentnl@cpan.org> |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>. |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
98
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |