Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 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