-
Notifications
You must be signed in to change notification settings - Fork 323
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
Problematic Sinatra dependency #159
Comments
Thanks @skalee! I've added this to our backlog for further review. @awwa, do you have any thoughts on this one? Reference: http://guides.rubyonrails.org/5_0_release_notes.html (requires ruby 2.2.2+) |
Hi @thinkingserious , @skalee, |
@thinkingserious
# spec.add_dependency 'sinatra', '~> 1.4.7'
spec.add_dependency 'sinatra', '2.0.0.rc2'
|
Hello, just experienced the same problem that @skalee mentioned. Is there a plan for a release soon? How can we help? Technical details:
|
Hi @gkats, The best way to help is with a PR. For now, I've added your vote to the issue to help it rise faster through our backlog. Thanks! With Best Regards, Elmer |
@thinkingserious On it 😄 |
Fixes breaking change introduced in bd72df0 (sendgrid#160), and also fixes the issue reported in sendgrid#159.
Now the only allowed dependency is a Sinatra's release candidate, which isn't good at all. And the Rack 1.x applications compatibility is broken (that is, still popular Rails 4 won't work). |
Thanks for the fix @skalee! |
Why is the Sinatra dependency even there at all? It seems like that should be in a separate gem? |
You are correct, in the new version of this library, we will likely break out the inbound parser into its own gem like we just did with Node.js. If you have further feedback about the this SDKs refactor, please let us know here. Thanks for taking the time to give us some feedback! With Best Regards, Elmer |
Issue Summary
Recently released version 4.1 introduces Sinatra ~> 1.4.7 as a dependency, and that Sinatra version depends on Rack ~> 1.5. In the result, Sendgrid-Ruby is now incompatible with Rails 5 which requires Rack ~> 2.0.
Sinatra 2 works with Rack 2.0. Two release candidates have been pushed to RubyGems already.
Technical details:
The text was updated successfully, but these errors were encountered: