diff -Nru libtest-strict-perl-0.47/Changes libtest-strict-perl-0.52/Changes --- libtest-strict-perl-0.47/Changes 2018-07-07 16:56:52.000000000 +0000 +++ libtest-strict-perl-0.52/Changes 2019-06-16 09:11:08.000000000 +0000 @@ -1,5 +1,20 @@ Revision history for Test::Strict. +0.52 2019-06-16 10:10:00 MANWAR + - Applied patch provided by Matthew (Issue #25). + +0.51 2019-06-15 06:30:00 MANWAR + - Now ignores .git folder (Issue #26). + +0.50 2019-06-14 15:30:00 MANWAR + - Added Test::Roo::Role to the list (Issue #29). + +0.49 2019-06-13 12:20:00 MANWAR + - Fixed CPANTS issue (main_module_version_matches_dist_version). + +0.48 2019-05-29 11:00:00 MANWAR + - Added Test::Most to modules with strictures, #27 @robrwo + 0.47 2018-07-07 18:00:00 MANWAR - Upgraded version. diff -Nru libtest-strict-perl-0.47/debian/changelog libtest-strict-perl-0.52/debian/changelog --- libtest-strict-perl-0.47/debian/changelog 2018-07-16 18:57:32.000000000 +0000 +++ libtest-strict-perl-0.52/debian/changelog 2019-07-06 19:04:22.000000000 +0000 @@ -1,3 +1,16 @@ +libtest-strict-perl (0.52-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 0.52. + Fixes "all_perl_files_ok should skip .git" (Closes: #916662) + * Declare compliance with Debian Policy 4.3.0. + * Update alternative build dependencies. + * Bump debhelper-compat to 12. + * debian/watch: use uscan version 4. + * Annotate test-only dependencies with . + + -- gregor herrmann Sat, 06 Jul 2019 21:04:22 +0200 + libtest-strict-perl (0.47-1) unstable; urgency=medium * Team upload. diff -Nru libtest-strict-perl-0.47/debian/compat libtest-strict-perl-0.52/debian/compat --- libtest-strict-perl-0.47/debian/compat 2018-07-16 18:57:32.000000000 +0000 +++ libtest-strict-perl-0.52/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -10 diff -Nru libtest-strict-perl-0.47/debian/control libtest-strict-perl-0.52/debian/control --- libtest-strict-perl-0.47/debian/control 2018-07-16 18:57:32.000000000 +0000 +++ libtest-strict-perl-0.52/debian/control 2019-07-06 19:04:22.000000000 +0000 @@ -5,13 +5,13 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 10) +Build-Depends: debhelper-compat (= 12) Build-Depends-Indep: perl, - libdevel-cover-perl, - libio-stringy-perl, - libmoose-autobox-perl, - perl (>= 5.19.6) | libtest-simple-perl (>= 1.000000) -Standards-Version: 4.1.5 + libdevel-cover-perl , + libio-stringy-perl , + libmoose-autobox-perl , + libtest-simple-perl +Standards-Version: 4.3.0 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-strict-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-strict-perl.git Homepage: https://metacpan.org/release/Test-Strict diff -Nru libtest-strict-perl-0.47/debian/watch libtest-strict-perl-0.52/debian/watch --- libtest-strict-perl-0.47/debian/watch 2018-07-16 18:57:32.000000000 +0000 +++ libtest-strict-perl-0.52/debian/watch 2019-07-06 19:04:22.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/Test-Strict .*/Test-Strict-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/Test-Strict .*/Test-Strict-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libtest-strict-perl-0.47/lib/Test/Strict.pm libtest-strict-perl-0.52/lib/Test/Strict.pm --- libtest-strict-perl-0.47/lib/Test/Strict.pm 2018-07-06 14:59:26.000000000 +0000 +++ libtest-strict-perl-0.52/lib/Test/Strict.pm 2019-06-16 09:08:20.000000000 +0000 @@ -6,7 +6,7 @@ =head1 VERSION -Version 0.47 +Version 0.52 =head1 SYNOPSIS @@ -71,7 +71,7 @@ use Config; our $COVER; -our $VERSION = '0.47'; +our $VERSION = '0.52'; our $PERL = $^X || 'perl'; our $COVERAGE_THRESHOLD = 50; # 50% our $UNTAINT_PATTERN = qr|^(.*)$|; @@ -130,7 +130,7 @@ #return if ($File::Find::dir =~ m![\\/]?blib[\\/]libdoc$!); # Filter out pod doc in dist #return if ($File::Find::dir =~ m![\\/]?blib[\\/]man\d$!); # Filter out pod doc in dist if (-d $File::Find::name && - ($_ eq 'CVS' || $_ eq '.svn' || # Filter out cvs or subversion dirs + ($_ eq 'CVS' || $_ eq '.svn' || $_ eq '.git' || # Filter out cvs or git or subversion dirs $File::Find::name =~ m!(?:^|[\\/])blib[\\/]libdoc$! || # Filter out pod doc in dist $File::Find::name =~ m!(?:^|[\\/])blib[\\/]man\d$!) # Filter out pod doc in dist ) { @@ -236,9 +236,12 @@ my ($in) = @_; my $strict_module_rx = _module_rx( modules_enabling_strict() ); local $_; + my $pod; while (<$in>) { next if (/^\s*#/); # Skip comments - next if (/^\s*=.+/ .. /^\s*=(cut|back|end)/); # Skip pod + $pod = 0, next if /^=(cut|back|end)/; + $pod = 1, next if /^=\S+/; + next if $pod; # skip pod last if (/^\s*(__END__|__DATA__)/); # End of code return 1 if $_ =~ $strict_module_rx; if (/\buse\s+(5\.\d+)/ and $1 >= 5.012) { @@ -291,7 +294,9 @@ Role::Tiny Spiffy strictures + Test::Most Test::Roo + Test::Roo::Role ); sub modules_enabling_strict { return @MODULES_ENABLING_STRICT } @@ -336,7 +341,9 @@ Role::Tiny Spiffy strictures + Test::Most Test::Roo + Test::Roo::Role ); sub modules_enabling_warnings { return @MODULES_ENABLING_WARNINGS } diff -Nru libtest-strict-perl-0.47/Makefile.PL libtest-strict-perl-0.52/Makefile.PL --- libtest-strict-perl-0.47/Makefile.PL 2018-07-06 14:59:17.000000000 +0000 +++ libtest-strict-perl-0.52/Makefile.PL 2019-06-16 09:08:55.000000000 +0000 @@ -28,7 +28,7 @@ $conf{META_MERGE} = { 'meta-spec' => { version => 2 }, provides => { - 'Test::Strict' => { file => 'lib/Test/Strict.pm', version => '0.47' }, + 'Test::Strict' => { file => 'lib/Test/Strict.pm', version => '0.52' }, }, resources => { repository => { @@ -46,6 +46,7 @@ 'Peter Vereshagin ', 'Graham Knop ', 'Mohammad S Anwar ', + 'Robert Rothenberg ', ], }; } diff -Nru libtest-strict-perl-0.47/META.json libtest-strict-perl-0.52/META.json --- libtest-strict-perl-0.47/META.json 2018-07-07 16:57:23.000000000 +0000 +++ libtest-strict-perl-0.52/META.json 2019-06-16 09:12:11.000000000 +0000 @@ -4,13 +4,13 @@ "Pierre Denis " ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Test-Strict", "no_index" : { @@ -49,7 +49,7 @@ "provides" : { "Test::Strict" : { "file" : "lib/Test/Strict.pm", - "version" : "0.47" + "version" : "0.52" } }, "release_status" : "stable", @@ -64,12 +64,13 @@ "x_license" : "http://dev.perl.org/licenses/" } }, - "version" : "0.47", + "version" : "0.52", "x_contributors" : [ "Gabor Szabo ", "Peter Vereshagin ", "Graham Knop ", - "Mohammad S Anwar " + "Mohammad S Anwar ", + "Robert Rothenberg " ], - "x_serialization_backend" : "JSON::PP version 2.27400" + "x_serialization_backend" : "JSON::PP version 4.00" } diff -Nru libtest-strict-perl-0.47/META.yml libtest-strict-perl-0.52/META.yml --- libtest-strict-perl-0.47/META.yml 2018-07-07 16:57:23.000000000 +0000 +++ libtest-strict-perl-0.52/META.yml 2019-06-16 09:12:11.000000000 +0000 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: '6.64' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,7 +22,7 @@ provides: Test::Strict: file: lib/Test/Strict.pm - version: '0.47' + version: '0.52' requires: File::Find: '0.01' File::Spec: '0.01' @@ -33,10 +33,11 @@ resources: bugtracker: http://github.com/manwar/Test-Strict repository: http://github.com/manwar/Test-Strict.git -version: '0.47' +version: '0.52' x_contributors: - 'Gabor Szabo ' - 'Peter Vereshagin ' - 'Graham Knop ' - 'Mohammad S Anwar ' + - 'Robert Rothenberg ' x_serialization_backend: 'CPAN::Meta::YAML version 0.018'