[ruby/openssl] Replace Ruby 3.5 with Ruby 4.0

This commit updates the Ruby version in the error message to follow the commit in Ruby master branch.
6d81969b47

https://github.com/ruby/openssl/commit/5a50a4d793
This commit is contained in:
Yasuo Honda 2025-11-11 21:49:36 +09:00 committed by git
parent 48dce7874f
commit ca2fffd3a7

View File

@ -2325,12 +2325,12 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
end
end
# OpenSSL::Buffering requires $/ accessible from non-main Ractors (Ruby 3.5)
# OpenSSL::Buffering requires $/ accessible from non-main Ractors (Ruby 4.0)
# https://bugs.ruby-lang.org/issues/21109
#
# Hangs on Windows
# https://bugs.ruby-lang.org/issues/21537
if respond_to?(:ractor) && RUBY_VERSION >= "3.5" && RUBY_PLATFORM !~ /mswin|mingw/
if respond_to?(:ractor) && RUBY_VERSION >= "4.0" && RUBY_PLATFORM !~ /mswin|mingw/
ractor
def test_ractor_client
start_server { |port|