io-nonblock 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/io/nonblock/nonblock.c +4 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb3f7ad035b8169c589a2ca93f344b83d8b1ed5d8532d48c437a99748689781
|
4
|
+
data.tar.gz: a25478e77b6fa3464e98bb9be9810b9e98b2dd40fcf6c6a1c3f025dc75eead4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3e920fcbf3d3925e8d6b81cffcdb90d0c65ae1a12729a3269ae43bdf7cfe5a838609502e7bc86e51ca6b100622e3a8ac7b7f5c05724ab3cb5e0a08e0ed32af8
|
7
|
+
data.tar.gz: bbf610c4f7cc6b609e5a2ef03eab5d2056baf5611a023d1f047883182422df4b2a732c6b573cb7ca54c0ff64e31874631ec0499cb7740d906078f3c3aa61f8bb
|
data/ext/io/nonblock/nonblock.c
CHANGED
@@ -197,6 +197,10 @@ rb_io_nonblock_block(int argc, VALUE *argv, VALUE self)
|
|
197
197
|
void
|
198
198
|
Init_nonblock(void)
|
199
199
|
{
|
200
|
+
#ifdef HAVE_RB_EXT_RACTOR_SAFE
|
201
|
+
rb_ext_ractor_safe(true);
|
202
|
+
#endif
|
203
|
+
|
200
204
|
#ifndef RUBY_IO_NONBLOCK_METHODS
|
201
205
|
rb_define_method(rb_cIO, "nonblock?", rb_io_nonblock_p, 0);
|
202
206
|
rb_define_method(rb_cIO, "nonblock=", rb_io_nonblock_set, 1);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: io-nonblock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nobu Nakada
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Enables non-blocking mode with IO class
|
14
14
|
email:
|
@@ -30,7 +30,7 @@ licenses:
|
|
30
30
|
metadata:
|
31
31
|
homepage_uri: https://github.com/ruby/io-nonblock
|
32
32
|
source_code_uri: https://github.com/ruby/io-nonblock
|
33
|
-
post_install_message:
|
33
|
+
post_install_message:
|
34
34
|
rdoc_options: []
|
35
35
|
require_paths:
|
36
36
|
- lib
|
@@ -45,8 +45,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
|
-
rubygems_version: 3.5.
|
49
|
-
signing_key:
|
48
|
+
rubygems_version: 3.5.11
|
49
|
+
signing_key:
|
50
50
|
specification_version: 4
|
51
51
|
summary: Enables non-blocking mode with IO class
|
52
52
|
test_files: []
|