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

Add Rails 7.2 support #484

Merged
merged 11 commits into from
Aug 28, 2024
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- rails_6_1
- rails_7_0
- rails_7_1
- rails_7_2
- rails_main
exclude:
- ruby: '3.2'
Expand Down Expand Up @@ -50,6 +51,9 @@ jobs:

- ruby: '2.6'
gemfile: rails_7_1

- ruby: '3.1'
AhmedAliIbrahim marked this conversation as resolved.
Show resolved Hide resolved
gemfile: rails_7_2
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
Expand Down Expand Up @@ -81,6 +85,7 @@ jobs:
- rails_6_1
- rails_7_0
- rails_7_1
- rails_7_2
- rails_main
exclude:
- ruby: '3.2'
Expand Down Expand Up @@ -110,6 +115,9 @@ jobs:

- ruby: '2.6'
gemfile: rails_7_1

- ruby: '3.1'
gemfile: rails_7_2
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
Expand Down Expand Up @@ -156,6 +164,7 @@ jobs:
- rails_6_1
- rails_7_0
- rails_7_1
- rails_7_2
- rails_main
exclude:
- ruby: '3.2'
Expand Down Expand Up @@ -185,6 +194,9 @@ jobs:

- ruby: '2.6'
gemfile: rails_7_1

- ruby: '3.1'
gemfile: rails_7_2
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
Expand Down
11 changes: 6 additions & 5 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ '5_2' => '5.2.0', '6_0' => '6.0.0', '6_1' => '6.1.0', '7_0' => '7.0.0', '7_1' => '7.1.0' }.each do |rails, version|
{ '5_2' => '5.2.0', '6_0' => '6.0.0', '6_1' => '6.1.0', '7_0' => '7.0.0', '7_1' => '7.1.0',
'7_2' => '7.2.0' }.each do |rails, version|
appraise "rails-#{rails}" do
gem "rails", "~> #{version}"
gem 'rails', "~> #{version}"
end
end

appraise "rails-main" do
gem "rails", github: "rails/rails", branch: "main"
gem "rspec-rails", "~> 6.0.2"
appraise 'rails-main' do
gem 'rails', github: 'rails/rails', branch: 'main'
gem 'rspec-rails', '~> 6.0.2'
end
13 changes: 13 additions & 0 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source 'https://rubygems.org'

gem 'rails', '~> 7.2.0'

platforms :ruby do
gem 'mysql2', '< 1.0.0'
gem 'pg', '< 2.0.0'
gem 'sqlite3'
end

gemspec path: '../'
Loading