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

Update marcel to rack 3 #83

Closed
wants to merge 2 commits into from
Closed

Update marcel to rack 3 #83

wants to merge 2 commits into from

Conversation

hahmed
Copy link
Contributor

@hahmed hahmed commented Dec 24, 2022

Update marcel to rack 3.

The InputWrapper is no longer rewindable (https://github.com/rack/rack/blob/a7d56490fd2fb41de8c94ead2f63fbad71c5c489/lib/rack/lint.rb#L405), so i wrapped the input into a new rewindable object but maybe it might be better to simply read the content only and improve the current logic to take that into consideration.

I also added a bin/test file to make it easier to test a specific file or run bin/test for all tests.

@jeremy
Copy link
Member

jeremy commented Mar 1, 2024

Rewindability is an upstream concern; can use the Rack::RewindableInput::Middleware in Rack 3.

Updated the tests to only cover the rewindable input wrapper in Rack 2: ccd4be5

@jeremy jeremy closed this Mar 1, 2024
@hahmed hahmed deleted the ha/update-rack branch March 20, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants