DEV: Upgrade Rails to 6.1.3.1 (#12688)

Rails 6.1.3.1 deprecates a few API and has some internal changes that break our tests suite, so this commit fixes all the deprecations and errors and now Discourse should be fully compatible with Rails 6.1.3.1. We also have a new release of the rails_failover gem that's compatible with Rails 6.1.3.1.
This commit is contained in:
Osama Sayegh
2021-04-21 12:36:32 +03:00
committed by GitHub
parent 838fa12f14
commit 45ccadeeeb
25 changed files with 116 additions and 95 deletions

14
Gemfile
View File

@@ -18,13 +18,13 @@ else
# this allows us to include the bits of rails we use without pieces we do not.
#
# To issue a rails update bump the version number here
gem 'actionmailer', '6.0.3.5'
gem 'actionpack', '6.0.3.5'
gem 'actionview', '6.0.3.5'
gem 'activemodel', '6.0.3.5'
gem 'activerecord', '6.0.3.5'
gem 'activesupport', '6.0.3.5'
gem 'railties', '6.0.3.5'
gem 'actionmailer', '6.1.3.1'
gem 'actionpack', '6.1.3.1'
gem 'actionview', '6.1.3.1'
gem 'activemodel', '6.1.3.1'
gem 'activerecord', '6.1.3.1'
gem 'activesupport', '6.1.3.1'
gem 'railties', '6.1.3.1'
gem 'sprockets-rails'
end