You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
839 B
24 lines
839 B
2 years ago
|
From 60ffaac2e9644076e53afa1a2b1a716e289b7085 Mon Sep 17 00:00:00 2001
|
||
|
From: Akira Matsuda <ronnie@dio.jp>
|
||
|
Date: Thu, 15 Dec 2022 15:45:27 +0900
|
||
|
Subject: [PATCH] RubyVM class serial is no longer available in Ruby 3.2
|
||
|
|
||
|
since ruby/ruby@13bd617ea6fdf72467c593639cf33312a06c330c
|
||
|
---
|
||
|
activesupport/test/executor_test.rb | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/activesupport/test/executor_test.rb b/activesupport/test/executor_test.rb
|
||
|
index d366ae55b6e0..27872458d95b 100644
|
||
|
--- a/activesupport/test/executor_test.rb
|
||
|
+++ b/activesupport/test/executor_test.rb
|
||
|
@@ -226,7 +226,7 @@ def test_hook_insertion_order
|
||
|
end
|
||
|
|
||
|
def test_class_serial_is_unaffected
|
||
|
- skip if !defined?(RubyVM)
|
||
|
+ skip if !defined?(RubyVM) || !RubyVM.stat.has_key?(:class_serial)
|
||
|
|
||
|
hook = Class.new do
|
||
|
define_method(:run) do
|