ops_team 1.19.1.rc1 → 1.19.2.rc1

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: 2cbf7ab837504c3019433fb10aed266cdbb189e46d7da64b71fdafcef054dee4
4
- data.tar.gz: c96510b0a2469da680ab59e15c7de55e3f9dceb3357f02de88c06e7acb977d4c
3
+ metadata.gz: '00594beba2a2a4cc9f051947c360677fa6caccc8cbac8f3eb132d7fdd865155b'
4
+ data.tar.gz: bdeabb9c5e4df7ea9040b444b6d86169ea9e599dd12fddda52e9377f5116d2c9
5
5
  SHA512:
6
- metadata.gz: 95ba7d9d2ebc18b14c96fa7250b6d255a8ed2ffdd033925368617906202a23f9331bc02f2304b1ec5c73ef3b05faf86d1089ff17253d2805f1ef9814d89293e1
7
- data.tar.gz: f48fe95210829edb5028d7880779cc39bb83829b60e558c9ea9b83ad69a1bdee1876720aea22b292825d105616169546d718eabce6c4260a6cdf5cea423dde37
6
+ metadata.gz: 91a3e5325ffd84b3b7b329b4b31cdec132e2b17912e7b3a289a3a409bb033578b0e37df892940f2bcb05f04e1cfbd2d6752cb8a5ee87ed9dc660757d5271c2f7
7
+ data.tar.gz: bf5bb53be5f30543d21327f193d66fc0d016943dc6d2434ba170bce9e3bd03cbf8b6c6acd6cb700be58505b858fb748b25edd5c9e0b94138d9652ffa4065d289
@@ -24,6 +24,8 @@ module Builtins
24
24
  Output.status("[#{dependency.type}] #{dependency.name}")
25
25
 
26
26
  meet_dependency(dependency)
27
+
28
+ break if dependency.failure? && exit_on_error?
27
29
  end
28
30
  end
29
31
 
@@ -56,6 +58,10 @@ module Builtins
56
58
  def fail_on_error?
57
59
  Options.get("up.fail_on_error") || false
58
60
  end
61
+
62
+ def exit_on_error?
63
+ Options.get("up.exit_on_error") || false
64
+ end
59
65
  end
60
66
  end
61
67
  end
data/lib/dependency.rb CHANGED
@@ -46,6 +46,10 @@ class Dependency
46
46
  @executor.nil? ? true : @executor.success?
47
47
  end
48
48
 
49
+ def failure?
50
+ !success?
51
+ end
52
+
49
53
  def output
50
54
  @executor&.output
51
55
  end
data/ops_team.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ops_team'
5
- s.version = '1.19.1.rc1'
5
+ s.version = '1.19.2.rc1'
6
6
  s.authors = [
7
7
  'nickthecook@gmail.com'
8
8
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_team
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.1.rc1
4
+ version: 1.19.2.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  - !ruby/object:Gem::Version
253
253
  version: 1.3.1
254
254
  requirements: []
255
- rubygems_version: 3.3.7
255
+ rubygems_version: 3.1.6
256
256
  signing_key:
257
257
  specification_version: 4
258
258
  summary: ops_team handles basic automation for your project, driven by self-documenting