lev 9.0.1 → 9.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/lev/routine.rb +2 -3
- data/lib/lev/version.rb +1 -1
- metadata +18 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cecc3ef6f720b2c99f7a96c32b90d8354ca441d6d97af238d4186602d1dcf5e5
|
4
|
+
data.tar.gz: ea7a54c1f4e8fdad398ad5403f84a8e13c706a1a5792b0188885857b1c8d0731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
305
|
+
data: e.backtrace&.first)
|
307
306
|
status.add_error(error)
|
308
307
|
status.failed!
|
309
308
|
end
|
data/lib/lev/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
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/
|
313
|
-
- spec/
|
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/
|
321
|
-
- spec/
|
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
|