Skip to content

Commit 7b365d9

Browse files
authored
Merge branch 'master' into bundle-update-20251118-d2818dbe
2 parents 31a838b + ed9a39e commit 7b365d9

File tree

4 files changed

+5
-55
lines changed

4 files changed

+5
-55
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ GEM
3535
benchmark-ips (2.14.0)
3636
bigdecimal (3.3.1)
3737
concurrent-ruby (1.3.5)
38-
connection_pool (2.5.4)
38+
connection_pool (2.5.5)
3939
csv (3.3.5)
4040
dbm (1.1.0)
4141
diff-lcs (1.6.2)
@@ -66,7 +66,7 @@ GEM
6666
logger (1.7.0)
6767
marcel (1.1.0)
6868
memory_profiler (1.1.0)
69-
minitest (5.26.1)
69+
minitest (5.26.2)
7070
mutex_m (0.3.0)
7171
net-protocol (0.2.2)
7272
timeout

core/io/wait.rbs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
%a{annotate:rdoc:skip}
22
class IO
3-
# <!--
4-
# rdoc-file=ext/io/wait/wait.c
5-
# - io.nread -> int
6-
# -->
7-
# Returns number of bytes that can be read without blocking. Returns zero if no
8-
# information available.
9-
#
10-
# You must require 'io/wait' to use this method.
11-
#
12-
def nread: () -> Integer
13-
14-
# <!--
15-
# rdoc-file=ext/io/wait/wait.c
16-
# - io.ready? -> truthy or falsy
17-
# -->
18-
# Returns a truthy value if input available without blocking, or a falsy value.
19-
#
20-
# You must require 'io/wait' to use this method.
21-
#
22-
def ready?: () -> boolish
23-
243
# <!--
254
# rdoc-file=ext/io/wait/wait.c
265
# - io.wait(events, timeout) -> event mask, false or nil

steep/Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ GEM
1818
base64 (0.3.0)
1919
bigdecimal (3.3.1)
2020
concurrent-ruby (1.3.5)
21-
connection_pool (2.5.4)
21+
connection_pool (2.5.5)
2222
csv (3.3.5)
2323
drb (2.2.3)
2424
ffi (1.17.2)
@@ -31,7 +31,7 @@ GEM
3131
rb-fsevent (~> 0.10, >= 0.10.3)
3232
rb-inotify (~> 0.9, >= 0.9.10)
3333
logger (1.7.0)
34-
minitest (5.26.1)
34+
minitest (5.26.2)
3535
mutex_m (0.3.0)
3636
parser (3.3.10.0)
3737
ast (~> 2.4.1)
@@ -45,7 +45,7 @@ GEM
4545
ffi (~> 1.0)
4646
rbs (3.9.5)
4747
logger
48-
ruby-lsp (0.26.3)
48+
ruby-lsp (0.26.4)
4949
language_server-protocol (~> 3.17.0)
5050
prism (>= 1.2, < 2.0)
5151
rbs (>= 3, < 5)

test/stdlib/IO_test.rb

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -525,26 +525,6 @@ class IOWaitTest < Test::Unit::TestCase
525525

526526
testing "::IO"
527527

528-
def test_readyp
529-
# This method returns true|false in Ruby 2.7, nil|IO in 3.0, and true|false in 3.1.
530-
531-
IO.pipe.tap do |r, w|
532-
assert_send_type(
533-
"() -> untyped",
534-
r, :ready?
535-
)
536-
end
537-
538-
IO.pipe.tap do |r, w|
539-
w.write("hello")
540-
541-
assert_send_type(
542-
"() -> untyped",
543-
r, :ready?
544-
)
545-
end
546-
end
547-
548528
def test_wait_readable
549529
if_ruby "3.0.0"..."3.2.0" do
550530
IO.pipe.tap do |r, w|
@@ -583,15 +563,6 @@ def test_wait_writable
583563
end
584564
end
585565

586-
def test_nread
587-
IO.pipe.tap do |r, w|
588-
assert_send_type(
589-
"() -> Integer",
590-
r, :nread
591-
)
592-
end
593-
end
594-
595566
def test_wait
596567
if_ruby "3.0.0"..."3.2.0", skip: false do
597568
IO.pipe.tap do |r, w|

0 commit comments

Comments
 (0)