Remove too much checking
This commit is contained in:
parent
f9ccc6efdf
commit
6e40390d26
|
@ -2,7 +2,7 @@ gem 'multi_json', '>= 1.0.0'
|
|||
require 'multi_json'
|
||||
|
||||
if !MultiJson.respond_to?(:load) || [
|
||||
defined?(Kernel) && Kernel,
|
||||
Kernel,
|
||||
defined?(ActiveSupport::Dependencies::Loadable) && ActiveSupport::Dependencies::Loadable
|
||||
].compact.include?(MultiJson.method(:load).owner)
|
||||
module MultiJson
|
||||
|
|
Loading…
Reference in New Issue