ectoplasm 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/lib/ectoplasm.rb +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e34dd2daa03c2d9cf988a3a9c14458887c9a01bc5a4649b125f422847ba9260
4
- data.tar.gz: 4d43a29da827c165b1ab6f86ed0f86c6fe5e854d16556f6035a15795bbf4acb9
3
+ metadata.gz: b230ff4690f41e1e3f4d5a474adaa97f1160c35b2b2c492eb096b1e0f787d8f0
4
+ data.tar.gz: 3d3734fef7909506527a45c6fe62afb03b6072557d3d2461484341f2f20099b8
5
5
  SHA512:
6
- metadata.gz: 9250ceb961351edbed84b4bd33af8178424a374c643c623d7a7d4fe85fd13996b595e654d2701a0a5126693f7b6f02e5332f54d31a4fd9b03aaadb0419445e70
7
- data.tar.gz: 473442160cd41b6acc2736f8c12a766668092c5c1b124f30af840a8b0ecd6d3438d6cdeb6578464a657c7a02ea1cfca667a6bea03b5e82fc07ec089cbdac5433
6
+ metadata.gz: 163dab80bab2fcb6538e7d0055f32649d8d4a5be44b3df0099ab7a28b220d11e343b143cc4016f93705b5f0ccd5b072ab20c3ba3a298a05a1916140a022ad689
7
+ data.tar.gz: 1ce583df511099699f66f45da3921818e36d8d7bb37d28bbbbade9f120f47410a8b168e3800b9d0338e6f3d19ab4721b27716c78af8e247e150b3bd35b4c6ff9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### v1.2.3
2
+
3
+ #### Minor
4
+ - Update default secure keys
5
+
6
+
1
7
  ### v1.2.2
2
8
 
3
9
  #### Minor
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 = 2
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 = ['password', 'secret', 'token', 'secure', 'pass', 'key', 'cert']
218
+ def obfuscate! secure_keys = DEFAULT_SECURE_KEYS
219
219
  OpenStruct.new(self.to_h.obfuscate! secure_keys)
220
220
  end
221
221
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ectoplasm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Neubauer