From 40e94cac119c309d3c25416351471cbb7ff5cb23 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 4 Jun 2025 14:32:51 +0900 Subject: [PATCH 1/2] Use the latest version of assert_ractor for Ractor#value --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index ba909e8..6669eae 100644 --- a/Gemfile +++ b/Gemfile @@ -6,5 +6,5 @@ group :development do gem "bundler" gem "rake" gem "test-unit" - gem "test-unit-ruby-core" + gem "test-unit-ruby-core", ">= 1.0.7" end From 9e51838a04713b6cf21e9de9ccaf919884ef56f6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 4 Jun 2025 14:33:00 +0900 Subject: [PATCH 2/2] Revert "Alias value or join to take in old Ruby" This reverts commit 443ed0cf8540588b3e4e9bf8b52cb8834f13c8bc. --- test/uri/test_common.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/uri/test_common.rb b/test/uri/test_common.rb index fef3f70..fef785a 100644 --- a/test/uri/test_common.rb +++ b/test/uri/test_common.rb @@ -74,9 +74,6 @@ def test_extract def test_ractor return unless defined?(Ractor) assert_ractor(<<~RUBY, require: 'uri') - class Ractor - alias value take unless method_defined? :value # compat with Ruby 3.4 and olders - end r = Ractor.new { URI.parse("https://ruby-lang.org/").inspect } assert_equal(URI.parse("https://ruby-lang.org/").inspect, r.value) RUBY