http-2-next 0.4.1 → 0.4.2

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: 8fa01852fa00c35563fb999f007c1894c4b46a18a40d311d21908c42fc1b17f1
4
- data.tar.gz: 7366509fdd22062f761abc7c4c6c46fa2e707ba953c17e3e86f449a67b5c38f1
3
+ metadata.gz: 2d8116cb645b3a24de8f06bd6e1d6e14ba75c57e28f6a4daf9e999bab456ac5f
4
+ data.tar.gz: 9f97d8e2748411a121e1ca5e7b1de77298371638579829a5d2a5881d353c8ff3
5
5
  SHA512:
6
- metadata.gz: a8e6170d679b518d9de1fb1222d8a4c4996906e4a015a67d7418bb5c56af7c60e7551206303518612b16f19eddaaf1d50af96eb75d2611c7e4709a3f4401212c
7
- data.tar.gz: 75c0652bc0b55feb14883841aa1119f4c0751ad5b435bd7e2de3443f8c6a354eaae25777c71c6fb1d9e35e90760af34c7a3319e418c5ccf5f44909f0741910c1
6
+ metadata.gz: 61248cc2f85d2b60d0edf3a8a4b0643836a44c66a7ded2382c86010a08da519290dba36973599ed65fea11a5727e3b8a6576c5a82782c38188e5f83adf098c82
7
+ data.tar.gz: 8a61192c8c2f8c1dfbf830254eab786ebb0e59304da1e23f791911201cf08e8c93f1546831f06159e334888a05e72a0c42d3a003a998be357c05ee9f3f00e74a
@@ -187,6 +187,7 @@ module HTTP2Next
187
187
  case frame[:type]
188
188
  when :data
189
189
  bytes << frame[:payload]
190
+ bytes.force_encoding(Encoding::BINARY)
190
191
  length += frame[:payload].bytesize
191
192
 
192
193
  when :headers
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HTTP2Next
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-2-next
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-04-20 00:00:00.000000000 Z
13
+ date: 2021-05-23 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Pure-ruby HTTP 2.0 protocol implementation
16
16
  email: