io-nonblock 0.3.0 → 0.3.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 +4 -4
- data/ext/io/nonblock/extconf.rb +1 -1
- data/ext/io/nonblock/nonblock.c +4 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5153876d0adc16df90ed23a6ae4ce77bd828f5c0c706bf810e417fd93a6a40bf
|
4
|
+
data.tar.gz: e65a0bdab8d851b821f1413ff614aef7d49786a670ddb9cafc366401bf56231e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eb66927309c33273a4818b4d0f55ca9c9e952dc87246c9ba7214b6a8a9fac075bb6095e3da89360d7d5e2d566c6fdabfd9e4024acf7f45308835768e1e815e1
|
7
|
+
data.tar.gz: ea36ee5eae98830bf9f7c0e18016a03366436a5deeec7e1b3d61bd94b1058a3a46639c115f5915e0e10c4b04c42b308d34e56fbf5886116a50bc12c0cfba1dfe
|
data/ext/io/nonblock/extconf.rb
CHANGED
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,13 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nobu Nakada
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-07-15 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
12
|
description: Enables non-blocking mode with IO class
|
14
13
|
email:
|
@@ -30,7 +29,6 @@ licenses:
|
|
30
29
|
metadata:
|
31
30
|
homepage_uri: https://github.com/ruby/io-nonblock
|
32
31
|
source_code_uri: https://github.com/ruby/io-nonblock
|
33
|
-
post_install_message:
|
34
32
|
rdoc_options: []
|
35
33
|
require_paths:
|
36
34
|
- lib
|
@@ -38,15 +36,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
36
|
requirements:
|
39
37
|
- - ">="
|
40
38
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
39
|
+
version: '3.0'
|
42
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
41
|
requirements:
|
44
42
|
- - ">="
|
45
43
|
- !ruby/object:Gem::Version
|
46
44
|
version: '0'
|
47
45
|
requirements: []
|
48
|
-
rubygems_version: 3.
|
49
|
-
signing_key:
|
46
|
+
rubygems_version: 3.6.7
|
50
47
|
specification_version: 4
|
51
48
|
summary: Enables non-blocking mode with IO class
|
52
49
|
test_files: []
|