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 dev Ruby; drop old Rubies and Rails #187

Merged
merged 1 commit into from
Mar 26, 2023
Merged

Conversation

mcmire
Copy link
Collaborator

@mcmire mcmire commented Mar 26, 2023

We support versions of Ruby and Rails which are or are about to be EOL:

  • Ruby 2.5 and 2.6 are already EOL, and Ruby 2.7 will be EOL starting April 1st, 2023 (1).
  • Rails 5.0, 5.1, and 5.2 are already EOL (2).

To address this, I've removed support for these from the Appraisals file as well as the CI matrix. I've also simplified the Appraisals file and CI matrix, as we were excluding combinations of Rails and RSpec versions that didn't need to be excluded.

Finally, I've updated Appraisal to the latest commit within the repo. For some reason, if you remove gemfiles entirely and then re-run appraisal install, Appraisal will complain that a lockfile doesn't exist. This seems to be fixed in more recent commits. (I tried to fix this in another commit, but then you need to be able to update all of the appraisal gemfiles. But to do this, you need to be able to switch to old versions of Rubies, but I can't do this because those won't install on new versions of macOS. This commit removes the old Rubies, so that's unnecessary.)

@mcmire mcmire force-pushed the drop-old-rubies-and-rails branch 7 times, most recently from 1004f23 to a0a8fbb Compare March 26, 2023 00:43
We support versions of Ruby and Rails which are or are about to be EOL:

- Ruby 2.5 and 2.6 are already EOL, and Ruby 2.7 will be EOL starting
  April 1st, 2023 ([1]).
- Rails 5.0, 5.1, and 5.2 are already EOL ([2]).

To address this, I've removed support for these from the Appraisals file
as well as the CI matrix. I've also simplified the Appraisals file and
CI matrix, as we were excluding combinations of Rails and RSpec versions
that didn't need to be excluded.

I've also updated Appraisal to the latest commit within the repo.
For some reason, if you remove `gemfiles` entirely and then re-run
`appraisal install`, Appraisal will complain that a lockfile doesn't
exist. This seems to be fixed in more recent commits. (I tried to fix
this in another commit, but then you need to be able to update _all_ of
the appraisal gemfiles. But to do this, you need to be able to switch to
old versions of Rubies, but I can't do this because those won't install
on new versions of macOS. This commit removes the old Rubies, so that's
unnecessary.)

Finally, I've updated the GitHub Actions workflow to run the lint and
audit jobs first, then run the test job if those succeed.

[1]: https://endoflife.date/ruby
[2]: https://endoflife.date/rails
@mcmire mcmire changed the title Drop old Rubies and Rails Update dev Ruby; drop old Rubies and Rails Mar 26, 2023
@mcmire mcmire merged commit 628796a into main Mar 26, 2023
@mcmire mcmire deleted the drop-old-rubies-and-rails branch March 26, 2023 01:54
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.

1 participant