http-2 0.6.1 → 0.6.3
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 +4 -4
- data/.autotest +2 -1
- data/Gemfile +8 -1
- data/README.md +27 -21
- data/example/README.md +53 -0
- data/example/client.rb +88 -30
- data/example/helper.rb +5 -0
- data/example/keys/mycert.pem +24 -0
- data/example/keys/mykey.pem +27 -0
- data/example/server.rb +47 -8
- data/http-2.gemspec +0 -2
- data/lib/http/2.rb +2 -0
- data/lib/http/2/buffer.rb +21 -4
- data/lib/http/2/client.rb +50 -0
- data/lib/http/2/compressor.rb +197 -181
- data/lib/http/2/connection.rb +57 -83
- data/lib/http/2/emitter.rb +2 -2
- data/lib/http/2/error.rb +5 -0
- data/lib/http/2/framer.rb +32 -31
- data/lib/http/2/server.rb +55 -0
- data/lib/http/2/stream.rb +1 -1
- data/lib/http/2/version.rb +1 -1
- data/spec/buffer_spec.rb +23 -0
- data/spec/client_spec.rb +93 -0
- data/spec/compressor_spec.rb +89 -80
- data/spec/connection_spec.rb +24 -75
- data/spec/emitter_spec.rb +8 -0
- data/spec/framer_spec.rb +36 -40
- data/spec/helper.rb +6 -2
- data/spec/server_spec.rb +50 -0
- data/spec/stream_spec.rb +23 -30
- metadata +13 -30
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http-2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Grigorik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
27
|
description: Pure-ruby HTTP 2.0 protocol implementation
|
56
28
|
email:
|
57
29
|
- ilya@igvita.com
|
@@ -66,25 +38,33 @@ files:
|
|
66
38
|
- Gemfile
|
67
39
|
- README.md
|
68
40
|
- Rakefile
|
41
|
+
- example/README.md
|
69
42
|
- example/client.rb
|
70
43
|
- example/helper.rb
|
44
|
+
- example/keys/mycert.pem
|
45
|
+
- example/keys/mykey.pem
|
71
46
|
- example/server.rb
|
72
47
|
- http-2.gemspec
|
73
48
|
- lib/http/2.rb
|
74
49
|
- lib/http/2/buffer.rb
|
50
|
+
- lib/http/2/client.rb
|
75
51
|
- lib/http/2/compressor.rb
|
76
52
|
- lib/http/2/connection.rb
|
77
53
|
- lib/http/2/emitter.rb
|
78
54
|
- lib/http/2/error.rb
|
79
55
|
- lib/http/2/flow_buffer.rb
|
80
56
|
- lib/http/2/framer.rb
|
57
|
+
- lib/http/2/server.rb
|
81
58
|
- lib/http/2/stream.rb
|
82
59
|
- lib/http/2/version.rb
|
60
|
+
- spec/buffer_spec.rb
|
61
|
+
- spec/client_spec.rb
|
83
62
|
- spec/compressor_spec.rb
|
84
63
|
- spec/connection_spec.rb
|
85
64
|
- spec/emitter_spec.rb
|
86
65
|
- spec/framer_spec.rb
|
87
66
|
- spec/helper.rb
|
67
|
+
- spec/server_spec.rb
|
88
68
|
- spec/stream_spec.rb
|
89
69
|
homepage: https://github.com/igrigorik/http-2
|
90
70
|
licenses:
|
@@ -111,10 +91,13 @@ signing_key:
|
|
111
91
|
specification_version: 4
|
112
92
|
summary: Pure-ruby HTTP 2.0 protocol implementation
|
113
93
|
test_files:
|
94
|
+
- spec/buffer_spec.rb
|
95
|
+
- spec/client_spec.rb
|
114
96
|
- spec/compressor_spec.rb
|
115
97
|
- spec/connection_spec.rb
|
116
98
|
- spec/emitter_spec.rb
|
117
99
|
- spec/framer_spec.rb
|
118
100
|
- spec/helper.rb
|
101
|
+
- spec/server_spec.rb
|
119
102
|
- spec/stream_spec.rb
|
120
103
|
has_rdoc:
|