Update MultiJson.encode => MultiJson.dump #319

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

@ngauthier

MultiJson.encode is deprecated and gives warnings.

@ngauthier

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

@josh

Gah.

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
@ngauthier

nice. Thanks!

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