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

Support Rails 7 #100

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Support Rails 7 #100

merged 1 commit into from
Jan 26, 2022

Conversation

erikaxel
Copy link
Contributor

@erikaxel erikaxel commented Dec 16, 2021

Rails 7 only supports Ruby 2.7+, so this commit also adds support for only running tests on a subset of different Ruby versions pr supported Rails version.

@erikaxel erikaxel force-pushed the master branch 6 times, most recently from 646b52d to 2465f71 Compare December 16, 2021 10:47
@erikaxel
Copy link
Contributor Author

Hi, this should now be ready for merge. Im sorry if my repeated tries at getting Github Actions to work pinged you unnecessarily.

@erikaxel
Copy link
Contributor Author

@jenseng If you could merge this I would be happy to see if I can add testing support for more recent Rubies such as 3.0 and 3.1 as well.

@AlfonsoUceda
Copy link

@erikaxel thanks for your work.

Is there any news on this? It would be nice to support rails 7 and ruby 3.1

@@ -31,6 +31,17 @@ jobs:
strategy:
matrix:
ruby: ['2.5', '2.7']

Choose a reason for hiding this comment

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

It probably wouldn't hurt to add 3.1/3.2 here as well since those are preferred for Rails 7. Anything to get Rails 7 support first though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it makes sense to add support for 3.0 and 3.1 as a separate PR? I'm happy to do that as soon as this is merged. We have used both 3.0 and 3.1 with hair_trigger so that should be no problem

Choose a reason for hiding this comment

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

That makes sense to me, especially if there's a chance adding those to this PR delays getting it merged in.

Choose a reason for hiding this comment

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

@erikaxel could you create a PR for rubies 3.0 and 3.1?

@pil0u
Copy link

pil0u commented Jan 25, 2022

Hey, migrating to Rails 7 as well, this PR is very welcome 👍

@AlfonsoUceda
Copy link

@joeyparis are you the current maintainer of the repo?

@joeyparis
Copy link

@AlfonsoUceda unfortunately not

@AlfonsoUceda
Copy link

@jenseng could you take a look?

@jenseng
Copy link
Owner

jenseng commented Jan 26, 2022

Thanks @erikaxel! Sorry for the slow turnaround, I'll push out a new version in a bit

@jenseng jenseng merged commit bef4063 into jenseng:master Jan 26, 2022
@jenseng
Copy link
Owner

jenseng commented Jan 26, 2022

v0.2.25 should support rails 7

@AlfonsoUceda
Copy link

Thank you @jenseng

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.

6 participants