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 +4 -4
- data/.rubocop.yml +3 -0
- data/lib/umbra/publisher.rb +5 -3
- data/lib/umbra/shadow_requester.rb +5 -3
- data/lib/umbra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4684500b81274dd2138addcd92553e0da823b5b26a357ddecb277032315a70d
|
4
|
+
data.tar.gz: 5766bac48f8ff39c374dd44b2e93553483b2d8af72419ac1d49665526d336fd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20cd0d4cb5a5e1f700c6eb0fec91f984519c77e55fa0ed3388a1d3be23ce9c315226ebf651301fb58e5518c07ba907519be40d305aa336a437e3f6184d282120
|
7
|
+
data.tar.gz: e8128423446eab2d6615665b7d5aacaf5bf6c106e0093e2d7a2583d10e19a3ce9ca89596a5e067db0a51cc9060b952b590e6161d668740674f7e5281fccc07ef
|
data/.rubocop.yml
CHANGED
data/lib/umbra/publisher.rb
CHANGED
@@ -24,10 +24,12 @@ module Umbra
|
|
24
24
|
while (x = @queue.pop)
|
25
25
|
break if x == STOP
|
26
26
|
|
27
|
-
|
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
|
-
|
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
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.
|
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-
|
11
|
+
date: 2019-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|