io-event 1.11.1 → 1.11.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: 2bfd02bf24ab7275c5ef9062a15c22059d4bb973f25834d10ca3fe6c925c6401
4
- data.tar.gz: 9fbcc8fcded8c2898ffd7567a8e27b87e38479edfd9eaf1951b8066cf0f20b5c
3
+ metadata.gz: 7c23033ceb02485410fbc8d330011826e9069a2d60cd0ca3483b575efe3d8c0e
4
+ data.tar.gz: 6c6af10647b050c564682dfe3023a92c935c048ecd14472ab13732d6c33967b9
5
5
  SHA512:
6
- metadata.gz: fc3a2254652c5f37a750fd1cdcde09f933b24e252f3e7964bbac3c16299c2d284adb1808fbb25e3ec6fca4483512e71292166b97b567b55b9428488689248397
7
- data.tar.gz: a9869ced6a01d93c89c51b371d784d9a31751d986394ff825d3511a8df56cf995cb13f1b93a0318d773a147112a332c45e2d3bbc785077896b07c72122e0996e
6
+ metadata.gz: 7ded92b87ce6a9e74d87b7f6c8fc5de54ed6f913252897fe6c7d1bd478f990e5af1ffcf3003d250a2c5537e0c55926697f9d59ab09f8ba72650c3f2aa47cc1c7
7
+ data.tar.gz: 9e63f1bf68bfde30503297abd9122cddc8caa24e7480f3ba316863e3f51f2b238e966d67969b24f6ed17e645a989db2df527119b627d1db4469008a28158ba6e
checksums.yaml.gz.sig CHANGED
Binary file
@@ -722,7 +722,7 @@ VALUE IO_Event_Selector_URing_io_read(VALUE self, VALUE fiber, VALUE io, VALUE b
722
722
  int error = errno;
723
723
 
724
724
  IO_Event_Selector_nonblock_restore(descriptor, state);
725
- return rb_fiber_scheduler_io_result(result, errno);
725
+ return rb_fiber_scheduler_io_result(result, error);
726
726
  }
727
727
 
728
728
  while (maximum_size) {
@@ -9,7 +9,6 @@
9
9
  #include <string.h>
10
10
 
11
11
  #include <unistd.h>
12
- #include <sys/select.h>
13
12
  #include <errno.h>
14
13
  #include <time.h>
15
14
 
@@ -7,6 +7,6 @@
7
7
  class IO
8
8
  # @namespace
9
9
  module Event
10
- VERSION = "1.11.1"
10
+ VERSION = "1.11.2"
11
11
  end
12
12
  end
data/readme.md CHANGED
@@ -18,6 +18,14 @@ Please see the [project documentation](https://socketry.github.io/io-event/) for
18
18
 
19
19
  Please see the [project releases](https://socketry.github.io/io-event/releases/index) for all releases.
20
20
 
21
+ ### v1.11.2
22
+
23
+ - Fix Windows build.
24
+
25
+ ### v1.11.1
26
+
27
+ - Fix `read_nonblock` when using the `URing` selector, which was not handling zero-length reads correctly. This allows reading available data without blocking.
28
+
21
29
  ### v1.11.0
22
30
 
23
31
  - [Introduce `IO::Event::WorkerPool` for off-loading blocking operations.](https://socketry.github.io/io-event/releases/index#introduce-io::event::workerpool-for-off-loading-blocking-operations.)
data/releases.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Releases
2
2
 
3
+ ## v1.11.2
4
+
5
+ - Fix Windows build.
6
+
7
+ ## v1.11.1
8
+
9
+ - Fix `read_nonblock` when using the `URing` selector, which was not handling zero-length reads correctly. This allows reading available data without blocking.
10
+
3
11
  ## v1.11.0
4
12
 
5
13
  ### Introduce `IO::Event::WorkerPool` for off-loading blocking operations.
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.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file