From 0dc30aef0f0fc0c09708723811e173e68063cb8e Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Sat, 21 Dec 2024 16:02:17 +0100 Subject: [PATCH] Silence default gem removal warning about rdoc (#704) A bit distracting when running the tests. --- config/filtered_warnings.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/filtered_warnings.rb b/config/filtered_warnings.rb index f13e16ce..3973a268 100644 --- a/config/filtered_warnings.rb +++ b/config/filtered_warnings.rb @@ -4,6 +4,7 @@ # See https://github.com/jeremyevans/ruby-warning#usage-- ignores = %i[ + default_gem_removal method_redefined mismatched_indentations missing_ivar @@ -12,11 +13,14 @@ unused_var ] # this list is sorted alphabetically -# TODO: add :default_gem_removal when this PR is release (warning >1.4.0) -# https://github.com/jeremyevans/ruby-warning/pull/24 - Gem.path.each do |path| Warning.ignore(ignores, path) end $VERBOSE = true + +# default_gem_removal +# +# github-markup-5.0.1/lib/github/markup/rdoc.rb:2: +# warning: rdoc was loaded from the standard library, but will no longer be +# part of the default gems starting from Ruby 3.5.0