File Coverage

blib/lib/Pod/Weaver/PluginBundle/Author/AJNN.pm
Criterion Covered Total %
statement 20 20 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod 0 1 0.0
total 28 29 96.5


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