go_secure 0.62 → 0.63
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/go_secure.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6a514fabf4affc7b4bc7b7a5dd6c07b001dcc5b
|
4
|
+
data.tar.gz: b8c9d38060b0a9fc4f2773cc057da13a6276e539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|