line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
1380467
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
2
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
71
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Pod::Weaver::PluginBundle::DAGOLDEN; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.077'; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
4
|
use Pod::Weaver 4; # he played knick-knack on my door |
|
1
|
|
|
|
|
15
|
|
|
1
|
|
|
|
|
17
|
|
9
|
1
|
|
|
1
|
|
4
|
use Pod::Weaver::Config::Assembler; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
30
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# Dependencies |
12
|
1
|
|
|
1
|
|
444
|
use Pod::Weaver::Plugin::WikiDoc (); |
|
1
|
|
|
|
|
77998
|
|
|
1
|
|
|
|
|
30
|
|
13
|
1
|
|
|
1
|
|
509
|
use Pod::Elemental::Transformer::List 0.102000 (); |
|
1
|
|
|
|
|
11832
|
|
|
1
|
|
|
|
|
29
|
|
14
|
1
|
|
|
1
|
|
5
|
use Pod::Elemental::PerlMunger 0.200001 (); # replace with comment support |
|
1
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
18
|
|
15
|
1
|
|
|
1
|
|
488
|
use Pod::Weaver::Section::Support 1.001 (); |
|
1
|
|
|
|
|
157519
|
|
|
1
|
|
|
|
|
34
|
|
16
|
1
|
|
|
1
|
|
498
|
use Pod::Weaver::Section::Contributors 0.008 (); |
|
1
|
|
|
|
|
21250
|
|
|
1
|
|
|
|
|
289
|
|
17
|
|
|
|
|
|
|
|
18
|
23
|
|
|
23
|
|
591
|
sub _exp { Pod::Weaver::Config::Assembler->expand_package( $_[0] ) } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
my $repo_intro = <<'END'; |
21
|
|
|
|
|
|
|
This is open source software. The code repository is available for |
22
|
|
|
|
|
|
|
public review and contribution under the terms of the license. |
23
|
|
|
|
|
|
|
END |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
my $bugtracker_content = <<'END'; |
26
|
|
|
|
|
|
|
Please report any bugs or feature requests through the issue tracker |
27
|
|
|
|
|
|
|
at {WEB}. |
28
|
|
|
|
|
|
|
You will be notified automatically of any progress on your issue. |
29
|
|
|
|
|
|
|
END |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub mvp_bundle_config { |
32
|
1
|
|
|
1
|
0
|
1344
|
my @plugins; |
33
|
1
|
|
|
|
|
4
|
push @plugins, ( |
34
|
|
|
|
|
|
|
[ '@DAGOLDEN/SingleEncoding', _exp('-SingleEncoding'), {} ], |
35
|
|
|
|
|
|
|
[ '@DAGOLDEN/WikiDoc', _exp('-WikiDoc'), {} ], |
36
|
|
|
|
|
|
|
[ '@DAGOLDEN/CorePrep', _exp('@CorePrep'), {} ], |
37
|
|
|
|
|
|
|
[ '@DAGOLDEN/Name', _exp('Name'), {} ], |
38
|
|
|
|
|
|
|
[ '@DAGOLDEN/Version', _exp('Version'), {} ], |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
[ '@DAGOLDEN/Prelude', _exp('Region'), { region_name => 'prelude' } ], |
41
|
|
|
|
|
|
|
[ '@DAGOLDEN/Synopsis', _exp('Generic'), { header => 'SYNOPSIS' } ], |
42
|
|
|
|
|
|
|
[ '@DAGOLDEN/Description', _exp('Generic'), { header => 'DESCRIPTION' } ], |
43
|
|
|
|
|
|
|
[ '@DAGOLDEN/Usage', _exp('Generic'), { header => 'USAGE' } ], |
44
|
|
|
|
|
|
|
[ '@DAGOLDEN/Overview', _exp('Generic'), { header => 'OVERVIEW' } ], |
45
|
|
|
|
|
|
|
[ '@DAGOLDEN/Stability', _exp('Generic'), { header => 'STABILITY' } ], |
46
|
|
|
|
|
|
|
); |
47
|
|
|
|
|
|
|
|
48
|
1
|
|
|
|
|
59
|
for my $plugin ( |
49
|
|
|
|
|
|
|
[ 'Requirements', _exp('Collect'), { command => 'requires' } ], |
50
|
|
|
|
|
|
|
[ 'Attributes', _exp('Collect'), { command => 'attr' } ], |
51
|
|
|
|
|
|
|
[ 'Constructors', _exp('Collect'), { command => 'construct' } ], |
52
|
|
|
|
|
|
|
[ 'Methods', _exp('Collect'), { command => 'method' } ], |
53
|
|
|
|
|
|
|
[ 'Functions', _exp('Collect'), { command => 'func' } ], |
54
|
|
|
|
|
|
|
) |
55
|
|
|
|
|
|
|
{ |
56
|
5
|
|
|
|
|
32
|
$plugin->[2]{header} = uc $plugin->[0]; |
57
|
5
|
|
|
|
|
5
|
push @plugins, $plugin; |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
1
|
|
|
|
|
13
|
push @plugins, |
61
|
|
|
|
|
|
|
( |
62
|
|
|
|
|
|
|
[ '@DAGOLDEN/Leftovers', _exp('Leftovers'), {} ], |
63
|
|
|
|
|
|
|
[ '@DAGOLDEN/postlude', _exp('Region'), { region_name => 'postlude' } ], |
64
|
|
|
|
|
|
|
[ |
65
|
|
|
|
|
|
|
'@DAGOLDEN/Support', |
66
|
|
|
|
|
|
|
_exp('Support'), |
67
|
|
|
|
|
|
|
{ |
68
|
|
|
|
|
|
|
perldoc => 0, |
69
|
|
|
|
|
|
|
websites => 'none', |
70
|
|
|
|
|
|
|
bugs => 'metadata', |
71
|
|
|
|
|
|
|
bugs_content => $bugtracker_content, |
72
|
|
|
|
|
|
|
repository_link => 'both', |
73
|
|
|
|
|
|
|
repository_content => $repo_intro |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
], |
76
|
|
|
|
|
|
|
[ '@DAGOLDEN/Authors', _exp('Authors'), {} ], |
77
|
|
|
|
|
|
|
[ '@DAGOLDEN/Contributors', _exp('Contributors'), {} ], |
78
|
|
|
|
|
|
|
[ '@DAGOLDEN/Legal', _exp('Legal'), {} ], |
79
|
|
|
|
|
|
|
[ '@DAGOLDEN/List', _exp('-Transformer'), { 'transformer' => 'List' } ], |
80
|
|
|
|
|
|
|
); |
81
|
|
|
|
|
|
|
|
82
|
1
|
|
|
|
|
46
|
return @plugins; |
83
|
|
|
|
|
|
|
} |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
# ABSTRACT: DAGOLDEN's default Pod::Weaver config |
86
|
|
|
|
|
|
|
# |
87
|
|
|
|
|
|
|
# This file is part of Dist-Zilla-PluginBundle-DAGOLDEN |
88
|
|
|
|
|
|
|
# |
89
|
|
|
|
|
|
|
# This software is Copyright (c) 2016 by David Golden. |
90
|
|
|
|
|
|
|
# |
91
|
|
|
|
|
|
|
# This is free software, licensed under: |
92
|
|
|
|
|
|
|
# |
93
|
|
|
|
|
|
|
# The Apache License, Version 2.0, January 2004 |
94
|
|
|
|
|
|
|
# |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
1; |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
__END__ |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=pod |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=encoding UTF-8 |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head1 NAME |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Pod::Weaver::PluginBundle::DAGOLDEN - DAGOLDEN's default Pod::Weaver config |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 VERSION |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
version 0.077 |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head1 DESCRIPTION |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
This is a L<Pod::Weaver> PluginBundle. It is roughly equivalent to the |
115
|
|
|
|
|
|
|
following weaver.ini: |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
[-WikiDoc] |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
[@Default] |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
[Support] |
122
|
|
|
|
|
|
|
perldoc = 0 |
123
|
|
|
|
|
|
|
websites = none |
124
|
|
|
|
|
|
|
bugs = metadata |
125
|
|
|
|
|
|
|
bugs_content = ... stuff (web only, email omitted) ... |
126
|
|
|
|
|
|
|
repository_link = both |
127
|
|
|
|
|
|
|
repository_content = ... stuff ... |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
[Contributors] |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
[-Transformer] |
132
|
|
|
|
|
|
|
transformer = List |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head1 USAGE |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
This PluginBundle is used automatically with the C<@DAGOLDEN> L<Dist::Zilla> |
137
|
|
|
|
|
|
|
plugin bundle. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
It also has region collectors for: |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=over 4 |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=item * |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
requires |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=item * |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
construct |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=item * |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
attr |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=item * |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
method |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=item * |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
func |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=back |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=for Pod::Coverage mvp_bundle_config |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head1 SEE ALSO |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=over 4 |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=item * |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
L<Pod::Weaver> |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=item * |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
L<Pod::Weaver::Plugin::WikiDoc> |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=item * |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
L<Pod::Elemental::Transformer::List> |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=item * |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
L<Pod::Weaver::Section::Contributors> |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=item * |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
L<Pod::Weaver::Section::Support> |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=item * |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
L<Dist::Zilla::Plugin::PodWeaver> |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=back |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=head1 AUTHOR |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
David Golden <dagolden@cpan.org> |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
This software is Copyright (c) 2016 by David Golden. |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
This is free software, licensed under: |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
The Apache License, Version 2.0, January 2004 |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=cut |