nogara-redis_failover 0.8.10 → 0.8.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,13 @@ module RedisFailover
64
64
  build_clients
65
65
  end
66
66
 
67
+
68
+ # Resque wants to use Resque.redis.reconnect to recreate all connections. So
69
+ # we provide ourselves as a client to receive the "reconnect" message
70
+ def client
71
+ self
72
+ end
73
+
67
74
  # Specifies a callback to invoke when the current redis node list changes.
68
75
  #
69
76
  # @param [Proc] a callback with current master and slaves as arguments
@@ -1,3 +1,3 @@
1
1
  module RedisFailover
2
- VERSION = '0.8.10'
2
+ VERSION = '0.8.11'
3
3
  end
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.8.10
4
+ version: 0.8.11
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-08-13 00:00:00.000000000 Z
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis