line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::PluginBundle::ROKR; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
85026
|
$Dist::Zilla::PluginBundle::ROKR::VERSION = '0.0019'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
# ABSTRACT: A nifty little plugin bundle for Dist::Zilla |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
11
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
28
|
|
9
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
1033
|
use Moose; |
|
1
|
|
|
|
|
619159
|
|
|
1
|
|
|
|
|
8
|
|
12
|
1
|
|
|
1
|
|
8422
|
use Moose::Autobox; |
|
1
|
|
|
|
|
208223
|
|
|
1
|
|
|
|
|
6
|
|
13
|
|
|
|
|
|
|
with qw/ Dist::Zilla::Role::PluginBundle::Easy /; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub configure { |
17
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
18
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
$self->add_bundle('@ROKR::Basic'); |
20
|
0
|
|
|
|
|
|
$self->add_plugins('UpdateGitHub'); |
21
|
0
|
|
|
|
|
|
$self->add_plugins('Git::Tag'); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub parse_hint { |
25
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
26
|
0
|
|
|
|
|
|
my $content = shift; |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
|
|
|
my %hint; |
29
|
0
|
0
|
|
|
|
|
if ( $content =~ m/^\s*#+\s*(?:Dist::Zilla):\s*(.+)$/m ) { |
30
|
0
|
0
|
|
|
|
|
%hint = map { |
|
|
0
|
|
|
|
|
|
31
|
0
|
|
|
|
|
|
m/^([\+\-])(.*)$/ ? |
32
|
|
|
|
|
|
|
( $1 eq '+' ? ( $2 => 1 ) : ( $2 => 0 ) ) : |
33
|
|
|
|
|
|
|
() |
34
|
|
|
|
|
|
|
} split m/\s+/, $1; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
0
|
|
|
|
|
|
return \%hint; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
__END__ |
43
|
|
|
|
|
|
|
=pod |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 NAME |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Dist::Zilla::PluginBundle::ROKR - A nifty little plugin bundle for Dist::Zilla |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 VERSION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
version 0.0019 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 DESCRIPTION |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
C<@ROKR::Basic> - L<Dist::Zilla::PluginBundle::ROKR::Basic> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This is an enhancement on the @Basic bundle (L<Dist::Zilla::PluginBundle::Basic>), specifically: |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
@Basic (without Readme) |
60
|
|
|
|
|
|
|
CopyReadmeFromBuild |
61
|
|
|
|
|
|
|
DynamicManifest |
62
|
|
|
|
|
|
|
SurgicalPkgVersion |
63
|
|
|
|
|
|
|
SurgicalPodWeaver |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
C<CopyReadmeFromBuild> - L<Dist::Zilla::Plugin::CopyReadmeFromBuild> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
C<DynamicManifest> - L<Dist::Zilla::Plugin::DynamicManifest> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
C<SurgicalPkgVersion> - L<Dist::Zilla::Plugin::SurgicalPkgVersion> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
C<SurgicalPodWeaver> - L<Dist::Zilla::Plugin::SurgicalPodWeaver> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
C<UpdateGitHub> - L<Dist::Zilla::Plugin::UpdateGitHub> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 AUTHOR |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Robert Krimen <robertkrimen@gmail.com> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Robert Krimen. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
84
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=cut |
87
|
|
|
|
|
|
|
|