Digest authentication support, deprecated in 2.0.0, has been
removed (Jeremy Evans #307)
requiring rack/mock_session, deprecated in 2.0.0, has been removed
(Jeremy Evans #307)
Minor enhancements:
The original_filename for Rack::Test::UploadedFile can now be
set even if the content of the file comes from a file path
(Stuart Chinery #314)
Add Rack::Test::Session#restore_state, for executing a block
and restoring current state (last request, last response, and
cookies) after the block (Jeremy Evans #316)
Make Rack::Test::Methods support default_host method similar to
app, which will set the default host used for requests to the app
(Jeremy Evans #317#318)
Allow responses to set cookie paths not matching the current
request URI. Such cookies will only be sent for paths matching
the cookie path (Chris Waters #322)
Ignore leading dot for cookie domains, per RFC 6265 (Stephen Crosby
#329)
Avoid creating empty multipart body if params is empty in
Rack::Test::Session#env_for (Ryunosuke Sato #331)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps rack-test from 2.0.2 to 2.1.0.
Changelog
Sourced from rack-test's changelog.
Commits
867a6f1
Release 2.1.044e8be4
Update History.md5a2a3bf
Don't raise error with empty params and multipart headerfebbea4
Update CHANGELOG79c5077
Fix tests when rack master branch is used70f4db2
Ignore leading dot when merging cookies73c7174
Bump cgi version in Ruby 3.1 CI test8fb4fb2
Add CI for Ruby 3.210e7040
Test JRuby 9.4 in CI2036831
change order of arguments forassert_equal
example in READMEYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)