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

Upgrade rails to v7 #270

Merged
merged 10 commits into from
Feb 25, 2022
Merged

Upgrade rails to v7 #270

merged 10 commits into from
Feb 25, 2022

Conversation

emre-simtay
Copy link
Contributor

@emre-simtay emre-simtay commented Jan 21, 2022

Closes #268

The regexp now requires that after the comma there is "zero or more"
spaces followed by either a single or double quote, _then_ zero or more
of our specific characters that could be used in a version constraint.

This fix is needed because Rails 7 now doesn't require `bootsnap`,
meaning we'd end up creating an invalid Gemfile by inserting `gem
"bootsnap", require, require: false`.
bin/setup Show resolved Hide resolved
template-test/ci-run.sh Outdated Show resolved Hide resolved
Gemfile.tt Outdated Show resolved Hide resolved
template-test/ci-run.sh Outdated Show resolved Hide resolved
template-test/ci-run.sh Outdated Show resolved Hide resolved
@eoinkelly
Copy link
Contributor

❤️ your work on this @emre-simtay

@eoinkelly eoinkelly mentioned this pull request Jan 21, 2022
Gemfile.tt Outdated Show resolved Hide resolved
@eoinkelly
Copy link
Contributor

I'm seeing test failures locally which aren't happening in CI. I have created PR #271 to explore this.

README.md Outdated Show resolved Hide resolved
* Update node & ruby versions in CI to latest stable
* Use ruby 3.0 because brakeman does not support 3.1 yet
* Fix hash syntax for ruby 3.0
* Stop failing code coverage based on almost empty default Rails files
@eoinkelly eoinkelly mentioned this pull request Jan 26, 2022
Copy link
Contributor

@eoinkelly eoinkelly left a comment

Choose a reason for hiding this comment

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

:shipit: Good stuff.

Copy link
Contributor

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

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

Looks good - got two minor changes I'd like to see, but shouldn't be blocking.

template-test/ci-run.sh Outdated Show resolved Hide resolved
variants/frontend-react/template.rb Show resolved Hide resolved
@eoinkelly eoinkelly merged commit 5128121 into main Feb 25, 2022
@eoinkelly eoinkelly deleted the upgrade-rails-to-v7 branch February 25, 2022 02:27
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.

3 participants