foreplay 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/foreplay/engine/secrets/location.rb +2 -1
- data/lib/foreplay/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: 552add51c45bd058c62757bbe667cedace716891
|
|
4
|
+
data.tar.gz: 222a3c913f425f4a3b7b01ee1e16d3602413ae63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb371ef2b94dfb4fac8901a7faf9d0c70cf7902a7ac712d61b44a896a25ee0d3c804c1a9f21c2d888cae822b54fb2e4c8da745bf7e9fca9e04254031f197b5ad
|
|
7
|
+
data.tar.gz: c586884e000dbec28a06d90934b599e15808dd7748dd8b53883774b55f5200f250a5e7d6ff37f810179b41f0a96c6823a2fed0fdcda36ad05006c5df07f407a2
|
|
@@ -26,6 +26,7 @@ module Foreplay
|
|
|
26
26
|
log 'No secrets found'
|
|
27
27
|
url ? log("Looked in #{url}") : log('No url found')
|
|
28
28
|
log("Secrets #{all_secrets.key?(environment) ? 'has a' : 'has no'} key #{environment}") if all_secrets
|
|
29
|
+
log all_secrets.inspect if all_secrets
|
|
29
30
|
@secrets = {}
|
|
30
31
|
end
|
|
31
32
|
end
|
|
@@ -35,7 +36,7 @@ module Foreplay
|
|
|
35
36
|
|
|
36
37
|
@all_secrets = url ? YAML.load(`#{command}`) : {}
|
|
37
38
|
rescue Psych::SyntaxError => e
|
|
38
|
-
log "Exception caught when loading secrets
|
|
39
|
+
log "Exception caught when loading secrets from this location: #{url}"
|
|
39
40
|
log "#{e.class}: #{e.message}".red
|
|
40
41
|
@all_secrets = {}
|
|
41
42
|
end
|
data/lib/foreplay/version.rb
CHANGED