Hello community,

here is the log from the commit of package perl-Test-Needs for openSUSE:Factory 
checked in at 2016-10-02 00:08:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Needs (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Needs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Needs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Needs/perl-Test-Needs.changes  
2016-08-22 10:07:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Needs.new/perl-Test-Needs.changes     
2016-10-02 00:08:28.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Sep 27 06:17:39 UTC 2016 - co...@suse.com
+
+- updated to 0.002005
+   see /usr/share/doc/packages/perl-Test-Needs/Changes
+
+  0.002005 - 2016-09-27
+    - fix skipping when Test::Tester (Test::More < v2) is loaded
+
+-------------------------------------------------------------------

Old:
----
  Test-Needs-0.002004.tar.gz

New:
----
  Test-Needs-0.002005.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Needs.spec ++++++
--- /var/tmp/diff_new_pack.jdtaPk/_old  2016-10-02 00:08:29.000000000 +0200
+++ /var/tmp/diff_new_pack.jdtaPk/_new  2016-10-02 00:08:29.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-Needs
-Version:        0.002004
+Version:        0.002005
 Release:        0
 %define cpan_name Test-Needs
 Summary:        Skip tests when modules not available

++++++ Test-Needs-0.002004.tar.gz -> Test-Needs-0.002005.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Needs-0.002004/Changes 
new/Test-Needs-0.002005/Changes
--- old/Test-Needs-0.002004/Changes     2016-08-18 19:33:21.000000000 +0200
+++ new/Test-Needs-0.002005/Changes     2016-09-27 06:34:35.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Test::Needs
 
+0.002005 - 2016-09-27
+  - fix skipping when Test::Tester (Test::More < v2) is loaded
+
 0.002004 - 2016-08-18
   - fix test counts when Test2 not available
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Needs-0.002004/META.json 
new/Test-Needs-0.002005/META.json
--- old/Test-Needs-0.002004/META.json   2016-08-18 19:33:54.000000000 +0200
+++ new/Test-Needs-0.002005/META.json   2016-09-27 06:34:45.000000000 +0200
@@ -4,7 +4,7 @@
       "haarg - Graham Knop (cpan:HAARG) <ha...@haarg.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 7.22, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter 
version 2.150005",
    "license" : [
       "perl_5"
    ],
@@ -56,7 +56,7 @@
       },
       "x_IRC" : "irc://irc.perl.org/#perl-qa"
    },
-   "version" : "0.002004",
+   "version" : "0.002005",
    "x_cpants" : {
       "ignore" : {
          "prereq_matches_use" : "required modules detected incorrectly"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Needs-0.002004/META.yml 
new/Test-Needs-0.002005/META.yml
--- old/Test-Needs-0.002004/META.yml    2016-08-18 19:33:54.000000000 +0200
+++ new/Test-Needs-0.002005/META.yml    2016-09-27 06:34:44.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.22, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter 
version 2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,7 +24,7 @@
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Needs
   license: http://dev.perl.org/licenses/
   repository: https://github.com/haarg/Test-Needs.git
-version: '0.002004'
+version: '0.002005'
 x_cpants:
   ignore:
     prereq_matches_use: 'required modules detected incorrectly'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Needs-0.002004/lib/Test/Needs.pm 
new/Test-Needs-0.002005/lib/Test/Needs.pm
--- old/Test-Needs-0.002004/lib/Test/Needs.pm   2016-08-18 19:33:18.000000000 
+0200
+++ new/Test-Needs-0.002005/lib/Test/Needs.pm   2016-09-27 06:34:20.000000000 
+0200
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 no warnings 'once';
-our $VERSION = '0.002004';
+our $VERSION = '0.002005';
 $VERSION =~ tr/_//d;
 
 BEGIN {
@@ -150,7 +150,7 @@
   }
   elsif ($INC{'Test/Builder.pm'}) {
     my $tb = Test::Builder->new;
-    my $has_plan = $tb->can('has_plan') ? 'has_plan'
+    my $has_plan = Test::Builder->can('has_plan') ? 'has_plan'
       : sub { $_[0]->expected_tests || eval { 
$_[0]->current_test($_[0]->current_test); 'no_plan' } };
     if ($fail) {
       $tb->plan(tests => 1)
@@ -166,16 +166,16 @@
           = $plan && $plan ne 'no_plan' ? $plan - $tests : 1;
         $tb->skip("Test::Needs modules not available")
           for 1 .. $skips;
-        $tb->can('note') ? $tb->note($message) : print "# $message\n";
+        Test::Builer->can('note') ? $tb->note($message) : print "# $message\n";
       }
       else {
         $tb->skip_all($message);
       }
     }
     $tb->done_testing
-      if $tb->can('done_testing');
+      if Test::Builder->can('done_testing');
     die bless {} => 'Test::Builder::Exception'
-      if $tb->can('parent') && $tb->parent;
+      if Test::Builder->can('parent') && $tb->parent;
   }
   else {
     if ($fail) {


Reply via email to