http-2 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitmodules +3 -0
- data/Gemfile +5 -0
- data/README.md +5 -4
- data/Rakefile +1 -0
- data/example/client.rb +20 -5
- data/example/helper.rb +1 -1
- data/example/keys/mycert.pem +21 -22
- data/example/keys/mykey.pem +25 -25
- data/example/server.rb +10 -3
- data/http-2.gemspec +1 -1
- data/lib/http/2.rb +2 -0
- data/lib/http/2/client.rb +16 -10
- data/lib/http/2/compressor.rb +346 -286
- data/lib/http/2/connection.rb +254 -95
- data/lib/http/2/error.rb +0 -6
- data/lib/http/2/flow_buffer.rb +12 -10
- data/lib/http/2/framer.rb +203 -57
- data/lib/http/2/huffman.rb +332 -0
- data/lib/http/2/huffman_statemachine.rb +272 -0
- data/lib/http/2/server.rb +5 -4
- data/lib/http/2/stream.rb +72 -35
- data/lib/http/2/version.rb +1 -1
- data/lib/tasks/generate_huffman_table.rb +160 -0
- data/spec/client_spec.rb +3 -3
- data/spec/compressor_spec.rb +422 -281
- data/spec/connection_spec.rb +236 -56
- data/spec/framer_spec.rb +213 -45
- data/spec/helper.rb +42 -15
- data/spec/hpack_test_spec.rb +83 -0
- data/spec/huffman_spec.rb +68 -0
- data/spec/server_spec.rb +7 -6
- data/spec/stream_spec.rb +81 -54
- metadata +21 -11
metadata
CHANGED
@@ -1,27 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http-2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Grigorik
|
8
|
+
- Kaoru Maeda
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2014-11-29 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- - ~>
|
18
|
+
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: '1.3'
|
20
21
|
type: :development
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- - ~>
|
25
|
+
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: '1.3'
|
27
28
|
description: Pure-ruby HTTP 2.0 protocol implementation
|
@@ -31,10 +32,12 @@ executables: []
|
|
31
32
|
extensions: []
|
32
33
|
extra_rdoc_files: []
|
33
34
|
files:
|
34
|
-
- .autotest
|
35
|
-
- .
|
36
|
-
- .
|
37
|
-
- .
|
35
|
+
- ".autotest"
|
36
|
+
- ".coveralls.yml"
|
37
|
+
- ".gitignore"
|
38
|
+
- ".gitmodules"
|
39
|
+
- ".rspec"
|
40
|
+
- ".travis.yml"
|
38
41
|
- Gemfile
|
39
42
|
- README.md
|
40
43
|
- Rakefile
|
@@ -54,9 +57,12 @@ files:
|
|
54
57
|
- lib/http/2/error.rb
|
55
58
|
- lib/http/2/flow_buffer.rb
|
56
59
|
- lib/http/2/framer.rb
|
60
|
+
- lib/http/2/huffman.rb
|
61
|
+
- lib/http/2/huffman_statemachine.rb
|
57
62
|
- lib/http/2/server.rb
|
58
63
|
- lib/http/2/stream.rb
|
59
64
|
- lib/http/2/version.rb
|
65
|
+
- lib/tasks/generate_huffman_table.rb
|
60
66
|
- spec/buffer_spec.rb
|
61
67
|
- spec/client_spec.rb
|
62
68
|
- spec/compressor_spec.rb
|
@@ -64,6 +70,8 @@ files:
|
|
64
70
|
- spec/emitter_spec.rb
|
65
71
|
- spec/framer_spec.rb
|
66
72
|
- spec/helper.rb
|
73
|
+
- spec/hpack_test_spec.rb
|
74
|
+
- spec/huffman_spec.rb
|
67
75
|
- spec/server_spec.rb
|
68
76
|
- spec/stream_spec.rb
|
69
77
|
homepage: https://github.com/igrigorik/http-2
|
@@ -76,17 +84,17 @@ require_paths:
|
|
76
84
|
- lib
|
77
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
86
|
requirements:
|
79
|
-
- -
|
87
|
+
- - ">="
|
80
88
|
- !ruby/object:Gem::Version
|
81
89
|
version: '0'
|
82
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
91
|
requirements:
|
84
|
-
- -
|
92
|
+
- - ">="
|
85
93
|
- !ruby/object:Gem::Version
|
86
94
|
version: '0'
|
87
95
|
requirements: []
|
88
96
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.4.3
|
90
98
|
signing_key:
|
91
99
|
specification_version: 4
|
92
100
|
summary: Pure-ruby HTTP 2.0 protocol implementation
|
@@ -98,6 +106,8 @@ test_files:
|
|
98
106
|
- spec/emitter_spec.rb
|
99
107
|
- spec/framer_spec.rb
|
100
108
|
- spec/helper.rb
|
109
|
+
- spec/hpack_test_spec.rb
|
110
|
+
- spec/huffman_spec.rb
|
101
111
|
- spec/server_spec.rb
|
102
112
|
- spec/stream_spec.rb
|
103
113
|
has_rdoc:
|