Skip to content

Instantly share code, notes, and snippets.

@beauraF
Last active October 13, 2020 15:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beauraF/983c0bcce8f98098685f8131d357e2b9 to your computer and use it in GitHub Desktop.
Save beauraF/983c0bcce8f98098685f8131d357e2b9 to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
return unless defined?(DeprecationToolkit)
DeprecationToolkit::Configuration.warnings_treated_as_deprecation = [
%r{^((?!/gems/).)* warning: Using the last argument as keyword parameters is deprecated},
%r{^((?!/gems/).)* warning: Passing the keyword argument as the last hash parameter is deprecated},
%r{^((?!/gems/).)* warning: Splitting the last argument into positional and keyword parameters is deprecated},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment