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 dc76a482be5e4e3f5e3d25c30d317634750781d1
Author: Karen Etheridge <et...@cpan.org>
Date:   Thu Jan 29 20:50:13 2015 -0800

    make this header look like many other author and release tests
---
 lib/Dist/Zilla/Plugin/Test/EOL.pm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm 
b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index 20cd372..ef7902e 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -51,9 +51,7 @@ sub gather_files
             content => $self->fill_in_string(
                 ${$self->section_data('__TEST__')},
                 {
-                    name    => __PACKAGE__,
-                    version => __PACKAGE__->VERSION
-                               || 'bootstrapped version',
+                    plugin => \$self,
                     trailing_ws => \$self->trailing_whitespace
                 },
             ),
@@ -124,9 +122,10 @@ __DATA__
 ___[ __TEST__ ]___
 use strict;
 use warnings;
-use Test::More;
 
-# generated by {{ $name }} {{ $version }}
+# this test was generated with {{ ref($plugin) . ' ' . ($plugin->VERSION || 
'<self>') }}
+
+use Test::More;
 use Test::EOL;
 
 all_perl_files_ok({ trailing_whitespace => {{ $trailing_ws }} });

-- 
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