redis_failover 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
data/Changes.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.8.5
2
+ -----------
3
+ - Lock-down gemspec to version 1.1.x of redis-namespace to play nicely with redis 2.2.x.
4
+
1
5
  0.8.4
2
6
  -----------
3
7
  - Lock-down gemspec to redis 2.2.x in light of upcoming redis 3.x release. Once sufficient testing
@@ -109,7 +109,6 @@ module RedisFailover
109
109
  @max_retries = @retry ? options.fetch(:max_retries, 3) : 0
110
110
  @master = nil
111
111
  @slaves = []
112
- @queue = Queue.new
113
112
  @lock = Monitor.new
114
113
  setup_zk
115
114
  build_clients
@@ -147,7 +146,7 @@ module RedisFailover
147
146
  # @option options [String] :host the host of the failover candidate
148
147
  # @option options [String] :port the port of the failover candidate
149
148
  def manual_failover(options = {})
150
- ManualFailover.new(zk, options).perform
149
+ ManualFailover.new(@zk, options).perform
151
150
  self
152
151
  end
153
152
 
@@ -1,3 +1,3 @@
1
1
  module RedisFailover
2
- VERSION = '0.8.4'
2
+ VERSION = '0.8.5'
3
3
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.version = RedisFailover::VERSION
17
17
 
18
18
  gem.add_dependency('redis', '~> 2.2')
19
- gem.add_dependency('redis-namespace')
19
+ gem.add_dependency('redis-namespace', '~> 1')
20
20
  gem.add_dependency('multi_json', '~> 1')
21
21
  gem.add_dependency('zk', '~> 1.4')
22
22
 
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.8.4
4
+ version: 0.8.5
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-06-06 00:00:00.000000000 Z
12
+ date: 2012-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: '1'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: '1'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: multi_json
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -180,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  segments:
182
182
  - 0
183
- hash: 2968723262927828498
183
+ hash: -3012770185643585343
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  none: false
186
186
  requirements:
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  segments:
191
191
  - 0
192
- hash: 2968723262927828498
192
+ hash: -3012770185643585343
193
193
  requirements: []
194
194
  rubyforge_project:
195
195
  rubygems_version: 1.8.23