Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rack 3.1 compatibility #2035

Merged
merged 6 commits into from
Jul 11, 2024
Merged

Rack 3.1 compatibility #2035

merged 6 commits into from
Jul 11, 2024

Conversation

dentarg and others added 5 commits July 11, 2024 10:50
Use Rack 3.0 for most jobs for now.
Not sure why some jobs was allowed to fail, try without that.
Rack::Logger was removed in Rack 3.2.

Close sinatra#2018

Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
The class name changed in rack/rack@3936b90

We have been here before, for example with sinatra@1dfae3d

This was hidden until Rack 3.1, from Samuel Williams[1]:

> It was being inadvertently added back in by Response#buffered_body!
> (invoked by MockResponse#initialize). In other words, it appears that
> the test is wrong, or Sinatra's code is wrong, and this wrongness was
> hidden by the previous implementation of MockResponse inadvertently
> adding the content-length header when none existed in the response
> itself.

1: rack/rack#2219 (comment)
@dentarg dentarg mentioned this pull request Jul 11, 2024
3 tasks
We got that Rack release we needed (3.1.7).

Close sinatra#2014
@dentarg dentarg merged commit aa7d44a into sinatra:main Jul 11, 2024
25 checks passed
@dentarg dentarg deleted the rack-compatibility branch July 11, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant