rbbt-util 5.21.118 → 5.21.119

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: 2f8aee25daf09bf8fc2ba570b13a284360a24cd9
4
- data.tar.gz: 9f2699ac7bd7a9865592415e261b9fb22a54482d
3
+ metadata.gz: b4c2207b4f07bc03ccee8d93e8ed48dc89a860af
4
+ data.tar.gz: d713c218ac2b49cb7219785300dfcda8ac6c64c4
5
5
  SHA512:
6
- metadata.gz: 834d30431b1a6405ff8632784dc234f1bba5c5da740c69ce3cfc5761a31d05f1ef7049b44fbf98d9da002c5f49f507a2b393382cc29c8512ff8394e7c4e5203c
7
- data.tar.gz: 32c632ba951d339aafd7221c68ee121a5657592b2381f9c3df14876143c073a05a5a9e21399da202321ace0b578d5e54d51f1b56f99df37092d9ea7083b7b0b4
6
+ metadata.gz: 2b929b17d4a1b356d0cad9227540653ec452b7de7a485f0c47d1c786afc26d3c10928a48ac27ae57be5402a4edf7cd61c0e8cfc27676016d4cf5fcb4b25f0702
7
+ data.tar.gz: 65fe1a036b9448bf8853934a497b153ffc7873585bdf975a891e987bb256616f8c8ebfcf57b17283d2b5909a56bc37e39705279e7a49a4120233b3a06d9b119e
@@ -351,7 +351,7 @@ class Step
351
351
  begin
352
352
  return true unless info[:exception]
353
353
  klass = Kernel.const_get(info[:exception][:class])
354
- not (RbbtException == klass or RbbtException === klass)
354
+ ! (klass <= RbbtException)
355
355
  rescue Exception
356
356
  true
357
357
  end
@@ -199,7 +199,7 @@ class Step
199
199
  list.each do |dep|
200
200
  begin
201
201
  dep.produce
202
- rescue
202
+ rescue RbbtException
203
203
  Log.warn "Allowing failing of #{dep.path}: #{dep.messages.last}"
204
204
  end
205
205
  nil
@@ -243,7 +243,7 @@ class Step
243
243
  Log.warn "Aborted bootstrap dependency #{dep.path}: #{dep.messages.last}" if dep.error? or dep.aborted?
244
244
  raise $!
245
245
 
246
- rescue Exception
246
+ rescue RbbtException
247
247
  if canfail || dep.canfail?
248
248
  Log.warn "Allowing failing of #{dep.path}: #{dep.messages.last}"
249
249
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.21.118
4
+ version: 5.21.119
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2017-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake