diff --git a/Changes b/Changes index 83d5350..a3e1104 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Release history for Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes +0.003006 2014-09-27T07:03:04Z + [Checks] + - Make sure weaver_ini_ok runs + - Double-check that -Encoding is not specified. + 0.003005 2014-09-25T16:09:00Z [Dependencies::Stats] - Dependencies changed since 0.003004, see misc/*.deps* for details diff --git a/META.json b/META.json index 240ca77..7b21104 100644 --- a/META.json +++ b/META.json @@ -115,7 +115,7 @@ "provides" : { "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : { "file" : "lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm", - "version" : "0.003005" + "version" : "0.003006" } }, "release_status" : "stable", @@ -130,14 +130,14 @@ "web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes" } }, - "version" : "0.003005", + "version" : "0.003006", "x_BuiltWith" : { "modules" : { "CPAN::Meta" : "2.142060", "Carp" : "1.34", "Data::DPath" : "0.50", "Dist::Zilla::App::Command::bakeini" : "0.001002", - "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.003006", + "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes" : "0.003007", "Dist::Zilla::Plugin::Authority" : "1.006", "Dist::Zilla::Plugin::AutoPrereqs" : "5.020", "Dist::Zilla::Plugin::BumpVersionAfterRelease" : "0.002", @@ -568,7 +568,7 @@ { "class" : "Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes", "name" : "@Author::KENTNL/Author::KENTNL::RecommendFixes", - "version" : "0.003005" + "version" : "0.003006" }, { "class" : "Dist::Zilla::Plugin::ReadmeFromPod", @@ -655,7 +655,7 @@ "Dist::Zilla::Plugin::Git::Tag" : { "branch" : null, "signed" : 0, - "tag" : "0.003005-source", + "tag" : "0.003006-source", "tag_format" : "%v-source", "tag_message" : "v%v", "time_zone" : "local" @@ -726,7 +726,7 @@ "Dist::Zilla::Plugin::Git::Tag" : { "branch" : "releases", "signed" : 0, - "tag" : "0.003005", + "tag" : "0.003006", "tag_format" : "%v", "tag_message" : "v%v", "time_zone" : "local" diff --git a/META.yml b/META.yml index 93bca25..425d9d9 100644 --- a/META.yml +++ b/META.yml @@ -20,7 +20,7 @@ name: Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes provides: Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes: file: lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm - version: '0.003005' + version: '0.003006' requires: Carp: '0' Data::DPath: '0' @@ -39,14 +39,14 @@ resources: bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes/issues homepage: https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes repository: https://github.com/kentnl/Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes.git -version: '0.003005' +version: '0.003006' x_BuiltWith: modules: CPAN::Meta: '2.142060' Carp: '1.34' Data::DPath: '0.50' Dist::Zilla::App::Command::bakeini: '0.001002' - Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes: '0.003006' + Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes: '0.003007' Dist::Zilla::Plugin::Authority: '1.006' Dist::Zilla::Plugin::AutoPrereqs: '5.020' Dist::Zilla::Plugin::BumpVersionAfterRelease: '0.002' @@ -393,7 +393,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes name: '@Author::KENTNL/Author::KENTNL::RecommendFixes' - version: '0.003005' + version: '0.003006' - class: Dist::Zilla::Plugin::ReadmeFromPod name: '@Author::KENTNL/ReadmeFromPod' @@ -459,7 +459,7 @@ x_Dist_Zilla: Dist::Zilla::Plugin::Git::Tag: branch: ~ signed: '0' - tag: 0.003005-source + tag: 0.003006-source tag_format: '%v-source' tag_message: v%v time_zone: local @@ -513,7 +513,7 @@ x_Dist_Zilla: Dist::Zilla::Plugin::Git::Tag: branch: releases signed: '0' - tag: '0.003005' + tag: '0.003006' tag_format: '%v' tag_message: v%v time_zone: local diff --git a/Makefile.PL b/Makefile.PL index eca2ece..eb47107 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -40,7 +40,7 @@ my %WriteMakefileArgs = ( "Test::DZil" => 0, "Test::More" => "0.89" }, - "VERSION" => "0.003005", + "VERSION" => "0.003006", "test" => { "TESTS" => "t/*.t t/00-compile/*.t" } diff --git a/README b/README index 02a3d4b..9c7eb99 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME changes to the dist. VERSION - version 0.003005 + version 0.003006 DESCRIPTION Nothing interesting to see here. diff --git a/lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm b/lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm index 0f60333..3aa4cd1 100644 --- a/lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm +++ b/lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm @@ -5,7 +5,7 @@ use utf8; package Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes; -our $VERSION = '0.003005'; +our $VERSION = '0.003006'; # ABSTRACT: Recommend generic changes to the dist. @@ -335,7 +335,12 @@ sub dist_ini_ok { sub weaver_ini_ok { my ($self) = @_; return unless my $weave = $self->weaver_ini; - return $self->_pc->should( have_line => $weave, qr/-SingleEncoding/, ); + my $assert = $self->_pc; + + my $ok = 1; + undef $ok unless $assert->should( have_line => $weave, qr/-SingleEncoding/, ); + undef $ok unless $assert->should_not( have_line => $weave, qr/-Encoding/, ); + return $ok; } sub dist_ini_meta_ok { @@ -449,6 +454,7 @@ sub setup_installer { $self->avoid_old_modules; $self->mailmap_check; $self->dzil_plugin_check; + $self->weaver_ini_ok; return; } @@ -553,7 +559,7 @@ Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes - Recommend generic changes =head1 VERSION -version 0.003005 +version 0.003006 =head1 DESCRIPTION diff --git a/misc/Changes.deps b/misc/Changes.deps index 70655d7..717bc12 100644 --- a/misc/Changes.deps +++ b/misc/Changes.deps @@ -1,6 +1,8 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test) -0.003005 +0.003006 + +0.003005 2014-09-25T16:09:00Z 0.003004 2014-09-22T19:06:39Z [Added / runtime requires] diff --git a/misc/Changes.deps.all b/misc/Changes.deps.all index 280c15e..9340b8d 100644 --- a/misc/Changes.deps.all +++ b/misc/Changes.deps.all @@ -1,6 +1,8 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop) -0.003005 +0.003006 + +0.003005 2014-09-25T16:09:00Z [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.020001 → 2.020003 diff --git a/misc/Changes.deps.dev b/misc/Changes.deps.dev index 8ff4c2b..bb7a1a8 100644 --- a/misc/Changes.deps.dev +++ b/misc/Changes.deps.dev @@ -1,6 +1,8 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL ) -0.003005 +0.003006 + +0.003005 2014-09-25T16:09:00Z [Changed / develop suggests] - Dist::Zilla::PluginBundle::Author::KENTNL 2.020001 → 2.020003 diff --git a/misc/Changes.deps.opt b/misc/Changes.deps.opt index f6072bf..90c1873 100644 --- a/misc/Changes.deps.opt +++ b/misc/Changes.deps.opt @@ -1,6 +1,8 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test) -0.003005 +0.003006 + +0.003005 2014-09-25T16:09:00Z 0.003004 2014-09-22T19:06:39Z