| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Pod::Weaver::PluginBundle::SHLOMIF; | ||
| 5 | 1 | $Pod::Weaver::PluginBundle::SHLOMIF::VERSION = '0.001004'; | |
| 6 | 1 | ▶ | use Pod::Weaver 4; # he played knick-knack on my door |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use Pod::Weaver::Config::Assembler; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | # Dependencies | ||
| 10 | 1 | ▶ | use Pod::Weaver::Plugin::WikiDoc (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Pod::Elemental::Transformer::List 0.102000 (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use Pod::Elemental::PerlMunger 0.200001 (); # replace with comment support |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 1 | ▶ | use Pod::Weaver::Section::Support 1.001 (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | ▶ | use Pod::Weaver::Section::Contributors 0.008 (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 0 | ▶ | sub _exp { Pod::Weaver::Config::Assembler->expand_package( $_[0] ) } |
|
Subroutine
_exp: not called CC=1 SCAR=6.9
| |||
| 17 | |||
| 18 | 1 | my $repo_intro = <<'END'; | |
| 19 | This is open source software. The code repository is available for | ||
| 20 | public review and contribution under the terms of the license. | ||
| 21 | END | ||
| 22 | |||
| 23 | 1 | my $bugtracker_content = <<'END'; | |
| 24 | Please report any bugs or feature requests through the issue tracker | ||
| 25 | at {WEB}. | ||
| 26 | You will be notified automatically of any progress on your issue. | ||
| 27 | END | ||
| 28 | |||
| 29 | 0 | ▶ | sub mvp_bundle_config { |
|
Subroutine
mvp_bundle_config: not called CC=2 SCAR=17.9
Pod
undocumented
| |||
| 30 | 0 | my @plugins; | |
| 31 | 0 | push @plugins, ( | |
| 32 | [ '@SHLOMIF/SingleEncoding', _exp('-SingleEncoding'), {} ], | ||
| 33 | [ '@SHLOMIF/WikiDoc', _exp('-WikiDoc'), {} ], | ||
| 34 | [ '@SHLOMIF/CorePrep', _exp('@CorePrep'), {} ], | ||
| 35 | [ '@SHLOMIF/Name', _exp('Generic'), { header => 'NAME', }, ], | ||
| 36 | [ '@SHLOMIF/Version', _exp('Version'), {} ], | ||
| 37 | |||
| 38 | [ '@SHLOMIF/Prelude', _exp('Region'), { region_name => 'prelude' } ], | ||
| 39 | [ '@SHLOMIF/Synopsis', _exp('Generic'), { header => 'SYNOPSIS' } ], | ||
| 40 | [ '@SHLOMIF/Description', _exp('Generic'), { header => 'DESCRIPTION' } ], | ||
| 41 | [ '@SHLOMIF/Usage', _exp('Generic'), { header => 'USAGE' } ], | ||
| 42 | [ '@SHLOMIF/Overview', _exp('Generic'), { header => 'OVERVIEW' } ], | ||
| 43 | [ '@SHLOMIF/Stability', _exp('Generic'), { header => 'STABILITY' } ], | ||
| 44 | ); | ||
| 45 | |||
| 46 | 0 | for my $plugin ( | |
| 47 | [ 'Requirements', _exp('Collect'), { command => 'requires' } ], | ||
| 48 | [ 'Attributes', _exp('Collect'), { command => 'attr' } ], | ||
| 49 | [ 'Constructors', _exp('Collect'), { command => 'construct' } ], | ||
| 50 | [ 'Methods', _exp('Collect'), { command => 'method' } ], | ||
| 51 | [ 'Functions', _exp('Collect'), { command => 'func' } ], | ||
| 52 | ) | ||
| 53 | { | ||
| 54 | 0 | $plugin->[2]{header} = uc $plugin->[0]; | |
| 55 | 0 | push @plugins, $plugin; | |
| 56 | } | ||
| 57 | |||
| 58 | 0 | push @plugins, | |
| 59 | ( | ||
| 60 | [ '@SHLOMIF/Leftovers', _exp('Leftovers'), {} ], | ||
| 61 | [ '@SHLOMIF/postlude', _exp('Region'), { region_name => 'postlude' } ], | ||
| 62 | [ | ||
| 63 | '@SHLOMIF/Support', | ||
| 64 | _exp('Support'), | ||
| 65 | { | ||
| 66 | all_modules => 1, | ||
| 67 | perldoc => 0, | ||
| 68 | } | ||
| 69 | ], | ||
| 70 | [ '@SHLOMIF/Authors', _exp('Authors'), {} ], | ||
| 71 | [ '@SHLOMIF/Bugs', _exp('Bugs'), {} ], | ||
| 72 | [ '@SHLOMIF/Contributors', _exp('Contributors'), {} ], | ||
| 73 | [ '@SHLOMIF/Legal', _exp('Legal'), {} ], | ||
| 74 | [ '@SHLOMIF/List', _exp('-Transformer'), { 'transformer' => 'List' } ], | ||
| 75 | ); | ||
| 76 | |||
| 77 | 0 | return @plugins; | |
| 78 | } | ||
| 79 | |||
| 80 | # ABSTRACT: SHLOMIF's default Pod::Weaver config | ||
| 81 | # COPYRIGHT | ||
| 82 | |||
| 83 | 1 | 1; | |
| 84 | |||
| 85 | __END__ | ||