async-tools 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88a7393e801b462ce25f8c86635f792c4347c50eeeca748ab4a0c2f46477a072
4
- data.tar.gz: 23379b98393ecd40ef52b73ca47f480aec3e93019faf77968d2629adc998ca71
3
+ metadata.gz: 2c932cc042b383d96a46b23e5408bfa3e7d5fc0335697b07ef820877ec63f609
4
+ data.tar.gz: 1fbc66539da99ffe84df7c9d0848f4b7e9b630e3c0363048e743f1ce7235153d
5
5
  SHA512:
6
- metadata.gz: 9759b4d7ed05448f28d3c5dc112406e2c89e817371b62e73f1b7a463d2a28c82f1c8145348fa3c3126a40787e79cf3c00fea06f24c4a516b8226a95c81c85caa
7
- data.tar.gz: 36f9949beb63373ab8996a629407da19a73eea1ee460ed9cf87bcfcf0c82e34cb34fb34bc6aa9f22ea07201cce41c3fd8b81fa17f1baac92f36d579fd5c96ad4
6
+ metadata.gz: 9fe734ca6e18f71dc08c776220b6d4ccaf6812e110903393d58ecb1f5bc21c8c6a84ba11fc47ba0c7d15f9708625de7eb3654330aa2cdd4208129b2722ca87ca
7
+ data.tar.gz: b8ab8eb40ec6a8d85be5d6768a562e10a6a2a9746b8d44a515394a82a3d42473b4b4cf3c1ab0cd80e7311479abed0b28d7a4cb6dd8fe9aa67d42473f4122e401
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- async-tools (0.1.1)
4
+ async-tools (0.1.2)
5
5
  async (~> 2.3)
6
6
  zeitwerk (~> 2.6)
7
7
 
data/lib/async/bus/bus.rb CHANGED
@@ -43,6 +43,8 @@ class Async::Bus::Bus
43
43
  serve(chan, event_name, callable)
44
44
  end
45
45
 
46
+ def async_subscribe(*, **, &) = Async { subscribe(*, **, &) }
47
+
46
48
  def close
47
49
  return if @closed
48
50
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Async # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Tools
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Sinyavskiy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2023-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async