sambot 0.1.161 → 0.1.162
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sambot/templates/local/vault/helper.rb +1 -1
- data/lib/sambot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33d13eff32f7be39fa7601ce61f2b2be0e6456ee
|
4
|
+
data.tar.gz: bd44da72c6c6ded18839afcf139d4e9b594b1a71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1846b39b6db6795a2b562e0e9468185e000c809e8b33b2d80d5cc9112ef7544c6033011d6a1deb6bf3092a6375645e9ecbb806bac4ea30d585f7c45c45ab5f16
|
7
|
+
data.tar.gz: 33bf8906264ceb4290fdbf54a6ad51c16acc9fb55c8838b86626600b5f7a8a14d1cc081775b2827881d3779f072261d65906fbd6b29cf408c7627bf6c17d7d87
|
@@ -4,7 +4,7 @@ require 'vault'
|
|
4
4
|
config = File.expand_path(File.join(File.dirname(__FILE__), '../.secrets.yml'))
|
5
5
|
secrets = YAML.load(File.read(config))
|
6
6
|
secrets.each do |secret|
|
7
|
-
data = secret[
|
7
|
+
data = secret['contents']
|
8
8
|
data = File.read() if data.start_with?('file::')
|
9
9
|
Vault.logical.write(secret['path'], value: data)
|
10
10
|
puts "Updated the secret located at #{secret['path']}"
|
data/lib/sambot/version.rb
CHANGED