active_record_jsonb_with_indifferent_access 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 709129953589e3d0ed50a94acac5a89cfd229ff0698f4abf1afbdad725f4b394
4
- data.tar.gz: 8a8091e6fe4f4f1ff50eb9df2294d9a042df1d60128015c01ee784cf637bd704
3
+ metadata.gz: 55be45f00d1cd98b1fce18817998cc758a1c65f2b23dc917df728b0ea543a811
4
+ data.tar.gz: 003635fcdca27a0aaf1c00ceaeba3c836dd8df22076a370a81efe05aa75bc2d6
5
5
  SHA512:
6
- metadata.gz: 9b8e8cfd43870155d1ef4063f1a5ad5ebd89206a6a598e66c39c2cbf34dfd05c554645f0ad4a6d73d3c024738a690089296bc678190b89db980f486c371ff1dc
7
- data.tar.gz: d882e5944fc29618fab0aeec961fe01361d0b5418c49c5620afe74e0a4d7df10192f22281dc376e4385220dbb1874ec310d8aff3d2e06d9a8bf43149cd6eaae2
6
+ metadata.gz: 8ca31070f30c3ab927c0044002f6cb38281e9f626ad0072784283e02632705e09f19517de6fb7846aa3681b087046709fe45cc12326a49501af462c52c8074e9
7
+ data.tar.gz: 11b703369761a6f2e8e06c45c892b763dc925f1c9f2c03e9e6d8f562a25d8381bc218eda3c58bed20d8a1f342b18b59c8587481bde80a75fa21d72ff39a112e7
@@ -15,7 +15,7 @@ module ActiveRecordJsonbWithIndifferentAccess
15
15
  class UnsupportedDataType < StandardError; end;
16
16
 
17
17
  def self.load(obj)
18
- obj = JSON.load(str) if obj.is_a?(String)
18
+ obj = JSON.load(obj) if obj.is_a?(String)
19
19
  indifferent_access(obj)
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordJsonbWithIndifferentAccess
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_jsonb_with_indifferent_access
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway