http_store 0.3.16 → 0.3.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65a49997a9d1583a1ea4d2b2e9e4eb133afe174a6c1db1b301f756897e33ab38
4
- data.tar.gz: 8dd16df5450d657e0c82b65e34a18b19360dcbe4cc8a5f1e4a500077b71487d6
3
+ metadata.gz: da056a1e564bf42b443962707e49308c3e1c5e222c44493bd52d367b973ee798
4
+ data.tar.gz: 2854411ad62414afd8452544fe052790363274cf8b7210c22b04042c01e363fc
5
5
  SHA512:
6
- metadata.gz: 398000288fe794bba74b4d0b6c9ef6c83ca44278dd895f43afc88293909365a17c5cb3cef058491a7ac3d0430b19760223558dbed5924b690f42878b45935e81
7
- data.tar.gz: aa3cce3e5505bb6714d639e2f7062c6f514bfef1d1a1fd1640e925c125daa0127bb5243b5b79714e3952963fc39f443fa2c733cc58326ffba626dd430a8d9d0a
6
+ metadata.gz: 9c8ef4d7c8f3b38fe2407cc80ef08048a346e841d881d5afdc9c4e38c02d6116f5a524fb94a318e26ff721adca6003dc9a6922307b6b4156ca360b22da521cb3
7
+ data.tar.gz: 4f56d52246285dff9d89eb5a376c84651c4cfabbbed3029dd2db66e16135491bfd80b7a787f9a421097f3007d6bfa6a50b84ccbe2951a0b7e911cc0cf0ef9455
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- http_store (0.3.16)
4
+ http_store (0.3.17)
5
5
  activerecord (>= 5.0, < 6.1)
6
6
  hashie (~> 3.0)
7
7
  rails (>= 5, < 7)
@@ -52,8 +52,10 @@ module HttpStore
52
52
  when String
53
53
  json = JSON.parse(value) rescue nil
54
54
  json ? storable(json) : storable_string(value)
55
- else
55
+ when TrueClass, FalseClass, NilClass, Numeric
56
56
  value
57
+ else
58
+ storable_string(value.to_s)
57
59
  end
58
60
  end
59
61
 
@@ -1,3 +1,3 @@
1
1
  module HttpStore
2
- VERSION = "0.3.16"
2
+ VERSION = "0.3.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - black