Skip to content

Commit

Permalink
make milla perltidy
Browse files Browse the repository at this point in the history
  • Loading branch information
mishin committed Apr 8, 2015
1 parent a0527e1 commit 8e124da
Show file tree
Hide file tree
Showing 25 changed files with 37 additions and 11 deletions.
1 change: 0 additions & 1 deletion lib/POD2/RU.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use base 'Exporter';
use base 'POD2::Base';
use IO::Interactive qw(is_interactive);
use Encode::Locale qw(decode_argv);


use 5.008_005;
our $VERSION = '5.18.0.1.53';
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/a2p.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perl.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlbook.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlcheat.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perldoc.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlintro.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlnewmod.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlpragma.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlre.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding UTF-8

=head1 НАЗВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlreapi.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlrebackslash.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlrecharclass.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlreguts.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlrequick.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlreref.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlretut.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlrun.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlsecret.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlstyle.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
1 change: 1 addition & 0 deletions lib/POD2/RU/perlunicode.pod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

=encoding utf8

=head1 НАИМЕНОВАНИЕ
Expand Down
6 changes: 3 additions & 3 deletions t/001_basic/03_prepare_encoding_console.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ $pod2->prepare_encoding_console();

# Test utf8 is ok.
{
my $uni = "\x{11e}";
my $uni = "\x{11e}";

my @warnings;
local $SIG{__WARN__} = sub {
push @warnings, @_;
};

is( $uni, $uni, "Testing $uni" );
is_deeply( \@warnings, [] );
}
9 changes: 6 additions & 3 deletions t/001_basic/04_print_pod.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ use POD2::RU;
#########################
my $pod2 = POD2::RU->new();
use Test::Output;

#$pod2->prepare_encoding_console();

sub writer {
$pod2->print_pod('perlretut');
$pod2->print_pod('perlretut');
}

stdout_isnt( \&writer,
stdout_isnt(
\&writer,
qq{\t'perlretut' переведен на русский Perl 5.18.0.1\n},
'Test STDOUT of print_pod' );
'Test STDOUT of print_pod'
);
8 changes: 5 additions & 3 deletions t/001_basic/05_print_pods.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ use Test::Output;
$pod2->prepare_encoding_console();

sub writer {
$pod2->print_pods;#('perlretut');
$pod2->print_pods; #('perlretut');
}

#stdout_isnt
stdout_isnt( \&writer,
stdout_isnt(
\&writer,
qq{\t'a2p' переведен на русский Perl 5.18.0.1
\t'perl' переведен на русский Perl 5.18.0.1
\t'perlbook' переведен на русский Perl 5.18.0.1
Expand All @@ -37,6 +38,7 @@ stdout_isnt( \&writer,
\t'perlstyle' переведен на русский Perl 5.18.0.1
\t'perlunicode' переведен на русский Perl 5.18.0.1
},
'Test STDOUT of print_pod' );
'Test STDOUT of print_pod'
);

#&writer();
4 changes: 3 additions & 1 deletion xt/podspell.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ use Test::More;
eval q{ use Test::Spelling };
plan skip_all => "Test::Spelling is not installed." if $@;
add_stopwords(<DATA>);
set_spell_cmd("sp_ch () {(cat $1|aspell --lang=ru-yo list|aspell --lang=en list); };sp_ch");
set_spell_cmd(
"sp_ch () {(cat $1|aspell --lang=ru-yo list|aspell --lang=en list); };sp_ch"
);
all_pod_files_spelling_ok('lib');
__DATA__
Baranov
Expand Down

0 comments on commit 8e124da

Please sign in to comment.