projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This should resolve the issue with Kernel#load.
[arvados.git]
/
lib
/
compat
/
multi_json.rb
1
gem 'multi_json', '>= 1.0.0'
2
require 'multi_json'
3
4
if !MultiJson.respond_to?(:load) || MultiJson.method(:load).owner == Kernel
5
module MultiJson
6
class <<self
7
alias :load :decode
8
end
9
end
10
end
11
if !MultiJson.respond_to?(:dump)
12
module MultiJson
13
class <<self
14
alias :dump :encode
15
end
16
end
17
end