io-event 1.4.0 → 1.4.1

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: 1f53f20e456a5b4a5ef56e4293e9f8f080e30c16b6d3cd7022d7d8da22ebfe84
4
- data.tar.gz: cf6186d1eef0725483af5a47141dbf50bd6bcc96513bfd528c35dc693f4d7db2
3
+ metadata.gz: f4bd8777ff57783824a685d4e0908529f5d01e9b92a2a6658e23eedb375b3057
4
+ data.tar.gz: 10357b88e548e2ac27c41c3c2a2fec2b50597e2a0f7a4bf4e848b3791ae13cc5
5
5
  SHA512:
6
- metadata.gz: ff231970a60cedcec409eb1294de3c6a29eff82440bab558cc3618fc537b5461fb4514fbdc401d9a21630193a8ab293529579c191dc5d446c5eb45eccc3c4d4b
7
- data.tar.gz: 73a8a5cc5eb62fdc231b2d45c6591e367758ebb0e48a6a179a91877a08d6f0b9cd86ecf8c179ddab5f1cb81c0b05c9c8c345e0983de3e866ad420e189f7bbc4f
6
+ metadata.gz: 9ff2f5f264f709a85b25914d85fdff972e52fd49473e4c989324ee97de37956510c59546f3e5615a0c88457c88f9b3efb49d96ecb61a505220f0e96ae1845f23
7
+ data.tar.gz: edc21d2c9e319d0688a3806c3d34029e9d98bf77aeee125542d3daeac1ac2b21e4023c7e30fbc1d5d30b8d5e70ea6ee8e7c5630e37157759eb8e2f9086ff6d8a
checksums.yaml.gz.sig CHANGED
Binary file
data/ext/io/event/event.h CHANGED
@@ -22,8 +22,6 @@
22
22
 
23
23
  #include <ruby.h>
24
24
 
25
- #include "extconf.h"
26
-
27
25
  void Init_IO_Event(void);
28
26
 
29
27
  #ifdef HAVE_LIBURING_H
@@ -20,7 +20,7 @@
20
20
 
21
21
  #pragma once
22
22
 
23
- #include "extconf.h"
23
+ #include <ruby.h>
24
24
 
25
25
  #ifdef HAVE_SYS_EVENTFD_H
26
26
  struct IO_Event_Interrupt {
@@ -3,6 +3,7 @@
3
3
 
4
4
  // Provides a simple implementation of unique pointers to elements of the given size.
5
5
 
6
+ #include <ruby.h>
6
7
  #include <stdlib.h>
7
8
  #include <errno.h>
8
9
  #include <assert.h>
@@ -18,7 +18,7 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  // THE SOFTWARE.
20
20
 
21
- #include "kqueue.h"
21
+ #include "epoll.h"
22
22
  #include "selector.h"
23
23
  #include "list.h"
24
24
  #include "array.h"
@@ -1,6 +1,7 @@
1
1
  // Released under the MIT License.
2
2
  // Copyright, 2023, by Samuel Williams.
3
3
 
4
+ #include <ruby.h>
4
5
  #include <stdio.h>
5
6
  #include <assert.h>
6
7
 
@@ -18,6 +18,8 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  // THE SOFTWARE.
20
20
 
21
+ #include <ruby.h>
22
+
21
23
  #include <sys/types.h>
22
24
  #include <sys/syscall.h>
23
25
  #include <unistd.h>
@@ -602,7 +602,7 @@ static inline off_t io_seekable(int descriptor) {
602
602
  return -1;
603
603
  }
604
604
  #else
605
- #warning Upgrade your kernel to 5.16! io_uring bugs prevent efficient io_read/io_write hooks.
605
+ #warning Upgrade your kernel to 5.16+! io_uring bugs prevent efficient io_read/io_write hooks.
606
606
  static inline off_t io_seekable(int descriptor)
607
607
  {
608
608
  if (lseek(descriptor, 0, SEEK_CUR) == -1) {
@@ -5,6 +5,6 @@
5
5
 
6
6
  class IO
7
7
  module Event
8
- VERSION = "1.4.0"
8
+ VERSION = "1.4.1"
9
9
  end
10
10
  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.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -42,7 +42,7 @@ cert_chain:
42
42
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
43
43
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
44
44
  -----END CERTIFICATE-----
45
- date: 2023-12-28 00:00:00.000000000 Z
45
+ date: 2024-01-10 00:00:00.000000000 Z
46
46
  dependencies: []
47
47
  description:
48
48
  email:
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.5.3
100
+ rubygems_version: 3.4.10
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: An event loop.
metadata.gz.sig CHANGED
Binary file