Skip to content

Commit

Permalink
chore: add Rails 7.1 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuap committed Mar 20, 2024
1 parent 580bc60 commit 6e82c78
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- rails6.0.gemfile
- rails6.1.gemfile
- rails7.0.gemfile
- rails7.1.gemfile
- resque.gemfile
- sinatra.gemfile
- sinatra_1.gemfile
Expand Down
10 changes: 10 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5.0')
gem 'tzinfo-data' # Needed for timezones to work on Windows
end

appraise 'rails7.1' do
RAILS_GEMS.each { |rails_gem| gem rails_gem, "~> 7.1" }
gem 'sqlite3', '~> 1.4', platforms: :mri
gem 'activerecord-jdbcsqlite3-adapter', '~> 60', platforms: :jruby
gem 'better_errors', require: false, platforms: :mri
gem 'rack-mini-profiler', require: false
gem 'rspec-rails'
gem 'tzinfo-data' # Needed for timezones to work on Windows
end

# Rails edge
appraise 'rails' do
RAILS_GEMS.each { |rails_gem| gem rails_gem, github: 'rails' }
Expand Down
41 changes: 41 additions & 0 deletions gemfiles/rails7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "allocation_stats", platforms: :mri, require: false
gem "appraisal", "~> 2.1"
gem "aruba", "~> 2.0"
gem "rspec", "~> 3.0"
gem "rspec-its"
gem "ruby-prof", platforms: :mri, require: false
gem "timecop"
gem "webmock"
gem "capistrano"
gem "rake"
gem "bump", "~> 0.10.0"
gem "activesupport", "~> 7.1"
gem "activemodel", "~> 7.1"
gem "activerecord", "~> 7.1"
gem "activejob", "~> 7.1"
gem "railties", "~> 7.1"
gem "actionpack", "~> 7.1"
gem "sqlite3", "~> 1.4", platforms: :mri
gem "activerecord-jdbcsqlite3-adapter", "~> 60", platforms: :jruby
gem "better_errors", require: false, platforms: :mri
gem "rack-mini-profiler", require: false
gem "rspec-rails"
gem "tzinfo-data"

group :development do
gem "guard"
gem "guard-rspec"
gem "pry"
gem "pry-byebug", platforms: :mri
gem "rdoc"
end

platforms :ruby_25 do
gem "mathn"
end

gemspec path: "../"

0 comments on commit 6e82c78

Please sign in to comment.