defunkt/resque — pull request #570 by arsduo (2012-04-16 13:10:59+00:00)
Title: Use newer MultiJson syntax if available (silence deprecation warnings)

A small pull request to see if the newer MultiJson syntax (MultiJson.adapter instead of .engine, .load instead of .decode, .dump instead of .encode) is available, and if so to use that. This change silences deprecation warnings in the current version of MultiJson, and will make Resque compatible with the next major release, which will remove the old methods.

See https://github.com/intridea/multi_json/blob/master/lib/multi_json.rb#L45.

All Resque tests pass; while there are none specifically for MultiJson, I've run our app's test suite using this fork and those tests pass as well.

Thanks for the awesome gem!