hiredis-client 0.17.0 → 0.18.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75375fb66a9a9bc66b60fcb3c6e3a4236c4906b766d6b94cc493bf6eb052ecf8
|
4
|
+
data.tar.gz: d691dd864136a1b9dc6973272f58e6d505437ac2949404888b317e66979fd77a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e02442df806f1650ebaf94e75b3e98115387351923802ae13d23f7a2b3e1430cf6fe77a930c64962ddf04c8ce9d914d2ab0d1b01005e10ef0de95d4ddeeb392
|
7
|
+
data.tar.gz: 2857d4e50cf39ed14dd18f4ce25219056479db8e0f140ce995811e49d24c1021f30dcd5411ef9dd0f52b79ee06a9f8e0f59c204bb1447fb08e1cab85ff9134f1
|
@@ -303,6 +303,9 @@ static int processLineItem(redisReader *r) {
|
|
303
303
|
d = INFINITY; /* Positive infinite. */
|
304
304
|
} else if (strcasecmp(buf,",-inf") == 0) {
|
305
305
|
d = -INFINITY; /* Negative infinite. */
|
306
|
+
} else if ((len == 3 && strcasecmp(buf,"nan") == 0) ||
|
307
|
+
(len == 4 && strcasecmp(buf, "-nan") == 0)) {
|
308
|
+
d = NAN; /* nan. */
|
306
309
|
} else {
|
307
310
|
d = strtod((char*)buf,&eptr);
|
308
311
|
if (buf[0] == '\0' || eptr[0] != '\0' || isnan(d)) {
|
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.18.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-10-26 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.18.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.18.0
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- jean.boussier@gmail.com
|