lib/tracker_api.rb in tracker_api-0.2.11 vs lib/tracker_api.rb in tracker_api-0.2.12
- old
+ new
@@ -9,17 +9,18 @@
else
require 'core_ext/object/blank'
end
require 'equalizer'
require 'representable/json'
-require 'oj'
+require 'multi_json'
# stdlib
require 'addressable/uri'
require 'forwardable'
require 'logger'
-Oj.default_options = {:mode => :compat }
+MultiJson.load_options = {:mode => :compat}
+MultiJson.dump_options = {:mode => :compat}
module TrackerApi
autoload :Error, 'tracker_api/error'
autoload :Client, 'tracker_api/client'
autoload :Logger, 'tracker_api/logger'