async 1.28.1 → 1.28.2

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: 1e4e0ec2acca1af0f271efcedc344b762e5f3f16624aea68798b4bb6cd049b73
4
- data.tar.gz: ed8c76d71768170aada8b9f4d7953f67731e18da317a3429b2668b8ef7183d29
3
+ metadata.gz: a043ccb6378ff70b23eff7218723e910af5828508241e4ca87bb59669eee5990
4
+ data.tar.gz: c1891f280b416fd092caa8e54473697856718d55a820dc784ad3026ba301c4b7
5
5
  SHA512:
6
- metadata.gz: 902e77b03639f8a68f05df761a7f6cd75869e4abc25e9835b5e412301e6ab67e5fb9c4da4c99bedbaeb30e01fe84cf9bbfb062971f20fc0437c5f69edf21190f
7
- data.tar.gz: 1810f96d715b91c18e6dfbdb08d3d2da7531c3b8d562bb750b05ef850f88e632709559b710af7efb8354e0d2784b242c94d306d7db64940a7ef147c79c26cf73
6
+ metadata.gz: 61abcad6fc07e331c6eaba134865e329964b7c8c87f23338e4f8ce39dd250fa2c9719e83eb74a55c284ada13873f5ad996ba68162c131be2a933b67a124d17ed
7
+ data.tar.gz: b5039970211fec3361ee6bf8044be988771a968a7f43ca8f20d3a4eea95234fc45fbc78f395b8ff2a9cb77407865915102ca38936b57c875fa1b07848050cae3
@@ -34,6 +34,10 @@ module Async
34
34
 
35
35
  attr :items
36
36
 
37
+ def size
38
+ @items.size
39
+ end
40
+
37
41
  def empty?
38
42
  @items.empty?
39
43
  end
@@ -88,7 +88,7 @@ module Async
88
88
 
89
89
  if Fiber.current.respond_to?(:backtrace)
90
90
  def backtrace(*arguments)
91
- @fiber.backtrace(*arguments)
91
+ @fiber&.backtrace(*arguments)
92
92
  end
93
93
  end
94
94
 
@@ -21,5 +21,5 @@
21
21
  # THE SOFTWARE.
22
22
 
23
23
  module Async
24
- VERSION = "1.28.1"
24
+ VERSION = "1.28.2"
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.1
4
+ version: 1.28.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubygems_version: 3.1.2
182
+ rubygems_version: 3.2.3
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: A concurrency framework for Ruby.