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   72274 use strict;
  1         10  
  1         25  
4 1     1   4 use warnings;
  1         1  
  1         36  
5              
6             # ABSTRACT: Pod::Weaver configuration the way RUSSOZ does it
7             our $VERSION = '0.026'; # VERSION
8              
9 1     1   343 use Pod::Weaver::Config::Assembler;
  1         834873  
  1         40  
10              
11 1     1   446 use Pod::Elemental::Transformer::List;
  1         222253  
  1         43  
12 1     1   434 use Pod::Weaver::Section::SeeAlso 1.002;
  1         221029  
  1         46  
13 1     1   450 use Pod::Weaver::Section::Support 1.003;
  1         62555  
  1         45  
14 1     1   390 use Pod::Weaver::Section::WarrantyDisclaimer 0.103511;
  1         148943  
  1         45  
15 1     1   410 use Pod::Weaver::Plugin::Encoding 0.01;
  1         51084  
  1         73  
16              
17             sub _exp { ## no critic
18             Pod::Weaver::Config::Assembler->expand_package( $_[0] );
19             }
20              
21 1     1   9 use namespace::clean;
  1         2  
  1         10  
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/Contributors', _exp('Contributors'), {} ],
86             [ '@Author::RUSSOZ/Legal', _exp('Legal'), {} ],
87             [
88             '@Author::RUSSOZ/BugsAndLimitations', _exp('BugsAndLimitations'), {}
89             ],
90             [
91             '@Author::RUSSOZ/WarrantyDisclaimer', _exp('WarrantyDisclaimer'), {}
92             ],
93             [
94             '@Author::RUSSOZ/List', _exp('-Transformer'),
95             { 'transformer' => 'List' }
96             ],
97             );
98              
99 0           return @plugins;
100             }
101              
102             1;
103              
104             1;
105              
106             __END__
107              
108             =pod
109              
110             =encoding UTF-8
111              
112             =head1 NAME
113              
114             Pod::Weaver::PluginBundle::Author::RUSSOZ - Pod::Weaver configuration the way RUSSOZ does it
115              
116             =head1 VERSION
117              
118             version 0.026
119              
120             =head1 NAME
121              
122             Pod::Weaver::PluginBundle::Author::RUSSOZ - Pod::Weaver configuration the way RUSSOZ does it
123              
124             =head1 VERSION
125              
126             version 0.026
127              
128             =head1 TASK CONTENTS
129              
130             =for Pod::Coverage mvp_bundle_config
131              
132             =head1 AUTHOR
133              
134             Alexei Znamensky <russoz@cpan.org>
135              
136             =head1 COPYRIGHT AND LICENSE
137              
138             This software is copyright (c) 2011 - 2017 by Alexei Znamensky.
139              
140             This is free software; you can redistribute it and/or modify it under
141             the same terms as the Perl 5 programming language system itself.
142              
143             =head1 AUTHOR
144              
145             Alexei Znamensky <russoz@cpan.org>
146              
147             =head1 COPYRIGHT AND LICENSE
148              
149             This software is copyright (c) 2011 - 2017 by Alexei Znamensky.
150              
151             This is free software; you can redistribute it and/or modify it under
152             the same terms as the Perl 5 programming language system itself.
153              
154             =cut