knife-helper 0.1.1 → 0.1.2

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: 3d4b237c333ed70fda38c3f29245fb32e47dbea4
4
- data.tar.gz: 45615aad52e32b1b0c9753d649a757201663cbaa
3
+ metadata.gz: c83c6b6b8c27cfb5b7d57f53ac714ccef709314b
4
+ data.tar.gz: 14274bf79dc88ded05a20a8880c1f8c68ae19414
5
5
  SHA512:
6
- metadata.gz: af366ce80da28f92bc4672a2bddab83e8026a66ac33a76804c494f7ef65460f7918788a41c4c9e0eea543742d54e14a0e51d4a549b11fd0a76c00e1acdc88c3e
7
- data.tar.gz: 7cfa50874c851e561ae5ea8506277f21f853b442322decb6af71ed4e57d8a7236aaacba51d371bb7ede3ad16a01677b6fdd393befc57cdc5f5d0b6e4436a47b5
6
+ metadata.gz: 93096dff6ba6602ba0e49a8f73b1b2c0e8246951a5fbed05ee431d92a3562dd8075f2f0d63fc75094330029fd5a7f1163b64bbc22368b694e226263177fe237e
7
+ data.tar.gz: d6a9bdf0f7418f929d3ddb8376ada079b887ba826c4d3ee0e492d5365a561a6cc23fe41ce65ddd27d4cbdec2d09ab92467f52049b631f2f2b50c6172ca83d4f8
@@ -1,3 +1,7 @@
1
+ ## 0.1.2
2
+
3
+ - Raise error when `exec` command exited with non-zero code [#7][] ([@sawanoboly])
4
+
1
5
  ## 0.1.1
2
6
 
3
7
  * Allow string to option_sets of commands
@@ -32,4 +36,5 @@
32
36
  [#1]: https://github.com/marcy-terui/knife-helper/issues/1
33
37
  [#2]: https://github.com/marcy-terui/knife-helper/issues/2
34
38
  [#4]: https://github.com/marcy-terui/knife-helper/issues/4
35
- [@sawanoboly]: https://github.com/sawanoboly
39
+ [#7]: https://github.com/marcy-terui/knife-helper/issues/7
40
+ [@sawanoboly]: https://github.com/sawanoboly
@@ -46,7 +46,7 @@ module Knife
46
46
  end
47
47
 
48
48
  def exec(name)
49
- system(build(name))
49
+ raise "Helper exec finished with non-zero exit code" unless system(build(name))
50
50
  end
51
51
 
52
52
  def complete_option(opt)
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Helper
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masashi Terui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-19 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor