[libdist-zilla-plugin-test-podspelling-perl] 01/02: forgot to document new directories feature

Axel Beckert abe at deuxchevaux.org
Mon May 25 10:03:55 UTC 2015


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

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

commit 8733b635458600befa07760856926ebe1f6a5a2b
Author: Caleb Cushing <xenoterracide at gmail.com>
Date:   Thu Feb 14 22:20:57 2013 -0600

    forgot to document new directories feature
    
    Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
 lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index d611484..330ea3c 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -132,6 +132,7 @@ In C<dist.ini>:
 or:
 
 	[Test::PodSpelling]
+	directories = docs
 	wordlist = Pod::Wordlist
 	spell_cmd = aspell list
 	stopwords = CPAN
@@ -146,27 +147,32 @@ the following file:
 
   xt/author/pod-spell.t - a standard Test::Spelling test
 
-=method wordlist
-
-The module name of a word list you wish to use that works with
-L<Test::Spelling>.
-
-Defaults to L<Pod::Wordlist::hanekomu>.
-
 =method add_stopword
 
 Called to add stopwords to the stopwords array. It is used to determine if
 automagically detected words are valid and print out debug logging for the
 process.
 
-=method spell_cmd
+=attr directories
+
+Additional directories you wish to search for POD spell checking purposes.
+C<bin> and C<lib> are set by default.
+
+=attr wordlist
+
+The module name of a word list you wish to use that works with
+L<Test::Spelling>.
+
+Defaults to L<Pod::Wordlist::hanekomu>.
+
+=attr spell_cmd
 
 If C<spell_cmd> is set then C<set_spell_cmd( your_spell_command );> is
 added to the test file to allow for custom spell check programs.
 
 Defaults to nothing.
 
-=method stopwords
+=attr stopwords
 
 If stopwords is set then C<add_stopwords( E<lt>DATAE<gt> )> is added
 to the test file and the words are added after the C<__DATA__>

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