protocol-http1 0.28.0 → 0.28.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: fc8ca6665c69c40a8b356d22ba8657b0891f83136e82b16ce61ff5e26a24c50f
4
- data.tar.gz: ebd6f58a3ed6caf1eb95c8d38e89ad85df3d9b3eb177bc89192a3ffe0710eda0
3
+ metadata.gz: 418429eead441a575d5129d78ec4eaa2806e354219b44f8be723ba263ed6dff4
4
+ data.tar.gz: 2306e29dfe8ecf2344fc0b3672be0b4bbab681139e81b3b7f710821aba858ee2
5
5
  SHA512:
6
- metadata.gz: 8612d1fd87cdd97d558410b1c85275944d9c11d51b7a3455aba22c53527e33a12890a62a055bb7c721e25e88064c1fbd9547db26287b8a890ac7baa1c3a2b45e
7
- data.tar.gz: 50a8e5a03a1433c33d4cbc97dea073826741d89f68311f67de166aa85ce4be7a643828c059339fde50ebf147894f33974fdebd906dd2ed2860d30591f4b18a74
6
+ metadata.gz: f30451ee6eb024628fd4edb09b688206b4fb956080b11bd83ca1c243eb66a50473e03b710ff19cd1a94e1c34a3197bd3b584566694b5a3d9171c5d4b3de773f0
7
+ data.tar.gz: b89b24a8163a31f91d801472d3fc44f207dd909ad66c9caeffbd737c674e8905cdc93ac328db2aeca049896011ad093532e87fa608fe01672c645e55b6689f34
checksums.yaml.gz.sig CHANGED
Binary file
@@ -286,11 +286,11 @@ module Protocol
286
286
  end
287
287
 
288
288
  def read_line?
289
- line = @stream.gets(CRLF, @maximum_line_length)
290
-
291
- unless line.chomp!(CRLF)
292
- # This basically means that the request line, response line, header, or chunked length line is too long.
293
- raise LineLengthError, "Line too long!"
289
+ if line = @stream.gets(CRLF, @maximum_line_length)
290
+ unless line.chomp!(CRLF)
291
+ # This basically means that the request line, response line, header, or chunked length line is too long.
292
+ raise LineLengthError, "Line too long!"
293
+ end
294
294
  end
295
295
 
296
296
  return line
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP1
8
- VERSION = "0.28.0"
8
+ VERSION = "0.28.1"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- X��A�����#r��z�TxzN���&�qV/+�xndyC'��JzD��JDlx��|rv'6���/��P��y7��[m/�z.�h��z3E^��v{��ޥ�o��7Xqӗw����n�oAuXD�В��U��^�7՟��nPf_+�=�B���W%~�ÏM���~��grOLv�_{�����q�C���7�z�a� �ls����9}�����g=8�A�<�����ǘܦ��rm��&:��9�=���g���:�Ҩ�Q�����������6U���Є]ʹv`�����z�
1
+ T��&) ?��;���?�Zx�e�A����('d�ʇE#&��a��������mH((@��J��%^��R$�8Yh��K�[e"��<xr�Ҽ��� A𢏎TH+*O&�o��T��4���ºX™i���I� ptC7����Q}d[K���cKGkoX���Ҳ/�2��P����qѨ�S�'j���{GA���Ԗ�
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file