ar_http_wrapper 0.2.4 → 0.2.5

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.
@@ -54,9 +54,9 @@ class ActiveRecordHttpWrapper
54
54
 
55
55
  def self._parsed(to_parse)
56
56
  if to_parse.is_a?(Array)
57
- to_parse.map{|_j| OpenStruct.new JSON.parse(_j.to_s).symbolize_keys}
57
+ to_parse.map{|_j| OpenStruct.new _j}
58
58
  else
59
- OpenStruct.new JSON.parse(to_parse.to_s).try(:symbolize_keys)
59
+ OpenStruct.new to_parse
60
60
  end
61
61
  end
62
62
 
@@ -1,3 +1,3 @@
1
1
  module ArHttpWrapper
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_http_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: