redic 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/redic/client.rb +7 -5
- data/redic.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20df3a6ea40af054292b36b4fd62ab86efe2d254b7bb11aac5a21554d247789a
|
4
|
+
data.tar.gz: f51c954ad201e6fbb6f32576e1209288794c3394205b1f43f1418847da821e88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e6f4e217668081846033cbd75ab29ee865e5704bdbe0ceeef61c1907270c7ca718d35e628eed819c36eec334f25e65296a55c48f702dea6f005be9fe273c39
|
7
|
+
data.tar.gz: 69cae705f6104b723b4f6ba411cf71268d4cc36eb0bab0babb37d5b7a0b7aeed3cb865f1580914edd7971a19e98b54cf4f443aa24ceefa7374f2092af077eb26
|
data/CHANGELOG
CHANGED
data/lib/redic/client.rb
CHANGED
@@ -32,11 +32,13 @@ class Redic
|
|
32
32
|
|
33
33
|
def connect
|
34
34
|
@semaphore.synchronize do
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
begin
|
36
|
+
establish_connection unless connected?
|
37
|
+
yield
|
38
|
+
rescue Errno::ECONNRESET
|
39
|
+
@connection = false
|
40
|
+
retry
|
41
|
+
end
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
data/redic.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Martens
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-08-
|
12
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hiredis
|