hiredis-client 0.18.0 → 0.19.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3aa2f8ffa2883aebac37552a2e128a13bf36e79aa9da6ba9be3cc00369230583
|
|
4
|
+
data.tar.gz: d786c010f218c5866db63a5e176438d3aee9d7539d443db034aa2b2f788f67f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 230789e6acf2e3bd62c0050b1d13f58546811be59364cb7fe0281d5f7c05970f111eae67665361f23a403ba60931aad33bda5ddaaaca823a02724b13cca0adbb
|
|
7
|
+
data.tar.gz: 5e336e18352fc4698794f7885576256027f6d3deb45df3a88fe3533359a7fc6a0ad66fa7616c617ee462831f0f6696e018df9b477f49beca0574734be13adb4a
|
|
@@ -47,7 +47,7 @@ class HiredisConnectionExtconf
|
|
|
47
47
|
|
|
48
48
|
env_args = env.map { |k, v| "#{k}=#{v}" }
|
|
49
49
|
Dir.chdir(hiredis_dir) do
|
|
50
|
-
unless system(make_program, "static", *env_args)
|
|
50
|
+
unless system(*Shellwords.split(make_program), "static", *env_args)
|
|
51
51
|
raise "Building hiredis failed"
|
|
52
52
|
end
|
|
53
53
|
end
|
|
@@ -592,7 +592,7 @@ static VALUE hiredis_connect(VALUE self, VALUE path, VALUE host, VALUE port, VAL
|
|
|
592
592
|
return success;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
static VALUE hiredis_reconnect(VALUE self, VALUE
|
|
595
|
+
static VALUE hiredis_reconnect(VALUE self, VALUE is_unix, VALUE ssl_param) {
|
|
596
596
|
CONNECTION(self, connection);
|
|
597
597
|
if (!connection->context) {
|
|
598
598
|
return Qfalse;
|
|
@@ -603,7 +603,7 @@ static VALUE hiredis_reconnect(VALUE self, VALUE unix, VALUE ssl_param) {
|
|
|
603
603
|
VALUE success = hiredis_connect_finish(connection, connection->context);
|
|
604
604
|
|
|
605
605
|
if (RTEST(success)) {
|
|
606
|
-
if (!RTEST(
|
|
606
|
+
if (!RTEST(is_unix)) {
|
|
607
607
|
redisEnableKeepAlive(connection->context);
|
|
608
608
|
}
|
|
609
609
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hiredis-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jean Boussier
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis-client
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.19.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.
|
|
26
|
+
version: 0.19.0
|
|
27
27
|
description:
|
|
28
28
|
email:
|
|
29
29
|
- jean.boussier@gmail.com
|