async-redis 0.3.0 → 0.3.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: f8921f2c6c6856463367ae38fcfa5e82a80616e5eda3430cc6eb40255c47f3ae
4
- data.tar.gz: 53c01952126f0403bb75d3b82e522048e9b74ceb841a8c15d54a7fec980149b1
3
+ metadata.gz: dfede1437d2d66a146b2678f466187ce2f0f798e6ba351e194f6b0e7ef0fdb8d
4
+ data.tar.gz: baa7ee7e4c6b4a8be2f8c754c7983db7de3c49f3de82e9b72fd3db9b9a6d3d5d
5
5
  SHA512:
6
- metadata.gz: 1bc75e38ba9b902f7f0f89c9a55fc8338c618492c3d30495b76e4da2976ae3509678ef0a51151b6668f6409c46e61fb6cccfda458dd039b5a8ce27d3b979e81a
7
- data.tar.gz: 849ac7c70c39a57e25def98669e2843639a818f980b081805966d39589b9708cd23b1db13e06261e1c055e9c2c58c9f7bf3fadbfc0ab7d74786268c13dd6ebdc
6
+ metadata.gz: f509201461416e6600bace661926a48a62797a24582ced3a3d7c96d77720ca66d8aba77dce1cc0bbf9d7627c780686b1ec9ab197ad7da7f0e9b00a1acd5964bf
7
+ data.tar.gz: a4df9ff939365c9c68bc1b6c2b04fab300aed72839f098b3116bc4b0bd66f6c988c4e5cd5c920faab6ee2605d66417fafbdfaceb3233f3aa21201e027246568d
@@ -97,6 +97,10 @@ module Async
97
97
  end
98
98
  when '*'
99
99
  count = read_line.to_i
100
+
101
+ # Null array (https://redis.io/topics/protocol#resp-arrays):
102
+ return nil if count == -1
103
+
100
104
  array = Array.new(count) {read_object}
101
105
 
102
106
  return array
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module Redis
23
- VERSION = "0.3.0"
23
+ VERSION = "0.3.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-12-12 00:00:00.000000000 Z
12
+ date: 2018-12-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: async
@@ -141,8 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubyforge_project:
145
- rubygems_version: 2.7.8
144
+ rubygems_version: 3.0.1
146
145
  signing_key:
147
146
  specification_version: 4
148
147
  summary: A Redis client library.