line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: something that provides metadata (for META.yml/json) |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Moose::Role; |
4
|
7
|
|
|
7
|
|
4384
|
with 'Dist::Zilla::Role::Plugin'; |
|
7
|
|
|
|
|
5276
|
|
|
7
|
|
|
|
|
62
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
7
|
7
|
|
|
7
|
|
37085
|
|
|
7
|
|
|
|
|
21
|
|
|
7
|
|
|
|
|
53
|
|
8
|
|
|
|
|
|
|
use namespace::autoclean; |
9
|
7
|
|
|
7
|
|
50
|
|
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
48
|
|
10
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod This role provides data to merge into the distribution metadata. |
13
|
|
|
|
|
|
|
#pod |
14
|
|
|
|
|
|
|
#pod =method metadata |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod This method (which must be provided by classes implementing this role) |
17
|
|
|
|
|
|
|
#pod returns a hashref of data to be (deeply) merged together with pre-existing |
18
|
|
|
|
|
|
|
#pod metadata. |
19
|
|
|
|
|
|
|
#pod |
20
|
|
|
|
|
|
|
#pod =cut |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
requires 'metadata'; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=pod |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=encoding UTF-8 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Dist::Zilla::Role::MetaProvider - something that provides metadata (for META.yml/json) |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 VERSION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
version 6.028 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This role provides data to merge into the distribution metadata. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 PERL VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
45
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
46
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
47
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
50
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
51
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
52
|
|
|
|
|
|
|
the minimum required perl. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 METHODS |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 metadata |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This method (which must be provided by classes implementing this role) |
59
|
|
|
|
|
|
|
returns a hashref of data to be (deeply) merged together with pre-existing |
60
|
|
|
|
|
|
|
metadata. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 SEE ALSO |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Core Dist::Zilla plugins implementing this role: |
65
|
|
|
|
|
|
|
L<ConfigMeta|Dist::Zilla::Plugin::ConfigMeta>. |
66
|
|
|
|
|
|
|
L<MetaNoIndex|Dist::Zilla::Plugin::MetaNoIndex>. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Dist::Zilla plugins on the CPAN: |
69
|
|
|
|
|
|
|
L<GithubMeta|Dist::Zilla::Plugin::GithubMeta>... |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 AUTHOR |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
80
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
#pod =head1 SEE ALSO |
86
|
|
|
|
|
|
|
#pod |
87
|
|
|
|
|
|
|
#pod Core Dist::Zilla plugins implementing this role: |
88
|
|
|
|
|
|
|
#pod L<ConfigMeta|Dist::Zilla::Plugin::ConfigMeta>. |
89
|
|
|
|
|
|
|
#pod L<MetaNoIndex|Dist::Zilla::Plugin::MetaNoIndex>. |
90
|
|
|
|
|
|
|
#pod |
91
|
|
|
|
|
|
|
#pod Dist::Zilla plugins on the CPAN: |
92
|
|
|
|
|
|
|
#pod L<GithubMeta|Dist::Zilla::Plugin::GithubMeta>... |
93
|
|
|
|
|
|
|
#pod |
94
|
|
|
|
|
|
|
#pod =cut |