aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-08 15:57:08 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-08 15:57:08 +0900
commit8f6cf72e661e36410848c1451335fd28a32cecdf (patch)
tree23eb6859110e5c713778da941d03d5abebee0d0d
parent64e985333f4fa7e4ba06454ef50c41e56a22768d (diff)
downloadruby-8f6cf72e661e36410848c1451335fd28a32cecdf.tar.gz
Skip to warn like 'bigdecimal/util' feature.
-rw-r--r--lib/bundled_gems.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb
index 3967511cd1..873377dfd1 100644
--- a/lib/bundled_gems.rb
+++ b/lib/bundled_gems.rb
@@ -103,6 +103,9 @@ module Gem::BUNDLED_GEMS
return
end
return if WARNED[name]
+ # Ignore to warn like "bigdecimal/util" feature.
+ # It should be better to warn it, but it is difficult to cover all of target features.
+ return unless SINCE[name]
WARNED[name] = true
if gem == true
gem = name