protocol-http 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41b2d4778c0f87995ae41473f3f441d2af2752cb003c8f5c5a940317a4d261d3
4
- data.tar.gz: fb501b5a733885122789b24316f4678a2799d32b7d36ebd69976a2813752d1be
3
+ metadata.gz: c4fa5196f58a86fe4786588d869824dfd39b8625ea924e032dbfaf58d6eafb0c
4
+ data.tar.gz: 6a21906f09ad8d8eb99f92c5a9c24e3fd61b7afde6d42beeb6e0618a993f40a7
5
5
  SHA512:
6
- metadata.gz: 11e68c65957d8fb04ac828c75bf7176f5247dcc20d1ee3429bcb138616c6673c6669f061fa798d7faa1947d6734025e62c835408d1ee3c1f0a316eda19126470
7
- data.tar.gz: 7eace33160810f3aaefbbb404c92144cd386af715ea083fe2abfb683a045306677c2e1b48a92099e5e6fb19d47594ac118ae43732cd0b10a85db608484a27559
6
+ metadata.gz: e3c7feecbd956e6370093d9aee7039f0accca1a3ab598953bbe024f196b71539ac7dcf59e8b41afa088c07f6e06b42345e2e585bce67336900051f149ac4281d
7
+ data.tar.gz: 4edc17d1969cecbee783a15924b4fad852603a2ca904208f0eb5ba6fd16cd35fb837324bbc47bb6a1e472088729bdb4a6c7070b6394f0e504b5a26f7a16f9307
@@ -36,7 +36,7 @@ module Protocol
36
36
  end
37
37
 
38
38
  def empty?
39
- @index >= @chunks.size
39
+ (@index >= @chunks.size) && super
40
40
  end
41
41
 
42
42
  # A rewindable body wraps some other body. Convert it to a buffered body
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Protocol
24
24
  module HTTP
25
- VERSION = "0.16.0"
25
+ VERSION = "0.16.1"
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams