line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of Dist-Zilla-Role-ContributorSource |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2014 by Chris Weyl. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package Dist::Zilla::Role::ContributorSource; |
11
|
|
|
|
|
|
|
BEGIN { |
12
|
1
|
|
|
1
|
|
785071
|
$Dist::Zilla::Role::ContributorSource::AUTHORITY = 'cpan:RSRCHBOY'; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
# git description: e2f262d |
15
|
|
|
|
|
|
|
$Dist::Zilla::Role::ContributorSource::VERSION = '0.001'; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# ABSTRACT: Something that finds and provides contributors. |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
10
|
use Moose::Role; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
20
|
1
|
|
|
1
|
|
5796
|
use namespace::autoclean; |
|
1
|
|
|
|
|
1262
|
|
|
1
|
|
|
|
|
4
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
requires 'contributors'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
!!42; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=for :stopwords Chris Weyl |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Dist::Zilla::Role::ContributorSource - Something that finds and provides contributors. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This document describes version 0.001 of Dist::Zilla::Role::ContributorSource - released April 25, 2014 as part of Dist-Zilla-Role-ContributorSource. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 SYNOPSIS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
# in your Dist::Zilla thing... |
47
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::ContributorSource'; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
sub contributors { ... } |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 DESCRIPTION |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
A simple interface role to define what plugins provide information about the |
54
|
|
|
|
|
|
|
contributors to the distribution, much as L<Dist::Zilla::Role::PrereqSource> |
55
|
|
|
|
|
|
|
does for distribution prerequisites. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 REQUIRED METHODS |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 contributors |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Returns a list of the contributors sourced by this... thing. The list should |
62
|
|
|
|
|
|
|
be comprised of L<Dist::Zilla::Stash::Contributors::Contributor> objects. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 SEE ALSO |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=over 4 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=item * |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L<Dist::Zilla::Stash::Contributors> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=back |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 SOURCE |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The development version is on github at L<http://https://github.com/RsrchBoy/dist-zilla-role-contributorsource> |
79
|
|
|
|
|
|
|
and may be cloned from L<git://https://github.com/RsrchBoy/dist-zilla-role-contributorsource.git> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 BUGS |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website |
84
|
|
|
|
|
|
|
https://github.com/RsrchBoy/dist-zilla-role-contributorsource/issues |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
87
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
88
|
|
|
|
|
|
|
feature. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 AUTHOR |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Chris Weyl <cweyl@alumni.drew.edu> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This software is Copyright (c) 2014 by Chris Weyl. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
This is free software, licensed under: |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
The GNU Lesser General Public License, Version 2.1, February 1999 |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |