hiredis-client 0.26.0 → 0.26.1
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/hiredis_connection.rb +2 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 740114f3454c9e1a322f98966fc9c6fc45ec919c8d103bf31ad6f1449db79577
|
4
|
+
data.tar.gz: 96ec35739c4ba1b5827cfcdcd5cab0def5f0cc3e9e93f76b83bfd2b01e55013a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d04f187cb816f56328d3f56cbb30123497517bdd1cdfc77999cb707eb6d619d3cf4013c9700f6693876210fc47a11eccc0381615bc6fb97c7d1965c3778debe
|
7
|
+
data.tar.gz: f8a69e6be041943fa9c4455306169d217d771fd370fa7e74d12ae643b20d1c8e4f9d2443e50158e213d7965638463fabbf693b0d499504aee66b65793206f45f
|
@@ -39,11 +39,8 @@ class RedisClient
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
attr_reader :config
|
43
|
-
|
44
42
|
def initialize(config, connect_timeout:, read_timeout:, write_timeout:)
|
45
|
-
super()
|
46
|
-
@config = config
|
43
|
+
super(config)
|
47
44
|
self.connect_timeout = connect_timeout
|
48
45
|
self.read_timeout = read_timeout
|
49
46
|
self.write_timeout = write_timeout
|
@@ -134,6 +131,7 @@ class RedisClient
|
|
134
131
|
private
|
135
132
|
|
136
133
|
def connect
|
134
|
+
@server_key = @config.server_key
|
137
135
|
_connect(@config.path, @config.host, @config.port, @config.ssl_context)
|
138
136
|
rescue SystemCallError => error
|
139
137
|
host = @config.path || "#{@config.host}:#{@config.port}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiredis-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
@@ -15,14 +15,14 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - '='
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.26.
|
18
|
+
version: 0.26.1
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - '='
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: 0.26.
|
25
|
+
version: 0.26.1
|
26
26
|
email:
|
27
27
|
- jean.boussier@gmail.com
|
28
28
|
executables: []
|