protocol-http 0.10.0 → 0.11.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: 74eb2d15782062ec9d5dbd4b9a98c0cad45c4df4c4944f95fb447de0c08b26b5
4
- data.tar.gz: 6787db74ca0953213cfc1e72dea596189a2532bcf8f8d4408dbcba995880b099
3
+ metadata.gz: ec53c185b272bcb6e4252ffafea0360645d62fca011bfd13fe22f27792ecf829
4
+ data.tar.gz: 9e8fd1e4edda12e5c503a257f4d2e4cc38b20653d6cbbfb2f47f8c57531fdf0c
5
5
  SHA512:
6
- metadata.gz: 77d71a171d9956a9e9cfbd00896d5c75f96092b2e564e24523aa2b0b97a37de25c834fa36fecb594e663239cf5ecdeee883061468b3115fa4c7a362fd6a6b44f
7
- data.tar.gz: 5cd9eb09c22b930186ac8752b1b0f1e29c5b5b9d371067369e98ac42f44d0c9656eb2ab8c1771d8b52dcdc81b8ee652d381fdf7358478757b60cc4e3f87176a7
6
+ metadata.gz: 5a1b2e0da635ca114115405ec4841411cdb3761895df4f4c4f941e65602154d2853d0c0ecce1b3ff65540ecafc321e35fa8b482be2ad71c9c7d54777910a4a3f
7
+ data.tar.gz: 2ad27b1d4aae3420e34a28ff0b510755249424beb13d2412bbb87e13764427687e9425ef2e826cbf095c76e9c9468987760a5dbc49527307d76dc4c5f23c64f5
@@ -73,6 +73,8 @@ module Protocol
73
73
  stream.write(chunk)
74
74
  stream.flush
75
75
  end
76
+ ensure
77
+ stream.close
76
78
  end
77
79
 
78
80
  # Read all remaining chunks into a single binary string using `#each`.
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP
23
- VERSION = "0.10.0"
23
+ VERSION = "0.11.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-13 00:00:00.000000000 Z
11
+ date: 2019-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: covered