From 1bc4d686f00e87abc828e9b74c5f683524bdd7fe Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 28 Aug 2011 17:33:14 +1200 Subject: [PATCH 1/6] Tidy up tests using CheckExtra instead of Extra --- Changes | 7 +++++++ dist.ini | 4 ++-- lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index 87441b86..c46c0b46 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,13 @@ Revision history for {{$dist->name}} {{$NEXT}} + [Dependencies::Runtime::New] + - Dist::Zilla::Plugin::CheckExtraTests # more useful sometimes + - Dist::Zilla::Plugin::Test::Compile + + [Dependencies::Runtime::Removed] + - Dist::Zilla::Plugin::CompileTests + - Dist::Zilla::Plugin::ExtraTests 1.0.15 2011-08-23T21:48:10Z [Bugs] diff --git a/dist.ini b/dist.ini index e491dd07..11c7973b 100644 --- a/dist.ini +++ b/dist.ini @@ -31,11 +31,11 @@ Dist::Zilla = 4.300000 Perl::PrereqScanner=1.006 Dist::Zilla::Plugin::AutoPrereqs = 4.200011 ; skip takes an array Dist::Zilla::Plugin::AutoVersion::Relative = 0.01035617 -Dist::Zilla::Plugin::CompileTests = 1.110930 ; Avoid rt #67183 +Dist::Zilla::Plugin::Test::Compile = 1.112393 ; Avoid __END__ problem Dist::Zilla::Plugin::CriticTests = 1.102280 Dist::Zilla::Plugin::ConfirmRelease = 0 Dist::Zilla::Plugin::EOLTests = 0.02 -Dist::Zilla::Plugin::ExtraTests = 0 +Dist::Zilla::Plugin::CheckExtraTests = 0 Dist::Zilla::Plugin::FakeRelease = 0 Dist::Zilla::Plugin::GatherDir = 0 Dist::Zilla::Plugin::Git::Check = 1.102040 diff --git a/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm b/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm index 59c48cdc..746c81ec 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm @@ -306,7 +306,7 @@ sub bundle_config { [ 'MetaData::BuiltWith' => { show_uname => 1, uname_args => q{ -s -o -r -m -i } } ], [ 'Test::CPAN::Changes' => {} ], - [ 'CompileTests' => {} ], + [ 'Test::Compile' => {} ], [ 'CriticTests' => {} ], [ 'MetaTests' => {} ], [ 'PodCoverageTests' => {} ], @@ -314,7 +314,7 @@ sub bundle_config { [ 'ReportVersions::Tiny' => {} ], [ 'KwaliteeTests' => {} ], [ 'EOLTests' => { trailing_whitespace => 1, } ], - [ 'ExtraTests' => {} ], + [ 'CheckExtraTests' => {} ], [ 'TestRelease' => {} ], [ 'ConfirmRelease' => {} ], _if_twitter( From 2076bf1479f8702ecabd74740bc67aeb867a0ab0 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 28 Aug 2011 17:38:22 +1200 Subject: [PATCH 2/6] Trim excess files/paths/deps in test expectations --- t/01-Minter.t | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/t/01-Minter.t b/t/01-Minter.t index 1ee2ab01..292e1fe5 100644 --- a/t/01-Minter.t +++ b/t/01-Minter.t @@ -190,13 +190,13 @@ EOF README t/00-compile.t t/000-report-versions-tiny.t - t/author-critic.t - t/release-cpan-changes.t - t/release-distmeta.t - t/release-eol.t - t/release-kwalitee.t - t/release-pod-coverage.t - t/release-pod-syntax.t + xt/author/critic.t + xt/release/cpan-changes.t + xt/release/distmeta.t + xt/release/eol.t + xt/release/kwalitee.t + xt/release/pod-coverage.t + xt/release/pod-syntax.t ); my %got_files; @@ -238,7 +238,6 @@ EOF }, test => { requires => { - 'English' => 0, 'File::Find' => 0, 'File::Temp' => 0, 'Test::More' => '0.88', From 9bb0ad74dea400e8295e598d88387fdeeaba9957 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 28 Aug 2011 17:42:25 +1200 Subject: [PATCH 3/6] update changes --- Changes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Changes b/Changes index c46c0b46..d2d7bd13 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,13 @@ Revision history for {{$dist->name}} - Dist::Zilla::Plugin::CompileTests - Dist::Zilla::Plugin::ExtraTests + [Dependencies::Build::Removed] + - English + + [Packaging] + - All extra-tests now shipped in xt/ instead of t/, and they're + only called by Dzil. + 1.0.15 2011-08-23T21:48:10Z [Bugs] - Recent Dist::Zilla / Prereq Scanners report strict/warnings which broke From 12b9148695716162da292f202df269a3cfe7bf18 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 28 Aug 2011 17:43:35 +1200 Subject: [PATCH 4/6] Tidy/Normalize --- Changes | 10 +++++----- lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Changes b/Changes index d2d7bd13..1f59223d 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,9 @@ Revision history for {{$dist->name}} {{$NEXT}} + [Dependencies::Build::Removed] + - English + [Dependencies::Runtime::New] - Dist::Zilla::Plugin::CheckExtraTests # more useful sometimes - Dist::Zilla::Plugin::Test::Compile @@ -9,12 +12,9 @@ Revision history for {{$dist->name}} - Dist::Zilla::Plugin::CompileTests - Dist::Zilla::Plugin::ExtraTests - [Dependencies::Build::Removed] - - English - [Packaging] - - All extra-tests now shipped in xt/ instead of t/, and they're - only called by Dzil. + - All extra-tests now shipped in xt/ instead of t/, and they're only + called by Dzil. 1.0.15 2011-08-23T21:48:10Z [Bugs] diff --git a/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm b/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm index 746c81ec..17d9b16c 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm @@ -306,17 +306,17 @@ sub bundle_config { [ 'MetaData::BuiltWith' => { show_uname => 1, uname_args => q{ -s -o -r -m -i } } ], [ 'Test::CPAN::Changes' => {} ], - [ 'Test::Compile' => {} ], + [ 'Test::Compile' => {} ], [ 'CriticTests' => {} ], [ 'MetaTests' => {} ], [ 'PodCoverageTests' => {} ], [ 'PodSyntaxTests' => {} ], [ 'ReportVersions::Tiny' => {} ], [ 'KwaliteeTests' => {} ], - [ 'EOLTests' => { trailing_whitespace => 1, } ], - [ 'CheckExtraTests' => {} ], - [ 'TestRelease' => {} ], - [ 'ConfirmRelease' => {} ], + [ 'EOLTests' => { trailing_whitespace => 1, } ], + [ 'CheckExtraTests' => {} ], + [ 'TestRelease' => {} ], + [ 'ConfirmRelease' => {} ], _if_twitter( $arg, [ [ 'FakeRelease' => { user => 'KENTNL' }, ], [ 'Twitter' => $twitter_conf, ], ], From e7438ad6688ab47e8e50035241ab9756a9b6bf97 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 28 Aug 2011 19:58:29 +1200 Subject: [PATCH 5/6] Tweak dist.ini to be release friendly --- dist.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist.ini b/dist.ini index 11c7973b..57e4bff1 100644 --- a/dist.ini +++ b/dist.ini @@ -26,12 +26,15 @@ Dist::Zilla::MintingProfile::Author::KENTNL = share/profiles [Prereqs / DevelopRequires] Dist::Zilla::Plugin::Bootstrap::lib = 0 +[Prereqs / RuntimeSuggests] +Dist::Zilla::Plugin::Test::Compile = 1.112393 ; Avoid __END__ problem + [Prereqs] Dist::Zilla = 4.300000 Perl::PrereqScanner=1.006 Dist::Zilla::Plugin::AutoPrereqs = 4.200011 ; skip takes an array Dist::Zilla::Plugin::AutoVersion::Relative = 0.01035617 -Dist::Zilla::Plugin::Test::Compile = 1.112393 ; Avoid __END__ problem +Dist::Zilla::Plugin::Test::Compile = 1.112392 Dist::Zilla::Plugin::CriticTests = 1.102280 Dist::Zilla::Plugin::ConfirmRelease = 0 Dist::Zilla::Plugin::EOLTests = 0.02 From c55f9685461300a1293a590bff5518df1aec2d0f Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sun, 28 Aug 2011 20:00:33 +1200 Subject: [PATCH 6/6] v1.0.16 [Dependencies::Build::Removed] - English [Dependencies::Runtime::New] - Dist::Zilla::Plugin::CheckExtraTests # more useful sometimes - Dist::Zilla::Plugin::Test::Compile [Dependencies::Runtime::Removed] - Dist::Zilla::Plugin::CompileTests - Dist::Zilla::Plugin::ExtraTests [Packaging] - All extra-tests now shipped in xt/ instead of t/, and they're only called by Dzil. --- Changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changes b/Changes index 1f59223d..6c012caa 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for {{$dist->name}} {{$NEXT}} + +1.0.16 2011-08-28T07:59:59Z [Dependencies::Build::Removed] - English