From e7abf063b06f2bdbb0e3cb1018ffe62b400af46d Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Thu, 19 Sep 2024 17:15:01 -0400 Subject: [PATCH] Remove Kernel.taint Taint tracking removed in ruby 2.7 Added deprecation warning message in ruby 3.2 Removed in ruby 3.3 --- lib/metadata/util/find_class_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/util/find_class_methods.rb b/lib/metadata/util/find_class_methods.rb index 4028dd9d..4761c1e0 100644 --- a/lib/metadata/util/find_class_methods.rb +++ b/lib/metadata/util/find_class_methods.rb @@ -56,7 +56,7 @@ def self.find(path, max_depth = nil) while (file = paths.shift) depth = depths.shift - yield file.dup.taint + yield file.dup next if max_depth && depth + 1 > max_depth get_dir_entries(file).each do |f|