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.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -2
  3. data/README.md +45 -0
  4. data/lib/redis.rb +497 -20
  5. data/lib/redis/client.rb +14 -6
  6. data/lib/redis/cluster.rb +1 -0
  7. data/lib/redis/cluster/command_loader.rb +2 -0
  8. data/lib/redis/cluster/node_loader.rb +2 -0
  9. data/lib/redis/cluster/option.rb +1 -0
  10. data/lib/redis/cluster/slot_loader.rb +2 -0
  11. data/lib/redis/distributed.rb +3 -4
  12. data/lib/redis/version.rb +1 -1
  13. metadata +20 -243
  14. data/.gitignore +0 -19
  15. data/.travis.yml +0 -61
  16. data/.travis/Gemfile +0 -18
  17. data/.yardopts +0 -3
  18. data/Gemfile +0 -8
  19. data/benchmarking/logging.rb +0 -71
  20. data/benchmarking/pipeline.rb +0 -51
  21. data/benchmarking/speed.rb +0 -21
  22. data/benchmarking/suite.rb +0 -24
  23. data/benchmarking/worker.rb +0 -71
  24. data/bin/build +0 -71
  25. data/bors.toml +0 -14
  26. data/examples/basic.rb +0 -15
  27. data/examples/consistency.rb +0 -114
  28. data/examples/dist_redis.rb +0 -43
  29. data/examples/incr-decr.rb +0 -17
  30. data/examples/list.rb +0 -26
  31. data/examples/pubsub.rb +0 -37
  32. data/examples/sentinel.rb +0 -41
  33. data/examples/sentinel/start +0 -49
  34. data/examples/sets.rb +0 -36
  35. data/examples/unicorn/config.ru +0 -3
  36. data/examples/unicorn/unicorn.rb +0 -20
  37. data/makefile +0 -74
  38. data/redis.gemspec +0 -42
  39. data/test/bitpos_test.rb +0 -63
  40. data/test/blocking_commands_test.rb +0 -40
  41. data/test/client_test.rb +0 -76
  42. data/test/cluster_abnormal_state_test.rb +0 -38
  43. data/test/cluster_blocking_commands_test.rb +0 -15
  44. data/test/cluster_client_internals_test.rb +0 -77
  45. data/test/cluster_client_key_hash_tags_test.rb +0 -88
  46. data/test/cluster_client_options_test.rb +0 -147
  47. data/test/cluster_client_pipelining_test.rb +0 -59
  48. data/test/cluster_client_replicas_test.rb +0 -36
  49. data/test/cluster_client_slots_test.rb +0 -94
  50. data/test/cluster_client_transactions_test.rb +0 -71
  51. data/test/cluster_commands_on_cluster_test.rb +0 -165
  52. data/test/cluster_commands_on_connection_test.rb +0 -40
  53. data/test/cluster_commands_on_geo_test.rb +0 -74
  54. data/test/cluster_commands_on_hashes_test.rb +0 -11
  55. data/test/cluster_commands_on_hyper_log_log_test.rb +0 -17
  56. data/test/cluster_commands_on_keys_test.rb +0 -134
  57. data/test/cluster_commands_on_lists_test.rb +0 -15
  58. data/test/cluster_commands_on_pub_sub_test.rb +0 -101
  59. data/test/cluster_commands_on_scripting_test.rb +0 -56
  60. data/test/cluster_commands_on_server_test.rb +0 -221
  61. data/test/cluster_commands_on_sets_test.rb +0 -39
  62. data/test/cluster_commands_on_sorted_sets_test.rb +0 -35
  63. data/test/cluster_commands_on_streams_test.rb +0 -196
  64. data/test/cluster_commands_on_strings_test.rb +0 -15
  65. data/test/cluster_commands_on_transactions_test.rb +0 -41
  66. data/test/cluster_commands_on_value_types_test.rb +0 -14
  67. data/test/command_map_test.rb +0 -28
  68. data/test/commands_on_geo_test.rb +0 -116
  69. data/test/commands_on_hashes_test.rb +0 -7
  70. data/test/commands_on_hyper_log_log_test.rb +0 -7
  71. data/test/commands_on_lists_test.rb +0 -7
  72. data/test/commands_on_sets_test.rb +0 -7
  73. data/test/commands_on_sorted_sets_test.rb +0 -7
  74. data/test/commands_on_strings_test.rb +0 -7
  75. data/test/commands_on_value_types_test.rb +0 -207
  76. data/test/connection_handling_test.rb +0 -275
  77. data/test/connection_test.rb +0 -57
  78. data/test/distributed_blocking_commands_test.rb +0 -52
  79. data/test/distributed_commands_on_hashes_test.rb +0 -21
  80. data/test/distributed_commands_on_hyper_log_log_test.rb +0 -26
  81. data/test/distributed_commands_on_lists_test.rb +0 -19
  82. data/test/distributed_commands_on_sets_test.rb +0 -105
  83. data/test/distributed_commands_on_sorted_sets_test.rb +0 -59
  84. data/test/distributed_commands_on_strings_test.rb +0 -79
  85. data/test/distributed_commands_on_value_types_test.rb +0 -129
  86. data/test/distributed_commands_requiring_clustering_test.rb +0 -162
  87. data/test/distributed_connection_handling_test.rb +0 -21
  88. data/test/distributed_internals_test.rb +0 -68
  89. data/test/distributed_key_tags_test.rb +0 -50
  90. data/test/distributed_persistence_control_commands_test.rb +0 -24
  91. data/test/distributed_publish_subscribe_test.rb +0 -90
  92. data/test/distributed_remote_server_control_commands_test.rb +0 -64
  93. data/test/distributed_scripting_test.rb +0 -100
  94. data/test/distributed_sorting_test.rb +0 -18
  95. data/test/distributed_test.rb +0 -56
  96. data/test/distributed_transactions_test.rb +0 -30
  97. data/test/encoding_test.rb +0 -14
  98. data/test/error_replies_test.rb +0 -57
  99. data/test/fork_safety_test.rb +0 -60
  100. data/test/helper.rb +0 -344
  101. data/test/helper_test.rb +0 -22
  102. data/test/internals_test.rb +0 -395
  103. data/test/lint/blocking_commands.rb +0 -174
  104. data/test/lint/hashes.rb +0 -203
  105. data/test/lint/hyper_log_log.rb +0 -74
  106. data/test/lint/lists.rb +0 -159
  107. data/test/lint/sets.rb +0 -282
  108. data/test/lint/sorted_sets.rb +0 -497
  109. data/test/lint/strings.rb +0 -348
  110. data/test/lint/value_types.rb +0 -130
  111. data/test/persistence_control_commands_test.rb +0 -24
  112. data/test/pipelining_commands_test.rb +0 -246
  113. data/test/publish_subscribe_test.rb +0 -280
  114. data/test/remote_server_control_commands_test.rb +0 -175
  115. data/test/scanning_test.rb +0 -407
  116. data/test/scripting_test.rb +0 -76
  117. data/test/sentinel_command_test.rb +0 -78
  118. data/test/sentinel_test.rb +0 -253
  119. data/test/sorting_test.rb +0 -57
  120. data/test/ssl_test.rb +0 -69
  121. data/test/support/cluster/orchestrator.rb +0 -199
  122. data/test/support/connection/hiredis.rb +0 -1
  123. data/test/support/connection/ruby.rb +0 -1
  124. data/test/support/connection/synchrony.rb +0 -17
  125. data/test/support/redis_mock.rb +0 -130
  126. data/test/support/ssl/gen_certs.sh +0 -31
  127. data/test/support/ssl/trusted-ca.crt +0 -25
  128. data/test/support/ssl/trusted-ca.key +0 -27
  129. data/test/support/ssl/trusted-cert.crt +0 -81
  130. data/test/support/ssl/trusted-cert.key +0 -28
  131. data/test/support/ssl/untrusted-ca.crt +0 -26
  132. data/test/support/ssl/untrusted-ca.key +0 -27
  133. data/test/support/ssl/untrusted-cert.crt +0 -82
  134. data/test/support/ssl/untrusted-cert.key +0 -28
  135. data/test/support/wire/synchrony.rb +0 -24
  136. data/test/support/wire/thread.rb +0 -5
  137. data/test/synchrony_driver.rb +0 -85
  138. data/test/test.conf.erb +0 -9
  139. data/test/thread_safety_test.rb +0 -60
  140. data/test/transactions_test.rb +0 -272
  141. data/test/unknown_commands_test.rb +0 -12
  142. data/test/url_param_test.rb +0 -136
@@ -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
- result[0] = read
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 + 1] = reply
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
@@ -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
@@ -27,6 +27,8 @@ class Redis
27
27
  rescue CannotConnectError, ConnectionError, CommandError
28
28
  {} # can retry on another node
29
29
  end
30
+
31
+ private_class_method :fetch_command_details
30
32
  end
31
33
  end
32
34
  end
@@ -30,6 +30,8 @@ class Redis
30
30
  rescue CannotConnectError, ConnectionError, CommandError
31
31
  {} # can retry on another node
32
32
  end
33
+
34
+ private_class_method :fetch_node_info
33
35
  end
34
36
  end
35
37
  end
@@ -2,6 +2,7 @@
2
2
 
3
3
  require_relative '../errors'
4
4
  require_relative 'node_key'
5
+ require 'uri'
5
6
 
6
7
  class Redis
7
8
  class Cluster
@@ -42,6 +42,8 @@ class Redis
42
42
  ip = default_ip if ip.empty? # When cluster is down
43
43
  NodeKey.build_from_host_port(ip, port)
44
44
  end
45
+
46
+ private_class_method :fetch_slot_info, :parse_slot_info, :stringify_node_key
45
47
  end
46
48
  end
47
49
  end
@@ -403,12 +403,11 @@ class Redis
403
403
  def _bpop(cmd, args)
404
404
  options = {}
405
405
 
406
- case args.last
407
- when Hash
406
+ if args.last.is_a?(Hash)
408
407
  options = args.pop
409
- when Integer
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
@@ -1,3 +1,3 @@
1
1
  class Redis
2
- VERSION = "4.1.0.beta1"
2
+ VERSION = '4.1.0'
3
3
  end
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.beta1
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-08-13 00:00:00.000000000 Z
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: 1.3.1
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