Skip to content

Commit

Permalink
Relax multi_json dependency
Browse files Browse the repository at this point in the history
Closes #339.
  • Loading branch information
sferik committed Jan 8, 2013
1 parent 1667392 commit 46327e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/twitter/response/parse_json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion twitter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 46327e7

Please sign in to comment.