io-nonblock 0.3.0 → 0.3.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/io/nonblock/nonblock.c +4 -0
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72722b1ffc6a232b51665e937ecabe164a15e2dbccdb35628fe158db78e56713
4
- data.tar.gz: 491aa2cbbb825667d190e5dca3f3ef44abb7fcc65d2a5080e33f5fa4936142f0
3
+ metadata.gz: 4fb3f7ad035b8169c589a2ca93f344b83d8b1ed5d8532d48c437a99748689781
4
+ data.tar.gz: a25478e77b6fa3464e98bb9be9810b9e98b2dd40fcf6c6a1c3f025dc75eead4c
5
5
  SHA512:
6
- metadata.gz: 9c1e8c2abd77710e460dc12c39a89f2bf3e2466208bc422e97ec1891629d71d569c95c8b80beadd0ef5f5673c53f4101f016930038770266b2f62732972f7b65
7
- data.tar.gz: 3045f739c5bdcbef2c1335bfd0024842e5be44d0af0a3a90fb49c3ca9151fa02e74520cc854b3207e328b8c1a7f19fde5b580ad121c511590860e484de5b335d
6
+ metadata.gz: f3e920fcbf3d3925e8d6b81cffcdb90d0c65ae1a12729a3269ae43bdf7cfe5a838609502e7bc86e51ca6b100622e3a8ac7b7f5c05724ab3cb5e0a08e0ed32af8
7
+ data.tar.gz: bbf610c4f7cc6b609e5a2ef03eab5d2056baf5611a023d1f047883182422df4b2a732c6b573cb7ca54c0ff64e31874631ec0499cb7740d906078f3c3aa61f8bb
@@ -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.0
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: 2023-12-13 00:00:00.000000000 Z
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.0.dev
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: []