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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e6e1090999fdea25dd828cc680fcf23c2a689b9d4e496c5a3b7cff917ea9a34
4
- data.tar.gz: 9d9e7828f26eb1e31da2d0f4ca7cc9912614b8fe69a6e5f61e830f0be0cab6b6
3
+ metadata.gz: c5857bd13503604e3465c92d121e209424e5db7bca05b50c8136b59a9880f185
4
+ data.tar.gz: 459533340df4832809b5e8b03558cef26bc8d580f6dc9169904e4b5d430817c5
5
5
  SHA512:
6
- metadata.gz: 777703b396852748b6113c3b2e5b201838cf7be184b7c00693f6e21bbbca7e08ac99ca09b43932719a2273985ef218afcb9803f38618ca520bf206db1f328234
7
- data.tar.gz: 321d4d42cdce361e467c6f9e5bb94e00ad7c02694628ca7851b2997f09e7cdbdaa8e435c60f15e9cdeebb6490235d48b412e08bf6de9fb9fd2d2fa46996f4d01
6
+ metadata.gz: e8615f9092884f2376c37200d90bf029f5d79948e7fd61eec4bc5f7eb37f567ab52ed10734aba02367c3c9916ea7b83a4dc357be0956a3c47aedcede1ae16935
7
+ data.tar.gz: 94900e33d70558be801b8becb7ed59a731d617aa1c7decaebfc09da1c1b0dc395f87b32f29b71c297ce28350b008072ba7fa30b5bafeb2d2ce9f7822c0df6d9c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- async-tools (0.2.6)
4
+ async-tools (0.2.7)
5
5
  async (~> 2.3)
6
6
  zeitwerk (~> 2.6)
7
7
 
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!
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Async # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Tools
5
- VERSION = "0.2.6"
5
+ VERSION = "0.2.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Sinyavskiy