This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to annotated tag 0.17
in repository libdist-zilla-plugin-test-eol-perl.

commit bddfd481a1c4d39d57d9d2fd8279fc048f23ef8c
Author: Karen Etheridge <et...@cpan.org>
Date:   Thu Jan 29 21:05:58 2015 -0800

    include trailing_whitespace in dump_config
---
 Changes                           | 1 +
 lib/Dist/Zilla/Plugin/Test/EOL.pm | 2 +-
 t/01-basic.t                      | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index 5b8e3e2..baec570 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for {{$dist->name}}
 
 {{$NEXT}}
+        - include trailing_whitespace in config dumped into metadata
 
 0.16    2014-11-17 03:00:59Z
         - allow tests to pass even while upstream modules have warnings under
diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm 
b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index ef7902e..e9cb9e0 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -34,7 +34,7 @@ around dump_config => sub
     my $config = $self->$orig;
 
     $config->{+__PACKAGE__} = {
-         filename => $self->filename,
+         map { $_ => $self->$_ } qw(filename trailing_whitespace),
     };
     return $config;
 };
diff --git a/t/01-basic.t b/t/01-basic.t
index b4e048f..a48394a 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -57,6 +57,7 @@ cmp_deeply(
                     config => {
                         'Dist::Zilla::Plugin::Test::EOL' => {
                             filename => 'xt/author/eol.t',
+                            trailing_whitespace => 1,
                         },
                     },
                     name => 'Test::EOL',

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to