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

Minor fixes #178

Merged
merged 4 commits into from
May 5, 2020
Merged

Minor fixes #178

merged 4 commits into from
May 5, 2020

Conversation

andrykonchin
Copy link
Collaborator

@andrykonchin andrykonchin commented May 4, 2020

Minor refactoring and fixes

Changes:

  • Rack::Backstage - minor refactoring
  • Rack::JSONP - minor refactoring
  • Rack::MailExcpetion, Rack::NestedParams - removed excessive condition
  • Rack::Signals - fixed issue with closing original response body

Unfortunately there is no any test for Rack::Signals so I didn't add any. Let me know if test for the fix is still required.

The condition was needed to support old Ruby versions. As far as Rack::Contrib supports Ruby from v2.2 all the versions have String#bytesize method
…nditional .

`'rack.input'` should always support `rewind` method
@ioquatix ioquatix merged commit bee849e into rack:master May 5, 2020
@ioquatix
Copy link
Member

ioquatix commented May 5, 2020

Thanks for your effort! Looks good to me. Rack::Signals bleh :p

@andrykonchin andrykonchin deleted the minor-fixes branch May 5, 2020 07:51
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.

2 participants