simp-beaker-helpers 1.18.3 → 1.18.4

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
  SHA256:
3
- metadata.gz: 36231d0862e7ae76a3675efc9bc5339527b2704ead1dbbf41e2df3ce962439d4
4
- data.tar.gz: 83d88bae5f3822c2e13754ee79fe1cc98a34b0f04c885861b61f76a1a32219ae
3
+ metadata.gz: ceefebc12043c8bea9d8e93c4b70fc7280cd2cc36d00bb018d1851eb0639248a
4
+ data.tar.gz: 16289c99c4e61061c7a082b2ffca131169fe291a4481baab187c9ca9cef3451d
5
5
  SHA512:
6
- metadata.gz: 174f5a6496239de911c55a42d5ad08ee21fa54de6fbf244c1a6c167ccbd83780d9520ae51ccb8301f86ed45ddca7f97651126453af3c2d9a80caa288e6166457
7
- data.tar.gz: f059ace7f23bbd687c5af6870f7d294230009984ef02b75a1e77fcfe710b1edd23c1ef4dc24f81efea2d7ac39c02217faea0542ea754d945767a881b2edaebf8
6
+ metadata.gz: 8644658439aa893965fa13120de357e5ef85bafdf4fb5cc865623588b405bec77c9215dddd360c74a03e758e89eb454d29c2d046b2bc20fbc66805fe958d26f4
7
+ data.tar.gz: b41a01714e053599dd0a514c8c57667688622c757601299b30a84c0ef965a257d6f77e1e324d948fc2476456bb2aabf747615e1d8df2b4db7e1292958ee452a6
@@ -1,3 +1,6 @@
1
+ ### 1.18.4 /2020-03-31
2
+ * Fix capturing error messages when inspec fails to generate results
3
+
1
4
  ### 1.18.3 / 2020-02-24
2
5
  * Fix the Windows library loading location.
3
6
  * No longer attempt to load windows libraries by default unless the system is
@@ -116,7 +116,7 @@ module Simp::BeakerHelpers
116
116
  FileUtils.remove_entry_secure tmpdir
117
117
  end
118
118
 
119
- unless @results
119
+ if @results.nil? || @results.empty?
120
120
  File.open(@result_file + '.err', 'w') do |fh|
121
121
  fh.puts(result.stderr.strip)
122
122
  end
@@ -1,5 +1,5 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.18.3'
4
+ VERSION = '1.18.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-beaker-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.3
4
+ version: 1.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-24 00:00:00.000000000 Z
12
+ date: 2020-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: beaker