redis-cluster-client 0.13.6 → 0.13.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/redis_client/cluster/router.rb +0 -1
- data/lib/redis_client/cluster_config.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 325b2794ce4f0325c3f1b0fc8f2cec7b4246ba131b53b1e151e4ecd9dd188371
|
|
4
|
+
data.tar.gz: fd2a8916adcc34abdc91ebdf3de383a1a2c1c6a609d05431bd2dd3d8f11bd25b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2eb46131d06412f992ae2902d716c26e3fb048dba3da8dc0bf1dc565943fd88db839944f326fb02ffa07671da63fe2b7b74b0479b5fb1926e5e0fb030ceea8c
|
|
7
|
+
data.tar.gz: 9f13a0bff4708332aa9c36a2ea0f7c3cb0b49969804b641734b97229363cb5482ba554616f31d1eb8fe12a52129f59f8cb82d020e33db20a08a292a7464744b8
|
|
@@ -17,7 +17,6 @@ class RedisClient
|
|
|
17
17
|
class Router
|
|
18
18
|
ZERO_CURSOR_FOR_SCAN = '0'
|
|
19
19
|
TSF = ->(f, x) { f.nil? ? x : f.call(x) }.curry
|
|
20
|
-
Ractor.make_shareable(TSF) if Object.const_defined?(:Ractor, false) && Ractor.respond_to?(:make_shareable)
|
|
21
20
|
DEDICATED_ACTIONS = lambda do # rubocop:disable Metrics/BlockLength
|
|
22
21
|
action = Struct.new('RedisCommandRoutingAction', :method_name, :reply_transformer, keyword_init: true)
|
|
23
22
|
pick_first = ->(reply) { reply.first } # rubocop:disable Style/SymbolProc
|
|
@@ -15,7 +15,6 @@ class RedisClient
|
|
|
15
15
|
DEFAULT_SCHEME = 'redis'
|
|
16
16
|
SECURE_SCHEME = 'rediss'
|
|
17
17
|
DEFAULT_NODE = "#{DEFAULT_SCHEME}://#{DEFAULT_HOST}:#{DEFAULT_PORT}"
|
|
18
|
-
Ractor.make_shareable(DEFAULT_NODE) if Object.const_defined?(:Ractor, false) && Ractor.respond_to?(:make_shareable)
|
|
19
18
|
DEFAULT_NODES = [DEFAULT_NODE].freeze
|
|
20
19
|
VALID_SCHEMES = [DEFAULT_SCHEME, SECURE_SCHEME].freeze
|
|
21
20
|
VALID_NODES_KEYS = %i[ssl username password host port db].freeze
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redis-cluster-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taishi Kasuga
|
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|
|
77
|
-
rubygems_version:
|
|
77
|
+
rubygems_version: 4.0.3
|
|
78
78
|
specification_version: 4
|
|
79
79
|
summary: Redis cluster-aware client for Ruby
|
|
80
80
|
test_files: []
|