Hello community,

here is the log from the commit of package perl-Test-Refcount for 
openSUSE:Factory checked in at 2019-06-27 15:26:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Refcount (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Refcount.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Refcount"

Thu Jun 27 15:26:36 2019 rev:3 rq:712227 version:0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Refcount/perl-Test-Refcount.changes    
2019-06-26 16:04:55.599705176 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Refcount.new.4615/perl-Test-Refcount.changes
  2019-06-27 15:26:39.113630587 +0200
@@ -1,0 +2,12 @@
+Thu Jun 27 05:30:04 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 0.10
+   see /usr/share/doc/packages/perl-Test-Refcount/Changes
+
+  0.10    2019-06-26 11:28:13
+          [BUGFIXES]
+           * Fix unit tests to handle when both Devel::MAT and Devel::FindRef
+             are available (RT129908)
+             (No module code changes, purely tests)
+
+-------------------------------------------------------------------

Old:
----
  Test-Refcount-0.09.tar.gz

New:
----
  Test-Refcount-0.10.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Refcount.spec ++++++
--- /var/tmp/diff_new_pack.WKYHtS/_old  2019-06-27 15:26:40.061632008 +0200
+++ /var/tmp/diff_new_pack.WKYHtS/_new  2019-06-27 15:26:40.065632013 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-Refcount
-Version:        0.09
+Version:        0.10
 Release:        0
 %define cpan_name Test-Refcount
 Summary:        Assert reference counts on objects

++++++ Test-Refcount-0.09.tar.gz -> Test-Refcount-0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/Changes 
new/Test-Refcount-0.10/Changes
--- old/Test-Refcount-0.09/Changes      2019-06-25 22:09:32.000000000 +0200
+++ new/Test-Refcount-0.10/Changes      2019-06-26 12:30:36.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for Test-Refcount
 
+0.10    2019-06-26 11:28:13
+        [BUGFIXES]
+         * Fix unit tests to handle when both Devel::MAT and Devel::FindRef
+           are available (RT129908)
+           (No module code changes, purely tests)
+
 0.09    2019-06-25 21:06:57
         [CHANGES]
          * Add a `refcount()` function that callers can use to build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/META.json 
new/Test-Refcount-0.10/META.json
--- old/Test-Refcount-0.09/META.json    2019-06-25 22:09:32.000000000 +0200
+++ new/Test-Refcount-0.10/META.json    2019-06-26 12:30:36.000000000 +0200
@@ -39,7 +39,7 @@
    "provides" : {
       "Test::Refcount" : {
          "file" : "lib/Test/Refcount.pm",
-         "version" : "0.09"
+         "version" : "0.10"
       }
    },
    "release_status" : "stable",
@@ -48,6 +48,6 @@
          "http://dev.perl.org/licenses/";
       ]
    },
-   "version" : "0.09",
+   "version" : "0.10",
    "x_serialization_backend" : "JSON::PP version 4.00"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/META.yml 
new/Test-Refcount-0.10/META.yml
--- old/Test-Refcount-0.09/META.yml     2019-06-25 22:09:32.000000000 +0200
+++ new/Test-Refcount-0.10/META.yml     2019-06-26 12:30:36.000000000 +0200
@@ -17,7 +17,7 @@
 provides:
   Test::Refcount:
     file: lib/Test/Refcount.pm
-    version: '0.09'
+    version: '0.10'
 recommends:
   Devel::MAT: '0.04'
 requires:
@@ -26,5 +26,5 @@
   Test::Builder: '0'
 resources:
   license: http://dev.perl.org/licenses/
-version: '0.09'
+version: '0.10'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/lib/Test/Refcount.pm 
new/Test-Refcount-0.10/lib/Test/Refcount.pm
--- old/Test-Refcount-0.09/lib/Test/Refcount.pm 2019-06-25 22:09:32.000000000 
+0200
+++ new/Test-Refcount-0.10/lib/Test/Refcount.pm 2019-06-26 12:30:36.000000000 
+0200
@@ -12,7 +12,7 @@
 use Scalar::Util qw( weaken refaddr );
 use B qw( svref_2object );
 
-our $VERSION = '0.09';
+our $VERSION = '0.10';
 
 our @EXPORT = qw(
    is_refcount
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/t/01count.t 
new/Test-Refcount-0.10/t/01count.t
--- old/Test-Refcount-0.09/t/01count.t  2019-06-25 22:09:32.000000000 +0200
+++ new/Test-Refcount-0.10/t/01count.t  2019-06-26 12:30:36.000000000 +0200
@@ -8,8 +8,6 @@
 
 use Test::Refcount;
 
-use constant HAVE_DEVEL_FINDREF => eval { require Devel::FindRef };
-
 my $anon = [];
 
 test_out( "ok 1 - anon ARRAY ref" );
@@ -37,14 +35,14 @@
 test_out( "not ok 1 - one ref" );
 test_fail( +10 );
 test_err( "#   expected 1 references, found 2" );
-test_err( qr/^# Some::Class=HASH\(0x[0-9a-f]+\) (?:\[refcount 2\] )?is\n/ ) if 
HAVE_DEVEL_FINDREF;
-if( HAVE_DEVEL_FINDREF ) {
-   test_err( qr/(?:^#.*\n){1,}/m ); # Don't be sensitive on what 
Devel::FindRef actually prints
-}
-elsif( Test::Refcount::HAVE_DEVEL_MAT_DUMPER ) {
+if( Test::Refcount::HAVE_DEVEL_MAT_DUMPER ) {
    test_err( qr/^# SV address is 0x[0-9a-f]+\n/ );
    test_err( qr/^# Writing heap dump to \S+\n/ );
 }
+if( Test::Refcount::HAVE_DEVEL_FINDREF ) {
+   test_err( qr/^# Some::Class=HASH\(0x[0-9a-f]+\) (?:\[refcount 2\] )?is\n/ );
+   test_err( qr/(?:^#.*\n){1,}/m ); # Don't be sensitive on what 
Devel::FindRef actually prints
+}
 is_refcount( $object, 1, 'one ref' );
 test_test( "two refs to object fails to be 1" );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/t/02one.t 
new/Test-Refcount-0.10/t/02one.t
--- old/Test-Refcount-0.09/t/02one.t    2019-06-25 22:09:32.000000000 +0200
+++ new/Test-Refcount-0.10/t/02one.t    2019-06-26 12:30:36.000000000 +0200
@@ -8,8 +8,6 @@
 
 use Test::Refcount;
 
-use constant HAVE_DEVEL_FINDREF => eval { require Devel::FindRef };
-
 my $anon = [];
 
 test_out( "ok 1 - anon ARRAY ref" );
@@ -27,14 +25,14 @@
 test_out( "not ok 1 - one ref" );
 test_fail( +10 );
 test_err( "#   expected 1 references, found 2" );
-if( HAVE_DEVEL_FINDREF ) {
-   test_err( qr/^# Some::Class=HASH\(0x[0-9a-f]+\) (?:\[refcount 2\] )?is\n/ );
-   test_err( qr/(?:^#.*\n){1,}/m ); # Don't be sensitive on what 
Devel::FindRef actually prints
-}
-elsif( Test::Refcount::HAVE_DEVEL_MAT_DUMPER ) {
+if( Test::Refcount::HAVE_DEVEL_MAT_DUMPER ) {
    test_err( qr/^# SV address is 0x[0-9a-f]+\n/ );
    test_err( qr/^# Writing heap dump to \S+\n/ );
 }
+if( Test::Refcount::HAVE_DEVEL_FINDREF ) {
+   test_err( qr/^# Some::Class=HASH\(0x[0-9a-f]+\) (?:\[refcount 2\] )?is\n/ );
+   test_err( qr/(?:^#.*\n){1,}/m ); # Don't be sensitive on what 
Devel::FindRef actually prints
+}
 is_oneref( $object, 'one ref' );
 test_test( "two refs to object fails to be 1" );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Refcount-0.09/t/03weak.t 
new/Test-Refcount-0.10/t/03weak.t
--- old/Test-Refcount-0.09/t/03weak.t   2019-06-25 22:09:32.000000000 +0200
+++ new/Test-Refcount-0.10/t/03weak.t   2019-06-26 12:30:36.000000000 +0200
@@ -10,8 +10,6 @@
 
 use Test::Refcount;
 
-use constant HAVE_DEVEL_FINDREF => eval { require Devel::FindRef };
-
 my $object = bless {}, "Some::Class";
 
 my $newref = $object;
@@ -19,14 +17,14 @@
 test_out( "not ok 1 - one ref" );
 test_fail( +10 );
 test_err( "#   expected 1 references, found 2" );
-if( HAVE_DEVEL_FINDREF ) {
-   test_err( qr/^# Some::Class=HASH\(0x[0-9a-f]+\) (?:\[refcount 2\] )?is\n/ );
-   test_err( qr/(?:^#.*\n){1,}/m ); # Don't be sensitive on what 
Devel::FindRef actually prints
-}
-elsif( Test::Refcount::HAVE_DEVEL_MAT_DUMPER ) {
+if( Test::Refcount::HAVE_DEVEL_MAT_DUMPER ) {
    test_err( qr/^# SV address is 0x[0-9a-f]+\n/ );
    test_err( qr/^# Writing heap dump to \S+\n/ );
 }
+if( Test::Refcount::HAVE_DEVEL_FINDREF ) {
+   test_err( qr/^# Some::Class=HASH\(0x[0-9a-f]+\) (?:\[refcount 2\] )?is\n/ );
+   test_err( qr/(?:^#.*\n){1,}/m ); # Don't be sensitive on what 
Devel::FindRef actually prints
+}
 is_oneref( $object, 'one ref' );
 test_test( "two refs to object fails to be 1" );
 


Reply via email to