nogara-redis_failover 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/redis_failover/client.rb +6 -0
- data/lib/redis_failover/version.rb +1 -1
- metadata +2 -2
|
@@ -71,6 +71,12 @@ module RedisFailover
|
|
|
71
71
|
self
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
+
# Sidekiq-web asks for a location in the redis client. Implements something here
|
|
75
|
+
# just to make sure it works
|
|
76
|
+
def location
|
|
77
|
+
'location'
|
|
78
|
+
end
|
|
79
|
+
|
|
74
80
|
# Specifies a callback to invoke when the current redis node list changes.
|
|
75
81
|
#
|
|
76
82
|
# @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: nogara-redis_failover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
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-
|
|
12
|
+
date: 2012-09-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: redis
|