redic 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/redic/client.rb +3 -0
  3. data/redic.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76317fcd4c61e79f065cf2ef44837f3a051d03aa
4
- data.tar.gz: 30ac403657f5104e8a36dcaf62ec94ee44cc8885
3
+ metadata.gz: 6e1b0f1a2333c422e952095844a76b768a5da377
4
+ data.tar.gz: dee6f7ad9a8fe7e5af893c6b66dfb57cbd02f6e2
5
5
  SHA512:
6
- metadata.gz: a7e7595fc878f1788903bbbbe3f9303138c761172ffc73d62c2839a3cd9ad339c32e87dffff8465a9e574884eaf2114a673a87d85821b4b49e5fe416e59569b5
7
- data.tar.gz: 80c811c3edc5114dd07c8ac4d43d5851809576774dc5f0c12846b3592754f4ad4a2f7cad9cb8fe1a8c089d55589ad2982240e31628359e5142c3ee5b8ba21cf5
6
+ metadata.gz: e3bdf533b10694796c510b8ee47f16f43db20ae7a83cc2648b9a61779a2392b46ca811a681513a32e16d5d5894c8a66d835fa3957e47f1b6763a458ff8c37d85
7
+ data.tar.gz: 4a0a0ceaf7d311f9164fa900acade5fe75f0be7aa8355ca29d6aa62a50685390948dbcd88d97437148ae529f86d2828cc15d7a83a67ce1ff25a8d71e6ac6f42e
data/lib/redic/client.rb CHANGED
@@ -25,6 +25,9 @@ class Redic
25
25
  @semaphore.synchronize do
26
26
  yield
27
27
  end
28
+ rescue Errno::ECONNRESET
29
+ @connection = nil
30
+ retry
28
31
  end
29
32
 
30
33
  private
data/redic.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "redic"
5
- s.version = "0.0.6"
5
+ s.version = "0.0.7"
6
6
  s.summary = "Lightweight Redis Client"
7
7
  s.description = "Lightweight Redis Client"
8
8
  s.authors = ["Michel Martens", "Cyril David"]
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: 0.0.6
4
+ version: 0.0.7
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: 2013-07-14 00:00:00.000000000 Z
12
+ date: 2013-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hiredis