Skip to content

Commit

Permalink
Build results of d25a0ed (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Feb 4, 2012
2 parents 749cf8a + d25a0ed commit 79d881e
Show file tree
Hide file tree
Showing 9 changed files with 117 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ my %module_build_args = (
"Kent Fredric <kentnl\@cpan.org>"
],
"dist_name" => "Dist-Zilla-Plugin-MetaProvides",
"dist_version" => "1.13000000",
"dist_version" => "1.13000001",
"license" => "perl",
"module_name" => "Dist::Zilla::Plugin::MetaProvides",
"recommends" => {},
Expand Down
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Revision history for Dist-Zilla-Plugin-MetaProvides

1.13000001 2012-02-04T09:04:53Z
[Documentation]
- Improve documentation of skip_underscores and meta_noindex at the more
foward-facing sites.

1.13000000 2012-02-04T07:35:05Z
[Features]
- Add a provisional filter that eliminates X::_y form namespaces ( a
Expand Down
10 changes: 5 additions & 5 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@
"provides" : {
"Dist::Zilla::MetaProvides::ProvideRecord" : {
"file" : "lib/Dist/Zilla/MetaProvides/ProvideRecord.pm",
"version" : "1.13000000"
"version" : "1.13000001"
},
"Dist::Zilla::MetaProvides::Types" : {
"file" : "lib/Dist/Zilla/MetaProvides/Types.pm",
"version" : "1.13000000"
"version" : "1.13000001"
},
"Dist::Zilla::Plugin::MetaProvides" : {
"file" : "lib/Dist/Zilla/Plugin/MetaProvides.pm",
"version" : "1.13000000"
"version" : "1.13000001"
},
"Dist::Zilla::Role::MetaProvider::Provider" : {
"file" : "lib/Dist/Zilla/Role/MetaProvider/Provider.pm",
"version" : "1.13000000"
"version" : "1.13000001"
}
},
"release_status" : "stable",
Expand All @@ -101,7 +101,7 @@
"web" : "https://github.com/kentfredric/dist-zilla-plugin-metaprovides"
}
},
"version" : "1.13000000",
"version" : "1.13000001",
"x_BuiltWith" : {
"modules" : {
"Dist::Zilla::Plugin::Bootstrap::lib" : "0.01023601",
Expand Down
10 changes: 5 additions & 5 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ no_index:
provides:
Dist::Zilla::MetaProvides::ProvideRecord:
file: lib/Dist/Zilla/MetaProvides/ProvideRecord.pm
version: 1.13000000
version: 1.13000001
Dist::Zilla::MetaProvides::Types:
file: lib/Dist/Zilla/MetaProvides/Types.pm
version: 1.13000000
version: 1.13000001
Dist::Zilla::Plugin::MetaProvides:
file: lib/Dist/Zilla/Plugin/MetaProvides.pm
version: 1.13000000
version: 1.13000001
Dist::Zilla::Role::MetaProvider::Provider:
file: lib/Dist/Zilla/Role/MetaProvider/Provider.pm
version: 1.13000000
version: 1.13000001
requires:
Dist::Zilla::Role::MetaProvider: 0
Dist::Zilla::Util::EmulatePhase: 0.01000101
Expand All @@ -50,7 +50,7 @@ requires:
resources:
homepage: https://github.com/kentfredric/dist-zilla-plugin-metaprovides
repository: https://github.com/kentfredric/dist-zilla-plugin-metaprovides.git
version: 1.13000000
version: 1.13000001
x_BuiltWith:
modules:
Dist::Zilla::Plugin::Bootstrap::lib: 0.01023601
Expand Down
43 changes: 42 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,30 @@ NAME
in your META.yml

VERSION
version 1.13000000
version 1.13000001

SYNOPSIS
In your projects dist.ini

[MetaProvides::Class]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
meta_noindex = 1 ;optional flag
skip_underscore = 1 ;optional flag

[MetaProvides::Package]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
meta_noindex = 1 ;optional flag
skip_underscore = 1 ;optional flag

[MetaProvides::FromFile]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
file = some_file.ini ;mandatory flag
reader_name = Config::INI::Reader ;optional flag
meta_noindex = 1 ;optional and useless flag
skip_underscore = 1 ;its there as an option, but its probably stupid.

And then in some_file.ini

Expand Down Expand Up @@ -98,6 +104,41 @@ OPTION SUMMARY

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

meta_noindex
This dictates how to behave when a discovered class is also present in
the "no_index" META field.

values
* '0' [default]

"no_index" META field will be ignored

* '1'

"no_index" META field will be recognised and things found in it will
cause respective packages to not be provided in the metadata.

"meta_noindex" in Dist::Zilla::Role::MetaProvider::Provider

skip_underscore
Filter out detected namespaces with a token with a leading "_", ie:

Foo::Bar::_internal::Baz;

This is a convenience to provide sane defaults. For more controlled
exclusion of namespaces, see Dist::Zilla::Plugin::MetaNoIndex

values
* '0'

*underscore*'d namespaces will be included.

* '1' [default]

*underscore*'d namespaces will not be included.

"skip_underscore" in Dist::Zilla::Role::MetaProvider::Provider

file
( Dist::Zilla::Plugin::MetaProvides::FromFile )

Expand Down
4 changes: 2 additions & 2 deletions lib/Dist/Zilla/MetaProvides/ProvideRecord.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BEGIN {
$Dist::Zilla::MetaProvides::ProvideRecord::AUTHORITY = 'cpan:KENTNL';
}
{
$Dist::Zilla::MetaProvides::ProvideRecord::VERSION = '1.13000000';
$Dist::Zilla::MetaProvides::ProvideRecord::VERSION = '1.13000001';
}

# ABSTRACT: Data Management Record for MetaProvider::Provides Based Class
Expand Down Expand Up @@ -62,7 +62,7 @@ Dist::Zilla::MetaProvides::ProvideRecord - Data Management Record for MetaProvid
=head1 VERSION
version 1.13000000
version 1.13000001
=head1 ATTRIBUTES
Expand Down
4 changes: 2 additions & 2 deletions lib/Dist/Zilla/MetaProvides/Types.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BEGIN {
$Dist::Zilla::MetaProvides::Types::AUTHORITY = 'cpan:KENTNL';
}
{
$Dist::Zilla::MetaProvides::Types::VERSION = '1.13000000';
$Dist::Zilla::MetaProvides::Types::VERSION = '1.13000001';
}

# ABSTRACT: Utility Types for the MetaProvides Plugin
Expand Down Expand Up @@ -35,7 +35,7 @@ Dist::Zilla::MetaProvides::Types - Utility Types for the MetaProvides Plugin
=head1 VERSION
version 1.13000000
version 1.13000001
=head1 SUBTYPES
Expand Down
55 changes: 53 additions & 2 deletions lib/Dist/Zilla/Plugin/MetaProvides.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BEGIN {
$Dist::Zilla::Plugin::MetaProvides::AUTHORITY = 'cpan:KENTNL';
}
{
$Dist::Zilla::Plugin::MetaProvides::VERSION = '1.13000000';
$Dist::Zilla::Plugin::MetaProvides::VERSION = '1.13000001';
}

# ABSTRACT: Generating and Populating 'provides' in your META.yml
Expand All @@ -23,7 +23,7 @@ Dist::Zilla::Plugin::MetaProvides - Generating and Populating 'provides' in your
=head1 VERSION
version 1.13000000
version 1.13000001
=head1 SYNOPSIS
Expand All @@ -32,16 +32,22 @@ In your projects dist.ini
[MetaProvides::Class]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
meta_noindex = 1 ;optional flag
skip_underscore = 1 ;optional flag
[MetaProvides::Package]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
meta_noindex = 1 ;optional flag
skip_underscore = 1 ;optional flag
[MetaProvides::FromFile]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
file = some_file.ini ;mandatory flag
reader_name = Config::INI::Reader ;optional flag
meta_noindex = 1 ;optional and useless flag
skip_underscore = 1 ;its there as an option, but its probably stupid.
And then in some_file.ini
Expand Down Expand Up @@ -136,6 +142,51 @@ Inherit version from L<Dist::Zilla> when one is missing.
L<Dist::Zilla::Role::MetaProvider::Provider/inhert_missing>
=head2 meta_noindex
This dictates how to behave when a discovered class is also present in the C<no_index> META field.
=head3 values
=over 4
=item * C<< '0' >> B<[default]>
C<no_index> META field will be ignored
=item * C<< '1' >>
C<no_index> META field will be recognised and things found in it will cause respective packages
to not be provided in the metadata.
=back
L<Dist::Zilla::Role::MetaProvider::Provider/meta_noindex>
=head2 skip_underscore
Filter out detected namespaces with a token with a leading C<_>, ie:
Foo::Bar::_internal::Baz;
This is a convenience to provide sane defaults. For more controlled exclusion of namespaces, see L<Dist::Zilla::Plugin::MetaNoIndex>
=head3 values
=over 4
=item * C<< '0' >>
I<underscore>'d namespaces will be included.
=item * C<< '1' >> B<[default]>
I<underscore>'d namespaces will not be included.
=back
L<Dist::Zilla::Role::MetaProvider::Provider/skip_underscore>
=head2 file
( L<Dist::Zilla::Plugin::MetaProvides::FromFile> )
Expand Down
4 changes: 2 additions & 2 deletions lib/Dist/Zilla/Role/MetaProvider/Provider.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BEGIN {
$Dist::Zilla::Role::MetaProvider::Provider::AUTHORITY = 'cpan:KENTNL';
}
{
$Dist::Zilla::Role::MetaProvider::Provider::VERSION = '1.13000000';
$Dist::Zilla::Role::MetaProvider::Provider::VERSION = '1.13000001';
}

# ABSTRACT: A Role for Metadata providers specific to the 'provider' key.
Expand Down Expand Up @@ -154,7 +154,7 @@ Dist::Zilla::Role::MetaProvider::Provider - A Role for Metadata providers specif
=head1 VERSION
version 1.13000000
version 1.13000001
=head1 PERFORMS ROLES
Expand Down

0 comments on commit 79d881e

Please sign in to comment.