redis 4.1.0.beta1 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -2
- data/README.md +45 -0
- data/lib/redis.rb +497 -20
- data/lib/redis/client.rb +14 -6
- data/lib/redis/cluster.rb +1 -0
- data/lib/redis/cluster/command_loader.rb +2 -0
- data/lib/redis/cluster/node_loader.rb +2 -0
- data/lib/redis/cluster/option.rb +1 -0
- data/lib/redis/cluster/slot_loader.rb +2 -0
- data/lib/redis/distributed.rb +3 -4
- data/lib/redis/version.rb +1 -1
- metadata +20 -243
- data/.gitignore +0 -19
- data/.travis.yml +0 -61
- data/.travis/Gemfile +0 -18
- data/.yardopts +0 -3
- data/Gemfile +0 -8
- data/benchmarking/logging.rb +0 -71
- data/benchmarking/pipeline.rb +0 -51
- data/benchmarking/speed.rb +0 -21
- data/benchmarking/suite.rb +0 -24
- data/benchmarking/worker.rb +0 -71
- data/bin/build +0 -71
- data/bors.toml +0 -14
- data/examples/basic.rb +0 -15
- data/examples/consistency.rb +0 -114
- data/examples/dist_redis.rb +0 -43
- data/examples/incr-decr.rb +0 -17
- data/examples/list.rb +0 -26
- data/examples/pubsub.rb +0 -37
- data/examples/sentinel.rb +0 -41
- data/examples/sentinel/start +0 -49
- data/examples/sets.rb +0 -36
- data/examples/unicorn/config.ru +0 -3
- data/examples/unicorn/unicorn.rb +0 -20
- data/makefile +0 -74
- data/redis.gemspec +0 -42
- data/test/bitpos_test.rb +0 -63
- data/test/blocking_commands_test.rb +0 -40
- data/test/client_test.rb +0 -76
- data/test/cluster_abnormal_state_test.rb +0 -38
- data/test/cluster_blocking_commands_test.rb +0 -15
- data/test/cluster_client_internals_test.rb +0 -77
- data/test/cluster_client_key_hash_tags_test.rb +0 -88
- data/test/cluster_client_options_test.rb +0 -147
- data/test/cluster_client_pipelining_test.rb +0 -59
- data/test/cluster_client_replicas_test.rb +0 -36
- data/test/cluster_client_slots_test.rb +0 -94
- data/test/cluster_client_transactions_test.rb +0 -71
- data/test/cluster_commands_on_cluster_test.rb +0 -165
- data/test/cluster_commands_on_connection_test.rb +0 -40
- data/test/cluster_commands_on_geo_test.rb +0 -74
- data/test/cluster_commands_on_hashes_test.rb +0 -11
- data/test/cluster_commands_on_hyper_log_log_test.rb +0 -17
- data/test/cluster_commands_on_keys_test.rb +0 -134
- data/test/cluster_commands_on_lists_test.rb +0 -15
- data/test/cluster_commands_on_pub_sub_test.rb +0 -101
- data/test/cluster_commands_on_scripting_test.rb +0 -56
- data/test/cluster_commands_on_server_test.rb +0 -221
- data/test/cluster_commands_on_sets_test.rb +0 -39
- data/test/cluster_commands_on_sorted_sets_test.rb +0 -35
- data/test/cluster_commands_on_streams_test.rb +0 -196
- data/test/cluster_commands_on_strings_test.rb +0 -15
- data/test/cluster_commands_on_transactions_test.rb +0 -41
- data/test/cluster_commands_on_value_types_test.rb +0 -14
- data/test/command_map_test.rb +0 -28
- data/test/commands_on_geo_test.rb +0 -116
- data/test/commands_on_hashes_test.rb +0 -7
- data/test/commands_on_hyper_log_log_test.rb +0 -7
- data/test/commands_on_lists_test.rb +0 -7
- data/test/commands_on_sets_test.rb +0 -7
- data/test/commands_on_sorted_sets_test.rb +0 -7
- data/test/commands_on_strings_test.rb +0 -7
- data/test/commands_on_value_types_test.rb +0 -207
- data/test/connection_handling_test.rb +0 -275
- data/test/connection_test.rb +0 -57
- data/test/distributed_blocking_commands_test.rb +0 -52
- data/test/distributed_commands_on_hashes_test.rb +0 -21
- data/test/distributed_commands_on_hyper_log_log_test.rb +0 -26
- data/test/distributed_commands_on_lists_test.rb +0 -19
- data/test/distributed_commands_on_sets_test.rb +0 -105
- data/test/distributed_commands_on_sorted_sets_test.rb +0 -59
- data/test/distributed_commands_on_strings_test.rb +0 -79
- data/test/distributed_commands_on_value_types_test.rb +0 -129
- data/test/distributed_commands_requiring_clustering_test.rb +0 -162
- data/test/distributed_connection_handling_test.rb +0 -21
- data/test/distributed_internals_test.rb +0 -68
- data/test/distributed_key_tags_test.rb +0 -50
- data/test/distributed_persistence_control_commands_test.rb +0 -24
- data/test/distributed_publish_subscribe_test.rb +0 -90
- data/test/distributed_remote_server_control_commands_test.rb +0 -64
- data/test/distributed_scripting_test.rb +0 -100
- data/test/distributed_sorting_test.rb +0 -18
- data/test/distributed_test.rb +0 -56
- data/test/distributed_transactions_test.rb +0 -30
- data/test/encoding_test.rb +0 -14
- data/test/error_replies_test.rb +0 -57
- data/test/fork_safety_test.rb +0 -60
- data/test/helper.rb +0 -344
- data/test/helper_test.rb +0 -22
- data/test/internals_test.rb +0 -395
- data/test/lint/blocking_commands.rb +0 -174
- data/test/lint/hashes.rb +0 -203
- data/test/lint/hyper_log_log.rb +0 -74
- data/test/lint/lists.rb +0 -159
- data/test/lint/sets.rb +0 -282
- data/test/lint/sorted_sets.rb +0 -497
- data/test/lint/strings.rb +0 -348
- data/test/lint/value_types.rb +0 -130
- data/test/persistence_control_commands_test.rb +0 -24
- data/test/pipelining_commands_test.rb +0 -246
- data/test/publish_subscribe_test.rb +0 -280
- data/test/remote_server_control_commands_test.rb +0 -175
- data/test/scanning_test.rb +0 -407
- data/test/scripting_test.rb +0 -76
- data/test/sentinel_command_test.rb +0 -78
- data/test/sentinel_test.rb +0 -253
- data/test/sorting_test.rb +0 -57
- data/test/ssl_test.rb +0 -69
- data/test/support/cluster/orchestrator.rb +0 -199
- data/test/support/connection/hiredis.rb +0 -1
- data/test/support/connection/ruby.rb +0 -1
- data/test/support/connection/synchrony.rb +0 -17
- data/test/support/redis_mock.rb +0 -130
- data/test/support/ssl/gen_certs.sh +0 -31
- data/test/support/ssl/trusted-ca.crt +0 -25
- data/test/support/ssl/trusted-ca.key +0 -27
- data/test/support/ssl/trusted-cert.crt +0 -81
- data/test/support/ssl/trusted-cert.key +0 -28
- data/test/support/ssl/untrusted-ca.crt +0 -26
- data/test/support/ssl/untrusted-ca.key +0 -27
- data/test/support/ssl/untrusted-cert.crt +0 -82
- data/test/support/ssl/untrusted-cert.key +0 -28
- data/test/support/wire/synchrony.rb +0 -24
- data/test/support/wire/thread.rb +0 -5
- data/test/synchrony_driver.rb +0 -85
- data/test/test.conf.erb +0 -9
- data/test/thread_safety_test.rb +0 -60
- data/test/transactions_test.rb +0 -272
- data/test/unknown_commands_test.rb +0 -12
- data/test/url_param_test.rb +0 -136
data/lib/redis/client.rb
CHANGED
@@ -18,6 +18,8 @@ class Redis
|
|
18
18
|
:id => nil,
|
19
19
|
:tcp_keepalive => 0,
|
20
20
|
:reconnect_attempts => 1,
|
21
|
+
:reconnect_delay => 0,
|
22
|
+
:reconnect_delay_max => 0.5,
|
21
23
|
:inherit_socket => false
|
22
24
|
}
|
23
25
|
|
@@ -189,13 +191,10 @@ class Redis
|
|
189
191
|
exception = nil
|
190
192
|
|
191
193
|
process(commands) do
|
192
|
-
|
193
|
-
|
194
|
-
@reconnect = false
|
195
|
-
|
196
|
-
(commands.size - 1).times do |i|
|
194
|
+
commands.size.times do |i|
|
197
195
|
reply = read
|
198
|
-
result[i
|
196
|
+
result[i] = reply
|
197
|
+
@reconnect = false
|
199
198
|
exception = reply if exception.nil? && reply.is_a?(CommandError)
|
200
199
|
end
|
201
200
|
end
|
@@ -278,12 +277,15 @@ class Redis
|
|
278
277
|
|
279
278
|
def with_socket_timeout(timeout)
|
280
279
|
connect unless connected?
|
280
|
+
original = @options[:read_timeout]
|
281
281
|
|
282
282
|
begin
|
283
283
|
connection.timeout = timeout
|
284
|
+
@options[:read_timeout] = timeout # for reconnection
|
284
285
|
yield
|
285
286
|
ensure
|
286
287
|
connection.timeout = self.timeout if connected?
|
288
|
+
@options[:read_timeout] = original
|
287
289
|
end
|
288
290
|
end
|
289
291
|
|
@@ -375,6 +377,10 @@ class Redis
|
|
375
377
|
disconnect
|
376
378
|
|
377
379
|
if attempts <= @options[:reconnect_attempts] && @reconnect
|
380
|
+
sleep_t = [(@options[:reconnect_delay] * 2**(attempts-1)),
|
381
|
+
@options[:reconnect_delay_max]].min
|
382
|
+
|
383
|
+
Kernel.sleep(sleep_t)
|
378
384
|
retry
|
379
385
|
else
|
380
386
|
raise
|
@@ -452,6 +458,8 @@ class Redis
|
|
452
458
|
options[:write_timeout] = Float(options[:write_timeout])
|
453
459
|
|
454
460
|
options[:reconnect_attempts] = options[:reconnect_attempts].to_i
|
461
|
+
options[:reconnect_delay] = options[:reconnect_delay].to_f
|
462
|
+
options[:reconnect_delay_max] = options[:reconnect_delay_max].to_f
|
455
463
|
|
456
464
|
options[:db] = options[:db].to_i
|
457
465
|
options[:driver] = _parse_driver(options[:driver]) || Connection.drivers.last
|
data/lib/redis/cluster.rb
CHANGED
@@ -132,6 +132,7 @@ class Redis
|
|
132
132
|
@node.call_all(command, &block).first
|
133
133
|
when 'flushall', 'flushdb'
|
134
134
|
@node.call_master(command, &block).first
|
135
|
+
when 'wait' then @node.call_master(command, &block).reduce(:+)
|
135
136
|
when 'keys' then @node.call_slave(command, &block).flatten.sort
|
136
137
|
when 'dbsize' then @node.call_slave(command, &block).reduce(:+)
|
137
138
|
when 'lastsave' then @node.call_all(command, &block).sort
|
data/lib/redis/cluster/option.rb
CHANGED
data/lib/redis/distributed.rb
CHANGED
@@ -403,12 +403,11 @@ class Redis
|
|
403
403
|
def _bpop(cmd, args)
|
404
404
|
options = {}
|
405
405
|
|
406
|
-
|
407
|
-
when Hash
|
406
|
+
if args.last.is_a?(Hash)
|
408
407
|
options = args.pop
|
409
|
-
|
408
|
+
elsif args.last.respond_to?(:to_int)
|
410
409
|
# Issue deprecation notice in obnoxious mode...
|
411
|
-
options[:timeout] = args.pop
|
410
|
+
options[:timeout] = args.pop.to_int
|
412
411
|
end
|
413
412
|
|
414
413
|
if args.size > 1
|
data/lib/redis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezra Zygmuntowicz
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date: 2018-
|
19
|
+
date: 2018-12-13 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: test-unit
|
@@ -32,6 +32,20 @@ dependencies:
|
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 3.1.5
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: mocha
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
type: :development
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
35
49
|
- !ruby/object:Gem::Dependency
|
36
50
|
name: hiredis
|
37
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,38 +79,13 @@ description: |2
|
|
65
79
|
providing an idiomatic interface.
|
66
80
|
email:
|
67
81
|
- redis-db@googlegroups.com
|
68
|
-
executables:
|
69
|
-
- build
|
82
|
+
executables: []
|
70
83
|
extensions: []
|
71
84
|
extra_rdoc_files: []
|
72
85
|
files:
|
73
|
-
- ".gitignore"
|
74
|
-
- ".travis.yml"
|
75
|
-
- ".travis/Gemfile"
|
76
|
-
- ".yardopts"
|
77
86
|
- CHANGELOG.md
|
78
|
-
- Gemfile
|
79
87
|
- LICENSE
|
80
88
|
- README.md
|
81
|
-
- benchmarking/logging.rb
|
82
|
-
- benchmarking/pipeline.rb
|
83
|
-
- benchmarking/speed.rb
|
84
|
-
- benchmarking/suite.rb
|
85
|
-
- benchmarking/worker.rb
|
86
|
-
- bin/build
|
87
|
-
- bors.toml
|
88
|
-
- examples/basic.rb
|
89
|
-
- examples/consistency.rb
|
90
|
-
- examples/dist_redis.rb
|
91
|
-
- examples/incr-decr.rb
|
92
|
-
- examples/list.rb
|
93
|
-
- examples/pubsub.rb
|
94
|
-
- examples/sentinel.rb
|
95
|
-
- examples/sentinel/sentinel.conf
|
96
|
-
- examples/sentinel/start
|
97
|
-
- examples/sets.rb
|
98
|
-
- examples/unicorn/config.ru
|
99
|
-
- examples/unicorn/unicorn.rb
|
100
89
|
- lib/redis.rb
|
101
90
|
- lib/redis/client.rb
|
102
91
|
- lib/redis/cluster.rb
|
@@ -121,113 +110,6 @@ files:
|
|
121
110
|
- lib/redis/pipeline.rb
|
122
111
|
- lib/redis/subscribe.rb
|
123
112
|
- lib/redis/version.rb
|
124
|
-
- makefile
|
125
|
-
- redis.gemspec
|
126
|
-
- test/bitpos_test.rb
|
127
|
-
- test/blocking_commands_test.rb
|
128
|
-
- test/client_test.rb
|
129
|
-
- test/cluster_abnormal_state_test.rb
|
130
|
-
- test/cluster_blocking_commands_test.rb
|
131
|
-
- test/cluster_client_internals_test.rb
|
132
|
-
- test/cluster_client_key_hash_tags_test.rb
|
133
|
-
- test/cluster_client_options_test.rb
|
134
|
-
- test/cluster_client_pipelining_test.rb
|
135
|
-
- test/cluster_client_replicas_test.rb
|
136
|
-
- test/cluster_client_slots_test.rb
|
137
|
-
- test/cluster_client_transactions_test.rb
|
138
|
-
- test/cluster_commands_on_cluster_test.rb
|
139
|
-
- test/cluster_commands_on_connection_test.rb
|
140
|
-
- test/cluster_commands_on_geo_test.rb
|
141
|
-
- test/cluster_commands_on_hashes_test.rb
|
142
|
-
- test/cluster_commands_on_hyper_log_log_test.rb
|
143
|
-
- test/cluster_commands_on_keys_test.rb
|
144
|
-
- test/cluster_commands_on_lists_test.rb
|
145
|
-
- test/cluster_commands_on_pub_sub_test.rb
|
146
|
-
- test/cluster_commands_on_scripting_test.rb
|
147
|
-
- test/cluster_commands_on_server_test.rb
|
148
|
-
- test/cluster_commands_on_sets_test.rb
|
149
|
-
- test/cluster_commands_on_sorted_sets_test.rb
|
150
|
-
- test/cluster_commands_on_streams_test.rb
|
151
|
-
- test/cluster_commands_on_strings_test.rb
|
152
|
-
- test/cluster_commands_on_transactions_test.rb
|
153
|
-
- test/cluster_commands_on_value_types_test.rb
|
154
|
-
- test/command_map_test.rb
|
155
|
-
- test/commands_on_geo_test.rb
|
156
|
-
- test/commands_on_hashes_test.rb
|
157
|
-
- test/commands_on_hyper_log_log_test.rb
|
158
|
-
- test/commands_on_lists_test.rb
|
159
|
-
- test/commands_on_sets_test.rb
|
160
|
-
- test/commands_on_sorted_sets_test.rb
|
161
|
-
- test/commands_on_strings_test.rb
|
162
|
-
- test/commands_on_value_types_test.rb
|
163
|
-
- test/connection_handling_test.rb
|
164
|
-
- test/connection_test.rb
|
165
|
-
- test/db/.gitkeep
|
166
|
-
- test/distributed_blocking_commands_test.rb
|
167
|
-
- test/distributed_commands_on_hashes_test.rb
|
168
|
-
- test/distributed_commands_on_hyper_log_log_test.rb
|
169
|
-
- test/distributed_commands_on_lists_test.rb
|
170
|
-
- test/distributed_commands_on_sets_test.rb
|
171
|
-
- test/distributed_commands_on_sorted_sets_test.rb
|
172
|
-
- test/distributed_commands_on_strings_test.rb
|
173
|
-
- test/distributed_commands_on_value_types_test.rb
|
174
|
-
- test/distributed_commands_requiring_clustering_test.rb
|
175
|
-
- test/distributed_connection_handling_test.rb
|
176
|
-
- test/distributed_internals_test.rb
|
177
|
-
- test/distributed_key_tags_test.rb
|
178
|
-
- test/distributed_persistence_control_commands_test.rb
|
179
|
-
- test/distributed_publish_subscribe_test.rb
|
180
|
-
- test/distributed_remote_server_control_commands_test.rb
|
181
|
-
- test/distributed_scripting_test.rb
|
182
|
-
- test/distributed_sorting_test.rb
|
183
|
-
- test/distributed_test.rb
|
184
|
-
- test/distributed_transactions_test.rb
|
185
|
-
- test/encoding_test.rb
|
186
|
-
- test/error_replies_test.rb
|
187
|
-
- test/fork_safety_test.rb
|
188
|
-
- test/helper.rb
|
189
|
-
- test/helper_test.rb
|
190
|
-
- test/internals_test.rb
|
191
|
-
- test/lint/blocking_commands.rb
|
192
|
-
- test/lint/hashes.rb
|
193
|
-
- test/lint/hyper_log_log.rb
|
194
|
-
- test/lint/lists.rb
|
195
|
-
- test/lint/sets.rb
|
196
|
-
- test/lint/sorted_sets.rb
|
197
|
-
- test/lint/strings.rb
|
198
|
-
- test/lint/value_types.rb
|
199
|
-
- test/persistence_control_commands_test.rb
|
200
|
-
- test/pipelining_commands_test.rb
|
201
|
-
- test/publish_subscribe_test.rb
|
202
|
-
- test/remote_server_control_commands_test.rb
|
203
|
-
- test/scanning_test.rb
|
204
|
-
- test/scripting_test.rb
|
205
|
-
- test/sentinel_command_test.rb
|
206
|
-
- test/sentinel_test.rb
|
207
|
-
- test/sorting_test.rb
|
208
|
-
- test/ssl_test.rb
|
209
|
-
- test/support/cluster/orchestrator.rb
|
210
|
-
- test/support/connection/hiredis.rb
|
211
|
-
- test/support/connection/ruby.rb
|
212
|
-
- test/support/connection/synchrony.rb
|
213
|
-
- test/support/redis_mock.rb
|
214
|
-
- test/support/ssl/gen_certs.sh
|
215
|
-
- test/support/ssl/trusted-ca.crt
|
216
|
-
- test/support/ssl/trusted-ca.key
|
217
|
-
- test/support/ssl/trusted-cert.crt
|
218
|
-
- test/support/ssl/trusted-cert.key
|
219
|
-
- test/support/ssl/untrusted-ca.crt
|
220
|
-
- test/support/ssl/untrusted-ca.key
|
221
|
-
- test/support/ssl/untrusted-cert.crt
|
222
|
-
- test/support/ssl/untrusted-cert.key
|
223
|
-
- test/support/wire/synchrony.rb
|
224
|
-
- test/support/wire/thread.rb
|
225
|
-
- test/synchrony_driver.rb
|
226
|
-
- test/test.conf.erb
|
227
|
-
- test/thread_safety_test.rb
|
228
|
-
- test/transactions_test.rb
|
229
|
-
- test/unknown_commands_test.rb
|
230
|
-
- test/url_param_test.rb
|
231
113
|
homepage: https://github.com/redis/redis-rb
|
232
114
|
licenses:
|
233
115
|
- MIT
|
@@ -243,118 +125,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
243
125
|
version: 2.2.2
|
244
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
127
|
requirements:
|
246
|
-
- - "
|
128
|
+
- - ">="
|
247
129
|
- !ruby/object:Gem::Version
|
248
|
-
version:
|
130
|
+
version: '0'
|
249
131
|
requirements: []
|
250
132
|
rubyforge_project:
|
251
133
|
rubygems_version: 2.5.1
|
252
134
|
signing_key:
|
253
135
|
specification_version: 4
|
254
136
|
summary: A Ruby client library for Redis
|
255
|
-
test_files:
|
256
|
-
- test/bitpos_test.rb
|
257
|
-
- test/blocking_commands_test.rb
|
258
|
-
- test/client_test.rb
|
259
|
-
- test/cluster_abnormal_state_test.rb
|
260
|
-
- test/cluster_blocking_commands_test.rb
|
261
|
-
- test/cluster_client_internals_test.rb
|
262
|
-
- test/cluster_client_key_hash_tags_test.rb
|
263
|
-
- test/cluster_client_options_test.rb
|
264
|
-
- test/cluster_client_pipelining_test.rb
|
265
|
-
- test/cluster_client_replicas_test.rb
|
266
|
-
- test/cluster_client_slots_test.rb
|
267
|
-
- test/cluster_client_transactions_test.rb
|
268
|
-
- test/cluster_commands_on_cluster_test.rb
|
269
|
-
- test/cluster_commands_on_connection_test.rb
|
270
|
-
- test/cluster_commands_on_geo_test.rb
|
271
|
-
- test/cluster_commands_on_hashes_test.rb
|
272
|
-
- test/cluster_commands_on_hyper_log_log_test.rb
|
273
|
-
- test/cluster_commands_on_keys_test.rb
|
274
|
-
- test/cluster_commands_on_lists_test.rb
|
275
|
-
- test/cluster_commands_on_pub_sub_test.rb
|
276
|
-
- test/cluster_commands_on_scripting_test.rb
|
277
|
-
- test/cluster_commands_on_server_test.rb
|
278
|
-
- test/cluster_commands_on_sets_test.rb
|
279
|
-
- test/cluster_commands_on_sorted_sets_test.rb
|
280
|
-
- test/cluster_commands_on_streams_test.rb
|
281
|
-
- test/cluster_commands_on_strings_test.rb
|
282
|
-
- test/cluster_commands_on_transactions_test.rb
|
283
|
-
- test/cluster_commands_on_value_types_test.rb
|
284
|
-
- test/command_map_test.rb
|
285
|
-
- test/commands_on_geo_test.rb
|
286
|
-
- test/commands_on_hashes_test.rb
|
287
|
-
- test/commands_on_hyper_log_log_test.rb
|
288
|
-
- test/commands_on_lists_test.rb
|
289
|
-
- test/commands_on_sets_test.rb
|
290
|
-
- test/commands_on_sorted_sets_test.rb
|
291
|
-
- test/commands_on_strings_test.rb
|
292
|
-
- test/commands_on_value_types_test.rb
|
293
|
-
- test/connection_handling_test.rb
|
294
|
-
- test/connection_test.rb
|
295
|
-
- test/db/.gitkeep
|
296
|
-
- test/distributed_blocking_commands_test.rb
|
297
|
-
- test/distributed_commands_on_hashes_test.rb
|
298
|
-
- test/distributed_commands_on_hyper_log_log_test.rb
|
299
|
-
- test/distributed_commands_on_lists_test.rb
|
300
|
-
- test/distributed_commands_on_sets_test.rb
|
301
|
-
- test/distributed_commands_on_sorted_sets_test.rb
|
302
|
-
- test/distributed_commands_on_strings_test.rb
|
303
|
-
- test/distributed_commands_on_value_types_test.rb
|
304
|
-
- test/distributed_commands_requiring_clustering_test.rb
|
305
|
-
- test/distributed_connection_handling_test.rb
|
306
|
-
- test/distributed_internals_test.rb
|
307
|
-
- test/distributed_key_tags_test.rb
|
308
|
-
- test/distributed_persistence_control_commands_test.rb
|
309
|
-
- test/distributed_publish_subscribe_test.rb
|
310
|
-
- test/distributed_remote_server_control_commands_test.rb
|
311
|
-
- test/distributed_scripting_test.rb
|
312
|
-
- test/distributed_sorting_test.rb
|
313
|
-
- test/distributed_test.rb
|
314
|
-
- test/distributed_transactions_test.rb
|
315
|
-
- test/encoding_test.rb
|
316
|
-
- test/error_replies_test.rb
|
317
|
-
- test/fork_safety_test.rb
|
318
|
-
- test/helper.rb
|
319
|
-
- test/helper_test.rb
|
320
|
-
- test/internals_test.rb
|
321
|
-
- test/lint/blocking_commands.rb
|
322
|
-
- test/lint/hashes.rb
|
323
|
-
- test/lint/hyper_log_log.rb
|
324
|
-
- test/lint/lists.rb
|
325
|
-
- test/lint/sets.rb
|
326
|
-
- test/lint/sorted_sets.rb
|
327
|
-
- test/lint/strings.rb
|
328
|
-
- test/lint/value_types.rb
|
329
|
-
- test/persistence_control_commands_test.rb
|
330
|
-
- test/pipelining_commands_test.rb
|
331
|
-
- test/publish_subscribe_test.rb
|
332
|
-
- test/remote_server_control_commands_test.rb
|
333
|
-
- test/scanning_test.rb
|
334
|
-
- test/scripting_test.rb
|
335
|
-
- test/sentinel_command_test.rb
|
336
|
-
- test/sentinel_test.rb
|
337
|
-
- test/sorting_test.rb
|
338
|
-
- test/ssl_test.rb
|
339
|
-
- test/support/cluster/orchestrator.rb
|
340
|
-
- test/support/connection/hiredis.rb
|
341
|
-
- test/support/connection/ruby.rb
|
342
|
-
- test/support/connection/synchrony.rb
|
343
|
-
- test/support/redis_mock.rb
|
344
|
-
- test/support/ssl/gen_certs.sh
|
345
|
-
- test/support/ssl/trusted-ca.crt
|
346
|
-
- test/support/ssl/trusted-ca.key
|
347
|
-
- test/support/ssl/trusted-cert.crt
|
348
|
-
- test/support/ssl/trusted-cert.key
|
349
|
-
- test/support/ssl/untrusted-ca.crt
|
350
|
-
- test/support/ssl/untrusted-ca.key
|
351
|
-
- test/support/ssl/untrusted-cert.crt
|
352
|
-
- test/support/ssl/untrusted-cert.key
|
353
|
-
- test/support/wire/synchrony.rb
|
354
|
-
- test/support/wire/thread.rb
|
355
|
-
- test/synchrony_driver.rb
|
356
|
-
- test/test.conf.erb
|
357
|
-
- test/thread_safety_test.rb
|
358
|
-
- test/transactions_test.rb
|
359
|
-
- test/unknown_commands_test.rb
|
360
|
-
- test/url_param_test.rb
|
137
|
+
test_files: []
|
data/.gitignore
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
*.rdb
|
2
|
-
*.swp
|
3
|
-
Gemfile.lock
|
4
|
-
*.gem
|
5
|
-
/tmp/
|
6
|
-
/.idea
|
7
|
-
/.yardoc
|
8
|
-
/.bundle
|
9
|
-
/coverage/*
|
10
|
-
/doc/
|
11
|
-
/examples/sentinel/sentinel.conf
|
12
|
-
/nohup.out
|
13
|
-
/pkg/*
|
14
|
-
/rdsrv
|
15
|
-
/redis/*
|
16
|
-
/test/db
|
17
|
-
/test/test.conf
|
18
|
-
appendonly.aof
|
19
|
-
temp-rewriteaof-*.aof
|