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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/io/event/debug/selector.rb +2 -2
- data/lib/io/event/selector/select.rb +2 -2
- data/lib/io/event/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15970f96a2af0de9aa23889ee6ff50217b53216334de39ad5b4692ebf945942b
|
4
|
+
data.tar.gz: 5f44f0dbcdf09106e342e3fda71f56f8a0208dc5a435e82f8c80b1fdb8826fae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/io/event/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|