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

abe pushed a commit to annotated tag 2.002003
in repository libdist-zilla-plugin-test-podspelling-perl.

commit 1c89f77575063b504094e7d89a923e70f0172bdb
Author: Caleb Cushing <xenoterrac...@gmail.com>
Date:   Wed Apr 4 00:03:42 2012 -0500

    make sure that Test modules are required but only for authors
    
    Signed-off-by: Caleb Cushing <xenoterrac...@gmail.com>
---
 lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm 
b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 2907a32..99bbe1a 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -87,7 +87,9 @@ around add_file => sub {
                        {   name    => $file->name,
                                content => $self->fill_in_string(
                                        $file->content,
-                                       {   wordlist      => \$self->wordlist,
+                                       {
+                                               name          => __PACKAGE__,
+                                               wordlist      => 
\$self->wordlist,
                                                set_spell_cmd => 
\$set_spell_cmd,
                                                add_stopwords => 
\$add_stopwords,
                                                stopwords     => \$stopwords,
@@ -163,13 +165,12 @@ mvp_multivalue_args
 =cut
 __DATA__
 ___[ xt/author/pod-spell.t ]___
-# This test is generated by Dist::Zilla::Plugin::Test::PodSpelling
+# generated by {{ $name }}
 use strict;
 use warnings;
 use Test::More;
 
-use {{ $wordlist }};
-use Test::Spelling 0.12;
+eval "use Test::Spelling 0.12; use {{ $wordlist }}; 1" or die $@;
 
 {{ $set_spell_cmd }}
 {{ $add_stopwords }}

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-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