protocol-http2 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/lib/protocol/http2/extensions/unpack.rb +38 -0
- data/lib/protocol/http2/frame.rb +3 -0
- data/lib/protocol/http2/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a54d3cabb7d72cd94113264a0e0ff7d0bef7ca571ed867a9387cc9f6cbe6f2
|
4
|
+
data.tar.gz: bd026f41526251de43322cbcdb2ef66bd79826abef0e65ebef2bfa3b1f59909e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc52ebd072768078470fc514cc06d569edf6b6fef3f631c46739a6b10cd41de67eefdcc8d8303262ce411b19367bbdad6e957a4f9f6a9cb0bcd9ccdad4b3e4a0
|
7
|
+
data.tar.gz: 5bb43ef14cef99fff2b8e3c2234a1c94ffd1041ca8641aa0d7b5d1282115fc09e4d88c464d5d9143cf6e683169e63ba52023311dcf7060275398956a0b0ee02a
|
data/.travis.yml
CHANGED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright, 2019, by Yuta Iwama.
|
2
|
+
# Copyright, 2019, by Samuel G. D. Williams. <http://www.codeotaku.com>
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
# of this software and associated documentation files (the "Software"), to deal
|
6
|
+
# in the Software without restriction, including without limitation the rights
|
7
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
# copies of the Software, and to permit persons to whom the Software is
|
9
|
+
# furnished to do so, subject to the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be included in
|
12
|
+
# all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20
|
+
# THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'protocol/http/error'
|
23
|
+
|
24
|
+
module Protocol
|
25
|
+
module HTTP2
|
26
|
+
module Extensions
|
27
|
+
module Unpack
|
28
|
+
def unpack1(template)
|
29
|
+
unpack(template).first
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
unless String.instance_methods.include?(:unpack1)
|
37
|
+
String.prepend(Protocol::HTTP2::Extensions::Unpack)
|
38
|
+
end
|
data/lib/protocol/http2/frame.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-http2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
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-
|
11
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protocol-hpack
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- lib/protocol/http2/continuation_frame.rb
|
116
116
|
- lib/protocol/http2/data_frame.rb
|
117
117
|
- lib/protocol/http2/error.rb
|
118
|
+
- lib/protocol/http2/extensions/unpack.rb
|
118
119
|
- lib/protocol/http2/flow_control.rb
|
119
120
|
- lib/protocol/http2/frame.rb
|
120
121
|
- lib/protocol/http2/framer.rb
|