Skip to content

Commit

Permalink
Silence default gem removal warning about rdoc (#704)
Browse files Browse the repository at this point in the history
A bit distracting when running the tests.
  • Loading branch information
dentarg authored Dec 21, 2024
1 parent c332a90 commit 0dc30ae
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions config/filtered_warnings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# See https://github.com/jeremyevans/ruby-warning#usage--
ignores = %i[
default_gem_removal
method_redefined
mismatched_indentations
missing_ivar
Expand All @@ -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

0 comments on commit 0dc30ae

Please sign in to comment.