-
Notifications
You must be signed in to change notification settings - Fork 45
Add Rails 8.0 support #287
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # This file was generated by Appraisal | ||
|
|
||
| source "https://rubygems.org" | ||
|
|
||
| gem "rails", git: "https://github.com/rails/rails", branch: "8-0-stable" | ||
| gem "graphql", ">= 2.2", "< 2.3" | ||
|
|
||
| gemspec path: "../" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # This file was generated by Appraisal | ||
|
|
||
| source "https://rubygems.org" | ||
|
|
||
| gem "rails", git: "https://github.com/rails/rails", branch: "8-0-stable" | ||
| gem "graphql", ">= 2.3", "< 2.4" | ||
|
|
||
| gemspec path: "../" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # This file was generated by Appraisal | ||
|
|
||
| source "https://rubygems.org" | ||
|
|
||
| gem "rails", git: "https://github.com/rails/rails", branch: "8-0-stable" | ||
| gem "graphql", ">= 2.4", "< 2.5" | ||
|
|
||
| gemspec path: "../" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,6 +86,9 @@ def create_rails_project | |
| FileUtils.cd(File.join(destination_root, '..')) do | ||
| `rails new gqld_dummy -S -C --skip-action-mailbox --skip-action-text -T --skip-spring --skip-bundle --skip-keeps -G --skip-active-storage -J --skip-listen --skip-bootsnap` | ||
| end | ||
| FileUtils.cd(File.join(destination_root, '../gqld_dummy')) do | ||
| `rm -f config/initializers/assets.rb` | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was necessary as the assets initializer is still generated, but additional setup is required to continue to support assets in Rails 8.0 and we don't need it |
||
| end | ||
| FileUtils.cd(File.join(destination_root, '../gqld_dummy')) do | ||
| `rails generate graphql:install` | ||
| end | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test matrix exceeded the limit. I think it's fine to stop testing older ruby versions. We won't necessarily drop support now, but if we ever get a report of a failure, we can drop support then instead of fixing it. WDYT @00dav00