Hello community,

here is the log from the commit of package perl-Redis for openSUSE:Factory 
checked in at 2015-10-08 08:24:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Redis (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Redis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Redis"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Redis/perl-Redis.changes    2015-08-27 
08:57:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Redis.new/perl-Redis.changes       
2015-10-08 08:24:30.000000000 +0200
@@ -1,0 +2,9 @@
+Sun Oct  4 09:13:13 UTC 2015 - [email protected]
+
+- updated to 1.981
+   see /usr/share/doc/packages/perl-Redis/Changes
+
+  1.981     2015-09-29 12:31:57CEST+0200 Europe/Paris
+     * fix a bug where when not yet connected, pid is undef, leading to 
warnings
+
+-------------------------------------------------------------------

Old:
----
  Redis-1.980.tar.gz

New:
----
  Redis-1.981.tar.gz

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

Other differences:
------------------
++++++ perl-Redis.spec ++++++
--- /var/tmp/diff_new_pack.VfNFOi/_old  2015-10-08 08:24:31.000000000 +0200
+++ /var/tmp/diff_new_pack.VfNFOi/_new  2015-10-08 08:24:31.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Redis
-Version:        1.980
+Version:        1.981
 Release:        0
 %define cpan_name Redis
 Summary:        Perl binding for Redis database

++++++ Redis-1.980.tar.gz -> Redis-1.981.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/Build.PL new/Redis-1.981/Build.PL
--- old/Redis-1.980/Build.PL    2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/Build.PL    2015-09-29 12:32:03.000000000 +0200
@@ -1,3 +1,3 @@
-use 5.008;
+use 5.010;
 use Module::Build::Tiny 0.039;
 Build_PL();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/Changes new/Redis-1.981/Changes
--- old/Redis-1.980/Changes     2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/Changes     2015-09-29 12:32:03.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Redis
 
+1.981     2015-09-29 12:31:57CEST+0200 Europe/Paris
+   * fix a bug where when not yet connected, pid is undef, leading to warnings
+
 1.980     2015-08-24 09:48:08CEST+0200 Europe/Paris
    * fix "set" documentation as per Emanuele Tomasi <[email protected]> 
suggestion
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/META.json new/Redis-1.981/META.json
--- old/Redis-1.980/META.json   2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/META.json   2015-09-29 12:32:03.000000000 +0200
@@ -32,7 +32,7 @@
          "requires" : {
             "IO::Socket::Timeout" : "0.29",
             "Try::Tiny" : "0",
-            "perl" : "5.008"
+            "perl" : "5.010"
          }
       },
       "test" : {
@@ -65,6 +65,6 @@
          "web" : "https://github.com/PerlRedis/perl-redis";
       }
    },
-   "version" : "1.980"
+   "version" : "1.981"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/META.yml new/Redis-1.981/META.yml
--- old/Redis-1.980/META.yml    2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/META.yml    2015-09-29 12:32:03.000000000 +0200
@@ -30,9 +30,9 @@
 requires:
   IO::Socket::Timeout: 0.29
   Try::Tiny: 0
-  perl: 5.008
+  perl: 5.010
 resources:
   bugtracker: https://github.com/PerlRedis/perl-redis/issues
   homepage: https://github.com/PerlRedis/perl-redis
   repository: https://github.com/PerlRedis/perl-redis.git
-version: 1.980
+version: 1.981
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/Makefile.PL new/Redis-1.981/Makefile.PL
--- old/Redis-1.980/Makefile.PL 2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/Makefile.PL 2015-09-29 12:32:03.000000000 +0200
@@ -68,7 +68,7 @@
 }
 }
 
-use 5.008;
+use 5.010;
 use ExtUtils::MakeMaker 6.63_03;
 
 my %WriteMakefileArgs = (
@@ -84,7 +84,7 @@
   "DISTNAME" => "Redis",
   "EXE_FILES" => [],
   "LICENSE" => "artistic_2",
-  "MIN_PERL_VERSION" => "5.008",
+  "MIN_PERL_VERSION" => "5.010",
   "NAME" => "Redis",
   "PREREQ_PM" => {
     "IO::Socket::Timeout" => "0.29",
@@ -105,7 +105,7 @@
     "Test::SharedFork" => 0,
     "Test::TCP" => "1.19"
   },
-  "VERSION" => "1.980",
+  "VERSION" => "1.981",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/README new/Redis-1.981/README
--- old/Redis-1.980/README      2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/README      2015-09-29 12:32:03.000000000 +0200
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution Redis,
-version 1.980:
+version 1.981:
 
   Perl binding for Redis database
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/lib/Redis/Hash.pm 
new/Redis-1.981/lib/Redis/Hash.pm
--- old/Redis-1.980/lib/Redis/Hash.pm   2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/lib/Redis/Hash.pm   2015-09-29 12:32:03.000000000 +0200
@@ -8,7 +8,7 @@
 #   The Artistic License 2.0 (GPL Compatible)
 #
 package Redis::Hash;
-$Redis::Hash::VERSION = '1.980';
+$Redis::Hash::VERSION = '1.981';
 # ABSTRACT: tie Perl hashes to Redis hashes
 # VERSION
 # AUTHORITY
@@ -86,7 +86,7 @@
 
 =head1 VERSION
 
-version 1.980
+version 1.981
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/lib/Redis/List.pm 
new/Redis-1.981/lib/Redis/List.pm
--- old/Redis-1.980/lib/Redis/List.pm   2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/lib/Redis/List.pm   2015-09-29 12:32:03.000000000 +0200
@@ -8,7 +8,7 @@
 #   The Artistic License 2.0 (GPL Compatible)
 #
 package Redis::List;
-$Redis::List::VERSION = '1.980';
+$Redis::List::VERSION = '1.981';
 # ABSTRACT: tie Perl arrays to Redis lists
 # VERSION
 # AUTHORITY
@@ -106,7 +106,7 @@
 
 =head1 VERSION
 
-version 1.980
+version 1.981
 
 =head1 SYNOPSYS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/lib/Redis/Sentinel.pm 
new/Redis-1.981/lib/Redis/Sentinel.pm
--- old/Redis-1.980/lib/Redis/Sentinel.pm       2015-08-24 09:48:14.000000000 
+0200
+++ new/Redis-1.981/lib/Redis/Sentinel.pm       2015-09-29 12:32:03.000000000 
+0200
@@ -8,7 +8,7 @@
 #   The Artistic License 2.0 (GPL Compatible)
 #
 package Redis::Sentinel;
-$Redis::Sentinel::VERSION = '1.980';
+$Redis::Sentinel::VERSION = '1.981';
 # ABSTRACT: Redis Sentinel interface
 
 use warnings;
@@ -54,7 +54,7 @@
 
 =head1 VERSION
 
-version 1.980
+version 1.981
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redis-1.980/lib/Redis.pm new/Redis-1.981/lib/Redis.pm
--- old/Redis-1.980/lib/Redis.pm        2015-08-24 09:48:14.000000000 +0200
+++ new/Redis-1.981/lib/Redis.pm        2015-09-29 12:32:03.000000000 +0200
@@ -8,7 +8,7 @@
 #   The Artistic License 2.0 (GPL Compatible)
 #
 package Redis;
-$Redis::VERSION = '1.980';
+$Redis::VERSION = '1.981';
 # ABSTRACT: Perl binding for Redis database
 # VERSION
 # AUTHORITY
@@ -684,7 +684,8 @@
   my $cmd  = uc(shift);
   my $deb  = $self->{debug};
 
-  if ($self->{pid} != $$) {
+  # if already connected but after a fork, reconnect
+  if ($self->{sock} && ($self->{pid} // 0) != $$) {
     $self->connect;
   }
 
@@ -904,7 +905,7 @@
 
 =head1 VERSION
 
-version 1.980
+version 1.981
 
 =head1 SYNOPSIS
 


Reply via email to