gdatastore_cache_store 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
  SHA1:
3
- metadata.gz: 41dc3d10d34e182bdda727e6306b343fb3c6dce2
4
- data.tar.gz: 3248b7d6243f8fd891c34b04513513db11cfb8a2
3
+ metadata.gz: b1a3706a3197754a40bf1fa3dfc570aea1504533
4
+ data.tar.gz: 5d952a42425ad4610c8c10d841fb3d904057e618
5
5
  SHA512:
6
- metadata.gz: 8a94b000118680f1695f83deb55a6d2b370274954f34666e40bf8e081decf096321521ea9f3477eb4c192d5ca37b847c2df30f9264012ce486d8c531b3d7e6ce
7
- data.tar.gz: 3a1207c759c78ce0b6e12d84f9083e130c5f15dfc12b28c0a0198afefe0cbea84679853d05dc2ed4d92160ffe39c49bf48b8674ff86901d428d642de09ca2c9b
6
+ metadata.gz: 74398a2fc43c3551071a6502d19fa618446c040205e2f2a94e9adf052fc3a36edd6da271edb530fb1c86a500b5d37d1caa2e57e3a51c34c8411186817c5ad65b
7
+ data.tar.gz: 65db20d8ea4dc02586a856531e6457368882204ea25cfc3e1399963e54ecc3fcb148e668b4a07fcf50d5c527efdebd89e15b50adab197019a53f402ce2f36e0f
@@ -1,3 +1,3 @@
1
1
  class GdatastoreCacheStore
2
- version = VERSION = "0.1.0"
2
+ version = VERSION = "0.1.1"
3
3
  end
@@ -25,7 +25,7 @@ class GdatastoreCacheStore
25
25
  value = result['value']
26
26
  return unless value.present?
27
27
 
28
- result['kind'] == 'Hash' ? JSON.parse(value) : value
28
+ result['kind'] == 'Hash' ? JSON.parse(value).with_indifferent_access : value
29
29
  end
30
30
 
31
31
  def write(key, value, _ = nil)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdatastore_cache_store
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
  - Julien Séveno