io-wait 0.3.4 → 0.3.6
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/wait/wait.c +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cece766b90e4d81cd9f633898dbe10bfb4c50ad82be6f2caee138df7047ed3c
|
|
4
|
+
data.tar.gz: 0a7bb7fad1bb08afe84a64debfcec609e4f341173ded73745e5fd72e5bae8d17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 498ed5a2e45eb6e5201fb59d5f4bc47e4b4ed7948a0813a0f9849a858fcc4faec0574958f638afdcb881ea8e691bd8f7715f722c5d9fd0ab7d6ede15f4484d76
|
|
7
|
+
data.tar.gz: b7ea14ccee049182560f902f722f6c263c5d8015685e5969a3c25bbea630064f6bb2d5549706272d2143e6590bd1cd814d8763fdb70f6c3b9a34d4b82d17666c
|
data/ext/io/wait/wait.c
CHANGED
|
@@ -83,6 +83,7 @@ io_nread(VALUE io)
|
|
|
83
83
|
int len;
|
|
84
84
|
ioctl_arg n;
|
|
85
85
|
|
|
86
|
+
rb_category_warn(RB_WARN_CATEGORY_DEPRECATED, "IO#nread is deprecated; use wait_readable instead");
|
|
86
87
|
GetOpenFile(io, fptr);
|
|
87
88
|
rb_io_check_char_readable(fptr);
|
|
88
89
|
len = rb_io_read_pending(fptr);
|
|
@@ -142,6 +143,7 @@ io_ready_p(VALUE io)
|
|
|
142
143
|
struct timeval tv = {0, 0};
|
|
143
144
|
#endif
|
|
144
145
|
|
|
146
|
+
rb_category_warn(RB_WARN_CATEGORY_DEPRECATED, "IO#ready? is deprecated; use wait_readable instead");
|
|
145
147
|
GetOpenFile(io, fptr);
|
|
146
148
|
rb_io_check_char_readable(fptr);
|
|
147
149
|
if (rb_io_read_pending(fptr)) return Qtrue;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: io-wait
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nobu Nakada
|
|
8
8
|
- Charles Oliver Nutter
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Waits until IO is readable or writable without blocking.
|
|
14
14
|
email:
|