Skip to content

Commit

Permalink
Merge pull request #185 from kiskoza/rails-7-2-support
Browse files Browse the repository at this point in the history
Add Rails 7.2 to the CI matrix
  • Loading branch information
kiskoza authored Sep 27, 2024
2 parents 1472939 + 8638b43 commit d7f9907
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "6.1"
- "7.0"
- "7.1"
- "7.2"

ruby:
- "2.4"
Expand Down Expand Up @@ -121,6 +122,21 @@ jobs:
- rails: "7.1"
ruby: "2.6"

- rails: "7.2"
ruby: "2.4"

- rails: "7.2"
ruby: "2.5"

- rails: "7.2"
ruby: "2.6"

- rails: "7.2"
ruby: "2.7"

- rails: "7.2"
ruby: "3.0"

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/spec/gemfiles/Gemfile.rails-${{ matrix.rails }}

Expand Down
2 changes: 1 addition & 1 deletion spec/gemfiles/Gemfile.rails-5.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gemspec path: '../../'

gem 'rails', "~> 5.1.0"
gem 'responders', '~> 3.0'
gem 'sqlite3'
gem 'sqlite3', '~> 1.4.4'
gem 'sprockets', '~> 3.0'
gem "jquery-rails"
gem "thin"
Expand Down
2 changes: 1 addition & 1 deletion spec/gemfiles/Gemfile.rails-5.2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gemspec path: '../../'

gem 'rails', "~> 5.2.0"
gem 'responders', '~> 3.0'
gem 'sqlite3'
gem 'sqlite3', '~> 1.4.4'
gem 'sprockets', '~> 3.0'
gem "jquery-rails"
gem "thin"
Expand Down
4 changes: 1 addition & 3 deletions spec/gemfiles/Gemfile.rails-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ gemspec path: '../../'

gem 'rails', '~> 7.1.0'
gem 'responders', '~> 3.0'
# Could sqlite3 constrains when this PR get released
# https://github.com/rails/rails/pull/51592
gem 'sqlite3', '~> 1.4'
gem 'sqlite3'
gem 'sprockets', '~> 4.0'
gem 'jquery-rails'
gem 'thin'
Expand Down
14 changes: 14 additions & 0 deletions spec/gemfiles/Gemfile.rails-7.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
source "http://rubygems.org"

gemspec path: '../../'

gem 'rails', '~> 7.2.0'
gem 'responders', '~> 3.0'
gem 'sqlite3'
gem 'sprockets', '~> 4.0'
gem 'jquery-rails'
gem 'thin'
gem 'capybara', '~> 3.0'
gem 'acts_as_caxlsx', git: 'https://github.com/caxlsx/acts_as_caxlsx.git'

gem 'byebug'

0 comments on commit d7f9907

Please sign in to comment.