redis_failover 0.8.6 → 0.8.7

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.7
2
+ -----------
3
+ - Support TTL operation (#24)
4
+
1
5
  0.8.6
2
6
  -----------
3
7
  - No longer buffer output (kyohsuke)
data/README.md CHANGED
@@ -37,6 +37,10 @@ optionally retry the operation.
37
37
 
38
38
  [ZK]: https://github.com/slyphon/zk
39
39
 
40
+ ## Architecture Diagram
41
+
42
+ ![redis_failover architecture diagram](https://github.com/ryanlecompte/redis_failover/raw/master/misc/redis_failover.png)
43
+
40
44
  ## Installation
41
45
 
42
46
  redis_failover has an external dependency on ZooKeeper. You must have a running ZooKeeper cluster already available in order to use redis_failover. ZooKeeper provides redis_failover with its high availability and data consistency between Redis::Failover clients and the Node Manager daemon. Please see the requirements section below for more information on installing and setting up ZooKeeper if you don't have it running already.
@@ -71,11 +71,7 @@ module RedisFailover
71
71
 
72
72
  # Unsupported Redis operations. These don't make sense in a client
73
73
  # that abstracts the master/slave servers.
74
- UNSUPPORTED_OPS = Set[
75
- :select,
76
- :ttl,
77
- :dbsize,
78
- ].freeze
74
+ UNSUPPORTED_OPS = Set[:select, :dbsize].freeze
79
75
 
80
76
  # Performance optimization: to avoid unnecessary method_missing calls,
81
77
  # we proactively define methods that dispatch to the underlying redis
@@ -1,3 +1,3 @@
1
1
  module RedisFailover
2
- VERSION = '0.8.6'
2
+ VERSION = '0.8.7'
3
3
  end
Binary file
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.6
4
+ version: 0.8.7
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-29 00:00:00.000000000 Z
12
+ date: 2012-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis
@@ -154,6 +154,7 @@ files:
154
154
  - lib/redis_failover/runner.rb
155
155
  - lib/redis_failover/util.rb
156
156
  - lib/redis_failover/version.rb
157
+ - misc/redis_failover.png
157
158
  - redis_failover.gemspec
158
159
  - spec/cli_spec.rb
159
160
  - spec/client_spec.rb
@@ -180,18 +181,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
181
  - - ! '>='
181
182
  - !ruby/object:Gem::Version
182
183
  version: '0'
183
- segments:
184
- - 0
185
- hash: -645312591667792014
186
184
  required_rubygems_version: !ruby/object:Gem::Requirement
187
185
  none: false
188
186
  requirements:
189
187
  - - ! '>='
190
188
  - !ruby/object:Gem::Version
191
189
  version: '0'
192
- segments:
193
- - 0
194
- hash: -645312591667792014
195
190
  requirements: []
196
191
  rubyforge_project:
197
192
  rubygems_version: 1.8.23