sysbuild 1.0.5 → 1.0.5.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sysbuild.rb +4 -0
  3. data/lib/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c7b9888201398d18b33831e54d98588ae8f91cc
4
- data.tar.gz: b9fecef6c2e5a1b250602dc0a0d180f73a133a95
3
+ metadata.gz: 690b69727e605f3a2e05e1b456b3a241f73e74ba
4
+ data.tar.gz: 50aa62c41009a3828fffdf2ad30fda4b5ce7a0b6
5
5
  SHA512:
6
- metadata.gz: 4937be9845757e09ad51ab0a644f1153c7a4a3b2492c61e8ba0e7b2d69dcdbf3aa49febc74c93d43347e5ffbb1395729152a3959fd582e1e2044cf7bc5261be7
7
- data.tar.gz: cde53e129e7b6a4e9637ac800d13fe2c4d17ddfe7c591a8a52e92276b71c689987ffc1e3804af0926767763ffa64294b3f25950f44009c3271ca3f392e16b4ba
6
+ metadata.gz: 8d393246f8ab024abe0e7c65d897f29f661d95c1f36412ee76906cf3ea2fbc94e87ca1525b109ff1a18a87c673da2814f4d264dc6a48fcfa07748893e35c6465
7
+ data.tar.gz: 0c93469f822e76af3e957bfaddba5ebae9ebae70536b5aca90ff4bf3554ecb3628e52234f71ef83a9ac99e709bc7b00709994a131edba7cbc2044b7b6aacbd9c
data/lib/sysbuild.rb CHANGED
@@ -105,6 +105,10 @@ class Sysbuild_Main
105
105
  exit_code = do_scm2
106
106
  end
107
107
 
108
+ # Tidy up any commands that didn't return integer - i.e. had no explicit return
109
+ # and simply let Ruby return the last evaluated object.
110
+ exit_code = 0 unless exit_code.is_a? Integer
111
+
108
112
  puts
109
113
  completion_message = "Build complete#{ ' with errors' unless ! exit_code }. Elapsed time: #{(Time.now - start_time).to_i}s";
110
114
  puts Paint[completion_message, COL_NORMAL]
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sysbuild
2
- VERSION='1.0.5'
2
+ VERSION='1.0.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sysbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hawksley