You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hi @thinkingserious , @skalee,
Sinatra ~> 1.4.7 is not compatible with rails 5. It is better to investigate the compatibility with sinatra 2.0 rc and rails 5 because there might be conflict any other gems. I will check.
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).
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!
Activity
thinkingserious commentedon Apr 10, 2017
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+)
awwa commentedon Apr 19, 2017
Hi @thinkingserious , @skalee,
Sinatra ~> 1.4.7 is not compatible with rails 5. It is better to investigate the compatibility with sinatra 2.0 rc and rails 5 because there might be conflict any other gems. I will check.
awwa commentedon Apr 19, 2017
@thinkingserious
I checked with ruby 2.3.3 and 2.4.0. It seems no problem. All process was fine. Here is the report.
sendgrid-ruby.gemspecfile.All tests are fine.
gkats commentedon Apr 24, 2017
Hello, just experienced the same problem that @skalee mentioned. Is there a plan for a release soon? How can we help?
Technical details:
thinkingserious commentedon Apr 25, 2017
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
gkats commentedon Apr 25, 2017
@thinkingserious On it 😄
Relax Sinatra dependency
skalee commentedon May 2, 2017
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).
thinkingserious commentedon May 2, 2017
Thanks for the fix @skalee!
mull commentedon Jul 25, 2017
Why is the Sinatra dependency even there at all? It seems like that should be in a separate gem?
thinkingserious commentedon Jul 25, 2017
@mull,
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
This avoids the rack conflict. Change from sendgrid#159