umbra-rb 0.1.1.pre → 0.1.2.pre

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: 6ffe30c9f9401c33cb496523fa7533ff2602bfdae2e1d0536e3bb29c4c22b72f
4
- data.tar.gz: 3deeee54a88f5fe55df575475bbbf965537f2ca177a80d8447d7ce9020590f10
3
+ metadata.gz: e4684500b81274dd2138addcd92553e0da823b5b26a357ddecb277032315a70d
4
+ data.tar.gz: 5766bac48f8ff39c374dd44b2e93553483b2d8af72419ac1d49665526d336fd5
5
5
  SHA512:
6
- metadata.gz: f98d2425fabc5006ac2eb310ab4a29dca3ed702f556c0c5e73a962ec0eaeecec062bcb2c6dd592e799b54441ac947ee69b6cd2173f2ecf97684acc62b41f9897
7
- data.tar.gz: b4290db6259ec93725f93e8a1620727d1cde6aa46059ca19b95655fddf62a0f8f634d18b1af45f58d2f4a4c86b4872bcc9f5394ea4fdc3ca2c2b20880dfe2c49
6
+ metadata.gz: 20cd0d4cb5a5e1f700c6eb0fec91f984519c77e55fa0ed3388a1d3be23ce9c315226ebf651301fb58e5518c07ba907519be40d305aa336a437e3f6184d282120
7
+ data.tar.gz: e8128423446eab2d6615665b7d5aacaf5bf6c106e0093e2d7a2583d10e19a3ce9ca89596a5e067db0a51cc9060b952b590e6161d668740674f7e5281fccc07ef
data/.rubocop.yml CHANGED
@@ -4,3 +4,6 @@ inherit_gem:
4
4
 
5
5
  Metrics/MethodLength:
6
6
  Max: 20
7
+
8
+ Metrics/AbcSize:
9
+ Max: 20
@@ -24,10 +24,12 @@ module Umbra
24
24
  while (x = @queue.pop)
25
25
  break if x == STOP
26
26
 
27
- x.call
27
+ begin
28
+ x.call
29
+ rescue StandardError => e
30
+ Umbra.config.error_handler.call(e)
31
+ end
28
32
  end
29
- rescue StandardError => e
30
- Umbra.config.error_handler.call(e)
31
33
  end
32
34
 
33
35
  at_exit do
@@ -32,10 +32,12 @@ module Umbra
32
32
  while (request = @queue.pop)
33
33
  break if request == @stop
34
34
 
35
- request.run
35
+ begin
36
+ request.run
37
+ rescue StandardError => e
38
+ Umbra.config.error_handler.call(e)
39
+ end
36
40
  end
37
- rescue StandardError => e
38
- Umbra.config.error_handler.call(e)
39
41
  end
40
42
  end
41
43
 
data/lib/umbra/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Umbra
4
- VERSION = '0.1.1.pre'
4
+ VERSION = '0.1.2.pre'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umbra-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre
4
+ version: 0.1.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - carwow Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-24 00:00:00.000000000 Z
11
+ date: 2019-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler