io-event 1.12.0 → 1.12.1

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: 80ad33ec3e92cfe141ff91e691370fbb9349f627997f59e130ad1bb016b68ac2
4
- data.tar.gz: b2d5c4d46dead9a1b08bcb0ae6afc7a4f75972168501d7bb2bea04b58bf4bdf2
3
+ metadata.gz: 15970f96a2af0de9aa23889ee6ff50217b53216334de39ad5b4692ebf945942b
4
+ data.tar.gz: 5f44f0dbcdf09106e342e3fda71f56f8a0208dc5a435e82f8c80b1fdb8826fae
5
5
  SHA512:
6
- metadata.gz: e97d58a391676389971aefb44228a74949ca68a2552810b1b67f0ee2737344fdc0d303068050aa22c7a8def39733fde20d1ceeab6772dd125c9d74bca534a436
7
- data.tar.gz: 55fa3477e391ac2775dfe9f999f7545bbe3240b2811143ad665a785beb7ff38df6f813c2fa20f93c1901d039d4ffcd60c23576393f79ffdd792d3a830f4e06e9
6
+ metadata.gz: 0b72815ede642358071d66b9720935603493b6a09a34fcf2eec6930c8648a7d2b6498358f630554f40c6537f2bd0fb3cb6b58334ad58dfbaacc5d6c1f0e407cf
7
+ data.tar.gz: a5eb4e8396cd510aa71e8ee45f8ebf60829ca707a96bded1104ce0c3f74c47e9343225d826c58e4ec7bcfed6aed81051d7c14a10f304c42fa61fe930e1099fef
checksums.yaml.gz.sig CHANGED
Binary file
@@ -116,9 +116,9 @@ module IO::Event
116
116
  #
117
117
  # @parameter fiber [Fiber] The fiber to raise the exception on.
118
118
  # @parameter arguments [Array] The arguments to use when raising the exception.
119
- def raise(fiber, *arguments)
119
+ def raise(fiber, *arguments, **options)
120
120
  log("Raising exception on fiber #{fiber.inspect} with #{arguments.inspect}")
121
- @selector.raise(fiber, *arguments)
121
+ @selector.raise(fiber, *arguments, **options)
122
122
  end
123
123
 
124
124
  # Check if the selector is ready.
@@ -98,11 +98,11 @@ module IO::Event
98
98
  end
99
99
 
100
100
  # Transfer to the given fiber and raise an exception. Put the current fiber into the ready list.
101
- def raise(fiber, *arguments)
101
+ def raise(fiber, *arguments, **options)
102
102
  optional = Optional.new(Fiber.current)
103
103
  @ready.push(optional)
104
104
 
105
- fiber.raise(*arguments)
105
+ fiber.raise(*arguments, **options)
106
106
  ensure
107
107
  optional.nullify
108
108
  end
@@ -7,6 +7,6 @@
7
7
  class IO
8
8
  # @namespace
9
9
  module Event
10
- VERSION = "1.12.0"
10
+ VERSION = "1.12.1"
11
11
  end
12
12
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file