Skip to content

Commit

Permalink
chore: Upgrade Rails to 7.1 - first pass (#2311)
Browse files Browse the repository at this point in the history
Main actions so far:

Update Rails to 7.1.4 in Gemfile
Run bin/rails app:update to automatically update various config files
Add explicit attributes for enums without a corresponding DB column
Rename 422 unprocessable_entity to unprocessable_content
Update some Swagger methods to the new OpenAPI equivalents
Make sure that AWS library is properly included
Use Database Cleaner instead of RSpec's own transactional fixtures as it seems to work more reliably on CircleCI
Fix deprecation warnings where possible
Finish the previous Rails 7.0 upgrade by enabling all 7.0 defaults
  • Loading branch information
jimbali authored Aug 28, 2024
1 parent 1e86bd4 commit ead70fd
Show file tree
Hide file tree
Showing 61 changed files with 640 additions and 388 deletions.
8 changes: 5 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby File.read('.ruby-version')

gem 'rails', '~> 7.0.8'
gem 'rails', '~> 7.1.4'

gem 'activerecord-import'
gem 'auto_strip_attributes'
gem 'aws-sdk-athena'
gem 'aws-sdk-s3', require: false
gem 'aws-sdk-s3'
gem 'bcrypt', require: false
gem 'bootsnap', require: false
gem 'cancancan'
gem 'csv'
gem 'discard'
gem 'doorkeeper', '5.5.4'
gem 'faraday'
Expand All @@ -36,7 +37,7 @@ gem 'pg'
gem 'prometheus-client'
gem 'puma'
gem 'redis'
gem 'routing-filter'
gem 'routing-filter', github: 'nduitz/routing-filter', ref: '7ada2f1854563852c615eec681c67f80f135ade5'
gem 'sentry-rails'
gem 'sentry-ruby'
gem 'sentry-sidekiq'
Expand Down Expand Up @@ -83,6 +84,7 @@ end

group :test do
gem 'climate_control'
gem 'database_cleaner-active_record'
gem 'rack-test'
gem 'service_mock'
gem 'simplecov', require: false
Expand Down
Loading

0 comments on commit ead70fd

Please sign in to comment.