From fd4f3617a8950397b48fabe8af578e98152efd7a Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Mon, 13 Mar 2017 06:49:46 +1300 Subject: [PATCH] Build results of f9d71ed (on master) --- Changes | 5 +++-- MANIFEST | 1 + META.json | 1 + META.yml | 1 + Makefile.PL | 2 ++ misc/Changes.deps | 1 + misc/Changes.deps.all | 1 + misc/built_with.json | 1 + t/00-report-prereqs.dd | 1 + t/01-basic.t | 25 +++++++++++++++++++++++++ xt/author/eol.t | 3 ++- 11 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 t/01-basic.t diff --git a/Changes b/Changes index 01f6da3..92491a6 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,12 @@ Release history for Dist-Zilla-Plugin-Prereqs-DarkPAN -v0.3.0 2017-03-12T17:49:17Z 6dc7425 +v0.3.0 2017-03-12T17:49:32Z f9d71ed - Bugfix: Avoid test failures with -Ddefault_inc_excludes_dot ( by automatic plugin update ) - Replace installer with EUMM ( could break some downstreams, primary reason for v0.3 ) - Remove use of Class::Load - Remove useless Moose::Autobox messing up dzil version load time. - Add MetaConfig data + - Basic test added. [Dependencies::Stats] - Dependencies changed since 0.2.4, see misc/*.deps* for details @@ -13,7 +14,7 @@ v0.3.0 2017-03-12T17:49:17Z 6dc7425 - configure: +2 -1 (recommends: +1) - develop: +24 ↑3 -14 (recommends: +1, suggests: +2 -1) - runtime: +2 -2 (recommends: +1) - - test: +3 ↓1 (recommends: +3) + - test: +4 ↓1 (recommends: +3) 0.2.4 2013-11-22T09:51:44Z [00 Minor] diff --git a/MANIFEST b/MANIFEST index 9fd2d4b..0288728 100644 --- a/MANIFEST +++ b/MANIFEST @@ -34,6 +34,7 @@ t/00-compile/lib_Dist_Zilla_Role_PrereqSource_External_pm.t t/00-compile/lib_Dist_Zilla_Role_xPANResolver_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 diff --git a/META.json b/META.json index 8a90587..1e6c3f7 100644 --- a/META.json +++ b/META.json @@ -124,6 +124,7 @@ "requires" : { "ExtUtils::MakeMaker" : "0", "File::Spec" : "0", + "Test::DZil" : "0", "Test::More" : "0", "perl" : "5.006" } diff --git a/META.yml b/META.yml index ba65985..fa908fa 100644 --- a/META.yml +++ b/META.yml @@ -5,6 +5,7 @@ author: build_requires: ExtUtils::MakeMaker: '0' File::Spec: '0' + Test::DZil: '0' Test::More: '0' perl: '5.006' configure_requires: diff --git a/Makefile.PL b/Makefile.PL index 2a8756e..b91c0bd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -34,6 +34,7 @@ my %WriteMakefileArgs = ( "TEST_REQUIRES" => { "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, + "Test::DZil" => 0, "Test::More" => 0 }, "VERSION" => "v0.3.0", @@ -54,6 +55,7 @@ my %FallbackPrereqs = ( "Moose::Role" => 0, "Parse::CPAN::Packages" => 0, "Path::ScanINC" => 0, + "Test::DZil" => 0, "Test::More" => 0, "Try::Tiny" => 0, "URI" => 0, diff --git a/misc/Changes.deps b/misc/Changes.deps index 251c5c3..d44f790 100644 --- a/misc/Changes.deps +++ b/misc/Changes.deps @@ -12,6 +12,7 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co [Added / test requires] - ExtUtils::MakeMaker - File::Spec + - Test::DZil - perl 5.006 [Changed / test requires] diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all index 40693f6..c055fd0 100644 --- a/misc/Changes.deps.all +++ b/misc/Changes.deps.all @@ -56,6 +56,7 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen [Added / test requires] - ExtUtils::MakeMaker - File::Spec + - Test::DZil - perl 5.006 [Changed / develop requires] diff --git a/misc/built_with.json b/misc/built_with.json index c2d917b..dea4e71 100644 --- a/misc/built_with.json +++ b/misc/built_with.json @@ -67,6 +67,7 @@ "Software::License::Perl_5" : "0.103012", "Test::CPAN::Changes" : "0.400002", "Test::CPAN::Meta" : "0.25", + "Test::DZil" : "6.009", "Test::EOL" : "1.6", "Test::Kwalitee" : "1.25", "Test::MinimumVersion" : "0.101082", diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 9aadb34..9b1044c 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -109,6 +109,7 @@ do { my $x = { 'requires' => { 'ExtUtils::MakeMaker' => '0', 'File::Spec' => '0', + 'Test::DZil' => '0', 'Test::More' => '0', 'perl' => '5.006' } diff --git a/t/01-basic.t b/t/01-basic.t new file mode 100644 index 0000000..f460343 --- /dev/null +++ b/t/01-basic.t @@ -0,0 +1,25 @@ +use strict; +use warnings; + +use Test::More tests => 1; +use Test::DZil qw( simple_ini Builder ); +my $tzil = Builder->from_config( + { dist_root => 'invalid' }, + { + add_files => { + 'source/dist.ini' => simple_ini( + ['MetaConfig'], + [ + 'Prereqs::DarkPAN' => { + DDG => 'http://darkpan.duckduckgo.com/', + } + ], + ), + } + } +); +$tzil->chrome->logger->set_debug(1); +$tzil->build; +pass("build ok"); +note explain $tzil->distmeta; +note explain $tzil->log_messages; diff --git a/xt/author/eol.t b/xt/author/eol.t index 1c89035..0f1fa70 100644 --- a/xt/author/eol.t +++ b/xt/author/eol.t @@ -18,7 +18,8 @@ my @files = ( 't/00-compile/lib_Dist_Zilla_Role_PrereqSource_External_pm.t', 't/00-compile/lib_Dist_Zilla_Role_xPANResolver_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;