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

Drop Json version to 1.8 to support Rails 4.2.x #596

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

pawandubey
Copy link
Contributor

@pawandubey pawandubey commented Mar 7, 2017

Fixes #595
Json 1.8.5 actually included some fixes to support Rails 4.2 ruby/json#311

Koala can't be used with Rails 4.2 right now because it depends on Json 2, whereas Rails 4.2 expects Json 1.x. Dropping the version to 1.8 fixes the incompatibility.

  • My PR has tests and they pass!
  • The live tests pass for my changes (LIVE=true rspec -- unrelated failures are okay).
  • The PR is based on the most recent master commit and has no merge conflicts.

to make it work with Rails 4.2.x
@arsduo
Copy link
Owner

arsduo commented Mar 7, 2017 via email

@@ -25,5 +25,5 @@ Gem::Specification.new do |gem|

gem.add_runtime_dependency("faraday")
gem.add_runtime_dependency("addressable")
gem.add_runtime_dependency("json", ">= 2.0")
gem.add_runtime_dependency("json", "~> 1.8")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually going to update this to be >= 1.8 -- otherwise it wouldn't work with 2.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@arsduo arsduo merged commit 3e2f505 into arsduo:master Mar 8, 2017
@pratik60
Copy link

@pawandubey I saw a koala upgrade to 3.0, and was wondering if someone from adwyze got a commit in. Sweet!

giphy 4

@pawandubey
Copy link
Contributor Author

@pratik60 Haha, we got more commits than this in, check the changelog 😛 Was about time, I'd say.

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.

Rails 4.2 support
3 participants