lib/active_support/deprecation/reporting.rb in activesupport-7.1.4.2 vs lib/active_support/deprecation/reporting.rb in activesupport-7.1.5

- old
+ new

@@ -161,11 +161,11 @@ offending_line end end end - RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/" - LIB_DIR = RbConfig::CONFIG["libdir"] + RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/" # :nodoc: + LIB_DIR = RbConfig::CONFIG["libdir"] # :nodoc: def ignored_callstack?(path) path.start_with?(RAILS_GEM_ROOT, LIB_DIR) end end