[libdist-zilla-plugin-test-podspelling-perl] 53/86: attempt to add copyright holder to stopwords
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:02:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 2.001001
in repository libdist-zilla-plugin-test-podspelling-perl.
commit 2bc7500ea3fc2ea7ca29143d9869cb15c54d96bb
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Sat Aug 6 12:00:53 2011 -0500
attempt to add copyright holder to stopwords
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 96fb196..3fcf213 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -43,6 +43,12 @@ around add_file => sub {
s/<.*?>//gxms;
push @{ $self->stopwords }, /(\w{2,})/gxms;
}
+
+ for ( split( ' ', $self->stash_named( 'copyright_holder' ) ) ) {
+ $self->log_debug( $_ );
+ push @{ $self->stopwords };
+ }
+
if (@{ $self->stopwords } > 0) {
$add_stopwords = 'add_stopwords(<DATA>);';
$stopwords = join "\n", '__DATA__', @{ $self->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
More information about the Pkg-perl-cvs-commits
mailing list