Skip to content

Commit

Permalink
Add support for Rails 8.0 (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez authored Nov 8, 2024
1 parent a960f4d commit 7730ee5
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- '2.7'
- '2.6'
rails:
- rails_8.0
- rails_7.2
- rails_7.1
- rails_7.0
Expand All @@ -48,6 +49,15 @@ jobs:
- ruby: '3.0'
rails: 'rails_7.2'

- ruby: '2.6'
rails: 'rails_8.0'
- ruby: '2.7'
rails: 'rails_8.0'
- ruby: '3.0'
rails: 'rails_8.0'
- ruby: '3.1'
rails: 'rails_8.0'

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails }}.gemfile

Expand Down
9 changes: 9 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@

appraise 'rails_6.0' do
gem 'rails', '~> 6.0.0'
gem 'sqlite3', '~> 1.5.0'
end

appraise 'rails_6.1' do
gem 'rails', '~> 6.1.0'
gem 'sqlite3', '~> 1.5.0'
end

appraise 'rails_7.0' do
gem 'rails', '~> 7.0.0'
gem 'sqlite3', '~> 1.5.0'
end

appraise 'rails_7.1' do
gem 'rails', '~> 7.1.0'
gem 'sqlite3', '~> 1.5.0'
end

appraise 'rails_7.2' do
gem 'rails', '~> 7.2.0'
gem 'sqlite3', '~> 1.5.0'
end

appraise 'rails_8.0' do
gem 'rails', '~> 8.0.0'
end
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gem 'rspec_junit_formatter'
gem 'rspec'
gem 'rspec-rails'
gem 'simplecov'
gem 'sqlite3', '~> 1.5.0'
gem 'sqlite3', '~> 2.1.0'
gem 'webmock'

if RUBY_VERSION =~ /2.5.*/
Expand Down
25 changes: 25 additions & 0 deletions gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
gem "aws-sdk-core"
gem "aws-sdk-s3"
gem "combustion"
gem "fog-aws"
gem "google-cloud-storage"
gem "rails", "~> 8.0.0"
gem "rake"
gem "rspec_junit_formatter"
gem "rspec"
gem "rspec-rails"
gem "simplecov"
gem "sqlite3", "~> 2.1.0"
gem "webmock"
gem "nokogiri"

group :test do
gem "byebug"
end

gemspec path: "../"

0 comments on commit 7730ee5

Please sign in to comment.