pico_http_parser 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class PicoHTTPParser
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -123,7 +123,6 @@ EOT
123
123
  'REQUEST_METHOD' => 'GET',
124
124
  'REQUEST_URI' => '/a/b#c',
125
125
  'QUERY_STRING' => '',
126
- 'SCRIPT_NAME' => '',
127
126
  'SERVER_PROTOCOL' => 'HTTP/1.0',
128
127
  })
129
128
  end
@@ -142,7 +141,6 @@ EOT
142
141
  'REQUEST_METHOD' => 'GET',
143
142
  'REQUEST_URI' => '/a/b%23c',
144
143
  'QUERY_STRING' => '',
145
- 'SCRIPT_NAME' => '',
146
144
  'SERVER_PROTOCOL' => 'HTTP/1.0',
147
145
  })
148
146
  end
@@ -157,7 +155,6 @@ EOT
157
155
  ret = PicoHTTPParser.parse_http_request(req,env)
158
156
  expect(ret).to eq(req.length)
159
157
  expect(env).to match({
160
- 'SCRIPT_NAME' => '',
161
158
  'PATH_INFO' => '/a/b',
162
159
  'REQUEST_METHOD' => 'GET',
163
160
  'REQUEST_URI' => '/a/b?c=d#e',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pico_http_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Nagano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-05 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -71,9 +71,11 @@ files:
71
71
  - benchmark/benchmark.rb
72
72
  - ext/pico_http_parser/extconf.rb
73
73
  - ext/pico_http_parser/pico_http_parser.c
74
+ - ext/pico_http_parser/picohttpparser/.clang-format
74
75
  - ext/pico_http_parser/picohttpparser/.gitattributes
75
76
  - ext/pico_http_parser/picohttpparser/.gitmodules
76
77
  - ext/pico_http_parser/picohttpparser/.travis.yml
78
+ - ext/pico_http_parser/picohttpparser/Jamfile
77
79
  - ext/pico_http_parser/picohttpparser/Makefile
78
80
  - ext/pico_http_parser/picohttpparser/README.md
79
81
  - ext/pico_http_parser/picohttpparser/bench.c
@@ -106,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
108
  version: '0'
107
109
  requirements: []
108
110
  rubyforge_project:
109
- rubygems_version: 2.2.2
111
+ rubygems_version: 2.4.5.1
110
112
  signing_key:
111
113
  specification_version: 4
112
114
  summary: Fast HTTP parser using picohttpparser