http_parser.rb 0.6.0.beta.2-java → 0.6.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/bench/standalone.rb +0 -0
- data/ext/ruby_http_parser/vendor/http-parser-java/build.xml +0 -0
- data/http_parser.rb.gemspec +2 -1
- data/spec/parser_spec.rb +1 -1
- metadata +9 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 77ea6b7e7cdbbd31fdb1ab1f78bddcd466badf82
|
4
|
+
data.tar.gz: 12c6c534cd5fd10f9d08399ccd1683661b828ded
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a05559fbd72262a0febc3e1a621f58f31fe3ab5ddbc92ae8442c79bd44183e88401e22861ceaa4da3f790802985f8a7636547d4fee452647e8eafd06a8ff8308
|
7
|
+
data.tar.gz: 5d3e39b5a08d14f4dd69bec17eb5e6694868485da775494f85cd19b9bdbeaf8c55b109803e598cb3db3e5ff3a7985417b501ff984643a8f1108d8a940cee7b4a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
http_parser.rb (0.6.0
|
4
|
+
http_parser.rb (0.6.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
diff-lcs (1.1.2)
|
12
12
|
ffi (1.0.11)
|
13
13
|
ffi (1.0.11-java)
|
14
|
-
jruby-openssl (0.
|
14
|
+
jruby-openssl (0.9.4)
|
15
15
|
bouncy-castle-java (>= 1.5.0147)
|
16
16
|
json (1.8.0)
|
17
17
|
json (1.8.0-java)
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
A simple callback-based HTTP request/response parser for writing http
|
4
4
|
servers, clients and proxies.
|
5
5
|
|
6
|
-
This gem is built on top of [joyent/http-parser](http://github.com/joyent/http-parser) and its java port [
|
6
|
+
This gem is built on top of [joyent/http-parser](http://github.com/joyent/http-parser) and its java port [http-parser/http-parser.java](http://github.com/http-parser/http-parser.java).
|
7
7
|
|
8
8
|
## Supported Platforms
|
9
9
|
|
data/bench/standalone.rb
CHANGED
File without changes
|
File without changes
|
data/http_parser.rb.gemspec
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "http_parser.rb"
|
3
|
-
s.version = "0.6.0
|
3
|
+
s.version = "0.6.0"
|
4
4
|
s.summary = "Simple callback-based HTTP request/response parser"
|
5
5
|
s.description = "Ruby bindings to http://github.com/ry/http-parser and http://github.com/a2800276/http-parser.java"
|
6
6
|
|
7
7
|
s.authors = ["Marc-Andre Cournoyer", "Aman Gupta"]
|
8
8
|
s.email = ["macournoyer@gmail.com", "aman@tmm1.net"]
|
9
|
+
s.license = 'MIT'
|
9
10
|
|
10
11
|
s.homepage = "http://github.com/tmm1/http_parser.rb"
|
11
12
|
s.files = `git ls-files`.split("\n") + Dir['ext/ruby_http_parser/vendor/**/*']
|
data/spec/parser_spec.rb
CHANGED
@@ -307,7 +307,7 @@ describe HTTP::Parser do
|
|
307
307
|
%w[ request response ].each do |type|
|
308
308
|
JSON.parse(File.read(File.expand_path("../support/#{type}s.json", __FILE__))).each do |test|
|
309
309
|
test['headers'] ||= {}
|
310
|
-
|
310
|
+
next if !defined?(JRUBY_VERSION) and HTTP::Parser.strict? != test['strict']
|
311
311
|
|
312
312
|
it "should parse #{type}: #{test['name']}" do
|
313
313
|
@parser << test['raw']
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_parser.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.6.0.beta.2
|
4
|
+
version: 0.6.0
|
6
5
|
platform: java
|
7
6
|
authors:
|
8
7
|
- Marc-Andre Cournoyer
|
@@ -10,7 +9,7 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-12-11 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rake-compiler
|
@@ -19,13 +18,11 @@ dependencies:
|
|
19
18
|
- - '>='
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 0.7.9
|
22
|
-
none: false
|
23
21
|
requirement: !ruby/object:Gem::Requirement
|
24
22
|
requirements:
|
25
23
|
- - '>='
|
26
24
|
- !ruby/object:Gem::Version
|
27
25
|
version: 0.7.9
|
28
|
-
none: false
|
29
26
|
prerelease: false
|
30
27
|
type: :development
|
31
28
|
- !ruby/object:Gem::Dependency
|
@@ -35,13 +32,11 @@ dependencies:
|
|
35
32
|
- - '>='
|
36
33
|
- !ruby/object:Gem::Version
|
37
34
|
version: 2.0.1
|
38
|
-
none: false
|
39
35
|
requirement: !ruby/object:Gem::Requirement
|
40
36
|
requirements:
|
41
37
|
- - '>='
|
42
38
|
- !ruby/object:Gem::Version
|
43
39
|
version: 2.0.1
|
44
|
-
none: false
|
45
40
|
prerelease: false
|
46
41
|
type: :development
|
47
42
|
- !ruby/object:Gem::Dependency
|
@@ -51,13 +46,11 @@ dependencies:
|
|
51
46
|
- - '>='
|
52
47
|
- !ruby/object:Gem::Version
|
53
48
|
version: 1.4.6
|
54
|
-
none: false
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
56
50
|
requirements:
|
57
51
|
- - '>='
|
58
52
|
- !ruby/object:Gem::Version
|
59
53
|
version: 1.4.6
|
60
|
-
none: false
|
61
54
|
prerelease: false
|
62
55
|
type: :development
|
63
56
|
- !ruby/object:Gem::Dependency
|
@@ -67,13 +60,11 @@ dependencies:
|
|
67
60
|
- - '>='
|
68
61
|
- !ruby/object:Gem::Version
|
69
62
|
version: '0'
|
70
|
-
none: false
|
71
63
|
requirement: !ruby/object:Gem::Requirement
|
72
64
|
requirements:
|
73
65
|
- - '>='
|
74
66
|
- !ruby/object:Gem::Version
|
75
67
|
version: '0'
|
76
|
-
none: false
|
77
68
|
prerelease: false
|
78
69
|
type: :development
|
79
70
|
- !ruby/object:Gem::Dependency
|
@@ -83,13 +74,11 @@ dependencies:
|
|
83
74
|
- - '>='
|
84
75
|
- !ruby/object:Gem::Version
|
85
76
|
version: '0'
|
86
|
-
none: false
|
87
77
|
requirement: !ruby/object:Gem::Requirement
|
88
78
|
requirements:
|
89
79
|
- - '>='
|
90
80
|
- !ruby/object:Gem::Version
|
91
81
|
version: '0'
|
92
|
-
none: false
|
93
82
|
prerelease: false
|
94
83
|
type: :development
|
95
84
|
- !ruby/object:Gem::Dependency
|
@@ -99,13 +88,11 @@ dependencies:
|
|
99
88
|
- - '>='
|
100
89
|
- !ruby/object:Gem::Version
|
101
90
|
version: '0'
|
102
|
-
none: false
|
103
91
|
requirement: !ruby/object:Gem::Requirement
|
104
92
|
requirements:
|
105
93
|
- - '>='
|
106
94
|
- !ruby/object:Gem::Version
|
107
95
|
version: '0'
|
108
|
-
none: false
|
109
96
|
prerelease: false
|
110
97
|
type: :development
|
111
98
|
description: Ruby bindings to http://github.com/ry/http-parser and http://github.com/a2800276/http-parser.java
|
@@ -201,7 +188,9 @@ files:
|
|
201
188
|
- ext/ruby_http_parser/vendor/http-parser-java/tools/parse_tests.rb
|
202
189
|
- lib/ruby_http_parser.jar
|
203
190
|
homepage: http://github.com/tmm1/http_parser.rb
|
204
|
-
licenses:
|
191
|
+
licenses:
|
192
|
+
- MIT
|
193
|
+
metadata: {}
|
205
194
|
post_install_message:
|
206
195
|
rdoc_options: []
|
207
196
|
require_paths:
|
@@ -210,21 +199,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
199
|
requirements:
|
211
200
|
- - '>='
|
212
201
|
- !ruby/object:Gem::Version
|
213
|
-
segments:
|
214
|
-
- 0
|
215
|
-
hash: 2
|
216
202
|
version: '0'
|
217
|
-
none: false
|
218
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
204
|
requirements:
|
220
|
-
- - '
|
205
|
+
- - '>='
|
221
206
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
223
|
-
none: false
|
207
|
+
version: '0'
|
224
208
|
requirements: []
|
225
209
|
rubyforge_project:
|
226
|
-
rubygems_version: 1.
|
210
|
+
rubygems_version: 2.1.9
|
227
211
|
signing_key:
|
228
|
-
specification_version:
|
212
|
+
specification_version: 4
|
229
213
|
summary: Simple callback-based HTTP request/response parser
|
230
214
|
test_files: []
|