redis-reconnect_with_readonly 0.9.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 36cb97687807a86231a71cb997ec7b7bcc9fca729e33743e0939e9b849f649bd
|
4
|
+
data.tar.gz: 5b63beed50c075ad2b5c0161f18e3acbac566a56eaa577f01aca655bc5b7cac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ef67dd9308c2aa8b71f66400539c3e51193c85cf143bdba8ec7f5bf7e2e5dcfda582445dc6c46f011bc567d3647b26058767557dfa947b915123fcdf8e08e3f
|
7
|
+
data.tar.gz: 66718fe28ef7b6cea3159a233ab5c1420d74bba75e5300abf56715bbe1f2e032a7ff357f73f5155c65db521563d4ae514970a1cc7411e6949a1e96df85581e66
|
data/CHANGELOG.md
CHANGED
@@ -55,9 +55,9 @@ class Redis
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
def call_loop_with_reconnect_with_readonly(command, &block)
|
58
|
+
def call_loop_with_reconnect_with_readonly(command, timeout = 0, &block)
|
59
59
|
ReconnectWithReadonly.reconnect_with_readonly(self) do
|
60
|
-
call_loop_without_reconnect_with_readonly(command, &block)
|
60
|
+
call_loop_without_reconnect_with_readonly(command, timeout, &block)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency "redis"
|
22
|
+
spec.add_dependency "redis", ">= 3.3.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.11"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-reconnect_with_readonly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.7.6
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Reconnect redis if Redis::CommandError READONLY occurs.
|