hiredis-client 0.21.1 → 0.22.1

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: 93b5a4cd99e3da6ba15e05f25675579e7da238a4170c22f53e3fc1b9251d347b
4
- data.tar.gz: a53ef861feb1ad6aee252b82ffe5f26299d1881c057b8c4c9b0feec5850294ef
3
+ metadata.gz: 36026e31c41cc2cfbc7e3e881f40e70b9aa41891c7c405b0966509b429b47b88
4
+ data.tar.gz: 44ae13fd2dd8bb04493e1f0140e27228fa2b6ecedf1e7c3738fa714ec2071bb2
5
5
  SHA512:
6
- metadata.gz: a186f05e532e1eb86e9c874dc3380490dddb2054f13f5f51bae5ff65d11d38b463b046754763935d60cbd7cbe6d5e0dbf542e73079e417ffe88b0d4f1f5c7a36
7
- data.tar.gz: 290ece034c9d7544644c51a11322dd2013ee255320f79cf12ca272d8d6266a221994935923015f71474fea59df7dada68eebabdb5d769221847d00212865b48e
6
+ metadata.gz: 93ac4207ec72a7fc5353413cb4411dca05d542acf313aedbf32ee8033cb8a9b822e39973f023d52dadc481191ad4d06959a0e1b99806f33b9155bb9536304f0a
7
+ data.tar.gz: b3ff982553279b37562ff47fd43a0c2749e7587b209de8d3084a7a424037f76d8b5ede15545ae5000edc880d6f5d5003bdb755bafe107cb75c19eaf0e6fe2a23
@@ -8,7 +8,7 @@ class HiredisConnectionExtconf
8
8
  end
9
9
 
10
10
  def configure
11
- if RUBY_ENGINE == "ruby" && !RUBY_PLATFORM.match?(/mswin/)
11
+ if RUBY_ENGINE == "ruby" && !Gem.win_platform?
12
12
  configure_extension
13
13
  create_makefile("redis_client/hiredis_connection")
14
14
  else
@@ -178,7 +178,7 @@ static void *reply_create_string(const redisReadTask *task, char *cstr, size_t l
178
178
  len -= 4;
179
179
  }
180
180
 
181
- VALUE string = rb_external_str_new(cstr, len);
181
+ VALUE string = rb_utf8_str_new(cstr, len);
182
182
  if (rb_enc_str_coderange(string) == ENC_CODERANGE_BROKEN) {
183
183
  rb_enc_associate(string, rb_ascii8bit_encoding());
184
184
  }
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.21.1
4
+ version: 0.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-22 00:00:00.000000000 Z
11
+ date: 2024-04-16 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.21.1
19
+ version: 0.22.1
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.21.1
26
+ version: 0.22.1
27
27
  description:
28
28
  email:
29
29
  - jean.boussier@gmail.com