[libdist-zilla-plugin-test-podspelling-perl] 46/86: use empty lines for readability
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:02:07 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 9f218f142e30efbccf586e693cb33f6a203caad4
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Tue Aug 2 05:38:24 2011 -0500
use empty lines for readability
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 5b1eccc..9feacd8 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -17,16 +17,19 @@ has wordlist => (
isa => 'Str',
default => 'Pod::Wordlist::hanekomu', # default to original
);
+
has spell_cmd => (
is => 'ro',
isa => 'Str',
default => '', # default to original
);
+
has stopwords => (
is => 'ro',
isa => 'ArrayRef[Str]',
default => sub { [] }, # default to original
);
+
around add_file => sub {
my ($orig, $self, $file) = @_;
my ($set_spell_cmd, $add_stopwords, $stopwords);
@@ -59,6 +62,7 @@ around add_file => sub {
),
);
};
+
__PACKAGE__->meta->make_immutable;
no Moose;
1;
--
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