tumblr_wrapper 0.3.2 → 0.3.3

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.
@@ -18,7 +18,7 @@ class TumblrWrapper::Response
18
18
 
19
19
  def parse_meta
20
20
  resp = faraday_response.body["meta"] || {}
21
- @meta = resp.with_indifferent_access
21
+ @meta = resp.respond_to?(:keys) ? resp.with_indifferent_access : resp
22
22
  end
23
23
 
24
24
  def method_missing(meth, *args, &block)
@@ -1,3 +1,3 @@
1
1
  module TumblrWrapper
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 2
9
- version: 0.3.2
8
+ - 3
9
+ version: 0.3.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - rheaton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-08-03 00:00:00 -04:00
17
+ date: 2012-08-07 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency