From de6f52a67b1cc458ecf6d329a443d9bff599bc43 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sat, 6 Dec 2025 17:58:00 +0100 Subject: [PATCH] dev-ruby/activemodel: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger --- .../activemodel-6.1.7.4-ruby32-keywords.patch | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 dev-ruby/activemodel/files/activemodel-6.1.7.4-ruby32-keywords.patch diff --git a/dev-ruby/activemodel/files/activemodel-6.1.7.4-ruby32-keywords.patch b/dev-ruby/activemodel/files/activemodel-6.1.7.4-ruby32-keywords.patch deleted file mode 100644 index a44820c51a1f7..0000000000000 --- a/dev-ruby/activemodel/files/activemodel-6.1.7.4-ruby32-keywords.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 67bdba4e63cad218c02dbb3171ddd53353cc0b48 Mon Sep 17 00:00:00 2001 -From: Javier Jimenez -Date: Thu, 5 Jan 2023 21:34:37 +0100 -Subject: [PATCH] Backports ruby 3.2 compatibility fixes for rails 6.1 - ---- - actionmailer/lib/action_mailer/base.rb | 2 +- - actionmailer/lib/action_mailer/rescuable.rb | 12 ++++++++---- - actionpack/lib/abstract_controller/base.rb | 10 +++++++--- - actionpack/lib/abstract_controller/callbacks.rb | 6 +++++- - actionview/lib/action_view/rendering.rb | 6 +++++- - activemodel/lib/active_model/attribute_methods.rb | 2 +- - activerecord/lib/active_record/relation.rb | 8 ++++++-- - 7 files changed, 33 insertions(+), 13 deletions(-) - -diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb -index 365b338d17af3..0c401f7aeb4d9 100644 ---- a/lib/active_model/attribute_methods.rb -+++ b/lib/active_model/attribute_methods.rb -@@ -478,6 +478,7 @@ def method_missing(method, *args, &block) - def attribute_missing(match, *args, &block) - __send__(match.target, match.attr_name, *args, &block) - end -+ ruby2_keywords(:attribute_missing) if respond_to?(:ruby2_keywords, true) - - # A +Person+ instance with a +name+ attribute can ask - # person.respond_to?(:name), person.respond_to?(:name=),