dillo 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/dillo.rb +3 -2
  2. metadata +2 -2
@@ -1,5 +1,5 @@
1
1
  require 'faraday_middleware'
2
- require 'multi_json'
2
+ require 'json'
3
3
 
4
4
  module Dillo
5
5
  VERSION = '0.1'
@@ -63,7 +63,8 @@ module Dillo
63
63
  # For some reason ruby 1.9.x seems to be trying to parse the
64
64
  # API JSON output as ASCII instead of UTF-8
65
65
  #body.force_encoding("UTF-8") unless body.nil? || !body.respond_to?(:force_encoding)
66
- @json ||= MultiJson.decode(body)
66
+ #puts body
67
+ json ||= body
67
68
  end
68
69
 
69
70
  def inspect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dillo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-19 00:00:00.000000000 Z
12
+ date: 2012-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday_middleware