Skip to content

Commit

Permalink
Build results of dae4713 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed May 6, 2015
1 parent e171512 commit c6dbbbc
Show file tree
Hide file tree
Showing 10 changed files with 81 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Release history for Dist-Zilla-Plugin-RemovePrereqs-Provided

0.001000 2015-05-06T00:19:31Z f69eeed
0.001000 2015-05-06T00:29:04Z dae4713
- First version.

1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ perlcritic.rc
t/00-compile/lib_Dist_Zilla_Plugin_RemovePrereqs_Provided_pm.t
t/00-report-prereqs.dd
t/00-report-prereqs.t
t/01_basic.t
weaver.ini
xt/author/critic.t
xt/author/eol.t
Expand Down
7 changes: 6 additions & 1 deletion META.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,15 @@
"Test::More" : "0.99"
},
"requires" : {
"Dist::Zilla::Plugin::GatherDir" : "0",
"Dist::Zilla::Plugin::Prereqs" : "0",
"Dist::Zilla::Util::Test::KENTNL" : "1.005000",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Test::DZil" : "0",
"Test::More" : "0.89",
"perl" : "5.006"
"perl" : "5.006",
"recommended" : "0"
}
}
},
Expand Down
5 changes: 5 additions & 0 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ abstract: 'Remove prerequisites that are already provided.'
author:
- 'Kent Fredric <kentnl@cpan.org>'
build_requires:
Dist::Zilla::Plugin::GatherDir: '0'
Dist::Zilla::Plugin::Prereqs: '0'
Dist::Zilla::Util::Test::KENTNL: '1.005000'
ExtUtils::MakeMaker: '0'
File::Spec: '0'
Test::DZil: '0'
Test::More: '0.89'
perl: '5.006'
recommended: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
perl: '5.006'
Expand Down
12 changes: 11 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ my %WriteMakefileArgs = (
"warnings" => 0
},
"TEST_REQUIRES" => {
"Dist::Zilla::Plugin::GatherDir" => 0,
"Dist::Zilla::Plugin::Prereqs" => 0,
"Dist::Zilla::Util::Test::KENTNL" => "1.005000",
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Test::More" => "0.89"
"Test::DZil" => 0,
"Test::More" => "0.89",
"recommended" => 0
},
"VERSION" => "0.001000",
"test" => {
Expand All @@ -38,13 +43,18 @@ my %WriteMakefileArgs = (


my %FallbackPrereqs = (
"Dist::Zilla::Plugin::GatherDir" => 0,
"Dist::Zilla::Plugin::Prereqs" => 0,
"Dist::Zilla::Role::PrereqSource" => 0,
"Dist::Zilla::Util::ConfigDumper" => 0,
"Dist::Zilla::Util::Test::KENTNL" => "1.005000",
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Moose" => 0,
"Moose::Util::TypeConstraints" => 0,
"Test::DZil" => 0,
"Test::More" => "0.89",
"recommended" => 0,
"strict" => 0,
"warnings" => 0
);
Expand Down
3 changes: 3 additions & 0 deletions dist.ini.meta
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ copyfiles = LICENSE
srcreadme = mkdn
twitter_extra_hash_tags = #distzilla
; auto_prereqs_skip = File::Find

[Prereqs / TestRecommends ]
Dist::Zilla::Plugin::MetaProvides::Package = 0
4 changes: 4 additions & 0 deletions misc/built_with.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.009",
"Dist::Zilla::Plugin::ConfirmRelease" : "5.034",
"Dist::Zilla::Plugin::CopyFilesFromBuild" : "0.150250",
"Dist::Zilla::Plugin::GatherDir" : "5.034",
"Dist::Zilla::Plugin::Git::Check" : "2.033",
"Dist::Zilla::Plugin::Git::Commit" : "2.033",
"Dist::Zilla::Plugin::Git::CommitBuild" : "2.033",
Expand Down Expand Up @@ -54,18 +55,21 @@
"Dist::Zilla::PluginBundle::Author::KENTNL" : "2.024001",
"Dist::Zilla::Role::PrereqSource" : "5.034",
"Dist::Zilla::Util::ConfigDumper" : "0.003006",
"Dist::Zilla::Util::Test::KENTNL" : "1.005011",
"ExtUtils::MakeMaker" : "7.04",
"File::Spec" : "3.53",
"Moose" : "2.1403",
"Moose::Util::TypeConstraints" : "2.1403",
"Pod::Coverage::TrustPod" : "0.100003",
"Test::CPAN::Changes" : "0.30",
"Test::CPAN::Meta" : "0.24",
"Test::DZil" : "5.034_01",
"Test::EOL" : "1.5",
"Test::Kwalitee" : "1.22",
"Test::More" : "1.301001_108",
"Test::Pod" : "1.48",
"Test::Pod::Coverage" : "1.10",
"recommended" : "0.002",
"strict" : "1.09",
"warnings" : "1.31"
},
Expand Down
7 changes: 6 additions & 1 deletion t/00-report-prereqs.dd
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,15 @@ do { my $x = {
'Test::More' => '0.99'
},
'requires' => {
'Dist::Zilla::Plugin::GatherDir' => '0',
'Dist::Zilla::Plugin::Prereqs' => '0',
'Dist::Zilla::Util::Test::KENTNL' => '1.005000',
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'Test::DZil' => '0',
'Test::More' => '0.89',
'perl' => '5.006'
'perl' => '5.006',
'recommended' => '0'
}
}
};
Expand Down
42 changes: 42 additions & 0 deletions t/01_basic.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
use strict;
use warnings;

use Test::More;

# ABSTRACT: A basic test
use recommended "Dist::Zilla::Plugin::MetaProvides::Package";

BEGIN {
plan skip_all => "Requires [MetaProvides::Package]"
unless recommended->has("Dist::Zilla::Plugin::MetaProvides::Package");
}

use Dist::Zilla::Plugin::Prereqs;
use Dist::Zilla::Plugin::GatherDir;
use Dist::Zilla::Util::Test::KENTNL 1.005000 qw( dztest );
use Test::DZil qw( simple_ini );

my $t = dztest();
my $package = 'BadName';

$t->add_file(
'dist.ini' => simple_ini(
['GatherDir'], #
['MetaProvides::Package'], #
[ 'Prereqs', { $package => 0 } ], #
['RemovePrereqs::Provided'], #
)
);
$t->add_file( 'lib/BadName.pm' => <<"EOF" );
package ${package};
our \$VERSION = 0.001;
1;
EOF

$t->build_ok;

$t->prereqs_deeply( {} ); # No prereqs

note explain $t->builder->log_messages;
done_testing;
3 changes: 2 additions & 1 deletion xt/author/eol.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ my @files = (
'lib/Dist/Zilla/Plugin/RemovePrereqs/Provided.pm',
't/00-compile/lib_Dist_Zilla_Plugin_RemovePrereqs_Provided_pm.t',
't/00-report-prereqs.dd',
't/00-report-prereqs.t'
't/00-report-prereqs.t',
't/01_basic.t'
);

eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
Expand Down

0 comments on commit c6dbbbc

Please sign in to comment.