redis_failover 0.9.7.1 → 0.9.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes.md +4 -0
- data/lib/redis_failover/client.rb +8 -0
- data/lib/redis_failover/version.rb +1 -1
- metadata +4 -4
data/Changes.md
CHANGED
@@ -79,6 +79,14 @@ module RedisFailover
|
|
79
79
|
self
|
80
80
|
end
|
81
81
|
|
82
|
+
# Delegates to the underlying Redis client to fetch the location.
|
83
|
+
# This method always returns the location of the master.
|
84
|
+
#
|
85
|
+
# @return [String] the redis location
|
86
|
+
def location
|
87
|
+
dispatch(:client).location
|
88
|
+
end
|
89
|
+
|
82
90
|
# Specifies a callback to invoke when the current redis node list changes.
|
83
91
|
#
|
84
92
|
# @param [Proc] a callback with current master and slaves as arguments
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis_failover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.7.
|
4
|
+
version: 0.9.7.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
segments:
|
191
191
|
- 0
|
192
|
-
hash:
|
192
|
+
hash: 2936148649522258695
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
194
|
none: false
|
195
195
|
requirements:
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: '0'
|
199
199
|
segments:
|
200
200
|
- 0
|
201
|
-
hash:
|
201
|
+
hash: 2936148649522258695
|
202
202
|
requirements: []
|
203
203
|
rubyforge_project:
|
204
204
|
rubygems_version: 1.8.23
|