Skip to content

Commit

Permalink
Remove support for Active Support < 5
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebarrie committed Mar 22, 2024
1 parent b347345 commit 74cafea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/deprecation_toolkit/collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@ def flaky?
private

def active_support_deprecation_sub_params
if ActiveSupport.gem_version.to_s < "5.0"
[/\W\s\(called from .*\)$/, ""]
else
[/ \(called from .*\)$/, ""]
end
[/ \(called from .*\)$/, ""]
end

def gem_deprecate_sub_params
Expand Down

0 comments on commit 74cafea

Please sign in to comment.