ectoplasm 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/ectoplasm.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b230ff4690f41e1e3f4d5a474adaa97f1160c35b2b2c492eb096b1e0f787d8f0
|
4
|
+
data.tar.gz: 3d3734fef7909506527a45c6fe62afb03b6072557d3d2461484341f2f20099b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 163dab80bab2fcb6538e7d0055f32649d8d4a5be44b3df0099ab7a28b220d11e343b143cc4016f93705b5f0ccd5b072ab20c3ba3a298a05a1916140a022ad689
|
7
|
+
data.tar.gz: 1ce583df511099699f66f45da3921818e36d8d7bb37d28bbbbade9f120f47410a8b168e3800b9d0338e6f3d19ab4721b27716c78af8e247e150b3bd35b4c6ff9
|
data/CHANGELOG.md
CHANGED
data/lib/ectoplasm.rb
CHANGED
@@ -4,12 +4,12 @@ module Ectoplasm
|
|
4
4
|
module Version
|
5
5
|
MAJOR = 1
|
6
6
|
MINOR = 2
|
7
|
-
TINY =
|
7
|
+
TINY = 3
|
8
8
|
end
|
9
9
|
|
10
10
|
VERSION = [Version::MAJOR, Version::MINOR, Version::TINY].compact * '.'
|
11
11
|
|
12
|
-
DEFAULT_SECURE_KEYS = ['password', 'secret', 'token', 'secure']
|
12
|
+
DEFAULT_SECURE_KEYS = ['password', 'secret', 'token', 'secure', 'pass', 'cert', 'key']
|
13
13
|
|
14
14
|
class ::String
|
15
15
|
@@colored = false
|
@@ -215,7 +215,7 @@ module Ectoplasm
|
|
215
215
|
|
216
216
|
|
217
217
|
class ::OpenStruct
|
218
|
-
def obfuscate! secure_keys =
|
218
|
+
def obfuscate! secure_keys = DEFAULT_SECURE_KEYS
|
219
219
|
OpenStruct.new(self.to_h.obfuscate! secure_keys)
|
220
220
|
end
|
221
221
|
end
|