lev 9.0.1 → 9.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/lib/lev/routine.rb +2 -3
  3. data/lib/lev/version.rb +1 -1
  4. metadata +18 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7d1863a4a2253c9d582fabc34ec0b3347bfac6ab
4
- data.tar.gz: dc9eadf03105c2863fc432dae3096431bfcef8b1
2
+ SHA256:
3
+ metadata.gz: cecc3ef6f720b2c99f7a96c32b90d8354ca441d6d97af238d4186602d1dcf5e5
4
+ data.tar.gz: ea7a54c1f4e8fdad398ad5403f84a8e13c706a1a5792b0188885857b1c8d0731
5
5
  SHA512:
6
- metadata.gz: 92f85896091e416faa19e243d55c3035f933b3cccf0c15030bac7d883521dc04afaf61ac4d1f5e00bfea63974060628bedeba70b01f3f3df07084d830ef6e716
7
- data.tar.gz: 0fb631e0ad4d3a0f9930f60abd9a258a76fea71a6389566be0f7baab05bc5131388d7d9e280a3e032e5e5de9542fdb9d43a28dac2ab69b95841d63df882c17e6
6
+ metadata.gz: e99acf68431e0bff2ab8ad0f374bb06371b3bad7cfc0a70276677ad61577555759a5e81da961c68318bae3f7f3e5871c3e8a224d0123e564f570785df5d820fb
7
+ data.tar.gz: 29d9667e29a094876fbdb4cbd1253e42de6099bcf2b62d795397840bea23a6bc5ef334cec74e8b1f1468b793905afec0e2193220459e9b3ed6a0a51126dc10aa
data/lib/lev/routine.rb CHANGED
@@ -298,12 +298,11 @@ module Lev
298
298
  block.call
299
299
  end
300
300
  rescue Exception => e
301
- # Let exceptions escape but make sure to note the error in the status
302
- # if not already done
301
+ # Let exceptions escape but make sure to note the error in the status if not already done
303
302
  if !e.is_a?(Lev::FatalError)
304
303
  error = Error.new(code: :exception,
305
304
  message: e.message,
306
- data: e.backtrace.first)
305
+ data: e.backtrace&.first)
307
306
  status.add_error(error)
308
307
  status.failed!
309
308
  end
data/lib/lev/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lev
2
- VERSION = "9.0.1"
2
+ VERSION = "9.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lev
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.1
4
+ version: 9.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-14 00:00:00.000000000 Z
11
+ date: 2019-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -293,29 +293,28 @@ required_rubygems_version: !ruby/object:Gem::Requirement
293
293
  - !ruby/object:Gem::Version
294
294
  version: '0'
295
295
  requirements: []
296
- rubyforge_project:
297
- rubygems_version: 2.4.5.1
296
+ rubygems_version: 3.0.3
298
297
  signing_key:
299
298
  specification_version: 4
300
299
  summary: Ride the rails but don't touch them.
301
300
  test_files:
302
- - spec/active_job_routines_spec.rb
303
- - spec/better_active_model_errors_spec.rb
304
- - spec/create_sprocket_spec.rb
305
- - spec/deep_merge_spec.rb
306
- - spec/delegates_to_spec.rb
307
- - spec/outputs_spec.rb
308
- - spec/paramify_handler_spec.rb
309
- - spec/routine_spec.rb
310
301
  - spec/spec_helper.rb
302
+ - spec/paramify_handler_spec.rb
311
303
  - spec/sprocket_handler_spec.rb
312
- - spec/sprocket_spec.rb
313
- - spec/statused_routines_spec.rb
304
+ - spec/create_sprocket_spec.rb
305
+ - spec/delegates_to_spec.rb
306
+ - spec/better_active_model_errors_spec.rb
307
+ - spec/transaction_spec.rb
308
+ - spec/deep_merge_spec.rb
309
+ - spec/support/paramify_handler_b.rb
310
+ - spec/support/sprocket_handler.rb
311
+ - spec/support/paramify_handler_a.rb
312
+ - spec/support/delegating_routine.rb
314
313
  - spec/support/create_sprocket.rb
315
314
  - spec/support/delegated_routine.rb
316
- - spec/support/delegating_routine.rb
317
- - spec/support/paramify_handler_a.rb
318
- - spec/support/paramify_handler_b.rb
319
315
  - spec/support/sprocket.rb
320
- - spec/support/sprocket_handler.rb
321
- - spec/transaction_spec.rb
316
+ - spec/sprocket_spec.rb
317
+ - spec/outputs_spec.rb
318
+ - spec/routine_spec.rb
319
+ - spec/active_job_routines_spec.rb
320
+ - spec/statused_routines_spec.rb