Skip to content

Commit 7778100

Browse files
Upgrade: Rails version 7.1 (#4735)
This commit: * Run bundle update * Run `app:update` task and resolve conflicts in config & env files * Run safe autocorrect fixes for new Rubocop offences * Add rubocop-rspec_rails to Rubcop config * Manually fix new unsafe Rubcop offences * Requires fixing some specs as some elements became ambiguous due to preferring more generic `click_on` Capybara helper instead of `click_link` * Add generators to new `autoload_lib` configuration * Because: CI breaks otherwise * Access schema migration object via base connection in Heroku task * Because: This behaviour was removed in rails 7.1. See https://github.com/rails/rails/blob/7-1-stable/activerecord/CHANGELOG.md * Toggle low risk framework defaults for Rails 7.1
1 parent 64cfc2b commit 7778100

38 files changed

+617
-281
lines changed

.rubocop.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ require:
22
- rubocop-performance
33
- rubocop-rails
44
- rubocop-rspec
5+
- rubocop-rspec_rails
56
- rubocop-capybara
67
- rubocop-factory_bot
78

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ruby File.read('.ruby-version').strip
22

33
source 'https://rubygems.org'
44

5-
gem 'rails', '7.0.8.1'
5+
gem 'rails', '7.1.3.4'
66

77
gem 'aasm', '~> 5.3'
88
gem 'barnes', '~> 0.0'

0 commit comments

Comments
 (0)