File Coverage

lib/Pod/Weaver/PluginBundle/Author/RUSSOZ.pm
Criterion Covered Total %
statement 27 34 79.4
branch n/a
condition n/a
subroutine 9 10 90.0
pod 0 1 0.0
total 36 45 80.0


line stmt bran cond sub pod time code
1             package Pod::Weaver::PluginBundle::Author::RUSSOZ;
2              
3 1     1   71003 use strict;
  1         9  
  1         25  
4 1     1   4 use warnings;
  1         1  
  1         41  
5              
6             # ABSTRACT: Pod::Weaver configuration the way RUSSOZ does it
7             our $VERSION = '0.024'; # VERSION
8              
9 1     1   249 use Pod::Weaver::Config::Assembler;
  1         741656  
  1         35  
10              
11 1     1   376 use Pod::Elemental::Transformer::List;
  1         180274  
  1         41  
12 1     1   406 use Pod::Weaver::Section::SeeAlso 1.002;
  1         210106  
  1         45  
13 1     1   437 use Pod::Weaver::Section::Support 1.003;
  1         60767  
  1         44  
14 1     1   365 use Pod::Weaver::Section::WarrantyDisclaimer 0.103511;
  1         146847  
  1         45  
15 1     1   335 use Pod::Weaver::Plugin::Encoding 0.01;
  1         46820  
  1         64  
16              
17             sub _exp { ## no critic
18             Pod::Weaver::Config::Assembler->expand_package( $_[0] );
19             }
20              
21 1     1   8 use namespace::clean;
  1         2  
  1         7  
22              
23             sub mvp_bundle_config {
24 0     0 0   my @plugins;
25 0           push @plugins, (
26             [ '@Author::RUSSOZ/CorePrep', _exp('@CorePrep'), {} ],
27             [ '@Author::RUSSOZ/Encoding', _exp('-Encoding'), {} ],
28             [
29             '@Author::RUSSOZ/EnsureUniqueSections',
30             _exp('-EnsureUniqueSections'),
31             {}
32             ],
33             [ '@Author::RUSSOZ/Name', _exp('Name'), {} ],
34             [ '@Author::RUSSOZ/Version', _exp('Version'), {} ],
35              
36             [
37             '@Author::RUSSOZ/Prelude', _exp('Region'),
38             { region_name => 'prelude' }
39             ],
40             [
41             '@Author::RUSSOZ/Synopsis', _exp('Generic'),
42             { header => 'SYNOPSIS' }
43             ],
44             [
45             '@Author::RUSSOZ/Description', _exp('Generic'),
46             { header => 'DESCRIPTION' }
47             ],
48             [
49             '@Author::RUSSOZ/Overview', _exp('Generic'),
50             { header => 'OVERVIEW' }
51             ],
52             );
53              
54 0           for my $plugin (
55             [ 'Attributes', _exp('Collect'), { command => 'attr' } ],
56             [ 'Methods', _exp('Collect'), { command => 'method' } ],
57             [ 'Functions', _exp('Collect'), { command => 'func' } ],
58             )
59             {
60 0           $plugin->[2]{header} = uc $plugin->[0];
61 0           push @plugins, $plugin;
62             }
63              
64 0           push @plugins,
65             (
66             [ '@Author::RUSSOZ/Leftovers', _exp('Leftovers'), {} ],
67             [ '@Author::RUSSOZ/SeeAlso', _exp('SeeAlso'), {} ],
68             [
69             '@Author::RUSSOZ/Support',
70             _exp('Support'),
71             {
72             'websites' => [
73             'search', 'anno', 'ratings', 'forum',
74             'kwalitee', 'testers', 'testmatrix'
75             ],
76             'irc' => [ 'irc.perl.org, #sao-paulo.pm, russoz', ],
77             'email' => 'RUSSOZ',
78             }
79             ],
80             [
81             '@Author::RUSSOZ/postlude', _exp('Region'),
82             { region_name => 'postlude' }
83             ],
84             [ '@Author::RUSSOZ/Authors', _exp('Authors'), {} ],
85             [ '@Author::RUSSOZ/Legal', _exp('Legal'), {} ],
86             [
87             '@Author::RUSSOZ/BugsAndLimitations', _exp('BugsAndLimitations'), {}
88             ],
89             [
90             '@Author::RUSSOZ/WarrantyDisclaimer', _exp('WarrantyDisclaimer'), {}
91             ],
92             [
93             '@Author::RUSSOZ/List', _exp('-Transformer'),
94             { 'transformer' => 'List' }
95             ],
96             );
97              
98 0           return @plugins;
99             }
100              
101             1;
102              
103             1;
104              
105             __END__
106              
107             =pod
108              
109             =encoding UTF-8
110              
111             =head1 NAME
112              
113             Pod::Weaver::PluginBundle::Author::RUSSOZ - Pod::Weaver configuration the way RUSSOZ does it
114              
115             =head1 VERSION
116              
117             version 0.024
118              
119             =head1 NAME
120              
121             Pod::Weaver::PluginBundle::Author::RUSSOZ - Pod::Weaver configuration the way RUSSOZ does it
122              
123             =head1 VERSION
124              
125             version 0.024
126              
127             =head1 TASK CONTENTS
128              
129             =for Pod::Coverage mvp_bundle_config
130              
131             =head1 AUTHOR
132              
133             Alexei Znamensky <russoz@cpan.org>
134              
135             =head1 COPYRIGHT AND LICENSE
136              
137             This software is copyright (c) 2011 - 2017 by Alexei Znamensky.
138              
139             This is free software; you can redistribute it and/or modify it under
140             the same terms as the Perl 5 programming language system itself.
141              
142             =head1 AUTHOR
143              
144             Alexei Znamensky <russoz@cpan.org>
145              
146             =head1 COPYRIGHT AND LICENSE
147              
148             This software is copyright (c) 2011 - 2017 by Alexei Znamensky.
149              
150             This is free software; you can redistribute it and/or modify it under
151             the same terms as the Perl 5 programming language system itself.
152              
153             =cut