foreplay 0.13.4 → 0.13.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 835370114e89442e50a14f939a99b94289dca31f
4
- data.tar.gz: 387e9e42551da591a55202ef089563da4810da47
3
+ metadata.gz: 0d323a5a68ba8e1a8e4dd6efa0790c52896b333b
4
+ data.tar.gz: 81b0a4a02ac2201c759bd3dd470bc4c9e38e3e32
5
5
  SHA512:
6
- metadata.gz: be81e9201606808b424bb99522987a42c1ef6c0be3d8a7b669c7cd24782579179380770dce01651dbfd4a4aaf8cc0b61d61a24d463bcab7031dc19e88699179a
7
- data.tar.gz: 86e5b0ddc11eb62e398d5809499d9ba9bc6f3431ed92e6ab87c33eb36d75e3f3e3219a0c9fc3ec0d75b3d25a2243fd261f6c77a2c003adcb9a790c534b579f34
6
+ metadata.gz: d4eb1dd16fd4a83e2ce4747fe207204f70e4db9a02055b8519c8f7abbb3c7bd278db18f058aed28003e1ebb1378c4f6fea904f943ef4c066da86180b6e1b9ac5
7
+ data.tar.gz: 0ce01b7a26623f6473b45fe990179db162df4ca2a03684e75006c40a1e8bb8c9f8a933f4a27335a516581997421f758c23b7f723e3e5769024959c1449d36f4c
@@ -23,8 +23,7 @@ module Foreplay
23
23
  log "Unexpected secrets found: #{@secrets}"
24
24
  @secrets = {}
25
25
  else
26
- log 'No secrets found'
27
- url ? log("Looked in #{url}") : log('No url found')
26
+ url ? log("No secrets found at #{url}") : log('No url for secrets found')
28
27
  log("Secrets #{all_secrets.key?(environment) ? 'has a' : 'has no'} key #{environment}") if all_secrets
29
28
  @secrets = {}
30
29
  end
@@ -41,11 +40,7 @@ module Foreplay
41
40
  end
42
41
 
43
42
  def raw_secrets
44
- return @raw_secrets if @raw_secrets
45
- @raw_secrets = `#{command}`
46
- log command
47
- log @raw_secrets
48
- @raw_secrets
43
+ @raw_secrets ||= `#{command}`
49
44
  end
50
45
 
51
46
  def command
@@ -1,3 +1,3 @@
1
1
  module Foreplay
2
- VERSION = '0.13.4'
2
+ VERSION = '0.13.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreplay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4
4
+ version: 0.13.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto