Update MultiJson.encode => MultiJson.dump #319

wants to merge 2 commits into


None yet

2 participants


MultiJson.encode is deprecated and gives warnings.


this requires multi_json ~> 1.3.0, which I added to the gemspec.

Otherwise, I would recommend updating the gemspec to set multi_json to "~> 1.2.0" so as not to break the library when multi_json 1.4.0 comes out and deprecates the methods used, as "~> 1.2" will match "1.4".

xoxo @ngauthier



I'm not changing the gemspec from "~> 1.0". That needs to stay until sprockets 2.0.

We're going to have to feature detect the new api.

@josh josh closed this Apr 26, 2012

nice. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment