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

Update to Rails 7.1 (including related updates) #2219

Merged
merged 8 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ ruby File.read('.ruby-version').strip
# Loading only what we use reduces memory use & attack surface.
# gem 'actioncable' # Not used. Client/server comm channel.
# gem 'activestorage' # Not used. Attaches cloud files to ActiveRecord.
gem 'actionmailer', '~> 7.0.8' # Rails. Send email.
gem 'actionpack', '~> 7.0.8' # Rails. MVC framework.
gem 'actionview', '~> 7.0.8' # Rails. View.
gem 'activejob', '~> 7.0.8' # Rails. Async jobs.
gem 'activemodel', '~> 7.0.8' # Rails. Model basics.
gem 'activerecord', '~> 7.0.8' # Rails. ORM and query system.
gem 'actionmailer', '~> 7.1.5' # Rails. Send email.
gem 'actionpack', '~> 7.1.5' # Rails. MVC framework.
gem 'actionview', '~> 7.1.5' # Rails. View.
gem 'activejob', '~> 7.1.5' # Rails. Async jobs.
gem 'activemodel', '~> 7.1.5' # Rails. Model basics.
gem 'activerecord', '~> 7.1.5' # Rails. ORM and query system.
# gem 'activestorage' # Not used. Attaches cloud files to ActiveRecord.
gem 'activesupport', '~> 7.0.8' # Rails. Underlying library.
gem 'activesupport', '~> 7.1.5' # Rails. Underlying library.
# gem 'activetext' # Not used. Text editor that fails to support markdown.
gem 'attr_encrypted', '~> 4'
gem 'bcrypt', '~> 3.1.18' # Security - for salted hashed interacted passwords
Expand Down Expand Up @@ -82,7 +82,7 @@ gem 'omniauth-github', '~> 2.0' # Authentication to GitHub (get project info)
gem 'omniauth-rails_csrf_protection'
gem 'pagy', '~> 6.0'
gem 'paleta', '~> 0.3' # Color manipulation, used for badges
gem 'paper_trail', '~> 12.3' # Record previous versions of project data
gem 'paper_trail', '~> 15.2.0' # Record previous versions of project data
gem 'pg', '~> 1.4' # PostgreSQL database, used for data storage
gem 'pg_search', '~> 2.3' # PostgreSQL full-text search
gem 'puma', '~> 6.4' # Faster webserver; recommended by Heroku
Expand All @@ -94,8 +94,8 @@ gem 'rack-headers_filter', '~> 0.0.1' # Filter out "dangerous" headers
# but instead load only what we use (to reduce memory use and attack surface).
# We load sprockets-rails, but its version number isn't kept in sync.
# Note: Update the gem versions of action* and railties in sync.
gem 'railties', '~> 7.0.8' # Rails. Rails core, loads rest of Rails
gem 'rails-i18n', '~> 7.0.8' # Localizations for Rails built-ins
gem 'railties', '~> 7.1.5' # Rails. Rails core, loads rest of Rails
gem 'rails-i18n', '~> 7.0.10' # Localizations for Rails built-ins # 7.1.5
gem 'redcarpet', '~> 3.5' # Process markdown in form textareas (justifications)
gem 'sass-rails', '~> 5.1', require: false # For .scss files (CSS extension)
gem 'scout_apm' # Monitor for memory leaks
Expand Down Expand Up @@ -152,8 +152,8 @@ group :development do
# We bring in full rails in development in case we need it for debugging;
# this also keeps some gems happy that don't realize that loading
# only *parts* of Rails is fine:
gem 'rails', '~> 7.0.8' # Rails (our web framework)
# To update the translation gem, see the process docs in docs/testing.md
gem 'rails', '~> 7.1.5' # Rails (our web framework)
# To update the translation gem, see the process docs in doc/testing.md
gem 'translation', '1.37' # translation.io - translation service
gem 'web-console' # In-browser debugger; use <% console %> or console
end
Expand Down
192 changes: 114 additions & 78 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,70 +1,82 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (7.0.8.7)
actionpack (= 7.0.8.7)
activesupport (= 7.0.8.7)
actioncable (7.1.5.1)
actionpack (= 7.1.5.1)
activesupport (= 7.1.5.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.8.7)
actionpack (= 7.0.8.7)
activejob (= 7.0.8.7)
activerecord (= 7.0.8.7)
activestorage (= 7.0.8.7)
activesupport (= 7.0.8.7)
zeitwerk (~> 2.6)
actionmailbox (7.1.5.1)
actionpack (= 7.1.5.1)
activejob (= 7.1.5.1)
activerecord (= 7.1.5.1)
activestorage (= 7.1.5.1)
activesupport (= 7.1.5.1)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.8.7)
actionpack (= 7.0.8.7)
actionview (= 7.0.8.7)
activejob (= 7.0.8.7)
activesupport (= 7.0.8.7)
actionmailer (7.1.5.1)
actionpack (= 7.1.5.1)
actionview (= 7.1.5.1)
activejob (= 7.1.5.1)
activesupport (= 7.1.5.1)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.8.7)
actionview (= 7.0.8.7)
activesupport (= 7.0.8.7)
rack (~> 2.0, >= 2.2.4)
rails-dom-testing (~> 2.2)
actionpack (7.1.5.1)
actionview (= 7.1.5.1)
activesupport (= 7.1.5.1)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.8.7)
actionpack (= 7.0.8.7)
activerecord (= 7.0.8.7)
activestorage (= 7.0.8.7)
activesupport (= 7.0.8.7)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.5.1)
actionpack (= 7.1.5.1)
activerecord (= 7.1.5.1)
activestorage (= 7.1.5.1)
activesupport (= 7.1.5.1)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.8.7)
activesupport (= 7.0.8.7)
actionview (7.1.5.1)
activesupport (= 7.1.5.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (7.0.8.7)
activesupport (= 7.0.8.7)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.1.5.1)
activesupport (= 7.1.5.1)
globalid (>= 0.3.6)
activemodel (7.0.8.7)
activesupport (= 7.0.8.7)
activerecord (7.0.8.7)
activemodel (= 7.0.8.7)
activesupport (= 7.0.8.7)
activestorage (7.0.8.7)
actionpack (= 7.0.8.7)
activejob (= 7.0.8.7)
activerecord (= 7.0.8.7)
activesupport (= 7.0.8.7)
activemodel (7.1.5.1)
activesupport (= 7.1.5.1)
activerecord (7.1.5.1)
activemodel (= 7.1.5.1)
activesupport (= 7.1.5.1)
timeout (>= 0.4.0)
activestorage (7.1.5.1)
actionpack (= 7.1.5.1)
activejob (= 7.1.5.1)
activerecord (= 7.1.5.1)
activesupport (= 7.1.5.1)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.8.7)
activesupport (7.1.5.1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
securerandom (>= 0.3)
tzinfo (~> 2.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
Expand All @@ -78,6 +90,7 @@ GEM
awesome_print (1.9.2)
base64 (0.1.2)
bcrypt (3.1.20)
benchmark (0.4.0)
bigdecimal (3.1.8)
bindex (0.8.1)
blind_index (2.3.2)
Expand Down Expand Up @@ -119,6 +132,7 @@ GEM
simplecov (>= 0.15, < 0.22)
coderay (1.1.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crack (1.0.0)
bigdecimal
rexml
Expand All @@ -130,6 +144,7 @@ GEM
dotenv-rails (2.8.1)
dotenv (= 2.8.1)
railties (>= 3.2)
drb (2.2.1)
encryptor (3.0.0)
erubi (1.13.0)
erubis (2.7.0)
Expand Down Expand Up @@ -183,6 +198,10 @@ GEM
concurrent-ruby (~> 1.0)
imagesLoaded_rails (4.1.0)
railties (>= 3.1)
io-console (0.8.0)
irb (1.14.2)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
jbuilder (2.13.0)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
Expand Down Expand Up @@ -248,6 +267,7 @@ GEM
multi_json (1.15.0)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
mutex_m (0.3.0)
net-http (0.6.0)
uri
net-imap (0.5.2)
Expand Down Expand Up @@ -297,9 +317,9 @@ GEM
omniauth (~> 2.0)
pagy (6.5.0)
paleta (0.3.0)
paper_trail (12.3.0)
activerecord (>= 5.2)
request_store (~> 1.1)
paper_trail (15.2.0)
activerecord (>= 6.1)
request_store (~> 1.4)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -334,6 +354,9 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
psych (5.2.1)
date
stringio
public_suffix (6.0.1)
puma (6.5.0)
nio4r (~> 2.0)
Expand All @@ -350,23 +373,28 @@ GEM
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
rack-session (1.0.2)
rack (< 3)
rack-test (2.1.0)
rack (>= 1.3)
rack-timeout (0.6.3)
rails (7.0.8.7)
actioncable (= 7.0.8.7)
actionmailbox (= 7.0.8.7)
actionmailer (= 7.0.8.7)
actionpack (= 7.0.8.7)
actiontext (= 7.0.8.7)
actionview (= 7.0.8.7)
activejob (= 7.0.8.7)
activemodel (= 7.0.8.7)
activerecord (= 7.0.8.7)
activestorage (= 7.0.8.7)
activesupport (= 7.0.8.7)
rackup (1.0.1)
rack (< 3)
webrick
rails (7.1.5.1)
actioncable (= 7.1.5.1)
actionmailbox (= 7.1.5.1)
actionmailer (= 7.1.5.1)
actionpack (= 7.1.5.1)
actiontext (= 7.1.5.1)
actionview (= 7.1.5.1)
activejob (= 7.1.5.1)
activemodel (= 7.1.5.1)
activerecord (= 7.1.5.1)
activestorage (= 7.1.5.1)
activesupport (= 7.1.5.1)
bundler (>= 1.15.0)
railties (= 7.0.8.7)
railties (= 7.1.5.1)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
Expand Down Expand Up @@ -394,20 +422,25 @@ GEM
ruby-progressbar
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (7.0.8.7)
actionpack (= 7.0.8.7)
activesupport (= 7.0.8.7)
method_source
railties (7.1.5.1)
actionpack (= 7.1.5.1)
activesupport (= 7.1.5.1)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rdoc (6.9.1)
psych (>= 4.0.0)
redcarpet (3.6.0)
regexp_parser (2.9.3)
reline (0.6.0)
io-console (~> 0.5)
request_store (1.7.0)
rack (>= 1.4)
require_all (3.0.0)
Expand Down Expand Up @@ -457,6 +490,7 @@ GEM
scout_apm (5.4.0)
parser
secure_headers (7.1.0)
securerandom (0.4.1)
selenium-webdriver (4.16.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
Expand Down Expand Up @@ -487,6 +521,7 @@ GEM
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
stringio (3.1.2)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
text (1.3.1)
Expand Down Expand Up @@ -514,6 +549,7 @@ GEM
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.9.1)
websocket (1.2.11)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
Expand Down Expand Up @@ -542,13 +578,13 @@ PLATFORMS
x86_64-linux-musl

DEPENDENCIES
actionmailer (~> 7.0.8)
actionpack (~> 7.0.8)
actionview (~> 7.0.8)
activejob (~> 7.0.8)
activemodel (~> 7.0.8)
activerecord (~> 7.0.8)
activesupport (~> 7.0.8)
actionmailer (~> 7.1.5)
actionpack (~> 7.1.5)
actionview (~> 7.1.5)
activejob (~> 7.1.5)
activemodel (~> 7.1.5)
activerecord (~> 7.1.5)
activesupport (~> 7.1.5)
attr_encrypted (~> 4)
awesome_print
bcrypt (~> 3.1.18)
Expand Down Expand Up @@ -584,7 +620,7 @@ DEPENDENCIES
omniauth-rails_csrf_protection
pagy (~> 6.0)
paleta (~> 0.3)
paper_trail (~> 12.3)
paper_trail (~> 15.2.0)
pg (~> 1.4)
pg_search (~> 2.3)
pronto (= 0.11.1)
Expand All @@ -598,11 +634,11 @@ DEPENDENCIES
rack-cors (~> 2.0)
rack-headers_filter (~> 0.0.1)
rack-timeout (~> 0.6.3)
rails (~> 7.0.8)
rails (~> 7.1.5)
rails-controller-testing (~> 1.0)
rails-i18n (~> 7.0.8)
rails-i18n (~> 7.0.10)
rails_12factor (~> 0.0.3)
railties (~> 7.0.8)
railties (~> 7.1.5)
redcarpet (~> 3.5)
rubocop (= 1.57.0)
rubocop-performance (= 1.19.1)
Expand Down
1 change: 0 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ class Application < Rails::Application

Rails.application.configure do
config.middleware.use Rack::Attack
config.active_record.legacy_connection_handling = false
end
Loading
Loading