line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
10
|
|
|
10
|
|
13850
|
use 5.006; |
|
10
|
|
|
|
|
26
|
|
2
|
10
|
|
|
10
|
|
36
|
use strict; |
|
10
|
|
|
|
|
12
|
|
|
10
|
|
|
|
|
180
|
|
3
|
10
|
|
|
10
|
|
30
|
use warnings; |
|
10
|
|
|
|
|
13
|
|
|
10
|
|
|
|
|
593
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Dist::Zilla::MetaProvides::Types; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.002002'; # TRIAL |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# ABSTRACT: Utility Types for the MetaProvides Plugin |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
10
|
|
|
10
|
|
1307
|
use MooseX::Types::Moose qw( Str Undef Object ); |
|
10
|
|
|
|
|
665134
|
|
|
10
|
|
|
|
|
83
|
|
26
|
10
|
|
|
10
|
|
32047
|
use MooseX::Types -declare => [qw( ModVersion ProviderObject )]; |
|
10
|
|
|
|
|
11
|
|
|
10
|
|
|
|
|
52
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
## no critic (Bangs::ProhibitBitwiseOperators) |
39
|
|
|
|
|
|
|
subtype ModVersion, as Str | Undef; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
subtype ProviderObject, as Object, where { $_->does('Dist::Zilla::Role::MetaProvider::Provider') }; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
__END__ |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=pod |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=encoding UTF-8 |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 NAME |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Dist::Zilla::MetaProvides::Types - Utility Types for the MetaProvides Plugin |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 VERSION |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
version 2.002002 |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 SUBTYPES |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 ModVersion |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Module Versions can be either a string, or an undef. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
In L<Dist::Zilla::MetaProvides::ProvideRecord> and |
72
|
|
|
|
|
|
|
L<Dist::Zilla::Role::MetaProvider::Provider>, versions that have a value of |
73
|
|
|
|
|
|
|
undef will be trimmed from output. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 ProviderObject |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Just an easy to use Check that assures a given object performs a role. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=begin MetaPOD::JSON v1.1.0 |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
{ |
82
|
|
|
|
|
|
|
"namespace":"Dist::Zilla::MetaProvides::Types", |
83
|
|
|
|
|
|
|
"interface":"exporter", |
84
|
|
|
|
|
|
|
"inherits":"MooseX::Types::Base" |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=end MetaPOD::JSON |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 SEE ALSO |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=over 4 |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=item * L<MooseX::Types::Moose> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item * L<Moose::Util::TypeConstraints> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * L<Dist::Zilla::MetaProvides::ProvideRecord> |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item * L<Dist::Zilla::Role::MetaProvider::Provider> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=back |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head1 AUTHOR |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Kent Fredric <kentnl@cpan.org> |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Kent Fredric <kentfredric@gmail.com>. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
113
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |