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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72722b1ffc6a232b51665e937ecabe164a15e2dbccdb35628fe158db78e56713
4
- data.tar.gz: 491aa2cbbb825667d190e5dca3f3ef44abb7fcc65d2a5080e33f5fa4936142f0
3
+ metadata.gz: 5153876d0adc16df90ed23a6ae4ce77bd828f5c0c706bf810e417fd93a6a40bf
4
+ data.tar.gz: e65a0bdab8d851b821f1413ff614aef7d49786a670ddb9cafc366401bf56231e
5
5
  SHA512:
6
- metadata.gz: 9c1e8c2abd77710e460dc12c39a89f2bf3e2466208bc422e97ec1891629d71d569c95c8b80beadd0ef5f5673c53f4101f016930038770266b2f62732972f7b65
7
- data.tar.gz: 3045f739c5bdcbef2c1335bfd0024842e5be44d0af0a3a90fb49c3ca9151fa02e74520cc854b3207e328b8c1a7f19fde5b580ad121c511590860e484de5b335d
6
+ metadata.gz: 2eb66927309c33273a4818b4d0f55ca9c9e952dc87246c9ba7214b6a8a9fac075bb6095e3da89360d7d5e2d566c6fdabfd9e4024acf7f45308835768e1e815e1
7
+ data.tar.gz: ea36ee5eae98830bf9f7c0e18016a03366436a5deeec7e1b3d61bd94b1058a3a46639c115f5915e0e10c4b04c42b308d34e56fbf5886116a50bc12c0cfba1dfe
@@ -7,7 +7,7 @@ unless RUBY_ENGINE == 'ruby'
7
7
  return
8
8
  end
9
9
 
10
- have_func("rb_io_descriptor")
10
+ have_func("rb_io_descriptor", "ruby/io.h")
11
11
 
12
12
  hdr = %w"fcntl.h"
13
13
  if have_macro("O_NONBLOCK", hdr) and
@@ -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.0
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: 2023-12-13 00:00:00.000000000 Z
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: 2.3.0
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.5.0.dev
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: []