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 17bb800 + c204f5c commit 0acadf5Copy full SHA for 0acadf5
lib/deprecation_tracker.rb
@@ -32,7 +32,7 @@ def warn(*messages)
32
33
def self.track_rspec(rspec_config, shitlist_path:, mode:, transform_message: nil)
34
deprecation_tracker = DeprecationTracker.new(shitlist_path, transform_message)
35
- ActiveSupport::Deprecation.behavior << -> (message, _callstack) { deprecation_tracker.add(message) }
+ ActiveSupport::Deprecation.behavior << -> (message, _callstack, _deprecation_horizon, _gem_name) { deprecation_tracker.add(message) }
36
KernelWarnTracker.callbacks << -> (message) { deprecation_tracker.add(message) }
37
38
rspec_config.around do |example|
0 commit comments