Hello community,

here is the log from the commit of package perl-Test-Strict for 
openSUSE:Factory checked in at 2016-12-03 18:28:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Strict (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Strict.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Strict"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Strict/perl-Test-Strict.changes        
2016-10-13 11:27:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Strict.new/perl-Test-Strict.changes   
2016-12-03 18:28:19.000000000 +0100
@@ -1,0 +2,18 @@
+Sat Dec  3 07:17:02 UTC 2016 - [email protected]
+
+- updated to 0.39
+   see /usr/share/doc/packages/perl-Test-Strict/Changes
+
+  0.39  2016-12-02 12:10:00 MANWAR
+        - Merged pull request #21, thanks @arc.
+
+-------------------------------------------------------------------
+Fri Dec  2 07:13:52 UTC 2016 - [email protected]
+
+- updated to 0.38
+   see /usr/share/doc/packages/perl-Test-Strict/Changes
+
+  0.38  2016-12-01 12:50:00 MANWAR
+        - Merged pull request #20, thanks @tomhukins.
+
+-------------------------------------------------------------------

Old:
----
  Test-Strict-0.37.tar.gz

New:
----
  Test-Strict-0.39.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Test-Strict.spec ++++++
--- /var/tmp/diff_new_pack.wwIWT7/_old  2016-12-03 18:28:20.000000000 +0100
+++ /var/tmp/diff_new_pack.wwIWT7/_new  2016-12-03 18:28:20.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-Strict
-Version:        0.37
+Version:        0.39
 Release:        0
 %define cpan_name Test-Strict
 Summary:        Check syntax, presence of use strict; and test coverage

++++++ Test-Strict-0.37.tar.gz -> Test-Strict-0.39.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Strict-0.37/Changes new/Test-Strict-0.39/Changes
--- old/Test-Strict-0.37/Changes        2016-06-09 11:27:29.000000000 +0200
+++ new/Test-Strict-0.39/Changes        2016-12-02 13:07:18.000000000 +0100
@@ -1,5 +1,11 @@
 Revision history for Test::Strict.
 
+0.39  2016-12-02 12:10:00 MANWAR
+      - Merged pull request #21, thanks @arc.
+
+0.38  2016-12-01 12:50:00 MANWAR
+      - Merged pull request #20, thanks @tomhukins.
+
 0.37  2016-06-09 10:30:00 MANWAR
       - Merged pull request #19, thanks @shlomif.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Strict-0.37/META.json 
new/Test-Strict-0.39/META.json
--- old/Test-Strict-0.37/META.json      2016-06-09 11:28:19.000000000 +0200
+++ new/Test-Strict-0.39/META.json      2016-12-02 13:07:39.000000000 +0100
@@ -4,7 +4,7 @@
       "Pierre Denis <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.18, CPAN::Meta::Converter 
version 2.150005",
    "license" : [
       "perl_5"
    ],
@@ -50,7 +50,7 @@
    "provides" : {
       "Test::Strict" : {
          "file" : "lib/Test/Strict.pm",
-         "version" : "0.37"
+         "version" : "0.39"
       }
    },
    "release_status" : "stable",
@@ -65,7 +65,7 @@
          "x_license" : "http://dev.perl.org/licenses/";
       }
    },
-   "version" : "0.37",
+   "version" : "0.39",
    "x_contributors" : [
       "Gabor Szabo <[email protected]>",
       "Peter Vereshagin <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Strict-0.37/META.yml 
new/Test-Strict-0.39/META.yml
--- old/Test-Strict-0.37/META.yml       2016-06-09 11:28:19.000000000 +0200
+++ new/Test-Strict-0.39/META.yml       2016-12-02 13:07:39.000000000 +0100
@@ -9,7 +9,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '6.64'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.18, CPAN::Meta::Converter version 
2.150005'
 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.37'
+    version: '0.39'
 requires:
   Devel::Cover: '0.43'
   File::Find: '0.01'
@@ -34,7 +34,7 @@
 resources:
   bugtracker: http://github.com/manwar/Test-Strict
   repository: http://github.com/manwar/Test-Strict.git
-version: '0.37'
+version: '0.39'
 x_contributors:
   - 'Gabor Szabo <[email protected]>'
   - 'Peter Vereshagin <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Strict-0.37/Makefile.PL 
new/Test-Strict-0.39/Makefile.PL
--- old/Test-Strict-0.37/Makefile.PL    2016-06-08 13:22:04.000000000 +0200
+++ new/Test-Strict-0.39/Makefile.PL    2016-12-01 16:04:27.000000000 +0100
@@ -27,7 +27,7 @@
     $conf{META_MERGE} = {
         'meta-spec' => { version => 2 },
         provides    => {
-            'Test::Strict' => { file => 'lib/Test/Strict.pm', version => 
'0.37' },
+            'Test::Strict' => { file => 'lib/Test/Strict.pm', version => 
'0.39' },
         },
         resources   => {
             repository  => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Strict-0.37/lib/Test/Strict.pm 
new/Test-Strict-0.39/lib/Test/Strict.pm
--- old/Test-Strict-0.37/lib/Test/Strict.pm     2016-06-08 13:21:43.000000000 
+0200
+++ new/Test-Strict-0.39/lib/Test/Strict.pm     2016-12-01 16:04:42.000000000 
+0100
@@ -6,7 +6,7 @@
 
 =head1 VERSION
 
-Version 0.37
+Version 0.39
 
 =head1 SYNOPSIS
 
@@ -71,7 +71,7 @@
 use Config;
 
 our $COVER;
-our $VERSION = '0.37';
+our $VERSION = '0.39';
 our $PERL    = $^X || 'perl';
 our $COVERAGE_THRESHOLD = 50; # 50%
 our $UNTAINT_PATTERN    = qr|^(.*)$|;
@@ -224,6 +224,7 @@
 
 sub _strict_ok {
     my ($in) = @_;
+    local $_;
     while (<$in>) {
         next if (/^\s*#/); # Skip comments
         next if (/^\s*=.+/ .. /^\s*=(cut|back|end)/); # Skip pod
@@ -234,7 +235,10 @@
                 return 1;
             }
         }
-        if (/\buse\s+(5.01\d+)/ and $1 >= 5.012) {
+        if (/\buse\s+(5\.\d+)/ and $1 >= 5.012) {
+            return 1;
+        }
+        if (/\buse\s+v5\.(\d+)/ and $1 >= 12) {
             return 1;
         }
     }
@@ -258,6 +262,8 @@
     Coat
     common::sense
     Dancer
+    HTML::FormHandler::Moose
+    HTML::FormHandler::Moose::Role
     Mo
     Modern::Perl
     Mojo::Base
@@ -300,6 +306,8 @@
     Coat
     common::sense
     Dancer
+    HTML::FormHandler::Moose
+    HTML::FormHandler::Moose::Role
     Mo
     Modern::Perl
     Mojo::Base
@@ -364,6 +372,7 @@
 # TODO unite with _strict_ok
 sub _warnings_ok {
     my ($is_script, $in) = @_;
+    local $_;
     while (<$in>) {
         if ($. == 1 and $is_script and $_ =~ $PERL_PATTERN) {
             if (/\s+-\w*[wW]/) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Strict-0.37/t/01all.t 
new/Test-Strict-0.39/t/01all.t
--- old/Test-Strict-0.37/t/01all.t      2016-06-08 13:08:27.000000000 +0200
+++ new/Test-Strict-0.39/t/01all.t      2016-12-01 16:03:25.000000000 +0100
@@ -15,7 +15,7 @@
   }
 }
 
-my $tests = 53;
+my $tests = 55;
 $tests += 2 if -e 'blib/lib/Test/Strict.pm';
 plan  tests => $tests;
 
@@ -111,6 +111,20 @@
   strict_ok($filename);
 };
 
+subtest perl5_20 => sub {
+  plan tests => 1;
+
+  my $filename = make_file("$tmpdir/perl5_20.pl", 'perl5_20');
+  strict_ok($filename);
+};
+
+subtest perl_v5_12 => sub {
+  plan tests => 1;
+
+  my $filename = make_file("$tmpdir/perl_v5_12.pl", 'perl_v5_12');
+  strict_ok($filename);
+};
+
 exit;
 
 {
@@ -251,4 +265,16 @@
 
 $x = 23;
 ---------
+
+perl5_20
+use 5.020;
+
+$x = 23;
+---------
+
+perl_v5_12
+use v5.12;
+
+$x = 23;
+---------
 


Reply via email to