hiredis-client 0.21.0 → 0.22.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: cd5b06a3ec6de726dad3f73e18bc5ed120f2be25ec01dd20701779dcab180cad
4
- data.tar.gz: 90516f98a33310c2ade0bb7d9c4962e9b73ae5923cec37c2d10764b7167b5cd8
3
+ metadata.gz: fc3972cb0cd74cea0f21fa68c1e1ba424368f3f10ca5cc96e4679dbeb1c17b50
4
+ data.tar.gz: 9e482a69907d8c4698352f650d7b0fb295fb92a7fe18ffed956dec477881a8aa
5
5
  SHA512:
6
- metadata.gz: 947ac0fb4a39a0c79dd19738e22517a0fd7aab186ae5b69311b1528ee726c35f4d94397ee9dd51e5f13c41791c8107bd4b9b916217d052c213d37e7f13d354b0
7
- data.tar.gz: 273aaa26963abb196965bcc5e9d8b44aae377e39cfb2be13ef07d28f191a27b839a48b869d88251cd0f3cde4575e480431b471bcb81dfb6cd088ffaf88832ac9
6
+ metadata.gz: 59539fc15b5ae6d95f1f925755ffd278b4bbff887c20370e50430dba179a45a0a368daf7753c6e87e22bb4a8372d2b8816e463f27ec59c16684e24914748143c
7
+ data.tar.gz: 2aa14832eb4b611df64187dbbd72a653d5bd42be78387f8ce5e4f96f05dfb5b6f56f6d1d3a80401b415ce663072fa8cd258d3052abfa34ba0a56b4cd3982e13c
@@ -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.0
4
+ version: 0.22.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: 2024-03-04 00:00:00.000000000 Z
11
+ date: 2024-04-12 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.0
19
+ version: 0.22.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.21.0
26
+ version: 0.22.0
27
27
  description:
28
28
  email:
29
29
  - jean.boussier@gmail.com