redis 4.0.0.rc1 → 4.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +164 -3
  3. data/README.md +127 -18
  4. data/lib/redis/client.rb +164 -93
  5. data/lib/redis/cluster/command.rb +81 -0
  6. data/lib/redis/cluster/command_loader.rb +33 -0
  7. data/lib/redis/cluster/key_slot_converter.rb +72 -0
  8. data/lib/redis/cluster/node.rb +108 -0
  9. data/lib/redis/cluster/node_key.rb +31 -0
  10. data/lib/redis/cluster/node_loader.rb +37 -0
  11. data/lib/redis/cluster/option.rb +93 -0
  12. data/lib/redis/cluster/slot.rb +86 -0
  13. data/lib/redis/cluster/slot_loader.rb +49 -0
  14. data/lib/redis/cluster.rb +291 -0
  15. data/lib/redis/connection/command_helper.rb +5 -2
  16. data/lib/redis/connection/hiredis.rb +4 -3
  17. data/lib/redis/connection/registry.rb +2 -1
  18. data/lib/redis/connection/ruby.rb +125 -106
  19. data/lib/redis/connection/synchrony.rb +18 -5
  20. data/lib/redis/connection.rb +2 -0
  21. data/lib/redis/distributed.rb +995 -0
  22. data/lib/redis/errors.rb +48 -0
  23. data/lib/redis/hash_ring.rb +89 -0
  24. data/lib/redis/pipeline.rb +55 -9
  25. data/lib/redis/subscribe.rb +11 -12
  26. data/lib/redis/version.rb +3 -1
  27. data/lib/redis.rb +1433 -381
  28. metadata +34 -141
  29. data/.gitignore +0 -16
  30. data/.travis/Gemfile +0 -11
  31. data/.travis.yml +0 -71
  32. data/.yardopts +0 -3
  33. data/Gemfile +0 -3
  34. data/benchmarking/logging.rb +0 -71
  35. data/benchmarking/pipeline.rb +0 -51
  36. data/benchmarking/speed.rb +0 -21
  37. data/benchmarking/suite.rb +0 -24
  38. data/benchmarking/worker.rb +0 -71
  39. data/examples/basic.rb +0 -15
  40. data/examples/consistency.rb +0 -114
  41. data/examples/incr-decr.rb +0 -17
  42. data/examples/list.rb +0 -26
  43. data/examples/pubsub.rb +0 -37
  44. data/examples/sentinel/sentinel.conf +0 -9
  45. data/examples/sentinel/start +0 -49
  46. data/examples/sentinel.rb +0 -41
  47. data/examples/sets.rb +0 -36
  48. data/examples/unicorn/config.ru +0 -3
  49. data/examples/unicorn/unicorn.rb +0 -20
  50. data/makefile +0 -42
  51. data/redis.gemspec +0 -40
  52. data/test/bitpos_test.rb +0 -63
  53. data/test/blocking_commands_test.rb +0 -183
  54. data/test/client_test.rb +0 -59
  55. data/test/command_map_test.rb +0 -28
  56. data/test/commands_on_hashes_test.rb +0 -174
  57. data/test/commands_on_hyper_log_log_test.rb +0 -70
  58. data/test/commands_on_lists_test.rb +0 -154
  59. data/test/commands_on_sets_test.rb +0 -208
  60. data/test/commands_on_sorted_sets_test.rb +0 -444
  61. data/test/commands_on_strings_test.rb +0 -338
  62. data/test/commands_on_value_types_test.rb +0 -246
  63. data/test/connection_handling_test.rb +0 -275
  64. data/test/db/.gitkeep +0 -0
  65. data/test/encoding_test.rb +0 -14
  66. data/test/error_replies_test.rb +0 -57
  67. data/test/fork_safety_test.rb +0 -60
  68. data/test/helper.rb +0 -179
  69. data/test/helper_test.rb +0 -22
  70. data/test/internals_test.rb +0 -435
  71. data/test/persistence_control_commands_test.rb +0 -24
  72. data/test/pipelining_commands_test.rb +0 -238
  73. data/test/publish_subscribe_test.rb +0 -280
  74. data/test/remote_server_control_commands_test.rb +0 -175
  75. data/test/scanning_test.rb +0 -407
  76. data/test/scripting_test.rb +0 -76
  77. data/test/sentinel_command_test.rb +0 -78
  78. data/test/sentinel_test.rb +0 -253
  79. data/test/sorting_test.rb +0 -57
  80. data/test/ssl_test.rb +0 -69
  81. data/test/support/connection/hiredis.rb +0 -1
  82. data/test/support/connection/ruby.rb +0 -1
  83. data/test/support/connection/synchrony.rb +0 -17
  84. data/test/support/redis_mock.rb +0 -130
  85. data/test/support/ssl/gen_certs.sh +0 -31
  86. data/test/support/ssl/trusted-ca.crt +0 -25
  87. data/test/support/ssl/trusted-ca.key +0 -27
  88. data/test/support/ssl/trusted-cert.crt +0 -81
  89. data/test/support/ssl/trusted-cert.key +0 -28
  90. data/test/support/ssl/untrusted-ca.crt +0 -26
  91. data/test/support/ssl/untrusted-ca.key +0 -27
  92. data/test/support/ssl/untrusted-cert.crt +0 -82
  93. data/test/support/ssl/untrusted-cert.key +0 -28
  94. data/test/support/wire/synchrony.rb +0 -24
  95. data/test/support/wire/thread.rb +0 -5
  96. data/test/synchrony_driver.rb +0 -85
  97. data/test/test.conf.erb +0 -9
  98. data/test/thread_safety_test.rb +0 -60
  99. data/test/transactions_test.rb +0 -262
  100. data/test/unknown_commands_test.rb +0 -12
  101. data/test/url_param_test.rb +0 -136
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d72ccd62dcdffae216b836b1e3655bf7f632e4e9
4
- data.tar.gz: 0cf0966047ed05199088049df15d2ec01bbcd412
2
+ SHA256:
3
+ metadata.gz: 7a7232fef186e6d6a11a90d8dd9aa7c71114f017e0afe9378999a96c9e6b4e05
4
+ data.tar.gz: 689f176b87909bf61eb60e57d1eb795198162a7e039104c80facf36880964bda
5
5
  SHA512:
6
- metadata.gz: e7196307b6ae34d4a23001617acae003c7fc71ccfea7d7f5900bb19dc2a22d5f83292859fb793945b0274b6750f0f31a98397fc2666bf5507eb00313f0efcdbf
7
- data.tar.gz: c20a6e85b2e3b3ccbbeeec274e134be97597fccd45e3798a9c7d687df0ff150588b05b441eb34b465d22c43b972e76498e31f2e8c03534b76a9a1dcbff024781
6
+ metadata.gz: 22b11dee92e298b46bb94a707156d3dbf9afb83c8e9e8cbf82cf366d582a7c1b7295d7f09a0fec01965245f4800c2482c0559d646f46ff1c6bba6423ab398ba9
7
+ data.tar.gz: 9a74ba29c8cb3d7634a44c78e30018a048e19cca66c7fad6a226722183f66546bebb370c92ecdf20522bb35ee72a09b2fda64891ff6d94db1702375bd1ba6b46
data/CHANGELOG.md CHANGED
@@ -1,14 +1,175 @@
1
- # 4.0 (unreleased)
1
+ # Unreleased
2
+
3
+ # 4.5.1
4
+
5
+ * Restore the accidential auth behavior of redis-rb 4.3.0 with a warning. If provided with the `default` user's password, but a wrong username,
6
+ redis-rb will first try to connect as the provided user, but then will fallback to connect as the `default` user with the provided password.
7
+ This behavior is deprecated and will be removed in Redis 4.6.0. Fix #1038.
8
+
9
+ # 4.5.0
10
+
11
+ * Handle parts of the command using incompatible encodings. See #1037.
12
+ * Add GET option to SET command. See #1036.
13
+ * Add ZRANDMEMBER command. See #1035.
14
+ * Add LMOVE/BLMOVE commands. See #1034.
15
+ * Add ZMSCORE command. See #1032.
16
+ * Add LT/GT options to ZADD. See #1033.
17
+ * Add SMISMEMBER command. See #1031.
18
+ * Add EXAT/PXAT options to SET. See #1028.
19
+ * Add GETDEL/GETEX commands. See #1024.
20
+ * `Redis#exists` now returns an Integer by default, as warned since 4.2.0. The old behavior can be restored with `Redis.exists_returns_integer = false`.
21
+ * Fix Redis < 6 detection during connect. See #1025.
22
+ * Fix fetching command details in Redis cluster when the first node is unhealthy. See #1026.
23
+
24
+ # 4.4.0
25
+
26
+ * Redis cluster: fix cross-slot validation in pipelines. Fix ##1019.
27
+ * Add support for `XAUTOCLAIM`. See #1018.
28
+ * Properly issue `READONLY` when reconnecting to replicas. Fix #1017.
29
+ * Make `del` a noop if passed an empty list of keys. See #998.
30
+ * Add support for `ZINTER`. See #995.
31
+
32
+ # 4.3.1
33
+
34
+ * Fix password authentication against redis server 5 and older.
35
+
36
+ # 4.3.0
37
+
38
+ * Add the TYPE argument to scan and scan_each. See #985.
39
+ * Support AUTH command for ACL. See #967.
40
+
41
+ # 4.2.5
42
+
43
+ * Optimize the ruby connector write buffering. See #964.
44
+
45
+ # 4.2.4
46
+
47
+ * Fix bytesize calculations in the ruby connector, and work on a copy of the buffer. Fix #961, #962.
48
+
49
+ # 4.2.3
50
+
51
+ * Use io/wait instead of IO.select in the ruby connector. See #960.
52
+ * Use exception free non blocking IOs in the ruby connector. See #926.
53
+ * Prevent corruption of the client when an interrupt happen during inside a pipeline block. See #945.
54
+
55
+ # 4.2.2
56
+
57
+ * Fix `WATCH` support for `Redis::Distributed`. See #941.
58
+ * Fix handling of empty stream responses. See #905, #929.
59
+
60
+ # 4.2.1
61
+
62
+ * Fix `exists?` returning an actual boolean when called with multiple keys. See #918.
63
+ * Setting `Redis.exists_returns_integer = false` disables warning message about new behaviour. See #920.
64
+
65
+ # 4.2.0
66
+
67
+ * Convert commands to accept keyword arguments rather than option hashes. This both help catching typos, and reduce needless allocations.
68
+ * Deprecate the synchrony driver. It will be removed in 5.0 and hopefully maintained as a separate gem. See #915.
69
+ * Make `Redis#exists` variadic, will return an Integer if called with multiple keys.
70
+ * Add `Redis#exists?` to get a Boolean if any of the keys exists.
71
+ * `Redis#exists` when called with a single key will warn that future versions will return an Integer.
72
+ Set `Redis.exists_returns_integer = true` to opt-in to the new behavior.
73
+ * Support `keepttl` ooption in `set`. See #913.
74
+ * Optimized initialization of Redis::Cluster. See #912.
75
+ * Accept sentinel options even with string key. See #599.
76
+ * Verify TLS connections by default. See #900.
77
+ * Make `Redis#hset` variadic. It now returns an integer, not a boolean. See #910.
78
+
79
+ # 4.1.4
80
+
81
+ * Alias `Redis#disconnect` as `#close`. See #901.
82
+ * Handle clusters with multiple slot ranges. See #894.
83
+ * Fix password authentication to a redis cluster. See #889.
84
+ * Handle recursive MOVED responses. See #882.
85
+ * Increase buffer size in the ruby connector. See #880.
86
+ * Fix thread safety of `Redis.queue`. See #878.
87
+ * Deprecate `Redis::Future#==` as it's likely to be a mistake. See #876.
88
+ * Support `KEEPTTL` option for SET command. See #913.
89
+
90
+ # 4.1.3
91
+
92
+ * Fix the client hanging forever when connecting with SSL to a non-SSL server. See #835.
93
+
94
+ # 4.1.2
95
+
96
+ * Fix several authentication problems with sentinel. See #850 and #856.
97
+ * Explicitly drop Ruby 2.2 support.
98
+
99
+
100
+ # 4.1.1
101
+
102
+ * Fix error handling in multi blocks. See #754.
103
+ * Fix geoadd to accept arrays like georadius and georadiusbymember. See #841.
104
+ * Fix georadius command failing when long == lat. See #841.
105
+ * Fix timeout error in xread block: 0. See #837.
106
+ * Fix incompatibility issue with redis-objects. See #834.
107
+ * Properly handle Errno::EADDRNOTAVAIL on connect.
108
+ * Fix password authentication to sentinel instances. See #813.
109
+
110
+ # 4.1.0
111
+
112
+ * Add Redis Cluster support. See #716.
113
+ * Add streams support. See #799 and #811.
114
+ * Add ZPOP* support. See #812.
115
+ * Fix issues with integer-like objects as BPOP timeout
116
+
117
+ # 4.0.3
118
+
119
+ * Fix raising command error for first command in pipeline. See #788.
120
+ * Fix the gemspec to stop exposing a `build` executable. See #785.
121
+ * Add `:reconnect_delay` and `:reconnect_delay_max` options. See #778.
122
+
123
+ # 4.0.2
124
+
125
+ * Added `Redis#unlink`. See #766.
126
+
127
+ * `Redis.new` now accept a custom connector via `:connector`. See #591.
128
+
129
+ * `Redis#multi` no longer perform empty transactions. See #747.
130
+
131
+ * `Redis#hdel` now accepts hash keys as multiple arguments like `#del`. See #755.
132
+
133
+ * Allow to skip SSL verification. See #745.
134
+
135
+ * Add Geo commands: `geoadd`, `geohash`, `georadius`, `georadiusbymember`, `geopos`, `geodist`. See #730.
136
+
137
+ # 4.0.1
138
+
139
+ * `Redis::Distributed` now supports `mget` and `mapped_mget`. See #687.
140
+
141
+ * `Redis::Distributed` now supports `sscan` and `sscan_each`. See #572.
142
+
143
+ * `Redis#connection` returns a hash with connection information.
144
+ You shouldn't need to call `Redis#_client`, ever.
145
+
146
+ * `Redis#flushdb` and `Redis#flushall` now support the `:async` option. See #706.
147
+
148
+
149
+ # 4.0
2
150
 
3
151
  * Removed `Redis.connect`. Use `Redis.new`.
4
152
 
5
153
  * Removed `Redis#[]` and `Redis#[]=` aliases.
6
154
 
7
- * Removed `Redis::Distributed`.
8
-
9
155
  * Added support for `CLIENT` commands. The lower-level client can be
10
156
  accessed via `Redis#_client`.
11
157
 
158
+ * Dropped official support for Ruby < 2.2.2.
159
+
160
+ # 3.3.5
161
+
162
+ * Fixed Ruby 1.8 compatibility after backporting `Redis#connection`. See #719.
163
+
164
+ # 3.3.4 (yanked)
165
+
166
+ * `Redis#connection` returns a hash with connection information.
167
+ You shouldn't need to call `Redis#_client`, ever.
168
+
169
+ # 3.3.3
170
+
171
+ * Improved timeout handling after dropping Timeout module.
172
+
12
173
  # 3.3.2
13
174
 
14
175
  * Added support for `SPOP` with COUNT. See #628.
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
- # redis-rb [![Build Status][travis-image]][travis-link] [![Inline docs][inchpages-image]][inchpages-link]
1
+ # redis-rb [![Build Status][gh-actions-image]][gh-actions-link] [![Inline docs][inchpages-image]][inchpages-link]
2
2
 
3
3
  A Ruby client that tries to match [Redis][redis-home]' API one-to-one, while still
4
4
  providing an idiomatic interface.
5
5
 
6
+ See [RubyDoc.info][rubydoc] for the API docs of the latest published gem.
6
7
 
7
8
  ## Getting started
8
9
 
@@ -34,6 +35,9 @@ You can also specify connection options as a [`redis://` URL][redis-url]:
34
35
  redis = Redis.new(url: "redis://:p4ssw0rd@10.0.1.1:6380/15")
35
36
  ```
36
37
 
38
+ The client expects passwords with special chracters to be URL-encoded (i.e.
39
+ `CGI.escape(password)`).
40
+
37
41
  By default, the client will try to read the `REDIS_URL` environment variable
38
42
  and use that as URL to connect to. The above statement is therefore equivalent
39
43
  to setting this environment variable and calling `Redis.new` without arguments.
@@ -50,6 +54,12 @@ To connect to a password protected Redis instance, use:
50
54
  redis = Redis.new(password: "mysecret")
51
55
  ```
52
56
 
57
+ To connect a Redis instance using [ACL](https://redis.io/topics/acl), use:
58
+
59
+ ```ruby
60
+ redis = Redis.new(username: 'myname', password: 'mysecret')
61
+ ```
62
+
53
63
  The Redis class exports methods that are named identical to the commands
54
64
  they execute. The arguments these methods accept are often identical to
55
65
  the arguments specified on the [Redis website][redis-commands]. For
@@ -95,10 +105,60 @@ but a few so that if one is down the client will try the next one. The client
95
105
  is able to remember the last Sentinel that was able to reply correctly and will
96
106
  use it for the next requests.
97
107
 
108
+ If you want to [authenticate](https://redis.io/topics/sentinel#configuring-sentinel-instances-with-authentication) Sentinel itself, you must specify the `password` option per instance.
109
+
110
+ ```ruby
111
+ SENTINELS = [{ host: '127.0.0.1', port: 26380, password: 'mysecret' },
112
+ { host: '127.0.0.1', port: 26381, password: 'mysecret' }]
113
+
114
+ redis = Redis.new(host: 'mymaster', sentinels: SENTINELS, role: :master)
115
+ ```
116
+
117
+ ## Cluster support
118
+
119
+ `redis-rb` supports [clustering](https://redis.io/topics/cluster-spec).
120
+
121
+ ```ruby
122
+ # Nodes can be passed to the client as an array of connection URLs.
123
+ nodes = (7000..7005).map { |port| "redis://127.0.0.1:#{port}" }
124
+ redis = Redis.new(cluster: nodes)
125
+
126
+ # You can also specify the options as a Hash. The options are the same as for a single server connection.
127
+ (7000..7005).map { |port| { host: '127.0.0.1', port: port } }
128
+ ```
129
+
130
+ You can also specify only a subset of the nodes, and the client will discover the missing ones using the [CLUSTER NODES](https://redis.io/commands/cluster-nodes) command.
131
+
132
+ ```ruby
133
+ Redis.new(cluster: %w[redis://127.0.0.1:7000])
134
+ ```
135
+
136
+ If you want [the connection to be able to read from any replica](https://redis.io/commands/readonly), you must pass the `replica: true`. Note that this connection won't be usable to write keys.
137
+
138
+ ```ruby
139
+ Redis.new(cluster: nodes, replica: true)
140
+ ```
141
+
142
+ The calling code is responsible for [avoiding cross slot commands](https://redis.io/topics/cluster-spec#keys-distribution-model).
143
+
144
+ ```ruby
145
+ redis = Redis.new(cluster: %w[redis://127.0.0.1:7000])
146
+
147
+ redis.mget('key1', 'key2')
148
+ #=> Redis::CommandError (CROSSSLOT Keys in request don't hash to the same slot)
149
+
150
+ redis.mget('{key}1', '{key}2')
151
+ #=> [nil, nil]
152
+ ```
153
+
154
+ * The client automatically reconnects after a failover occurred, but the caller is responsible for handling errors while it is happening.
155
+ * The client support permanent node failures, and will reroute requests to promoted slaves.
156
+ * The client supports `MOVED` and `ASK` redirections transparently.
157
+
98
158
  ## Storing objects
99
159
 
100
- Redis only stores strings as values. If you want to store an object, you
101
- can use a serialization mechanism such as JSON:
160
+ Redis "string" types can be used to store serialized Ruby objects, for
161
+ example with JSON:
102
162
 
103
163
  ```ruby
104
164
  require "json"
@@ -176,7 +236,7 @@ it can't connect to the server a `Redis::CannotConnectError` error will be raise
176
236
  ```ruby
177
237
  begin
178
238
  redis.ping
179
- rescue Exception => e
239
+ rescue StandardError => e
180
240
  e.inspect
181
241
  # => #<Redis::CannotConnectError: Timed out connecting to Redis on 10.0.1.1:6380>
182
242
 
@@ -211,6 +271,7 @@ All timeout values are specified in seconds.
211
271
  When using pub/sub, you can subscribe to a channel using a timeout as well:
212
272
 
213
273
  ```ruby
274
+ redis = Redis.new(reconnect_attempts: 0)
214
275
  redis.subscribe_with_timeout(5, "news") do |on|
215
276
  on.message do |channel, message|
216
277
  # ...
@@ -220,6 +281,51 @@ end
220
281
 
221
282
  If no message is received after 5 seconds, the client will unsubscribe.
222
283
 
284
+ ## Reconnections
285
+
286
+ The client allows you to configure how many `reconnect_attempts` it should
287
+ complete before declaring a connection as failed. Furthermore, you may want
288
+ to control the maximum duration between reconnection attempts with
289
+ `reconnect_delay` and `reconnect_delay_max`.
290
+
291
+ ```ruby
292
+ Redis.new(
293
+ :reconnect_attempts => 10,
294
+ :reconnect_delay => 1.5,
295
+ :reconnect_delay_max => 10.0,
296
+ )
297
+ ```
298
+
299
+ The delay values are specified in seconds. With the above configuration, the
300
+ client would attempt 10 reconnections, exponentially increasing the duration
301
+ between each attempt but it never waits longer than `reconnect_delay_max`.
302
+
303
+ This is the retry algorithm:
304
+
305
+ ```ruby
306
+ attempt_wait_time = [(reconnect_delay * 2**(attempt-1)), reconnect_delay_max].min
307
+ ```
308
+
309
+ **By default**, this gem will only **retry a connection once** and then fail, but with the
310
+ above configuration the reconnection attempt would look like this:
311
+
312
+ #|Attempt wait time|Total wait time
313
+ :-:|:-:|:-:
314
+ 1|1.5s|1.5s
315
+ 2|3.0s|4.5s
316
+ 3|6.0s|10.5s
317
+ 4|10.0s|20.5s
318
+ 5|10.0s|30.5s
319
+ 6|10.0s|40.5s
320
+ 7|10.0s|50.5s
321
+ 8|10.0s|60.5s
322
+ 9|10.0s|70.5s
323
+ 10|10.0s|80.5s
324
+
325
+ So if the reconnection attempt #10 succeeds 70 seconds have elapsed trying
326
+ to reconnect, this is likely fine in long-running background processes, but if
327
+ you use Redis to drive your website you might want to have a lower
328
+ `reconnect_delay_max` or have less `reconnect_attempts`.
223
329
 
224
330
  ## SSL/TLS Support
225
331
 
@@ -227,7 +333,7 @@ This library supports natively terminating client side SSL/TLS connections
227
333
  when talking to Redis via a server-side proxy such as [stunnel], [hitch],
228
334
  or [ghostunnel].
229
335
 
230
- To enable SSL support, pass the `:ssl => :true` option when configuring the
336
+ To enable SSL support, pass the `:ssl => true` option when configuring the
231
337
  Redis client, or pass in `:url => "rediss://..."` (like HTTPS for Redis).
232
338
  You will also need to pass in an `:ssl_params => { ... }` hash used to
233
339
  configure the `OpenSSL::SSL::SSLContext` object used for the connection:
@@ -340,7 +446,11 @@ redis = Redis.new(:driver => :synchrony)
340
446
  ## Testing
341
447
 
342
448
  This library is tested against recent Ruby and Redis versions.
343
- Check [Travis][travis-link] for the exact versions supported.
449
+ Check [Github Actions][gh-actions-link] for the exact versions supported.
450
+
451
+ ## See Also
452
+
453
+ - [async-redis](https://github.com/socketry/async-redis) — An [async](https://github.com/socketry/async) compatible Redis client.
344
454
 
345
455
  ## Contributors
346
456
 
@@ -352,15 +462,14 @@ client and evangelized Redis in Rubyland. Thank you, Ezra.
352
462
  ## Contributing
353
463
 
354
464
  [Fork the project](https://github.com/redis/redis-rb) and send pull
355
- requests. You can also ask for help at `#redis-rb` on Freenode.
356
-
357
-
358
- [inchpages-image]: https://inch-ci.org/github/redis/redis-rb.png
359
- [inchpages-link]: https://inch-ci.org/github/redis/redis-rb
360
- [redis-commands]: http://redis.io/commands
361
- [redis-home]: http://redis.io
362
- [redis-url]: http://www.iana.org/assignments/uri-schemes/prov/redis
363
- [travis-home]: https://travis-ci.org/
364
- [travis-image]: https://secure.travis-ci.org/redis/redis-rb.png?branch=master
365
- [travis-link]: https://travis-ci.org/redis/redis-rb
366
- [rubydoc]: http://www.rubydoc.info/gems/redis
465
+ requests.
466
+
467
+
468
+ [inchpages-image]: https://inch-ci.org/github/redis/redis-rb.svg
469
+ [inchpages-link]: https://inch-ci.org/github/redis/redis-rb
470
+ [redis-commands]: https://redis.io/commands
471
+ [redis-home]: https://redis.io
472
+ [redis-url]: http://www.iana.org/assignments/uri-schemes/prov/redis
473
+ [gh-actions-image]: https://github.com/redis/redis-rb/workflows/Test/badge.svg
474
+ [gh-actions-link]: https://github.com/redis/redis-rb/actions
475
+ [rubydoc]: http://www.rubydoc.info/gems/redis