diff options
author | David RodrÃguez <[email protected]> | 2025-01-29 19:23:08 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-02-06 13:07:55 +0900 |
commit | 68bb6ceeafeae3c06f09f8d120d3194eaa2d131d (patch) | |
tree | 16687c1f648758a4f5129f0654173620afb27c37 /lib | |
parent | 15b77a09a7a72ac308ab478e491f3b90964a069f (diff) |
Remove unnecessary SINCE_FAST_PATH constant
If anything, I think this may be causing some false positives.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundled_gems.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index 17fd4b85f6..379cee5136 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -33,8 +33,6 @@ module Gem::BUNDLED_GEMS # :nodoc: # "readline" => "3.5.0", # This is wrapper for reline. We don't warn for this. }.freeze - SINCE_FAST_PATH = SINCE.transform_keys { |g| g.sub(/\A.*\-/, "") }.freeze - EXACT = { "kconv" => "nkf", }.freeze @@ -142,7 +140,7 @@ module Gem::BUNDLED_GEMS # :nodoc: end else name = feature.sub(LIBEXT, "") - return unless SINCE_FAST_PATH[name] + return unless SINCE[name] end return if specs.include?(name) |