[libdist-zilla-plugin-test-podspelling-perl] 01/07: adding stopwords for contributors
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:04:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 2.006000
in repository libdist-zilla-plugin-test-podspelling-perl.
commit 31b45a93bd09ad4ac1f163c2b7dc33caa0188bb2
Author: Breno G. de Oliveira <garu at cpan.org>
Date: Fri Apr 12 14:56:44 2013 +0100
adding stopwords for contributors
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 330ea3c..3d08a83 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -77,6 +77,7 @@ around add_file => sub {
foreach my $holder ( split( /\s/xms, join( ' ',
@{ $self->zilla->authors },
$self->zilla->copyright_holder,
+ @{ $self->zilla->distmeta->{x_contributors} },
))
) {
$self->add_stopword( $holder );
@@ -183,7 +184,8 @@ C<stopwords> can appear multiple times, one word per line.
Normally no stopwords are added by default, but author names appearing in
C<dist.ini> are automatically added as stopwords so you don't have to add them
manually just because they might appear in the C<AUTHORS> section of the
-generated POD document.
+generated POD document. The same goes for contributors listed under the
+'x_contributors' field on your dist's META file.
=begin Pod::Coverage
--
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