redis-clustering 5.0.6 → 5.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b6731c3a7aa057a707fb63c64f1038dcbe2ca96f38397badf7fce9aeddacd6b
4
- data.tar.gz: 99168cd3cc4bbb8b374aa5cce85882f5caaa009809d6af7984236472a8adcbc4
3
+ metadata.gz: bc66b9162a5a533d820c669354314fce36e1f43d9dc5e540861a53930ecbaece
4
+ data.tar.gz: 58d71d9ed9c6c175dea6413174d3ea61f48458faba27f0afb55f798f581f7948
5
5
  SHA512:
6
- metadata.gz: 35256223537da2343f8f90c596cb9c71698bfd54f91a0c9c66d4bce46232f4309cb7acaf768de1b23b66ed9baf3acc3869bff808dc61d602fcabd170d7230cae
7
- data.tar.gz: '08f00df5b62b2631a60920bc3e6ae7a0cbff2db84ecb1653f9e682cf68636734cf2e09ddfa796d57153e0c7af2e35e90448916f620dda297fe123894cabd0ffe'
6
+ metadata.gz: b45307adcf1d8396efa2d7b8191e26fe6655bb3251af924cc436a16ba099d4671b7344d9070fd03af3006034de2d56f25828a9290105fdf0b8fe49e8a892949f
7
+ data.tar.gz: be694520e18ca77466ebb4cc7b950ef9cd9718d329de04b653597de8ef711730055443dc2d4b3469ec3c3faeca04de750292fd2f1887a06113e28089923c606b
@@ -9,7 +9,8 @@ class Redis
9
9
  RedisClient::Cluster::InitialSetupError => Redis::Cluster::InitialSetupError,
10
10
  RedisClient::Cluster::OrchestrationCommandNotSupported => Redis::Cluster::OrchestrationCommandNotSupported,
11
11
  RedisClient::Cluster::AmbiguousNodeError => Redis::Cluster::AmbiguousNodeError,
12
- RedisClient::Cluster::ErrorCollection => Redis::Cluster::CommandErrorCollection
12
+ RedisClient::Cluster::ErrorCollection => Redis::Cluster::CommandErrorCollection,
13
+ RedisClient::Cluster::Transaction::ConsistencyError => Redis::Cluster::TransactionConsistencyError
13
14
  ).freeze
14
15
 
15
16
  class << self
@@ -28,11 +29,11 @@ class Redis
28
29
  ruby2_keywords :initialize if respond_to?(:ruby2_keywords, true)
29
30
 
30
31
  def id
31
- @router.node.node_keys.join(' ')
32
+ @router.node_keys.join(' ')
32
33
  end
33
34
 
34
35
  def server_url
35
- @router.node.node_keys
36
+ @router.node_keys
36
37
  end
37
38
 
38
39
  def connected?
data/lib/redis/cluster.rb CHANGED
@@ -38,6 +38,9 @@ class Redis
38
38
  class AmbiguousNodeError < BaseError
39
39
  end
40
40
 
41
+ class TransactionConsistencyError < BaseError
42
+ end
43
+
41
44
  def connection
42
45
  raise NotImplementedError, "Redis::Cluster doesn't implement #connection"
43
46
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-clustering
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.6
4
+ version: 5.0.8
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: 2023-01-16 00:00:00.000000000 Z
19
+ date: 2023-10-23 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: redis
@@ -24,28 +24,28 @@ dependencies:
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 5.0.6
27
+ version: 5.0.8
28
28
  type: :runtime
29
29
  prerelease: false
30
30
  version_requirements: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 5.0.6
34
+ version: 5.0.8
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: redis-cluster-client
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 0.3.7
41
+ version: 0.7.0
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 0.3.7
48
+ version: 0.7.0
49
49
  description: |2
50
50
  A Ruby client that tries to match Redis' Cluster API one-to-one, while still
51
51
  providing an idiomatic interface.
@@ -68,9 +68,9 @@ licenses:
68
68
  metadata:
69
69
  bug_tracker_uri: https://github.com/redis/redis-rb/issues
70
70
  changelog_uri: https://github.com/redis/redis-rb/blob/master/cluster/CHANGELOG.md
71
- documentation_uri: https://www.rubydoc.info/gems/redis/5.0.6
71
+ documentation_uri: https://www.rubydoc.info/gems/redis/5.0.8
72
72
  homepage_uri: https://github.com/redis/redis-rb/blob/master/cluster
73
- source_code_uri: https://github.com/redis/redis-rb/tree/v5.0.6/cluster
73
+ source_code_uri: https://github.com/redis/redis-rb/tree/v5.0.8/cluster
74
74
  post_install_message:
75
75
  rdoc_options: []
76
76
  require_paths:
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.1.2
89
+ rubygems_version: 3.3.7
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: A Ruby client library for Redis Cluster