Hello community,

here is the log from the commit of package perl-Safe-Isa for openSUSE:Factory 
checked in at 2018-05-03 12:33:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Safe-Isa (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Safe-Isa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Safe-Isa"

Thu May  3 12:33:51 2018 rev:8 rq:603050 version:1.000010

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Safe-Isa/perl-Safe-Isa.changes      
2018-04-26 13:38:01.200105167 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Safe-Isa.new/perl-Safe-Isa.changes 
2018-05-03 12:33:53.009072012 +0200
@@ -1,0 +2,9 @@
+Thu Apr 26 05:56:49 UTC 2018 - co...@suse.com
+
+- updated to 1.000010
+   see /usr/share/doc/packages/perl-Safe-Isa/Changes
+
+  1.000010 - 2018-04-25
+    - fix DOES tests on 5.8.x
+
+-------------------------------------------------------------------

Old:
----
  Safe-Isa-1.000009.tar.gz

New:
----
  Safe-Isa-1.000010.tar.gz

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

Other differences:
------------------
++++++ perl-Safe-Isa.spec ++++++
--- /var/tmp/diff_new_pack.Hk5eno/_old  2018-05-03 12:33:53.993036962 +0200
+++ /var/tmp/diff_new_pack.Hk5eno/_new  2018-05-03 12:33:53.997036820 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Safe-Isa
-Version:        1.000009
+Version:        1.000010
 Release:        0
 %define cpan_name Safe-Isa
 Summary:        Call isa, can, does and DOES safely on things that may not be 
objects

++++++ Safe-Isa-1.000009.tar.gz -> Safe-Isa-1.000010.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Safe-Isa-1.000009/Changes 
new/Safe-Isa-1.000010/Changes
--- old/Safe-Isa-1.000009/Changes       2018-04-21 19:13:44.000000000 +0200
+++ new/Safe-Isa-1.000010/Changes       2018-04-26 01:12:43.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Safe-Isa
 
+1.000010 - 2018-04-25
+  - fix DOES tests on 5.8.x
+
 1.000009 - 2018-04-21
   - Fix handling of DOES and does (they no longer fall back to isa in most
     situations outside of Moo/Moose)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Safe-Isa-1.000009/META.json 
new/Safe-Isa-1.000010/META.json
--- old/Safe-Isa-1.000009/META.json     2018-04-21 19:13:55.000000000 +0200
+++ new/Safe-Isa-1.000010/META.json     2018-04-26 01:12:52.000000000 +0200
@@ -4,7 +4,7 @@
       "mst - Matt S. Trout (cpan:MSTROUT) <m...@shadowcat.co.uk>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 7.3501, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -50,7 +50,7 @@
          "web" : "https://github.com/p5sagit/Safe-Isa";
       }
    },
-   "version" : "1.000009",
+   "version" : "1.000010",
    "x_contributors" : [
       "Karen Etheridge <et...@cpan.org>",
       "Matt S Trout <m...@shadowcat.co.uk>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Safe-Isa-1.000009/META.yml 
new/Safe-Isa-1.000010/META.yml
--- old/Safe-Isa-1.000009/META.yml      2018-04-21 19:13:54.000000000 +0200
+++ new/Safe-Isa-1.000010/META.yml      2018-04-26 01:12:52.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.3501, CPAN::Meta::Converter 
version 2.150010'
+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
@@ -24,7 +24,7 @@
 resources:
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa
   repository: https://github.com/p5sagit/Safe-Isa.git
-version: '1.000009'
+version: '1.000010'
 x_contributors:
   - 'Karen Etheridge <et...@cpan.org>'
   - 'Matt S Trout <m...@shadowcat.co.uk>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Safe-Isa-1.000009/Makefile.PL 
new/Safe-Isa-1.000010/Makefile.PL
--- old/Safe-Isa-1.000009/Makefile.PL   2018-04-21 17:40:34.000000000 +0200
+++ new/Safe-Isa-1.000010/Makefile.PL   2018-04-26 00:58:19.000000000 +0200
@@ -1,6 +1,5 @@
 use strict;
 use warnings FATAL => 'all';
-use 5.008001;
 use ExtUtils::MakeMaker;
 (do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Safe-Isa-1.000009/lib/Safe/Isa.pm 
new/Safe-Isa-1.000010/lib/Safe/Isa.pm
--- old/Safe-Isa-1.000009/lib/Safe/Isa.pm       2018-04-21 19:13:19.000000000 
+0200
+++ new/Safe-Isa-1.000010/lib/Safe/Isa.pm       2018-04-21 19:14:06.000000000 
+0200
@@ -5,7 +5,7 @@
 use Scalar::Util ();
 use Exporter 5.57 qw(import);
 
-our $VERSION = '1.000009';
+our $VERSION = '1.000010';
 
 our @EXPORT = qw($_call_if_object $_isa $_can $_does $_DOES $_call_if_can);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Safe-Isa-1.000009/t/safe_does.t 
new/Safe-Isa-1.000010/t/safe_does.t
--- old/Safe-Isa-1.000009/t/safe_does.t 2018-04-21 17:42:41.000000000 +0200
+++ new/Safe-Isa-1.000010/t/safe_does.t 2018-04-26 00:42:45.000000000 +0200
@@ -42,8 +42,17 @@
 ok(eval { $blam->$_does('Foo'); 1 }, 'no boom today');
 ok(eval { $undef->$_does('Foo'); 1 }, 'nor tomorrow either');
 
-ok($foo->$_call_if_object(DOES => 'Foo'), 'foo $_call_if_object(DOES => Foo)');
-ok($bar->$_call_if_object(DOES => 'Foo'), 'bar $_call_if_object(DOES => Foo)');
+if (UNIVERSAL->can('DOES')) {
+  ok($foo->$_call_if_object(DOES => 'Foo'), 'foo $_call_if_object(DOES => 
Foo)');
+  ok($bar->$_call_if_object(DOES => 'Foo'), 'bar $_call_if_object(DOES => 
Foo)');
+}
+else {
+  ok(!eval { $foo->$_call_if_object(DOES => 'Foo'); 1 },
+   'foo $_call_if_object(DOES => Foo) fails without UNIVERSAL::DOES');
+  ok(!eval { $bar->$_call_if_object(DOES => 'Foo'); 1 },
+   'bar $_call_if_object(DOES => Foo) fails without UNIVERSAL::DOES');
+}
+
 ok(eval { $blam->$_call_if_object(DOES => 'Foo'); 1 }, 'no boom today');
 ok(eval { $undef->$_call_if_object(DOES => 'Foo'); 1 }, 'nor tomorrow either');
 


Reply via email to