io-event 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ext/io/event/selector/selector.c +2 -2
- data/ext/io/event/selector/selector.h +3 -1
- data/lib/io/event/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 63a99f0ea7e4724f1e54fba08e89c0724c62e5ba145458ce7633dd50ba24a6cc
|
4
|
+
data.tar.gz: eaa732bdf869288cc22a5b70d158dabe022c39cde249ede5859233eb08262c0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a1d36a58b3182cc38a5043cfb53d2207a1810d848a3ab2d95830fd17b7925996d6a0de397fd15be56fcf6447cea7d40534b2241b902d0150e3d0553f98936f
|
7
|
+
data.tar.gz: 87d5ab721c535429ee5271c810715eb5685ec9acd57cc22a6ad98ca2fe91451bfee5bbcd06f3d6d50a6db6914013965d24cefd79122cebdb907e6de5951643f8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -82,7 +82,7 @@ int IO_Event_Selector_nonblock_set(int file_descriptor)
|
|
82
82
|
{
|
83
83
|
#ifdef _WIN32
|
84
84
|
u_long nonblock = 1;
|
85
|
-
|
85
|
+
ioctlsocket(file_descriptor, FIONBIO, &nonblock);
|
86
86
|
// Windows does not provide any way to know this, so we always restore it back to unset:
|
87
87
|
return 0;
|
88
88
|
#else
|
@@ -103,7 +103,7 @@ void IO_Event_Selector_nonblock_restore(int file_descriptor, int flags)
|
|
103
103
|
#ifdef _WIN32
|
104
104
|
// Yolo...
|
105
105
|
u_long nonblock = flags;
|
106
|
-
|
106
|
+
ioctlsocket(file_descriptor, FIONBIO, &nonblock);
|
107
107
|
#else
|
108
108
|
// The flags didn't have O_NONBLOCK set, so it would have been set, so we need to restore it:
|
109
109
|
if (!(flags & O_NONBLOCK)) {
|
data/lib/io/event/version.rb
CHANGED
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.
|
4
|
+
version: 1.4.4
|
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: 2024-02-
|
45
|
+
date: 2024-02-16 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.
|
100
|
+
rubygems_version: 3.5.3
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: An event loop.
|
metadata.gz.sig
CHANGED
Binary file
|