async-tools 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/async/app.rb +3 -1
- data/lib/async/tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5857bd13503604e3465c92d121e209424e5db7bca05b50c8136b59a9880f185
|
4
|
+
data.tar.gz: 459533340df4832809b5e8b03558cef26bc8d580f6dc9169904e4b5d430817c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8615f9092884f2376c37200d90bf029f5d79948e7fd61eec4bc5f7eb37f567ab52ed10734aba02367c3c9916ea7b83a4dc357be0956a3c47aedcede1ae16935
|
7
|
+
data.tar.gz: 94900e33d70558be801b8becb7ed59a731d617aa1c7decaebfc09da1c1b0dc395f87b32f29b71c297ce28350b008072ba7fa30b5bafeb2d2ce9f7822c0df6d9c
|
data/Gemfile.lock
CHANGED
data/lib/async/app.rb
CHANGED
@@ -26,7 +26,6 @@ class Async::App
|
|
26
26
|
stop
|
27
27
|
exit(1)
|
28
28
|
end
|
29
|
-
# rubocop:enable Style/GlobalVars
|
30
29
|
|
31
30
|
def container = @container ||= Dry::Container.new
|
32
31
|
def run! = nil
|
@@ -35,9 +34,12 @@ class Async::App
|
|
35
34
|
|
36
35
|
def stop
|
37
36
|
@task&.stop
|
37
|
+
$__ASYNC_APP = nil
|
38
38
|
info { "Stopped" }
|
39
39
|
end
|
40
40
|
|
41
|
+
# rubocop:enable Style/GlobalVars
|
42
|
+
|
41
43
|
private
|
42
44
|
|
43
45
|
def set_traps!
|
data/lib/async/tools/version.rb
CHANGED