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

feat: Add support for Rails 7.1 #1573

Merged
merged 9 commits into from
Nov 17, 2023
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
- 3.1.4
- 3.0.6
appraisal:
- rails_7_1
- rails_7_0
- rails_6_1
adapter:
- sqlite3
- postgresql
exclude:
- { ruby: 3.2.2, appraisal: rails_6_1 }
- { ruby: 3.1.4, appraisal: rails_5_2 }
- { ruby: 3.0.6, appraisal: rails_5_2 }
- { ruby: 3.0.6, appraisal: rails_7_0 }
- { ruby: 3.0.6, appraisal: rails_7_1 }
env:
DATABASE_ADAPTER: ${{ matrix.adapter }}
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
Expand Down
28 changes: 28 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,31 @@ appraise 'rails_7_0' do
gem 'sqlite3', '~> 1.4'
gem 'pg', '~> 1.1'
end

appraise 'rails_7_1' do
instance_eval(&shared_spring_dependencies)
instance_eval(&controller_test_dependency)

gem 'rails', '7.1.0'
gem 'sprockets-rails'
gem 'puma', '~> 6.0'
gem 'importmap-rails'
gem 'turbo-rails'
gem 'stimulus-rails'
gem 'jbuilder'
gem 'bootsnap', require: false
gem 'capybara'
gem 'selenium-webdriver'
gem 'webdrivers'

# test dependencies
gem 'rspec-rails', '~> 6.0'
gem 'shoulda-context', '~> 2.0.0'

# other dependencies
gem 'bcrypt', '~> 3.1.7'

# Database adapters
gem 'sqlite3', '~> 1.4'
gem 'pg', '~> 1.1'
end
42 changes: 42 additions & 0 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal", "2.4.0"
gem "bundler", "~> 2.0"
gem "pry"
gem "pry-byebug"
gem "rake", "13.0.1"
gem "rspec", "~> 3.9"
gem "rubocop", require: false
gem "rubocop-packaging", require: false
gem "rubocop-rails", require: false
gem "warnings_logger"
gem "zeus", require: false
gem "fssm"
gem "redcarpet"
gem "rouge"
gem "yard"
gem "spring"
gem "spring-watcher-listen", "~> 2.0.0"
gem "rails-controller-testing", ">= 1.0.1"
gem "rails", "7.1.0"
gem "sprockets-rails"
gem "puma", "~> 6.0"
gem "importmap-rails"
gem "turbo-rails"
gem "stimulus-rails"
gem "jbuilder"
gem "bootsnap", require: false
gem "capybara"
gem "selenium-webdriver"
gem "webdrivers"
gem "rspec-rails", "~> 6.0"
gem "shoulda-context", "~> 2.0.0"
gem "bcrypt", "~> 3.1.7"
gem "sqlite3", "~> 1.4"
gem "pg", "~> 1.1"

if RUBY_VERSION >= "3.1" && RUBY_VERSION < "3.2"
gem "error_highlight", ">= 0.4.0", platforms: [:ruby]
end
Loading