omniauth-identity
omniauth-identity copied to clipboard
Update rack-test requirement from ~> 1 to ~> 2
Updates the requirements on rack-test to permit the latest version.
Changelog
Sourced from rack-test's changelog.
2.0.0 / 2022-06-24
Breaking changes:
- Digest authentication support is now deprecated, as it relies on digest authentication support in rack, which has been deprecated (Jeremy Evans #294)
Rack::Test::Utils.build_primitive_part
no longer handles array values (Jeremy Evans #292)Rack::Test::Utils
module methods other thanbuild_nested_query
andbuild_multipart
are now private methods (Jeremy Evans #297)Rack::MockSession
has been combined intoRack::Test::Session
, and remains as an alias toRack::Test::Session
, but to keep some backwards compatibility,Rack::Test::Session.new
will accept aRack::Test::Session
instance and return it (Jeremy Evans #297)- Previously protected methods in
Rack::Test::Cookie{,Jar}
are now private methods (Jeremy Evans #297)Rack::Test::Methods
no longer definesbuild_rack_mock_session
, but for backwards compatibility,build_rack_test_session
will callbuild_rack_mock_session
if it is defined (Jeremy Evans #297)Rack::Test::Methods::METHODS
is no longer defined (Jeremy Evans #297)Rack::Test::Methods#_current_session_names
has been removed (Jeremy Evans #297)- Headers used/accessed by rack-test are now lower case, for rack 3 compliance (Jeremy Evans #295)
- Frozen literal strings are now used internally, which may break code that mutates static strings returned by rack-test, if any (Jeremy Evans #304)
Minor enhancements:
- rack-test now works with the rack main branch (what will be rack 3) (Jeremy Evans #280 #292)
- rack-test only loads the parts of rack it uses when running on the rack main branch (what will be rack 3) (Jeremy Evans #292)
- Development dependencies have been significantly reduced, and are now a subset of the development dependencies of rack itself (Jeremy Evans #292)
- Avoid creating multiple large copies of uploaded file data in memory (Jeremy Evans #286)
- Specify HTTP/1.0 when submitting requests, to avoid responses with Transfer-Encoding: chunked (Jeremy Evans #288)
- Support
:query_params
in rack environment for parameters that are appended to the query string instead of used in the request body (Jeremy Evans #150 #287)- Reduce required ruby version to 2.0, since tests run fine on Ruby 2.0 (Jeremy Evans #292)
- Support :multipart env key for request methods to force multipart input (Jeremy Evans #303)
- Force multipart input for request methods if content type starts with multipart (Jeremy Evans #303)
... (truncated)
Commits
ab9ba9c
Release 2.0.0db68e09
Update release instructionse917654
Add metadata to gemspecfaacaff
Fix typos in History since 1.1.03ffbd61
Remove whitespace rake task9589190
Avoid undefined instance variable warning on Ruby 2.x70624da
Switch to more common frozen string literal magic comment1208ddc
Update History551fd05
Double the speed for Utils.build_nested_query for handling large arrays1ffd860
Use a buffer based approach for building multipart bodies- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)