go_secure 0.62 → 0.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/go_secure.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23672006525e9b8d00c32febe3e51c7f0b7f622a
4
- data.tar.gz: 9cf3d608a364304aa1f1f4d57be6d5e9d429b767
3
+ metadata.gz: d6a514fabf4affc7b4bc7b7a5dd6c07b001dcc5b
4
+ data.tar.gz: b8c9d38060b0a9fc4f2773cc057da13a6276e539
5
5
  SHA512:
6
- metadata.gz: '019ef5cccca1afc672ce75c5370d63ee4135e1a584179a9eb7a056f54c3a4c9bd72cbdb2194e3e0dafb440aaebefbf867c9a928033a7110cc30af8abdc2aba27'
7
- data.tar.gz: c01c6899abc3711302d987daa9d23a7f5666c6c95d142bdcfc0dbade4d3cbee33ca0d20ca57eecb9c9b1d2c31344a045cecee41074012c2f27409f3870555237
6
+ metadata.gz: 035b07d3302d892f58ac2ff71c1df315127fe144f94a09677dc1c383f3a73a6f29c18f3bdefdf60635eb0699fc83b11e8d604eb3d7837c6499fecb1e50f15535
7
+ data.tar.gz: a996e351779dc683a742b85f6252ea2a7e390366ea82e2022cd4ae52cdc89a8ebfc56659a866902ab2fafe3dc11dfad365a3f10aed00e259b87672f718c0308b
data/lib/go_secure.rb CHANGED
@@ -135,10 +135,10 @@ module GoSecure
135
135
  def self.load(str)
136
136
  return nil unless str
137
137
  if str.match(/^\*\*/)
138
- Oj.load(str[2..-1])
138
+ Oj.load(str[2..-1], mode: :compat)
139
139
  else
140
140
  salt, secret = str.split(/--/, 2)
141
- Oj.load(GoSecure.decrypt(secret, salt, "secure_json"))
141
+ Oj.load(GoSecure.decrypt(secret, salt, "secure_json"), mode: :compat)
142
142
  end
143
143
  end
144
144
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_secure
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.62'
4
+ version: '0.63'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-14 00:00:00.000000000 Z
11
+ date: 2018-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj