line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
3
|
|
|
3
|
|
1265
|
use 5.026; |
|
3
|
|
|
|
|
13
|
|
2
|
3
|
|
|
3
|
|
27
|
use warnings; |
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
207
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Pod::Weaver::PluginBundle::Author::AJNN; |
5
|
|
|
|
|
|
|
# ABSTRACT: AJNN Pod::Weaver configuration |
6
|
|
|
|
|
|
|
$Pod::Weaver::PluginBundle::Author::AJNN::VERSION = '0.05'; |
7
|
|
|
|
|
|
|
|
8
|
3
|
|
|
3
|
|
1504
|
use Pod::Weaver 4.009; |
|
3
|
|
|
|
|
1367723
|
|
|
3
|
|
|
|
|
124
|
|
9
|
3
|
|
|
3
|
|
32
|
use Pod::Weaver::Config::Assembler; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
73
|
|
10
|
|
|
|
|
|
|
|
11
|
3
|
|
|
3
|
|
1019
|
use Pod::Weaver::PluginBundle::Author::AJNN::Author; |
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
103
|
|
12
|
3
|
|
|
3
|
|
21
|
use Pod::Weaver::PluginBundle::Author::AJNN::License; |
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
541
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _exp { |
16
|
24
|
|
|
24
|
|
1429
|
my ( $moniker ) = @_; |
17
|
24
|
|
|
|
|
78
|
return Pod::Weaver::Config::Assembler->expand_package( $moniker ); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub mvp_bundle_config { |
22
|
|
|
|
|
|
|
return ( |
23
|
3
|
|
|
3
|
0
|
2475560
|
[ '@AJNN/CorePrep', _exp('@CorePrep'), {} ], |
24
|
|
|
|
|
|
|
[ '@AJNN/SingleEncoding', _exp('-SingleEncoding'), {} ], |
25
|
|
|
|
|
|
|
[ '@AJNN/Name', _exp('Name'), {} ], |
26
|
|
|
|
|
|
|
[ '@AJNN/Version', _exp('Version'), {} ], |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
[ 'SYNOPSIS', _exp('Generic'), {} ], |
29
|
|
|
|
|
|
|
[ 'DESCRIPTION', _exp('Generic'), {} ], |
30
|
|
|
|
|
|
|
[ 'OVERVIEW', _exp('Generic'), {} ], |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
[ '@AJNN/Leftovers', _exp('Leftovers'), {} ], |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
[ '@AJNN/Author', __PACKAGE__ . '::Author', {} ], |
35
|
|
|
|
|
|
|
[ '@AJNN/License', __PACKAGE__ . '::License', {} ], |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
__END__ |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=pod |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=encoding UTF-8 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 NAME |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Pod::Weaver::PluginBundle::Author::AJNN - AJNN Pod::Weaver configuration |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 VERSION |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
version 0.05 |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 SYNOPSIS |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Dist::Zilla::PluginBundle::Author::AJNN; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
use Pod::Weaver::PluginBundle::Author::AJNN; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
use Moose; |
63
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::PluginBundle::Easy'; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub configure { |
66
|
|
|
|
|
|
|
shift->add_plugins( |
67
|
|
|
|
|
|
|
..., |
68
|
|
|
|
|
|
|
[ 'PodWeaver' => { config_plugin => '@Author::AJNN' } ], |
69
|
|
|
|
|
|
|
); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
or in F<dist.ini>: |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
[PodWeaver] |
75
|
|
|
|
|
|
|
config_plugin = @Author::AJNN |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 DESCRIPTION |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This is the configuration I use for L<Dist::Zilla::Plugin::PodWeaver>. |
80
|
|
|
|
|
|
|
Most likely you don't want or need to read this. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 OVERVIEW |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
This plugin bundle is nearly equivalent to the following C<weaver.ini> config: |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
[@CorePrep] |
87
|
|
|
|
|
|
|
[-SingleEnconding] |
88
|
|
|
|
|
|
|
[Name] |
89
|
|
|
|
|
|
|
[Version] |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
[Generic / SYNOPSIS] |
92
|
|
|
|
|
|
|
[Generic / DESCRIPTION] |
93
|
|
|
|
|
|
|
[Generic / OVERVIEW] |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
[Leftovers] |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
[@Author::AJNN::Author] |
98
|
|
|
|
|
|
|
[@Author::AJNN::License] |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head1 BUGS |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
This configuration is hacked together specifically for AJNN's needs. |
103
|
|
|
|
|
|
|
It has not been designed with extensibility or reusability in mind. |
104
|
|
|
|
|
|
|
No forward or backward compatibility should be expected. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 SEE ALSO |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
L<Dist::Zilla::PluginBundle::Author::AJNN> |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
L<Pod::Weaver::PluginBundle::Author::AJNN::Author> |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
L<Pod::Weaver::PluginBundle::Author::AJNN::License> |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
L<Pod::Weaver::PluginBundle::Default> |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
L<Dist::Zilla::Plugin::PodWeaver> |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head1 AUTHOR |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Arne Johannessen <ajnn@cpan.org> |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
If you contact me by email, please make sure you include the word |
123
|
|
|
|
|
|
|
"Perl" in your subject header to help beat the spam filters. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Arne Johannessen has dedicated the work to the Commons by waiving all of his |
128
|
|
|
|
|
|
|
or her rights to the work worldwide under copyright law and all related or |
129
|
|
|
|
|
|
|
neighboring legal rights he or she had in the work, to the extent allowable by |
130
|
|
|
|
|
|
|
law. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Works under CC0 do not require attribution. When citing the work, you should |
133
|
|
|
|
|
|
|
not imply endorsement by the author. |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=cut |