| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add test:separate task to test run each test file separately.
This is to test that directly requiring a rack component will work.
With test:separate, the test helper will not require rack, and each
test file should call separate_testing with a block that uses
require_relative to only require that component being tested.
Add the appropriate relative requires to get all tests passing
when run separately.
Note that this isn't foolproof. In many cases, the tests use
Rack components that are not under test (such as lint and mock),
and both of those other other rack components, so it's possible
the tests are loading hidden dependencies. I attempted to check
each component to try to find the hidden dependencies, but it is
certainly possible I missed something.
Implements #1621.
|
|
|
|
|
|
| |
For some reason, the test helper was only used by a single spec file.
This uses it for all spec files. While here, rely on autoload
loading the libraries instead of loading everything manually.
|
|
|
|
| |
Global expectations have been deprecated in minitest and will start fail in the upcoming major release. Right now it results in multiple warnings. We need to allow them explicitly. Also fixing spacing style in gemspec.
|
| |
|
|
|
|
| |
See https://github.com/rack/rack/issues/1243 for history of this task
|
|
|
|
| |
`must_be_nil` if expecting nil.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* master:
Cleanup older code than Ruby 2.0+ one
extract a `make_cookie_header` method
Fix encoding issue in source files
Use ::Encoding instead of Parser::Encoding
FIX: Backwards compatibility with soupy data
Force encoding of parsed filename
Feature: Provided support for non-ascii character in public header
Simplify regular expressions and extract the extended filename
Move RFC2183 constant too
Start updating definitions for RFC 2231
Add failing test
replace OkJson in favor of the JSON gem
Constantize all rack environment variables and make them frozen
set the logger to nil
update history
Added media_type methods in Rack::Response
raise an exception if the parameters are too deep
Handle param parsing errors in MethodOverride silently
Conflicts:
rack.gemspec
test/spec_chunked.rb
test/spec_lint.rb
test/spec_multipart.rb
test/spec_request.rb
test/spec_session_cookie.rb
test/spec_utils.rb
test/spec_version.rb
|
|
|