Permalink
Browse files

Relax multi_json dependency

Closes #339.
  • Loading branch information...
1 parent 1667392 commit 46327e740a03ec783cb62863d40eef5efa68c0cb @sferik committed Jan 8, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/twitter/response/parse_json.rb
  2. +1 −1 twitter.gemspec
@@ -10,7 +10,7 @@ def parse(body)
when /\A^\s*$\z/, nil
nil
else
- MultiJson.load(body, :symbolize_keys => true)
+ MultiJson.decode(body, :symbolize_keys => true)
end
end
View
@@ -3,7 +3,7 @@ require File.expand_path('../lib/twitter/version', __FILE__)
Gem::Specification.new do |spec|
spec.add_dependency 'faraday', ['~> 0.8', '< 0.10']
- spec.add_dependency 'multi_json', ['~> 1.3']
+ spec.add_dependency 'multi_json', ['~> 1.0']
spec.add_dependency 'simple_oauth', ['~> 0.2']
spec.add_development_dependency 'kramdown'
spec.add_development_dependency 'pry'

0 comments on commit 46327e7

Please sign in to comment.