rack 2.0.9.3 → 2.1.4.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +92 -0
- data/{COPYING → MIT-LICENSE} +4 -2
- data/README.rdoc +76 -116
- data/Rakefile +25 -18
- data/SPEC +9 -9
- data/bin/rackup +1 -0
- data/example/lobster.ru +2 -0
- data/example/protectedlobster.rb +3 -1
- data/example/protectedlobster.ru +2 -0
- data/lib/rack/auth/abstract/handler.rb +3 -1
- data/lib/rack/auth/abstract/request.rb +2 -0
- data/lib/rack/auth/basic.rb +4 -1
- data/lib/rack/auth/digest/md5.rb +9 -7
- data/lib/rack/auth/digest/nonce.rb +6 -3
- data/lib/rack/auth/digest/params.rb +4 -2
- data/lib/rack/auth/digest/request.rb +2 -0
- data/lib/rack/body_proxy.rb +3 -6
- data/lib/rack/builder.rb +39 -15
- data/lib/rack/cascade.rb +6 -5
- data/lib/rack/chunked.rb +29 -6
- data/lib/rack/common_logger.rb +9 -8
- data/lib/rack/conditional_get.rb +3 -1
- data/lib/rack/config.rb +2 -0
- data/lib/rack/content_length.rb +3 -1
- data/lib/rack/content_type.rb +3 -1
- data/lib/rack/core_ext/regexp.rb +14 -0
- data/lib/rack/deflater.rb +32 -17
- data/lib/rack/directory.rb +19 -16
- data/lib/rack/etag.rb +3 -1
- data/lib/rack/events.rb +5 -3
- data/lib/rack/file.rb +4 -173
- data/lib/rack/files.rb +178 -0
- data/lib/rack/handler/cgi.rb +3 -1
- data/lib/rack/handler/fastcgi.rb +4 -2
- data/lib/rack/handler/lsws.rb +3 -1
- data/lib/rack/handler/scgi.rb +9 -6
- data/lib/rack/handler/thin.rb +3 -1
- data/lib/rack/handler/webrick.rb +4 -2
- data/lib/rack/handler.rb +7 -2
- data/lib/rack/head.rb +2 -0
- data/lib/rack/lint.rb +14 -11
- data/lib/rack/lobster.rb +7 -5
- data/lib/rack/lock.rb +2 -0
- data/lib/rack/logger.rb +2 -0
- data/lib/rack/media_type.rb +10 -5
- data/lib/rack/method_override.rb +4 -2
- data/lib/rack/mime.rb +9 -1
- data/lib/rack/mock.rb +74 -15
- data/lib/rack/multipart/generator.rb +6 -7
- data/lib/rack/multipart/parser.rb +50 -45
- data/lib/rack/multipart/uploaded_file.rb +2 -0
- data/lib/rack/multipart.rb +3 -1
- data/lib/rack/null_logger.rb +2 -0
- data/lib/rack/query_parser.rb +51 -25
- data/lib/rack/recursive.rb +7 -5
- data/lib/rack/reloader.rb +10 -4
- data/lib/rack/request.rb +79 -26
- data/lib/rack/response.rb +71 -31
- data/lib/rack/rewindable_input.rb +4 -2
- data/lib/rack/runtime.rb +4 -2
- data/lib/rack/sendfile.rb +15 -8
- data/lib/rack/server.rb +88 -18
- data/lib/rack/session/abstract/id.rb +30 -20
- data/lib/rack/session/cookie.rb +10 -9
- data/lib/rack/session/memcache.rb +4 -93
- data/lib/rack/session/pool.rb +4 -2
- data/lib/rack/show_exceptions.rb +15 -9
- data/lib/rack/show_status.rb +4 -2
- data/lib/rack/static.rb +15 -10
- data/lib/rack/tempfile_reaper.rb +2 -0
- data/lib/rack/urlmap.rb +11 -2
- data/lib/rack/utils.rb +58 -71
- data/lib/rack.rb +63 -60
- data/rack.gemspec +17 -7
- metadata +28 -170
- data/HISTORY.md +0 -520
- data/test/builder/an_underscore_app.rb +0 -5
- data/test/builder/anything.rb +0 -5
- data/test/builder/comment.ru +0 -4
- data/test/builder/end.ru +0 -5
- data/test/builder/line.ru +0 -1
- data/test/builder/options.ru +0 -2
- data/test/cgi/assets/folder/test.js +0 -1
- data/test/cgi/assets/fonts/font.eot +0 -1
- data/test/cgi/assets/images/image.png +0 -1
- data/test/cgi/assets/index.html +0 -1
- data/test/cgi/assets/javascripts/app.js +0 -1
- data/test/cgi/assets/stylesheets/app.css +0 -1
- data/test/cgi/lighttpd.conf +0 -26
- data/test/cgi/rackup_stub.rb +0 -6
- data/test/cgi/sample_rackup.ru +0 -5
- data/test/cgi/test +0 -9
- data/test/cgi/test+directory/test+file +0 -1
- data/test/cgi/test.fcgi +0 -9
- data/test/cgi/test.gz +0 -0
- data/test/cgi/test.ru +0 -5
- data/test/gemloader.rb +0 -10
- data/test/helper.rb +0 -34
- data/test/multipart/bad_robots +0 -259
- data/test/multipart/binary +0 -0
- data/test/multipart/content_type_and_no_filename +0 -6
- data/test/multipart/empty +0 -10
- data/test/multipart/fail_16384_nofile +0 -814
- data/test/multipart/file1.txt +0 -1
- data/test/multipart/filename_and_modification_param +0 -7
- data/test/multipart/filename_and_no_name +0 -6
- data/test/multipart/filename_with_encoded_words +0 -7
- data/test/multipart/filename_with_escaped_quotes +0 -6
- data/test/multipart/filename_with_escaped_quotes_and_modification_param +0 -7
- data/test/multipart/filename_with_null_byte +0 -7
- data/test/multipart/filename_with_percent_escaped_quotes +0 -6
- data/test/multipart/filename_with_single_quote +0 -7
- data/test/multipart/filename_with_unescaped_percentages +0 -6
- data/test/multipart/filename_with_unescaped_percentages2 +0 -6
- data/test/multipart/filename_with_unescaped_percentages3 +0 -6
- data/test/multipart/filename_with_unescaped_quotes +0 -6
- data/test/multipart/ie +0 -6
- data/test/multipart/invalid_character +0 -6
- data/test/multipart/mixed_files +0 -21
- data/test/multipart/nested +0 -10
- data/test/multipart/none +0 -9
- data/test/multipart/quoted +0 -15
- data/test/multipart/rack-logo.png +0 -0
- data/test/multipart/semicolon +0 -6
- data/test/multipart/text +0 -15
- data/test/multipart/three_files_three_fields +0 -31
- data/test/multipart/unity3d_wwwform +0 -11
- data/test/multipart/webkit +0 -32
- data/test/rackup/config.ru +0 -31
- data/test/registering_handler/rack/handler/registering_myself.rb +0 -8
- data/test/spec_auth_basic.rb +0 -89
- data/test/spec_auth_digest.rb +0 -260
- data/test/spec_body_proxy.rb +0 -85
- data/test/spec_builder.rb +0 -233
- data/test/spec_cascade.rb +0 -63
- data/test/spec_cgi.rb +0 -84
- data/test/spec_chunked.rb +0 -103
- data/test/spec_common_logger.rb +0 -107
- data/test/spec_conditional_get.rb +0 -103
- data/test/spec_config.rb +0 -23
- data/test/spec_content_length.rb +0 -86
- data/test/spec_content_type.rb +0 -46
- data/test/spec_deflater.rb +0 -375
- data/test/spec_directory.rb +0 -148
- data/test/spec_etag.rb +0 -108
- data/test/spec_events.rb +0 -133
- data/test/spec_fastcgi.rb +0 -85
- data/test/spec_file.rb +0 -264
- data/test/spec_handler.rb +0 -57
- data/test/spec_head.rb +0 -46
- data/test/spec_lint.rb +0 -520
- data/test/spec_lobster.rb +0 -59
- data/test/spec_lock.rb +0 -204
- data/test/spec_logger.rb +0 -24
- data/test/spec_media_type.rb +0 -42
- data/test/spec_method_override.rb +0 -110
- data/test/spec_mime.rb +0 -51
- data/test/spec_mock.rb +0 -359
- data/test/spec_multipart.rb +0 -721
- data/test/spec_null_logger.rb +0 -21
- data/test/spec_recursive.rb +0 -75
- data/test/spec_request.rb +0 -1423
- data/test/spec_response.rb +0 -528
- data/test/spec_rewindable_input.rb +0 -128
- data/test/spec_runtime.rb +0 -50
- data/test/spec_sendfile.rb +0 -125
- data/test/spec_server.rb +0 -193
- data/test/spec_session_abstract_id.rb +0 -31
- data/test/spec_session_abstract_session_hash.rb +0 -45
- data/test/spec_session_cookie.rb +0 -442
- data/test/spec_session_memcache.rb +0 -357
- data/test/spec_session_persisted_secure_secure_session_hash.rb +0 -73
- data/test/spec_session_pool.rb +0 -247
- data/test/spec_show_exceptions.rb +0 -93
- data/test/spec_show_status.rb +0 -104
- data/test/spec_static.rb +0 -184
- data/test/spec_tempfile_reaper.rb +0 -64
- data/test/spec_thin.rb +0 -96
- data/test/spec_urlmap.rb +0 -237
- data/test/spec_utils.rb +0 -742
- data/test/spec_version.rb +0 -11
- data/test/spec_webrick.rb +0 -206
- data/test/static/another/index.html +0 -1
- data/test/static/foo.html +0 -1
- data/test/static/index.html +0 -1
- data/test/testrequest.rb +0 -78
- data/test/unregistered_handler/rack/handler/unregistered.rb +0 -7
- data/test/unregistered_handler/rack/handler/unregistered_long_one.rb +0 -7
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leah Neukirchen
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest-global_expectations
|
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'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,10 +80,10 @@ executables:
|
|
66
80
|
extensions: []
|
67
81
|
extra_rdoc_files:
|
68
82
|
- README.rdoc
|
69
|
-
-
|
83
|
+
- CHANGELOG.md
|
70
84
|
files:
|
71
|
-
-
|
72
|
-
-
|
85
|
+
- CHANGELOG.md
|
86
|
+
- MIT-LICENSE
|
73
87
|
- README.rdoc
|
74
88
|
- Rakefile
|
75
89
|
- SPEC
|
@@ -98,11 +112,13 @@ files:
|
|
98
112
|
- lib/rack/config.rb
|
99
113
|
- lib/rack/content_length.rb
|
100
114
|
- lib/rack/content_type.rb
|
115
|
+
- lib/rack/core_ext/regexp.rb
|
101
116
|
- lib/rack/deflater.rb
|
102
117
|
- lib/rack/directory.rb
|
103
118
|
- lib/rack/etag.rb
|
104
119
|
- lib/rack/events.rb
|
105
120
|
- lib/rack/file.rb
|
121
|
+
- lib/rack/files.rb
|
106
122
|
- lib/rack/handler.rb
|
107
123
|
- lib/rack/handler/cgi.rb
|
108
124
|
- lib/rack/handler/fastcgi.rb
|
@@ -144,122 +160,16 @@ files:
|
|
144
160
|
- lib/rack/urlmap.rb
|
145
161
|
- lib/rack/utils.rb
|
146
162
|
- rack.gemspec
|
147
|
-
- test/builder/an_underscore_app.rb
|
148
|
-
- test/builder/anything.rb
|
149
|
-
- test/builder/comment.ru
|
150
|
-
- test/builder/end.ru
|
151
|
-
- test/builder/line.ru
|
152
|
-
- test/builder/options.ru
|
153
|
-
- test/cgi/assets/folder/test.js
|
154
|
-
- test/cgi/assets/fonts/font.eot
|
155
|
-
- test/cgi/assets/images/image.png
|
156
|
-
- test/cgi/assets/index.html
|
157
|
-
- test/cgi/assets/javascripts/app.js
|
158
|
-
- test/cgi/assets/stylesheets/app.css
|
159
|
-
- test/cgi/lighttpd.conf
|
160
|
-
- test/cgi/rackup_stub.rb
|
161
|
-
- test/cgi/sample_rackup.ru
|
162
|
-
- test/cgi/test
|
163
|
-
- test/cgi/test+directory/test+file
|
164
|
-
- test/cgi/test.fcgi
|
165
|
-
- test/cgi/test.gz
|
166
|
-
- test/cgi/test.ru
|
167
|
-
- test/gemloader.rb
|
168
|
-
- test/helper.rb
|
169
|
-
- test/multipart/bad_robots
|
170
|
-
- test/multipart/binary
|
171
|
-
- test/multipart/content_type_and_no_filename
|
172
|
-
- test/multipart/empty
|
173
|
-
- test/multipart/fail_16384_nofile
|
174
|
-
- test/multipart/file1.txt
|
175
|
-
- test/multipart/filename_and_modification_param
|
176
|
-
- test/multipart/filename_and_no_name
|
177
|
-
- test/multipart/filename_with_encoded_words
|
178
|
-
- test/multipart/filename_with_escaped_quotes
|
179
|
-
- test/multipart/filename_with_escaped_quotes_and_modification_param
|
180
|
-
- test/multipart/filename_with_null_byte
|
181
|
-
- test/multipart/filename_with_percent_escaped_quotes
|
182
|
-
- test/multipart/filename_with_single_quote
|
183
|
-
- test/multipart/filename_with_unescaped_percentages
|
184
|
-
- test/multipart/filename_with_unescaped_percentages2
|
185
|
-
- test/multipart/filename_with_unescaped_percentages3
|
186
|
-
- test/multipart/filename_with_unescaped_quotes
|
187
|
-
- test/multipart/ie
|
188
|
-
- test/multipart/invalid_character
|
189
|
-
- test/multipart/mixed_files
|
190
|
-
- test/multipart/nested
|
191
|
-
- test/multipart/none
|
192
|
-
- test/multipart/quoted
|
193
|
-
- test/multipart/rack-logo.png
|
194
|
-
- test/multipart/semicolon
|
195
|
-
- test/multipart/text
|
196
|
-
- test/multipart/three_files_three_fields
|
197
|
-
- test/multipart/unity3d_wwwform
|
198
|
-
- test/multipart/webkit
|
199
|
-
- test/rackup/config.ru
|
200
|
-
- test/registering_handler/rack/handler/registering_myself.rb
|
201
|
-
- test/spec_auth_basic.rb
|
202
|
-
- test/spec_auth_digest.rb
|
203
|
-
- test/spec_body_proxy.rb
|
204
|
-
- test/spec_builder.rb
|
205
|
-
- test/spec_cascade.rb
|
206
|
-
- test/spec_cgi.rb
|
207
|
-
- test/spec_chunked.rb
|
208
|
-
- test/spec_common_logger.rb
|
209
|
-
- test/spec_conditional_get.rb
|
210
|
-
- test/spec_config.rb
|
211
|
-
- test/spec_content_length.rb
|
212
|
-
- test/spec_content_type.rb
|
213
|
-
- test/spec_deflater.rb
|
214
|
-
- test/spec_directory.rb
|
215
|
-
- test/spec_etag.rb
|
216
|
-
- test/spec_events.rb
|
217
|
-
- test/spec_fastcgi.rb
|
218
|
-
- test/spec_file.rb
|
219
|
-
- test/spec_handler.rb
|
220
|
-
- test/spec_head.rb
|
221
|
-
- test/spec_lint.rb
|
222
|
-
- test/spec_lobster.rb
|
223
|
-
- test/spec_lock.rb
|
224
|
-
- test/spec_logger.rb
|
225
|
-
- test/spec_media_type.rb
|
226
|
-
- test/spec_method_override.rb
|
227
|
-
- test/spec_mime.rb
|
228
|
-
- test/spec_mock.rb
|
229
|
-
- test/spec_multipart.rb
|
230
|
-
- test/spec_null_logger.rb
|
231
|
-
- test/spec_recursive.rb
|
232
|
-
- test/spec_request.rb
|
233
|
-
- test/spec_response.rb
|
234
|
-
- test/spec_rewindable_input.rb
|
235
|
-
- test/spec_runtime.rb
|
236
|
-
- test/spec_sendfile.rb
|
237
|
-
- test/spec_server.rb
|
238
|
-
- test/spec_session_abstract_id.rb
|
239
|
-
- test/spec_session_abstract_session_hash.rb
|
240
|
-
- test/spec_session_cookie.rb
|
241
|
-
- test/spec_session_memcache.rb
|
242
|
-
- test/spec_session_persisted_secure_secure_session_hash.rb
|
243
|
-
- test/spec_session_pool.rb
|
244
|
-
- test/spec_show_exceptions.rb
|
245
|
-
- test/spec_show_status.rb
|
246
|
-
- test/spec_static.rb
|
247
|
-
- test/spec_tempfile_reaper.rb
|
248
|
-
- test/spec_thin.rb
|
249
|
-
- test/spec_urlmap.rb
|
250
|
-
- test/spec_utils.rb
|
251
|
-
- test/spec_version.rb
|
252
|
-
- test/spec_webrick.rb
|
253
|
-
- test/static/another/index.html
|
254
|
-
- test/static/foo.html
|
255
|
-
- test/static/index.html
|
256
|
-
- test/testrequest.rb
|
257
|
-
- test/unregistered_handler/rack/handler/unregistered.rb
|
258
|
-
- test/unregistered_handler/rack/handler/unregistered_long_one.rb
|
259
163
|
homepage: https://rack.github.io/
|
260
164
|
licenses:
|
261
165
|
- MIT
|
262
|
-
metadata:
|
166
|
+
metadata:
|
167
|
+
bug_tracker_uri: https://github.com/rack/rack/issues
|
168
|
+
changelog_uri: https://github.com/rack/rack/blob/master/CHANGELOG.md
|
169
|
+
documentation_uri: https://rubydoc.info/github/rack/rack
|
170
|
+
homepage_uri: https://rack.github.io
|
171
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/rack-devel
|
172
|
+
source_code_uri: https://github.com/rack/rack
|
263
173
|
post_install_message:
|
264
174
|
rdoc_options: []
|
265
175
|
require_paths:
|
@@ -279,56 +189,4 @@ rubygems_version: 3.4.1
|
|
279
189
|
signing_key:
|
280
190
|
specification_version: 4
|
281
191
|
summary: a modular Ruby webserver interface
|
282
|
-
test_files:
|
283
|
-
- test/spec_auth_basic.rb
|
284
|
-
- test/spec_auth_digest.rb
|
285
|
-
- test/spec_body_proxy.rb
|
286
|
-
- test/spec_builder.rb
|
287
|
-
- test/spec_cascade.rb
|
288
|
-
- test/spec_cgi.rb
|
289
|
-
- test/spec_chunked.rb
|
290
|
-
- test/spec_common_logger.rb
|
291
|
-
- test/spec_conditional_get.rb
|
292
|
-
- test/spec_config.rb
|
293
|
-
- test/spec_content_length.rb
|
294
|
-
- test/spec_content_type.rb
|
295
|
-
- test/spec_deflater.rb
|
296
|
-
- test/spec_directory.rb
|
297
|
-
- test/spec_etag.rb
|
298
|
-
- test/spec_events.rb
|
299
|
-
- test/spec_fastcgi.rb
|
300
|
-
- test/spec_file.rb
|
301
|
-
- test/spec_handler.rb
|
302
|
-
- test/spec_head.rb
|
303
|
-
- test/spec_lint.rb
|
304
|
-
- test/spec_lobster.rb
|
305
|
-
- test/spec_lock.rb
|
306
|
-
- test/spec_logger.rb
|
307
|
-
- test/spec_media_type.rb
|
308
|
-
- test/spec_method_override.rb
|
309
|
-
- test/spec_mime.rb
|
310
|
-
- test/spec_mock.rb
|
311
|
-
- test/spec_multipart.rb
|
312
|
-
- test/spec_null_logger.rb
|
313
|
-
- test/spec_recursive.rb
|
314
|
-
- test/spec_request.rb
|
315
|
-
- test/spec_response.rb
|
316
|
-
- test/spec_rewindable_input.rb
|
317
|
-
- test/spec_runtime.rb
|
318
|
-
- test/spec_sendfile.rb
|
319
|
-
- test/spec_server.rb
|
320
|
-
- test/spec_session_abstract_id.rb
|
321
|
-
- test/spec_session_abstract_session_hash.rb
|
322
|
-
- test/spec_session_cookie.rb
|
323
|
-
- test/spec_session_memcache.rb
|
324
|
-
- test/spec_session_persisted_secure_secure_session_hash.rb
|
325
|
-
- test/spec_session_pool.rb
|
326
|
-
- test/spec_show_exceptions.rb
|
327
|
-
- test/spec_show_status.rb
|
328
|
-
- test/spec_static.rb
|
329
|
-
- test/spec_tempfile_reaper.rb
|
330
|
-
- test/spec_thin.rb
|
331
|
-
- test/spec_urlmap.rb
|
332
|
-
- test/spec_utils.rb
|
333
|
-
- test/spec_version.rb
|
334
|
-
- test/spec_webrick.rb
|
192
|
+
test_files: []
|