twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.35k stars 462 forks source link

fix: Promote rack to runtime dependency because of 5.63.1 #593

Closed kaiuhl closed 2 years ago

kaiuhl commented 2 years ago

Fixes #592

5.63.1 (specifically 9d69b6ef78c93e43e73e968685e3cd44342bd537) introduced a reliance on rack/media_type which was previously only a development dependency of this gem.

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

philnash commented 2 years ago

Including a rack middleware is only important when rack is part of the application. Rather than add another runtime dependency, we've changed this in #602 so that if Rack is not present, the middleware doesn't get loaded. Version 5.65.1 was just released with this update, so you can now install the latest version and it will work again.

philnash commented 2 years ago

Thank you for contributing though!