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

Update database cleaner to >= 2.0 #3343

Merged
merged 1 commit into from Aug 12, 2021

Conversation

codealchemy
Copy link
Contributor

Followup to #3341

Related changes to database_cleaner gem

database_cleaner was split into separate adapter gems - the two needed for this project are:

This also removes Ruby 2.2 from the CI build, since database_cleaner uses the safe navigation operator which was introduced in Ruby 2.3 (see related CI failure here). Maintaining a Ruby 2.2 build has caused issues elsewhere as well (see related discussion in #3256 (comment)), and 2.2 itself is no longer maintained as of March, 2018.

@mshibuya mshibuya added this to the 3.0.0 milestone Feb 28, 2021
@mshibuya
Copy link
Member

Thank you, but dropping Ruby support can only be done in major releases. I've set the 3.0.0 milestone.

@codealchemy
Copy link
Contributor Author

@mshibuya 👍🏼 understood. Is there a different branch this should target in the meantime? Also would the 3.0.0 milestone include removing support for libraries that are no longer maintained (ex. Paperclip)

@mshibuya
Copy link
Member

mshibuya commented Aug 9, 2021

I've made the master branch 3.0.0 ready. Could you rebase this to that?

@mshibuya mshibuya merged commit adb4e60 into railsadminteam:master Aug 12, 2021
@mshibuya
Copy link
Member

Thanks ❤️

@codealchemy codealchemy deleted the update-database-cleaner branch September 12, 2021 18:44
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.

None yet

2 participants