diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-02 05:16:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-02 05:16:35 +0100 |
commit | 6882d8d1110ef4feeec532196a1f0a25420d0fd1 (patch) | |
tree | c8a3d28a31e6c077d6b9097ff36b1232d2ce04b7 /dev-ruby/activesupport/files | |
parent | 85a2a2153ef8027c2ba1be45143cd91914be0ad0 (diff) |
gentoo auto-resync : 02:04:2023 - 05:16:35
Diffstat (limited to 'dev-ruby/activesupport/files')
-rw-r--r-- | dev-ruby/activesupport/files/activesupport-7.0.4.3-ruby32.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/activesupport/files/activesupport-7.0.4.3-ruby32.patch b/dev-ruby/activesupport/files/activesupport-7.0.4.3-ruby32.patch new file mode 100644 index 000000000000..82fc7a335e86 --- /dev/null +++ b/dev-ruby/activesupport/files/activesupport-7.0.4.3-ruby32.patch @@ -0,0 +1,23 @@ +Per https://github.com/rails/rails/pull/46735#issuecomment-1352643705, this +is just dropping a test which doesn't make sense for ruby32. + +https://github.com/rails/rails/issues/46712 +https://github.com/rails/rails/pull/46735 + +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 +--- a/test/executor_test.rb ++++ b/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 |