Skip to content

Commit 1016673

Browse files
authored
Merge pull request rails#52853 from zzak/as-deprecation-reporting-constants-nodoc
Ensure AS::Deprecation::Reporting constants stay private
2 parents 4abefde + 361a545 commit 1016673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activesupport/lib/active_support/deprecation/reporting.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ def _extract_callstack(callstack)
168168
end
169169
end
170170

171-
RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/"
172-
LIB_DIR = RbConfig::CONFIG["libdir"]
171+
RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/" # :nodoc:
172+
LIB_DIR = RbConfig::CONFIG["libdir"] # :nodoc:
173173

174174
def ignored_callstack?(path)
175175
path.start_with?(RAILS_GEM_ROOT, LIB_DIR) || path.include?("<internal:")

0 commit comments

Comments
 (0)