Skip to content

Commit 79d881e

Browse files
committed
Build results of d25a0ed (on master)
2 parents 749cf8a + d25a0ed commit 79d881e

File tree

9 files changed

+117
-20
lines changed

9 files changed

+117
-20
lines changed

Build.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ my %module_build_args = (
2323
"Kent Fredric <kentnl\@cpan.org>"
2424
],
2525
"dist_name" => "Dist-Zilla-Plugin-MetaProvides",
26-
"dist_version" => "1.13000000",
26+
"dist_version" => "1.13000001",
2727
"license" => "perl",
2828
"module_name" => "Dist::Zilla::Plugin::MetaProvides",
2929
"recommends" => {},

Changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Revision history for Dist-Zilla-Plugin-MetaProvides
22

3+
1.13000001 2012-02-04T09:04:53Z
4+
[Documentation]
5+
- Improve documentation of skip_underscores and meta_noindex at the more
6+
foward-facing sites.
7+
38
1.13000000 2012-02-04T07:35:05Z
49
[Features]
510
- Add a provisional filter that eliminates X::_y form namespaces ( a

META.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,19 @@
7777
"provides" : {
7878
"Dist::Zilla::MetaProvides::ProvideRecord" : {
7979
"file" : "lib/Dist/Zilla/MetaProvides/ProvideRecord.pm",
80-
"version" : "1.13000000"
80+
"version" : "1.13000001"
8181
},
8282
"Dist::Zilla::MetaProvides::Types" : {
8383
"file" : "lib/Dist/Zilla/MetaProvides/Types.pm",
84-
"version" : "1.13000000"
84+
"version" : "1.13000001"
8585
},
8686
"Dist::Zilla::Plugin::MetaProvides" : {
8787
"file" : "lib/Dist/Zilla/Plugin/MetaProvides.pm",
88-
"version" : "1.13000000"
88+
"version" : "1.13000001"
8989
},
9090
"Dist::Zilla::Role::MetaProvider::Provider" : {
9191
"file" : "lib/Dist/Zilla/Role/MetaProvider/Provider.pm",
92-
"version" : "1.13000000"
92+
"version" : "1.13000001"
9393
}
9494
},
9595
"release_status" : "stable",
@@ -101,7 +101,7 @@
101101
"web" : "https://github.com/kentfredric/dist-zilla-plugin-metaprovides"
102102
}
103103
},
104-
"version" : "1.13000000",
104+
"version" : "1.13000001",
105105
"x_BuiltWith" : {
106106
"modules" : {
107107
"Dist::Zilla::Plugin::Bootstrap::lib" : "0.01023601",

META.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ no_index:
2626
provides:
2727
Dist::Zilla::MetaProvides::ProvideRecord:
2828
file: lib/Dist/Zilla/MetaProvides/ProvideRecord.pm
29-
version: 1.13000000
29+
version: 1.13000001
3030
Dist::Zilla::MetaProvides::Types:
3131
file: lib/Dist/Zilla/MetaProvides/Types.pm
32-
version: 1.13000000
32+
version: 1.13000001
3333
Dist::Zilla::Plugin::MetaProvides:
3434
file: lib/Dist/Zilla/Plugin/MetaProvides.pm
35-
version: 1.13000000
35+
version: 1.13000001
3636
Dist::Zilla::Role::MetaProvider::Provider:
3737
file: lib/Dist/Zilla/Role/MetaProvider/Provider.pm
38-
version: 1.13000000
38+
version: 1.13000001
3939
requires:
4040
Dist::Zilla::Role::MetaProvider: 0
4141
Dist::Zilla::Util::EmulatePhase: 0.01000101
@@ -50,7 +50,7 @@ requires:
5050
resources:
5151
homepage: https://github.com/kentfredric/dist-zilla-plugin-metaprovides
5252
repository: https://github.com/kentfredric/dist-zilla-plugin-metaprovides.git
53-
version: 1.13000000
53+
version: 1.13000001
5454
x_BuiltWith:
5555
modules:
5656
Dist::Zilla::Plugin::Bootstrap::lib: 0.01023601

README

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,30 @@ NAME
33
in your META.yml
44

55
VERSION
6-
version 1.13000000
6+
version 1.13000001
77

88
SYNOPSIS
99
In your projects dist.ini
1010

1111
[MetaProvides::Class]
1212
inherit_version = 0 ;optional flag
1313
inherit_missing = 0 ;optional flag
14+
meta_noindex = 1 ;optional flag
15+
skip_underscore = 1 ;optional flag
1416

1517
[MetaProvides::Package]
1618
inherit_version = 0 ;optional flag
1719
inherit_missing = 0 ;optional flag
20+
meta_noindex = 1 ;optional flag
21+
skip_underscore = 1 ;optional flag
1822

1923
[MetaProvides::FromFile]
2024
inherit_version = 0 ;optional flag
2125
inherit_missing = 0 ;optional flag
2226
file = some_file.ini ;mandatory flag
2327
reader_name = Config::INI::Reader ;optional flag
28+
meta_noindex = 1 ;optional and useless flag
29+
skip_underscore = 1 ;its there as an option, but its probably stupid.
2430

2531
And then in some_file.ini
2632

@@ -98,6 +104,41 @@ OPTION SUMMARY
98104

99105
"inhert_missing" in Dist::Zilla::Role::MetaProvider::Provider
100106

107+
meta_noindex
108+
This dictates how to behave when a discovered class is also present in
109+
the "no_index" META field.
110+
111+
values
112+
* '0' [default]
113+
114+
"no_index" META field will be ignored
115+
116+
* '1'
117+
118+
"no_index" META field will be recognised and things found in it will
119+
cause respective packages to not be provided in the metadata.
120+
121+
"meta_noindex" in Dist::Zilla::Role::MetaProvider::Provider
122+
123+
skip_underscore
124+
Filter out detected namespaces with a token with a leading "_", ie:
125+
126+
Foo::Bar::_internal::Baz;
127+
128+
This is a convenience to provide sane defaults. For more controlled
129+
exclusion of namespaces, see Dist::Zilla::Plugin::MetaNoIndex
130+
131+
values
132+
* '0'
133+
134+
*underscore*'d namespaces will be included.
135+
136+
* '1' [default]
137+
138+
*underscore*'d namespaces will not be included.
139+
140+
"skip_underscore" in Dist::Zilla::Role::MetaProvider::Provider
141+
101142
file
102143
( Dist::Zilla::Plugin::MetaProvides::FromFile )
103144

lib/Dist/Zilla/MetaProvides/ProvideRecord.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BEGIN {
66
$Dist::Zilla::MetaProvides::ProvideRecord::AUTHORITY = 'cpan:KENTNL';
77
}
88
{
9-
$Dist::Zilla::MetaProvides::ProvideRecord::VERSION = '1.13000000';
9+
$Dist::Zilla::MetaProvides::ProvideRecord::VERSION = '1.13000001';
1010
}
1111

1212
# ABSTRACT: Data Management Record for MetaProvider::Provides Based Class
@@ -62,7 +62,7 @@ Dist::Zilla::MetaProvides::ProvideRecord - Data Management Record for MetaProvid
6262
6363
=head1 VERSION
6464
65-
version 1.13000000
65+
version 1.13000001
6666
6767
=head1 ATTRIBUTES
6868

lib/Dist/Zilla/MetaProvides/Types.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BEGIN {
66
$Dist::Zilla::MetaProvides::Types::AUTHORITY = 'cpan:KENTNL';
77
}
88
{
9-
$Dist::Zilla::MetaProvides::Types::VERSION = '1.13000000';
9+
$Dist::Zilla::MetaProvides::Types::VERSION = '1.13000001';
1010
}
1111

1212
# ABSTRACT: Utility Types for the MetaProvides Plugin
@@ -35,7 +35,7 @@ Dist::Zilla::MetaProvides::Types - Utility Types for the MetaProvides Plugin
3535
3636
=head1 VERSION
3737
38-
version 1.13000000
38+
version 1.13000001
3939
4040
=head1 SUBTYPES
4141

lib/Dist/Zilla/Plugin/MetaProvides.pm

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BEGIN {
66
$Dist::Zilla::Plugin::MetaProvides::AUTHORITY = 'cpan:KENTNL';
77
}
88
{
9-
$Dist::Zilla::Plugin::MetaProvides::VERSION = '1.13000000';
9+
$Dist::Zilla::Plugin::MetaProvides::VERSION = '1.13000001';
1010
}
1111

1212
# ABSTRACT: Generating and Populating 'provides' in your META.yml
@@ -23,7 +23,7 @@ Dist::Zilla::Plugin::MetaProvides - Generating and Populating 'provides' in your
2323
2424
=head1 VERSION
2525
26-
version 1.13000000
26+
version 1.13000001
2727
2828
=head1 SYNOPSIS
2929
@@ -32,16 +32,22 @@ In your projects dist.ini
3232
[MetaProvides::Class]
3333
inherit_version = 0 ;optional flag
3434
inherit_missing = 0 ;optional flag
35+
meta_noindex = 1 ;optional flag
36+
skip_underscore = 1 ;optional flag
3537
3638
[MetaProvides::Package]
3739
inherit_version = 0 ;optional flag
3840
inherit_missing = 0 ;optional flag
41+
meta_noindex = 1 ;optional flag
42+
skip_underscore = 1 ;optional flag
3943
4044
[MetaProvides::FromFile]
4145
inherit_version = 0 ;optional flag
4246
inherit_missing = 0 ;optional flag
4347
file = some_file.ini ;mandatory flag
4448
reader_name = Config::INI::Reader ;optional flag
49+
meta_noindex = 1 ;optional and useless flag
50+
skip_underscore = 1 ;its there as an option, but its probably stupid.
4551
4652
And then in some_file.ini
4753
@@ -136,6 +142,51 @@ Inherit version from L<Dist::Zilla> when one is missing.
136142
137143
L<Dist::Zilla::Role::MetaProvider::Provider/inhert_missing>
138144
145+
=head2 meta_noindex
146+
147+
This dictates how to behave when a discovered class is also present in the C<no_index> META field.
148+
149+
=head3 values
150+
151+
=over 4
152+
153+
=item * C<< '0' >> B<[default]>
154+
155+
C<no_index> META field will be ignored
156+
157+
=item * C<< '1' >>
158+
159+
C<no_index> META field will be recognised and things found in it will cause respective packages
160+
to not be provided in the metadata.
161+
162+
=back
163+
164+
L<Dist::Zilla::Role::MetaProvider::Provider/meta_noindex>
165+
166+
=head2 skip_underscore
167+
168+
Filter out detected namespaces with a token with a leading C<_>, ie:
169+
170+
Foo::Bar::_internal::Baz;
171+
172+
This is a convenience to provide sane defaults. For more controlled exclusion of namespaces, see L<Dist::Zilla::Plugin::MetaNoIndex>
173+
174+
=head3 values
175+
176+
=over 4
177+
178+
=item * C<< '0' >>
179+
180+
I<underscore>'d namespaces will be included.
181+
182+
=item * C<< '1' >> B<[default]>
183+
184+
I<underscore>'d namespaces will not be included.
185+
186+
=back
187+
188+
L<Dist::Zilla::Role::MetaProvider::Provider/skip_underscore>
189+
139190
=head2 file
140191
141192
( L<Dist::Zilla::Plugin::MetaProvides::FromFile> )

lib/Dist/Zilla/Role/MetaProvider/Provider.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BEGIN {
66
$Dist::Zilla::Role::MetaProvider::Provider::AUTHORITY = 'cpan:KENTNL';
77
}
88
{
9-
$Dist::Zilla::Role::MetaProvider::Provider::VERSION = '1.13000000';
9+
$Dist::Zilla::Role::MetaProvider::Provider::VERSION = '1.13000001';
1010
}
1111

1212
# ABSTRACT: A Role for Metadata providers specific to the 'provider' key.
@@ -154,7 +154,7 @@ Dist::Zilla::Role::MetaProvider::Provider - A Role for Metadata providers specif
154154
155155
=head1 VERSION
156156
157-
version 1.13000000
157+
version 1.13000001
158158
159159
=head1 PERFORMS ROLES
160160

0 commit comments

Comments
 (0)