Skip to content

Commit 3b5b61a

Browse files
authored
Merge pull request metacpan#880 from metacpan/haarg/update-perltidy
update perltidy
2 parents 38a3fcf + 19cca50 commit 3b5b61a

File tree

26 files changed

+55
-55
lines changed

26 files changed

+55
-55
lines changed

cpanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ test_requires 'LWP::ConsoleLogger::Easy';
193193
test_requires 'MetaCPAN::Client', '>=', '2.017000';
194194
test_requires 'Module::Faker', '0.015';
195195
test_requires 'Module::Faker::Dist', '0.010';
196-
test_requires 'Perl::Tidy' => '20180220';
196+
test_requires 'Perl::Tidy' => '20181120';
197197
test_requires 'Plack::Test::Agent';
198198
test_requires 'Test::Code::TidyAll';
199199
test_requires 'Test::More', '0.99';

cpanfile.snapshot

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7039,27 +7039,27 @@ DISTRIBUTIONS
70397039
strict 0
70407040
version 0.77
70417041
warnings 0
7042-
Perl-Tidy-20180220
7043-
pathname: S/SH/SHANCOCK/Perl-Tidy-20180220.tar.gz
7044-
provides:
7045-
Perl::Tidy 20180220
7046-
Perl::Tidy::Debugger 20180220
7047-
Perl::Tidy::DevNull 20180220
7048-
Perl::Tidy::Diagnostics 20180220
7049-
Perl::Tidy::FileWriter 20180220
7050-
Perl::Tidy::Formatter 20180220
7051-
Perl::Tidy::HtmlWriter 20180220
7052-
Perl::Tidy::IOScalar 20180220
7053-
Perl::Tidy::IOScalarArray 20180220
7054-
Perl::Tidy::IndentationItem 20180220
7055-
Perl::Tidy::LineBuffer 20180220
7056-
Perl::Tidy::LineSink 20180220
7057-
Perl::Tidy::LineSource 20180220
7058-
Perl::Tidy::Logger 20180220
7059-
Perl::Tidy::Tokenizer 20180220
7060-
Perl::Tidy::VerticalAligner 20180220
7061-
Perl::Tidy::VerticalAligner::Alignment 20180220
7062-
Perl::Tidy::VerticalAligner::Line 20180220
7042+
Perl-Tidy-20181120
7043+
pathname: S/SH/SHANCOCK/Perl-Tidy-20181120.tar.gz
7044+
provides:
7045+
Perl::Tidy 20181120
7046+
Perl::Tidy::Debugger 20181120
7047+
Perl::Tidy::DevNull 20181120
7048+
Perl::Tidy::Diagnostics 20181120
7049+
Perl::Tidy::FileWriter 20181120
7050+
Perl::Tidy::Formatter 20181120
7051+
Perl::Tidy::HtmlWriter 20181120
7052+
Perl::Tidy::IOScalar 20181120
7053+
Perl::Tidy::IOScalarArray 20181120
7054+
Perl::Tidy::IndentationItem 20181120
7055+
Perl::Tidy::LineBuffer 20181120
7056+
Perl::Tidy::LineSink 20181120
7057+
Perl::Tidy::LineSource 20181120
7058+
Perl::Tidy::Logger 20181120
7059+
Perl::Tidy::Tokenizer 20181120
7060+
Perl::Tidy::VerticalAligner 20181120
7061+
Perl::Tidy::VerticalAligner::Alignment 20181120
7062+
Perl::Tidy::VerticalAligner::Line 20181120
70637063
requirements:
70647064
ExtUtils::MakeMaker 0
70657065
PerlIO-gzip-0.20

lib/Catalyst/Authentication/Store/Proxy.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sub new_object {
5151

5252
sub from_session {
5353
my ( $self, $c, $frozenuser ) = @_;
54-
my $user = $self->new_object( $self->config, $c );
54+
my $user = $self->new_object( $self->config, $c );
5555
my $delegate = $self->handles->{from_session};
5656
return $user->$delegate( $c, $frozenuser );
5757
}
@@ -64,7 +64,7 @@ sub for_session {
6464

6565
sub find_user {
6666
my ( $self, $authinfo, $c ) = @_;
67-
my $user = $self->new_object( $self->config, $c );
67+
my $user = $self->new_object( $self->config, $c );
6868
my $delegate = $self->handles->{find_user};
6969
return $user->$delegate( $authinfo, $c );
7070

lib/MetaCPAN/API.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sub _gen_index_task_sub {
100100
}
101101
);
102102
};
103-
}
103+
}
104104
}
105105

106106
sub _set_up_routes {

lib/MetaCPAN/Document/File.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ my $RE_SECTION = qr/^\s*(\S+)((\h+-+\h+(.+))|(\r?\n\h*\r?\n\h*(.+)))?/ms;
6767
sub _build_section {
6868
my $self = shift;
6969

70-
my $text = ${ $self->content };
70+
my $text = ${ $self->content };
7171
my $section = MetaCPAN::Util::extract_section( $text, 'NAME' );
7272

7373
# if it's a POD file without a name section, let's try to generate
@@ -440,7 +440,7 @@ has level => (
440440
);
441441

442442
sub _build_level {
443-
my $self = shift;
443+
my $self = shift;
444444
my @level = split( /\//, $self->path );
445445
return @level - 1;
446446
}
@@ -568,7 +568,7 @@ sub _build_sloc {
568568
return 0 unless ( $self->is_perl_file );
569569

570570
my @content = split( "\n", ${ $self->content } );
571-
my $pods = 0;
571+
my $pods = 0;
572572

573573
# Use pod_lines data to remove pod content from string.
574574
map {

lib/MetaCPAN/Document/File/Set.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ sub _version_filters {
372372
term => {
373373
'module.version_numified' => $self->_numify($_)
374374
}
375-
}
375+
}
376376
} @exclusion;
377377
}
378378

lib/MetaCPAN/Model/Release.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ sub _build_dependencies {
186186
sub _build_document {
187187
my $self = shift;
188188

189-
my $st = $self->file->stat;
189+
my $st = $self->file->stat;
190190
my $stat = { map { $_ => $st->$_ } qw(mode size mtime) };
191191

192192
my $meta = $self->metadata;

lib/MetaCPAN/Model/Search.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sub _not_rogue {
3737

3838
sub search_for_first_result {
3939
my ( $self, $search_term ) = @_;
40-
my $es_query = $self->build_query($search_term);
40+
my $es_query = $self->build_query($search_term);
4141
my $es_results = $self->run_query( file => $es_query );
4242
return unless $es_results->{hits}{total};
4343

@@ -381,7 +381,7 @@ sub _extract_results {
381381
%{ $res->{fields} },
382382
%{ $res->{_source} },
383383
score => $res->{_score},
384-
}
384+
}
385385
} @{ $es_results->{hits}{hits} }
386386
];
387387
}

lib/MetaCPAN/Script/Author.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ sub index_authors {
7575
= ( @$data{qw(fullname email homepage asciiname)} );
7676
$name = undef if ( ref $name );
7777
$asciiname = q{} unless defined $asciiname;
78-
$email = lc($pauseid) . '@cpan.org'
78+
$email = lc($pauseid) . '@cpan.org'
7979
unless ( $email && Email::Valid->address($email) );
8080
log_debug {
8181
Encode::encode_utf8(
8282
sprintf( "Indexing %s: %s <%s>", $pauseid, $name, $email ) );
8383
};
8484
my $conf = $self->author_config( $pauseid, $dates ) || next;
85-
my $put = {
85+
my $put = {
8686
pauseid => $pauseid,
8787
name => $name,
8888
asciiname => ref $asciiname ? undef : $asciiname,

lib/MetaCPAN/Script/CPANTesters.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ sub index_reports {
130130
$version =~ s{\+}{}g;
131131
$version =~ s{\A-}{};
132132

133-
my $release = join( '-', $row_from_db->{dist}, $version );
133+
my $release = join( '-', $row_from_db->{dist}, $version );
134134
my $release_doc = $releases{$release};
135135

136136
# there's a cpantesters dist we haven't indexed

0 commit comments

Comments
 (0)