[libdist-zilla-plugin-test-podspelling-perl] 64/86: whoops I unexpanded all tabs not just initial
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:02:11 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 5a29fffaf2d9d48d59be12d2f76d48a8658a833c
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Sat Aug 6 13:11:21 2011 -0500
whoops I unexpanded all tabs not just initial
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 8905264..cce3134 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -13,22 +13,22 @@ with 'Dist::Zilla::Role::TextTemplate';
sub mvp_multivalue_args { return qw( stopwords ) }
has wordlist => (
- is => 'ro',
- isa => 'Str',
- default => 'Pod::Wordlist::hanekomu', # default to original
+ is => 'ro',
+ isa => 'Str',
+ default => 'Pod::Wordlist::hanekomu', # default to original
);
has spell_cmd => (
- is => 'ro',
- isa => 'Str',
- default => '', # default to original
+ is => 'ro',
+ isa => 'Str',
+ default => '', # default to original
);
has stopwords => (
- is => 'ro',
- isa => 'ArrayRef[Str]',
- traits => [ 'Array' ],
- default => sub { [] }, # default to original
+ is => 'ro',
+ isa => 'ArrayRef[Str]',
+ traits => [ 'Array' ],
+ default => sub { [] }, # default to original
handles => {
push_stopwords => 'push',
}
@@ -43,7 +43,7 @@ around add_file => sub {
# automatically add author names to stopwords
for (@{ $self->zilla->authors }) {
- local $_ = $_; # we don't want to modify $_ in-place
+ local $_ = $_; # we don't want to modify $_ in-place
s/<.*?>//gxms;
push @{ $self->stopwords }, /(\w{2,})/gxms;
}
@@ -66,13 +66,13 @@ around add_file => sub {
}
$self->$orig(
Dist::Zilla::File::InMemory->new(
- { name => $file->name,
+ { name => $file->name,
content => $self->fill_in_string(
$file->content,
- { wordlist => \$self->wordlist,
+ { wordlist => \$self->wordlist,
set_spell_cmd => \$set_spell_cmd,
add_stopwords => \$add_stopwords,
- stopwords => \$stopwords,
+ stopwords => \$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