shipwright 1.2.2 → 1.2.3

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/VERSION +1 -1
  3. data/lib/shipwright/builder.rb +7 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f78a05069a103fb5720116be974861f39614829
4
- data.tar.gz: ffd43344d5cc0bdbabe9f468474bdbdfe964e8b1
3
+ metadata.gz: 8c9002d5caf62515e3b8055008fcbecfe0e8beef
4
+ data.tar.gz: f167184ec90012623f0a34b9e9d55f6aba9c20d5
5
5
  SHA512:
6
- metadata.gz: 64d2ad26f1a8855572a77dd0d824430479ad4e80a6713abb155c30a79882b3155d167022d4de6326d34cb646db42f0c41da79df8606bd39901e28bff16fe54af
7
- data.tar.gz: ab2830db6261794ab8dc006886394ec77c11e011fa346684f4c7e1116b6285ae993691d26a9bb869650ac015d8a51cbc4cdfaae4cdfdcc91039cdb49f2065cc8
6
+ metadata.gz: bf5c0652db61dd3eda9eec55cff6f9ac1be453806441e015638367e95a275197d8fa04b53cd34a86cdc744cd98ef38a7f5be8d3816833a5147bfa803682121c6
7
+ data.tar.gz: acd4cce4adeb337db623ac5b942c031094f64216ddef9c7dfa504f6a56ad0a7265c402728cae0c27f03dde49ce5e14126278b48bd5af9dbc0fab3e955c42306a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
@@ -74,7 +74,13 @@ module Shipwright
74
74
  end
75
75
 
76
76
  def run_cmd(cmd)
77
- IO.popen(cmd).each { |line| Shipwright.info line.chomp }
77
+ io = IO.popen(cmd)
78
+ io.each { |line| Shipwright.info line.chomp }
79
+ io.close
80
+ unless $?.exitstatus.zero?
81
+ puts "Command #{cmd} exitted with non zero status #{$?.exitstatus}"
82
+ exit $?.exitstatus
83
+ end
78
84
  end
79
85
 
80
86
  def update_dockerrun
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipwright
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hunter