Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence default gem removal warning about rdoc #704

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading