File Coverage

blib/lib/Pod/Weaver/PluginBundle/Author/RTHOMPSON.pm
Criterion Covered Total %
statement 13 15 86.6
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 20 90.0


line stmt bran cond sub pod time code
1 1     1   21238 use strict;
  1         3  
  1         37  
2 1     1   5 use warnings;
  1         2  
  1         30  
3 1     1   975 use utf8;
  1         8  
  1         5  
4              
5             package Pod::Weaver::PluginBundle::Author::RTHOMPSON;
6             {
7             $Pod::Weaver::PluginBundle::Author::RTHOMPSON::VERSION = '0.132960';
8             }
9             # ABSTRACT: A bundle that implements RTHOMPSON's preferred L<Pod::Weaver> config
10              
11 1     1   222264 use namespace::autoclean;
  1         23060  
  1         6  
12              
13 1     1   468 use Pod::Weaver::Config::Assembler;
  0            
  0            
14             sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) }
15              
16              
17             sub mvp_bundle_config {
18             return (
19             [ '@Author::RTHOMPSON/CorePrep', _exp('@CorePrep'), {} ],
20             [ '@Author::RTHOMPSON/Name', _exp('Name'), {} ],
21             [ '@Author::RTHOMPSON/Version', _exp('Version'), {} ],
22              
23             [ '@Author::RTHOMPSON/prelude', _exp('Region'), { region_name => 'prelude' } ],
24             [ 'SYNOPSIS', _exp('Generic'), {} ],
25             [ 'OVERVIEW', _exp('Generic'), {} ],
26             [ 'DESCRIPTION', _exp('Generic'), {} ],
27              
28             [ 'ATTRIBUTES', _exp('Collect'), { command => 'attr' } ],
29             [ 'OPTIONS', _exp('Collect'), { command => 'option' } ],
30             [ 'METHODS', _exp('Collect'), { command => 'method' } ],
31             [ 'FUNCTIONS', _exp('Collect'), { command => 'function' } ],
32              
33             [ '@Author::RTHOMPSON/Leftovers', _exp('Leftovers'), {} ],
34              
35             [ '@Author::RTHOMPSON/postlude', _exp('Region'), { region_name => 'postlude' } ],
36              
37             [ '@Author::RTHOMPSON/Installation', _exp('Installation'), {} ],
38             [ '@Author::RTHOMPSON/Authors', _exp('Authors'), {} ],
39             [ '@Author::RTHOMPSON/Legal', _exp('Legal'), {} ],
40             [ '@Author::RTHOMPSON/WarrantyDisclaimer', _exp('WarrantyDisclaimer'), {} ],
41              
42             [ '@Author::RTHOMPSON/-Transformer', _exp('-Transformer'), { transformer => 'List' } ],
43             [ '@Author::RTHOMPSON-EnsureUniqueSections', _exp('-EnsureUniqueSections'), {} ],
44             );
45             }
46              
47             1; # Magic true value required at end of module
48              
49             __END__
50              
51             =pod
52              
53             =head1 NAME
54              
55             Pod::Weaver::PluginBundle::Author::RTHOMPSON - A bundle that implements RTHOMPSON's preferred L<Pod::Weaver> config
56              
57             =head1 VERSION
58              
59             version 0.132960
60              
61             =head1 SYNOPSIS
62              
63             In F<weaver.ini>:
64              
65             [@Author::RTHOMPSON]
66              
67             =head1 OVERVIEW
68              
69             This is the bundle used by RTHOMPSON when using L<Pod::Weaver> to
70             generate documentation for Perl modules.
71              
72             It is nearly equivalent to the following:
73              
74             [@CorePrep]
75              
76             [Name]
77             [Version]
78              
79             [Region / prelude]
80              
81             [Generic / SYNOPSIS]
82             [Generic / OVERVIEW]
83             [Generic / DESCRIPTION]
84              
85             [Collect / ATTRIBUTES]
86             command = attr
87              
88             [Collect / OPTIONS]
89             command = option
90              
91             [Collect / METHODS]
92             command = method
93              
94             [Collect / FUNCTIONS]
95             command = function
96              
97             [Leftovers]
98              
99             [Region / postlude]
100              
101             [Installation]
102              
103             [Authors]
104             [Legal]
105             [WarrantyDisclaimer]
106              
107             [-Transformer]
108             transformer = List
109              
110             [-EnsureUniqueSections]
111              
112             =for Pod::Coverage mvp_bundle_config
113              
114             =head1 BUGS AND LIMITATIONS
115              
116             Please report any bugs or feature requests to
117             C<rct+perlbug@thompsonclan.org>.
118              
119             =head1 SEE ALSO
120              
121             =over 4
122              
123             =item *
124              
125             L<Pod::Weaver>
126              
127             =back
128              
129             =head1 INSTALLATION
130              
131             See perlmodinstall for information and options on installing Perl modules.
132              
133             =head1 AUTHOR
134              
135             Ryan C. Thompson <rct@thompsonclan.org>
136              
137             =head1 COPYRIGHT AND LICENSE
138              
139             This software is copyright (c) 2010 by Ryan C. Thompson.
140              
141             This is free software; you can redistribute it and/or modify it under
142             the same terms as the Perl 5 programming language system itself.
143              
144             =head1 DISCLAIMER OF WARRANTY
145              
146             BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
147             FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
148             WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
149             PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
150             EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
151             IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
152             PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
153             SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME
154             THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
155              
156             IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
157             WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
158             REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
159             TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
160             CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
161             SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
162             RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
163             FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
164             SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
165             DAMAGES.
166              
167             =cut