We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c271545 + b4abc81 commit ba7063fCopy full SHA for ba7063f
lib/deprecation_tracker.rb
@@ -33,7 +33,7 @@ def warn(*messages)
33
34
def self.track_rspec(rspec_config, shitlist_path:, mode:, transform_message: nil)
35
deprecation_tracker = DeprecationTracker.new(shitlist_path, transform_message)
36
- ActiveSupport::Deprecation.behavior << -> (message, _callstack) { deprecation_tracker.add(message) }
+ ActiveSupport::Deprecation.behavior << -> (message, _callstack, _deprecation_horizon, _gem_name) { deprecation_tracker.add(message) }
37
KernelWarnTracker.callbacks << -> (message) { deprecation_tracker.add(message) }
38
39
rspec_config.around do |example|
0 commit comments