… not jruby)
…back in the future
… :test grouping
--- This patch: 1. Removes the ActiveSupport::JSON engine so that Rails 3.1 can avoid a circular dependency when the Sprockets and ExecJS libraries require MultiJSON. (As the original author of ActiveSupport::JSON, Ill also be pushing for Rails to remove it and defer to MultiJSON instead.) 2. Bundles the [OkJson](https://github.com/kr/okjson) library and adds an Okjson engine that will be used if no other engines are available.
Instead of trying to mangle the required library name to get the symbol, map the libraries to their symbols, this way it'll also be much more extensible in the future.
Don't fail to load the Rakefile if rspec is not present, instead print an error message and skip further along.
This allows for proper spec running on implementations such as JRuby where yajl cannot be loaded.
Since the gem may well be used without Bundler at all, don't force its presence during the spec running.
The check_dependencies task exists only when Jeweler is installed; if it is not, don't add it as a dependency.