async-http 0.27.9 → 0.27.10

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: 256f21173b049f816fdda94e99207b5720f7f77b2cd8954b39c049a09712614c
4
- data.tar.gz: 34491615f00330441867c5afe164b4d94ffcf355f1fe64fc78d0f41bd12eaaa1
3
+ metadata.gz: 34ad1521c12f3a1e0f225ab5958680e16b19aa370ad7ac03cea88a7a79a3c67e
4
+ data.tar.gz: 0a157e737ffd8c4802d1a84d80d1181343b4d1f44c7ae6f608a5e83fc27ea85e
5
5
  SHA512:
6
- metadata.gz: ecd7feaa31d37bee6e8408b81a6e53ee2ffef4cc2624a3888d87138f23527374a541ea55bb408c391857d974e3b582dc740c8e12a15e50a479e917c90f6330ea
7
- data.tar.gz: a0f54cc2ecfa1adc1630ec5b7986193713cab420e09221edc437ad796b012aa2cb5d28dedc6209fb7d860677f43acf7577e9252e6a5a5365026f8d1f43f67c7f
6
+ metadata.gz: bf8b9fd7d1534044807b3fe3fc22ebb1dcdbb6cffdb87e941f2694947343b29bf59b8f4d0cc9e51e8f7fa97af53d665239b4c1bb28ffac8d0766b8c27798e4f4
7
+ data.tar.gz: a0bef5bd050094c83eac78e6d4f542dde6bd2fc1dce26f3d7dcb8baa35d54086ea95fcaa84492145eaa2ff973b75c286dc2bdda4816c42e778ac15094e795e0d
@@ -68,11 +68,9 @@ module Async
68
68
  def read
69
69
  if chunk = @chunks[@index]
70
70
  @index += 1
71
-
72
- return chunk.dup
73
71
  end
74
72
 
75
- return nil
73
+ return chunk&.dup
76
74
  end
77
75
 
78
76
  def rewind
@@ -44,7 +44,7 @@ module Async
44
44
  end
45
45
 
46
46
  # We dup them on the way out, so that if someone modifies the string, it won't modify the rewindability.
47
- return chunk.dup
47
+ return chunk&.dup
48
48
  end
49
49
 
50
50
  def rewind
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.27.9"
23
+ VERSION = "0.27.10"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.9
4
+ version: 0.27.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.7.6
195
+ rubygems_version: 2.7.7
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: A HTTP client and server library.