Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecations about ActiveSupport::Deprecation #90

Merged
merged 17 commits into from
Nov 16, 2023

Conversation

etiennebarrie
Copy link
Member

Fixes #88

A few random commits at first to clean things up. Then removed the deprecated calls in each test/spec file. Finally, to prevent a deprecation from the plugin being triggered on the project itself when running the tests, I defined the Rails module in test/test_helper.rb in a way that's more similar to 7.1.

We're still testing the other code path that's calling the deprecated API, but only when running tests with Active Support < 7.1.

@etiennebarrie etiennebarrie requested a review from a team November 16, 2023 15:45
Copy link
Contributor

@casperisfine casperisfine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@etiennebarrie etiennebarrie merged commit 4608447 into main Nov 16, 2023
43 checks passed
@etiennebarrie etiennebarrie deleted the remove-deprecations branch November 16, 2023 17:19
@gstokkink
Copy link

@etiennebarrie thanks for fixing this! Can we get a new release for this (and maybe other fixes)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation toolkit itself using deprecated code?
4 participants