Skip to content

Commit

Permalink
Build results of 078930f (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Apr 22, 2016
1 parent 088575b commit d2fd2e2
Show file tree
Hide file tree
Showing 15 changed files with 75 additions and 53 deletions.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Revision history for Dist-Zilla-Plugin-MetaProvides

2.002000 2016-04-22T14:20:31Z 8cd4f33
- IMPORTANT: Previously, MetaNoIndex compatibility implemented the "namespace" feature in contradiction of
https://metacpan.org/pod/CPAN::Meta::Spec#namespace , which means packages that exactly matched the "namespace"
token were excluded, when they should have not been excluded. This release resolves this issue, as reported at
https://github.com/rjbs/Dist-Zilla/issues/204

2.001011 2016-01-24T11:24:45Z b20733b
[Dependencies::Stats]
- Dependencies changed since 2.001010, see misc/*.deps* for details
Expand Down
24 changes: 12 additions & 12 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,22 @@
"provides" : {
"Dist::Zilla::MetaProvides::ProvideRecord" : {
"file" : "lib/Dist/Zilla/MetaProvides/ProvideRecord.pm",
"version" : "2.001011"
"version" : "2.002000"
},
"Dist::Zilla::MetaProvides::Types" : {
"file" : "lib/Dist/Zilla/MetaProvides/Types.pm",
"version" : "2.001011"
"version" : "2.002000"
},
"Dist::Zilla::Plugin::MetaProvides" : {
"file" : "lib/Dist/Zilla/Plugin/MetaProvides.pm",
"version" : "2.001011"
"version" : "2.002000"
},
"Dist::Zilla::Role::MetaProvider::Provider" : {
"file" : "lib/Dist/Zilla/Role/MetaProvider/Provider.pm",
"version" : "2.001011"
"version" : "2.002000"
}
},
"release_status" : "stable",
"release_status" : "testing",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/kentnl/Dist-Zilla-Plugin-MetaProvides/issues"
Expand All @@ -175,7 +175,7 @@
"web" : "https://github.com/kentnl/Dist-Zilla-Plugin-MetaProvides"
}
},
"version" : "2.001011",
"version" : "2.002000",
"x_BuiltWith" : {
"external_file" : "misc/built_with.json"
},
Expand Down Expand Up @@ -220,7 +220,7 @@
]
},
"Dist::Zilla::Role::MetaProvider::Provider" : {
"Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.001011",
"Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002000",
"inherit_missing" : "1",
"inherit_version" : "1",
"meta_noindex" : "1"
Expand Down Expand Up @@ -372,7 +372,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@Author::KENTNL/Test::ReportPrereqs",
"version" : "0.021"
"version" : "0.024"
},
{
"class" : "Dist::Zilla::Plugin::Test::Kwalitee",
Expand Down Expand Up @@ -645,7 +645,7 @@
}
},
"name" : "@Author::KENTNL/ReadmeAnyFromPod",
"version" : "0.150250"
"version" : "0.160630"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
Expand Down Expand Up @@ -725,7 +725,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
"tag" : "2.001011-source",
"tag" : "2.002000-source",
"tag_format" : "%v-source",
"tag_message" : "v%v"
},
Expand Down Expand Up @@ -816,7 +816,7 @@
"branch" : "releases",
"changelog" : "Changes",
"signed" : 0,
"tag" : "2.001011",
"tag" : "2.002000",
"tag_format" : "%v",
"tag_message" : "v%v"
},
Expand Down Expand Up @@ -1005,7 +1005,7 @@
"zilla" : {
"class" : "Dist::Zilla::Dist::Builder",
"config" : {
"is_trial" : "0"
"is_trial" : "1"
},
"version" : "5.043"
}
Expand Down
10 changes: 5 additions & 5 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ no_index:
provides:
Dist::Zilla::MetaProvides::ProvideRecord:
file: lib/Dist/Zilla/MetaProvides/ProvideRecord.pm
version: '2.001011'
version: '2.002000'
Dist::Zilla::MetaProvides::Types:
file: lib/Dist/Zilla/MetaProvides/Types.pm
version: '2.001011'
version: '2.002000'
Dist::Zilla::Plugin::MetaProvides:
file: lib/Dist/Zilla/Plugin/MetaProvides.pm
version: '2.001011'
version: '2.002000'
Dist::Zilla::Role::MetaProvider::Provider:
file: lib/Dist/Zilla/Role/MetaProvider/Provider.pm
version: '2.001011'
version: '2.002000'
recommends:
Moose: '2.000'
requires:
Expand All @@ -57,4 +57,4 @@ resources:
bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-MetaProvides/issues
homepage: https://github.com/kentnl/Dist-Zilla-Plugin-MetaProvides
repository: https://github.com/kentnl/Dist-Zilla-Plugin-MetaProvides.git
version: '2.001011'
version: '2.002000'
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ my %WriteMakefileArgs = (
"Test::More" => "0.96",
"lib" => 0
},
"VERSION" => "2.001011",
"VERSION" => "2.002000",
"test" => {
"TESTS" => "t/*.t t/00-compile/*.t t/01-Provider/*.t"
}
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 @@ -4,7 +4,7 @@ use warnings;

package Dist::Zilla::MetaProvides::ProvideRecord;

our $VERSION = '2.001011';
our $VERSION = '2.002000'; # TRIAL

# ABSTRACT: Data Management Record for MetaProvider::Provides Based Class

Expand Down Expand Up @@ -112,7 +112,7 @@ Dist::Zilla::MetaProvides::ProvideRecord - Data Management Record for MetaProvid
=head1 VERSION
version 2.001011
version 2.002000
=head1 PUBLIC METHODS
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 @@ -4,7 +4,7 @@ use warnings;

package Dist::Zilla::MetaProvides::Types;

our $VERSION = '2.001011';
our $VERSION = '2.002000'; # TRIAL

# ABSTRACT: Utility Types for the MetaProvides Plugin

Expand Down Expand Up @@ -60,7 +60,7 @@ Dist::Zilla::MetaProvides::Types - Utility Types for the MetaProvides Plugin
=head1 VERSION
version 2.001011
version 2.002000
=head1 SUBTYPES
Expand Down
25 changes: 13 additions & 12 deletions lib/Dist/Zilla/Plugin/MetaProvides.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

package Dist::Zilla::Plugin::MetaProvides;

our $VERSION = '2.001011';
our $VERSION = '2.002000'; # TRIAL

# ABSTRACT: Generating and Populating 'provides' in your META.yml

Expand Down Expand Up @@ -44,7 +44,7 @@ Dist::Zilla::Plugin::MetaProvides - Generating and Populating 'provides' in your
=head1 VERSION
version 2.001011
version 2.002000
=head1 SYNOPSIS
Expand All @@ -60,23 +60,24 @@ Advanced Usage:
; Traditional Perl5 Modules
[MetaProvides::Package]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
meta_noindex = 1 ;optional flag
inherit_version = 1 ; Default
inherit_missing = 1 ; Default
meta_noindex = 1 ; Default
; If using MooseX::Declare style "class" keywords.
; Default configuration shown
[MetaProvides::Class]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
meta_noindex = 1 ;optional flag
inherit_version = 1 ; Default
inherit_missing = 1 ; Default
meta_noindex = 1 ; Default
; Hand Constructed Provides in an external file
[MetaProvides::FromFile]
inherit_version = 0 ;optional flag
inherit_missing = 0 ;optional flag
file = some_file.ini ;mandatory flag
inherit_version = 1 ; Default
inherit_missing = 1 ; Default
file = some_file.ini ; mandatory flag
reader_name = Config::INI::Reader ;optional flag
meta_noindex = 1 ;optional and useless flag
And then in some_file.ini
Expand Down
6 changes: 3 additions & 3 deletions lib/Dist/Zilla/Role/MetaProvider/Provider.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

package Dist::Zilla::Role::MetaProvider::Provider;

our $VERSION = '2.001011';
our $VERSION = '2.002000'; # TRIAL

# ABSTRACT: A Role for Metadata providers specific to the 'provider' key.

Expand Down Expand Up @@ -244,7 +244,7 @@ sub _apply_meta_noindex {
}
for my $namespace ( @{ $noindex->{'namespace'} } ) {
## no critic (RegularExpressions ProhibitPunctuationVars)
@items = grep { $_->module !~ qr{^\Q$namespace\E($|::)} } @items;
@items = grep { $_->module !~ qr{^\Q$namespace\E::} } @items;
}
return @items;
}
Expand Down Expand Up @@ -289,7 +289,7 @@ Dist::Zilla::Role::MetaProvider::Provider - A Role for Metadata providers specif
=head1 VERSION
version 2.001011
version 2.002000
=head1 PUBLIC METHODS
Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test)

2.001011
2.002000

2.001011 2016-01-24T11:24:45Z
[Added / runtime requires]
- Carp

Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.all
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop)

2.001011
2.002000

2.001011 2016-01-24T11:24:45Z
[Added / runtime requires]
- Carp

Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL )

2.001011
2.002000

2.001011 2016-01-24T11:24:45Z
[Changed / develop suggests]
- Dist::Zilla::PluginBundle::Author::KENTNL 2.025002 → 2.025010

Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.opt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test)

2.001011
2.002000

2.001011 2016-01-24T11:24:45Z

2.001010 2015-10-09T07:02:08Z
[Added / runtime recommends]
Expand Down
14 changes: 7 additions & 7 deletions misc/built_with.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0.003001",
"Dist::Zilla::Plugin::Prereqs::Upgrade" : "0.001000",
"Dist::Zilla::Plugin::Readme::Brief" : "0.002005",
"Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.150250",
"Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.160630",
"Dist::Zilla::Plugin::RemovePrereqs::Provided" : "0.001000",
"Dist::Zilla::Plugin::RewriteVersion::Sanitized" : "0.001005",
"Dist::Zilla::Plugin::RunExtraTests" : "0.028",
Expand All @@ -51,7 +51,7 @@
"Dist::Zilla::Plugin::Test::Kwalitee" : "2.12",
"Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000006",
"Dist::Zilla::Plugin::Test::Perl::Critic" : "3.000",
"Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.021",
"Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.024",
"Dist::Zilla::Plugin::TestRelease" : "5.043",
"Dist::Zilla::Plugin::Twitter" : "0.026",
"Dist::Zilla::Plugin::UploadToCPAN" : "5.043",
Expand All @@ -60,15 +60,15 @@
"Dist::Zilla::Util::ConfigDumper" : "0.003007",
"Dist::Zilla::Util::Test::KENTNL" : "1.005013",
"English" : "1.09",
"ExtUtils::MakeMaker" : "7.04_01",
"ExtUtils::MakeMaker" : "7.11_06",
"File::Spec" : "3.56",
"Hash::Merge::Simple" : "0.051",
"Moose" : "2.1604",
"Moose::Role" : "2.1604",
"Moose" : "2.1605",
"Moose::Role" : "2.1605",
"MooseX::Types" : "0.46",
"MooseX::Types::Moose" : "0.46",
"Pod::Coverage::TrustPod" : "0.100003",
"Scalar::Util" : "1.41",
"Scalar::Util" : "1.44",
"Software::License::Perl_5" : "0.103010",
"Test::CPAN::Changes" : "0.400002",
"Test::CPAN::Meta" : "0.25",
Expand Down Expand Up @@ -99,5 +99,5 @@
"osname" : "linux"
},
"platform" : "linux",
"uname" : "Linux 4.4.0-gentoo x86_64 GenuineIntel GNU/Linux"
"uname" : "Linux 4.4.0-gentoo-r1 x86_64 GenuineIntel GNU/Linux"
}
2 changes: 1 addition & 1 deletion t/00-report-prereqs.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use strict;
use warnings;

# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021
# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.024

use Test::More tests => 1;

Expand Down
15 changes: 11 additions & 4 deletions t/01-Provider/03-metanoindex.t
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,26 @@ subtest '_apply_meta_noindex tests' => sub {
version => 1.0,
parent => $normal_plugin,
);
$example_items->{L} = Dist::Zilla::MetaProvides::ProvideRecord->new(
file => '_THISDOESNOTMATTER',
module => 'Test::ThisIsAlso', # Should not be excluded by namespace rule
version => 1.0,
parent => $normal_plugin,
);

},
undef,
'Test item construction does not die in a fire'
);
my %items = %{$example_items};
is_deeply(
[ $normal_plugin->_apply_meta_noindex( @items{qw( A B C D E F G H I J K )} ) ],
[ @items{qw( A B C D E F G H I J K )} ],
[ $normal_plugin->_apply_meta_noindex( @items{qw( A B C D E F G H I J K L )} ) ],
[ @items{qw( A B C D E F G H I J K L )} ],
'Normal ignorance works still'
);
is_deeply(
[ $noindex_plugin->_apply_meta_noindex( @items{qw( A B C D E F G H I J K )} ) ],
[ @items{qw( B D F H I )} ],
[ $noindex_plugin->_apply_meta_noindex( @items{qw( A B C D E F G H I J K L )} ) ],
[ @items{qw( B D F H I L )} ],
'NoIndex Filtering application works'
);
};
Expand Down

0 comments on commit d2fd2e2

Please sign in to comment.