[libdist-zilla-plugin-test-eol-perl] 07/09: add generated by code
Intrigeri
intrigeri at moszumanska.debian.org
Sun Aug 16 09:19:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag 0.07
in repository libdist-zilla-plugin-test-eol-perl.
commit 44b3b5dd8631f0d488b33dddd263abd212e29cb8
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Wed Apr 4 00:32:28 2012 -0500
add generated by code
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/EOL.pm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index d6acc34..36f9c07 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -21,7 +21,12 @@ around add_file => sub {
name => $file->name,
content => $self->fill_in_string(
$file->content,
- { trailing_ws => \$self->trailing_whitespace },
+ {
+ name => __PACKAGE__,
+ version => __PACKAGE__->VERSION
+ || 'bootstrapped version',
+ trailing_ws => \$self->trailing_whitespace
+ },
),
}),
);
@@ -60,10 +65,11 @@ is preferred and because I would prefer to have EOL tests be Author tests.
__DATA__
___[ xt/author/test-eol.t ]___
-# This file was generated by Dist::Zilla::Plugin::Test::EOL
use strict;
use warnings;
use Test::More;
+
+# generated by {{ $name }} {{ $version }}
eval "use Test::EOL; 1;" or die $@;
# ^^ hack to get around prereqscanner detection, remove someday
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.git
More information about the Pkg-perl-cvs-commits
mailing list