diff --git a/Gemfile.lock b/Gemfile.lock index b57bf6a..e2d8c64 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,202 +1,208 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.1.3.2) - actionpack (= 7.1.3.2) - activesupport (= 7.1.3.2) + actioncable (8.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.1.3.2) - actionpack (= 7.1.3.2) - activejob (= 7.1.3.2) - activerecord (= 7.1.3.2) - activestorage (= 7.1.3.2) - activesupport (= 7.1.3.2) - mail (>= 2.7.1) - net-imap - net-pop - net-smtp - actionmailer (7.1.3.2) - actionpack (= 7.1.3.2) - actionview (= 7.1.3.2) - activejob (= 7.1.3.2) - activesupport (= 7.1.3.2) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp + actionmailbox (8.0.1) + actionpack (= 8.0.1) + activejob (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) + mail (>= 2.8.0) + actionmailer (8.0.1) + actionpack (= 8.0.1) + actionview (= 8.0.1) + activejob (= 8.0.1) + activesupport (= 8.0.1) + mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.1.3.2) - actionview (= 7.1.3.2) - activesupport (= 7.1.3.2) + actionpack (8.0.1) + actionview (= 8.0.1) + activesupport (= 8.0.1) nokogiri (>= 1.8.5) - racc rack (>= 2.2.4) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actiontext (7.1.3.2) - actionpack (= 7.1.3.2) - activerecord (= 7.1.3.2) - activestorage (= 7.1.3.2) - activesupport (= 7.1.3.2) + useragent (~> 0.16) + actiontext (8.0.1) + actionpack (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.1.3.2) - activesupport (= 7.1.3.2) + actionview (8.0.1) + activesupport (= 8.0.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (7.1.3.2) - activesupport (= 7.1.3.2) + activejob (8.0.1) + activesupport (= 8.0.1) globalid (>= 0.3.6) - activemodel (7.1.3.2) - activesupport (= 7.1.3.2) - activerecord (7.1.3.2) - activemodel (= 7.1.3.2) - activesupport (= 7.1.3.2) + activemodel (8.0.1) + activesupport (= 8.0.1) + activerecord (8.0.1) + activemodel (= 8.0.1) + activesupport (= 8.0.1) timeout (>= 0.4.0) - activestorage (7.1.3.2) - actionpack (= 7.1.3.2) - activejob (= 7.1.3.2) - activerecord (= 7.1.3.2) - activesupport (= 7.1.3.2) + activestorage (8.0.1) + actionpack (= 8.0.1) + activejob (= 8.0.1) + activerecord (= 8.0.1) + activesupport (= 8.0.1) marcel (~> 1.0) - activesupport (7.1.3.2) + activesupport (8.0.1) base64 + benchmark (>= 0.3) bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) ast (2.4.2) - async (2.10.2) - console (~> 1.10) + async (2.21.1) + console (~> 1.29) fiber-annotation - io-event (~> 1.5, >= 1.5.1) - timers (~> 4.1) - async-container (0.18.2) + io-event (~> 1.6, >= 1.6.5) + async-container (0.18.3) async (~> 2.10) - async-http (0.69.0) + async-http (0.86.0) async (>= 2.10.2) - async-pool (~> 0.7) - io-endpoint (~> 0.11) - io-stream (~> 0.4) - protocol-http (~> 0.26) - protocol-http1 (~> 0.19) - protocol-http2 (~> 0.18) - traces (>= 0.10) - async-http-cache (0.4.3) + async-pool (~> 0.9) + io-endpoint (~> 0.14) + io-stream (~> 0.6) + metrics (~> 0.12) + protocol-http (~> 0.43) + protocol-http1 (>= 0.28.1) + protocol-http2 (~> 0.22) + traces (~> 0.10) + async-http-cache (0.4.4) async-http (~> 0.56) - async-pool (0.7.0) + async-pool (0.10.2) async (>= 1.25) + traces async-service (0.12.0) async async-container (~> 0.16) - aws-eventstream (1.2.0) - aws-partitions (1.786.0) - aws-sdk-core (3.178.0) - aws-eventstream (~> 1, >= 1.0.2) - aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.5) + aws-eventstream (1.3.0) + aws-partitions (1.1031.0) + aws-sdk-core (3.214.1) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.992.0) + aws-sigv4 (~> 1.9) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.71.0) - aws-sdk-core (~> 3, >= 3.177.0) - aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.130.0) - aws-sdk-core (~> 3, >= 3.177.0) + aws-sdk-kms (1.96.0) + aws-sdk-core (~> 3, >= 3.210.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.177.0) + aws-sdk-core (~> 3, >= 3.210.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.6) - aws-sigv4 (1.6.0) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.10.1) aws-eventstream (~> 1, >= 1.0.2) base64 (0.2.0) + benchmark (0.4.0) bigdecimal (3.1.7) bootsnap (1.16.0) msgpack (~> 1.2) - builder (3.2.4) + builder (3.3.0) bullet (7.0.7) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) color-generator (0.0.4) - concurrent-ruby (1.2.2) + concurrent-ruby (1.3.4) connection_pool (2.4.1) - console (1.17.2) + console (1.29.2) fiber-annotation - fiber-local - console-adapter-rails (0.1.4) - console + fiber-local (~> 1.1) + json + console-adapter-rails (0.4.1) + console (~> 1.21) + fiber-storage (~> 1.0) rails (>= 6.1) - counter_culture (3.4.0) + counter_culture (3.8.2) activerecord (>= 4.2) activesupport (>= 4.2) crass (1.0.6) - date (3.3.4) + date (3.4.1) debug (1.8.0) irb (>= 1.5.0) reline (>= 0.3.1) - diff-lcs (1.5.0) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) - dotenv (2.8.1) - dotenv-rails (2.8.1) - dotenv (= 2.8.1) - railties (>= 3.2) + diff-lcs (1.5.1) + domain_name (0.6.20240107) + dotenv (3.1.7) + dotenv-rails (3.1.7) + dotenv (= 3.1.7) + railties (>= 6.1) drb (2.2.1) - erubi (1.12.0) - falcon (0.47.7) + erubi (1.13.1) + falcon (0.48.4) async async-container (~> 0.18) - async-http (~> 0.66, >= 0.66.3) - async-http-cache (~> 0.4.0) + async-http (~> 0.75) + async-http-cache (~> 0.4) async-service (~> 0.10) bundler localhost (~> 1.1) openssl (~> 3.0) - process-metrics (~> 0.2.0) - protocol-rack (~> 0.5) + process-metrics (~> 0.2) + protocol-http (~> 0.31) + protocol-rack (~> 0.7) samovar (~> 2.3) ffi (1.15.5) - ffi-compiler (1.0.1) - ffi (>= 1.0.0) + ffi-compiler (1.3.2) + ffi (>= 1.15.5) rake fiber-annotation (0.2.0) - fiber-local (1.0.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) globalid (1.2.1) activesupport (>= 6.1) - http (5.1.1) + http (5.2.0) addressable (~> 2.8) + base64 (~> 0.1) http-cookie (~> 1.0) http-form_data (~> 2.2) - llhttp-ffi (~> 0.4.0) - http-cookie (1.0.5) + llhttp-ffi (~> 0.5.0) + http-cookie (1.0.8) domain_name (~> 0.5) http-form_data (2.3.0) i18n (1.14.1) concurrent-ruby (~> 1.0) io-console (0.6.0) - io-endpoint (0.11.0) - io-event (1.6.5) - io-stream (0.4.0) - irb (1.7.3) - reline (>= 0.3.6) + io-endpoint (0.14.0) + io-event (1.7.5) + io-stream (0.6.1) + irb (1.14.3) + rdoc (>= 4.0.0) + reline (>= 0.4.2) jmespath (1.6.2) - json (2.6.3) - jwt (2.8.1) + json (2.9.1) + jwt (2.10.1) base64 language_server-protocol (3.17.0.3) - llhttp-ffi (0.4.0) + llhttp-ffi (0.5.0) ffi-compiler (~> 1.0) rake (~> 13.0) localhost (1.3.1) - loofah (2.21.3) + logger (1.6.4) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -206,12 +212,11 @@ GEM net-smtp mapping (1.1.1) marcel (1.0.4) + metrics (0.12.1) mini_mime (1.1.5) - mini_portile2 (2.8.6) minitest (5.18.1) msgpack (1.7.1) - mutex_m (0.2.0) - net-imap (0.4.10) + net-imap (0.5.5) date net-protocol net-pop (0.1.2) @@ -219,205 +224,215 @@ GEM net-protocol (0.2.2) timeout net-smtp (0.5.0) - nio4r (2.5.9) - nokogiri (1.14.5) - mini_portile2 (~> 2.8.0) + nio4r (2.7.4) + nokogiri (1.18.1-x64-mingw-ucrt) racc (~> 1.4) - openssl (3.2.0) + nokogiri (1.18.1-x86_64-linux-gnu) + racc (~> 1.4) + openssl (3.3.0) openssl-oaep (0.1.0) - parallel (1.23.0) - parallel_tests (4.2.1) + parallel (1.26.3) + parallel_tests (4.8.0) parallel - parser (3.2.2.3) + parser (3.3.6.0) ast (~> 2.4.1) racc pg (1.5.3) pg (1.5.3-x64-mingw-ucrt) prettier_print (1.2.1) - process-metrics (0.2.1) + process-metrics (0.3.0) console (~> 1.8) + json (~> 2) samovar (~> 2.1) - protocol-hpack (1.4.3) - protocol-http (0.26.6) - protocol-http1 (0.19.1) + protocol-hpack (1.5.1) + protocol-http (0.47.1) + protocol-http1 (0.28.1) protocol-http (~> 0.22) - protocol-http2 (0.18.0) + protocol-http2 (0.22.0) protocol-hpack (~> 1.4) protocol-http (~> 0.18) - protocol-rack (0.6.0) - protocol-http (~> 0.23) + protocol-rack (0.11.1) + protocol-http (~> 0.43) rack (>= 1.0) - public_suffix (5.0.3) - racc (1.7.1) - rack (2.2.7) - rack-session (1.0.2) - rack (< 3) - rack-test (2.1.0) + psych (5.2.2) + date + stringio + public_suffix (6.0.1) + racc (1.8.1) + rack (3.1.8) + rack-session (2.1.0) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rack-test (2.2.0) rack (>= 1.3) - rackup (1.0.0) - rack (< 3) - webrick - rails (7.1.3.2) - actioncable (= 7.1.3.2) - actionmailbox (= 7.1.3.2) - actionmailer (= 7.1.3.2) - actionpack (= 7.1.3.2) - actiontext (= 7.1.3.2) - actionview (= 7.1.3.2) - activejob (= 7.1.3.2) - activemodel (= 7.1.3.2) - activerecord (= 7.1.3.2) - activestorage (= 7.1.3.2) - activesupport (= 7.1.3.2) + rackup (2.2.1) + rack (>= 3) + rails (8.0.1) + actioncable (= 8.0.1) + actionmailbox (= 8.0.1) + actionmailer (= 8.0.1) + actionpack (= 8.0.1) + actiontext (= 8.0.1) + actionview (= 8.0.1) + activejob (= 8.0.1) + activemodel (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) bundler (>= 1.15.0) - railties (= 7.1.3.2) + railties (= 8.0.1) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) - rails-i18n (7.0.9) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) + rails-i18n (8.0.1) i18n (>= 0.7, < 2) - railties (>= 6.0.0, < 8) - railties (7.1.3.2) - actionpack (= 7.1.3.2) - activesupport (= 7.1.3.2) - irb + railties (>= 8.0.0, < 9) + railties (8.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) + irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) rbnacl (7.1.1) ffi - redis (4.8.1) - redis-client (0.14.1) + rdoc (6.10.0) + psych (>= 4.0.0) + redis (5.3.0) + redis-client (>= 0.22.0) + redis-client (0.23.0) connection_pool - regexp_parser (2.8.1) - reline (0.3.6) + regexp_parser (2.10.0) + reline (0.6.0) io-console (~> 0.5) request_store_rails (2.0.0) concurrent-ruby (~> 1.0) - rexml (3.2.5) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.6) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (6.0.3) - actionpack (>= 6.1) - activesupport (>= 6.1) - railties (>= 6.1) - rspec-core (~> 3.12) - rspec-expectations (~> 3.12) - rspec-mocks (~> 3.12) - rspec-support (~> 3.12) - rspec-support (3.12.1) - rubocop (1.54.2) + rspec-support (~> 3.13.0) + rspec-rails (7.1.0) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.2) + rubocop (1.69.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) - rubocop-rails (2.20.2) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.37.0) + parser (>= 3.3.1.0) + rubocop-rails (2.28.0) activesupport (>= 4.2.0) rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) + rubocop (>= 1.52.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) samovar (2.3.0) console (~> 1.0) mapping (~> 1.0) - sentry-rails (5.10.0) + securerandom (0.4.1) + sentry-rails (5.22.1) railties (>= 5.0) - sentry-ruby (~> 5.10.0) - sentry-ruby (5.10.0) + sentry-ruby (~> 5.22.1) + sentry-ruby (5.22.1) + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) - sentry-sidekiq (5.10.0) - sentry-ruby (~> 5.10.0) + sentry-sidekiq (5.22.1) + sentry-ruby (~> 5.22.1) sidekiq (>= 3.0) shortuuid (0.6.0) - sidekiq (7.1.2) - concurrent-ruby (< 2) + sidekiq (7.3.7) connection_pool (>= 2.3.0) + logger rack (>= 2.2.4) - redis-client (>= 0.14.0) + redis-client (>= 0.22.2) spring (4.1.1) - syntax_tree (5.3.0) + stringio (3.1.2) + syntax_tree (6.2.0) prettier_print (>= 1.2.0) - thor (1.2.2) + thor (1.3.2) timeout (0.4.3) - timers (4.3.5) - traces (0.11.1) + traces (0.14.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) tzinfo-data (1.2023.3) tzinfo (>= 1.0.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) - unicode-display_width (2.4.2) + unicode-display_width (3.1.3) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) uniform_notifier (1.16.0) - webrick (1.8.1) - websocket-driver (0.7.6) + uri (1.0.2) + useragent (0.16.11) + websocket-driver (0.7.7) + base64 websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.6.8) + zeitwerk (2.7.1) PLATFORMS x64-mingw-ucrt x86_64-linux DEPENDENCIES - aws-sdk-s3 (~> 1.117) + aws-sdk-s3 (~> 1.177) bootsnap bullet color-generator (~> 0.0.4) - connection_pool (~> 2.3) - console (~> 1.17) - console-adapter-rails (~> 0.1.4) - counter_culture (~> 3.2) + connection_pool (~> 2.4) + console (~> 1.29) + console-adapter-rails (~> 0.4) + counter_culture (~> 3.8) debug - dotenv-rails (~> 2.8) - falcon (~> 0.47.7) - http (~> 5.1) - jwt (~> 2.8) - nokogiri (~> 1.14.0.rc1) + dotenv-rails (~> 3.1) + falcon (~> 0.48) + http (~> 5.2) + jwt (~> 2.10) + nokogiri (~> 1.18) openssl-oaep (~> 0.1.0) - parallel_tests (~> 4.2) - pg (~> 1.4) - rails (~> 7.1) - rails-i18n (~> 7.0) + parallel_tests (~> 4.8) + pg (~> 1.5) + rails (~> 8.0) + rails-i18n (~> 8.0) rbnacl (~> 7.1) - redis (~> 4.0) + redis (~> 5.3) request_store_rails (~> 2.0) - rspec (~> 3.12) - rspec-rails (~> 6.0) - rubocop (~> 1.42) - rubocop-rails (~> 2.17) - sentry-rails (~> 5.10) - sentry-ruby (~> 5.10) - sentry-sidekiq (~> 5.10) + rspec (~> 3.13) + rspec-rails (~> 7.1) + rubocop (~> 1.69) + rubocop-rails (~> 2.28) + sentry-rails (~> 5.22) + sentry-ruby (~> 5.22) + sentry-sidekiq (~> 5.22) shortuuid (~> 0.6.0) - sidekiq (~> 7.0) + sidekiq (~> 7.3) spring - syntax_tree (~> 5.1) + syntax_tree (~> 6.2) tzinfo-data RUBY VERSION diff --git a/backend/.rubocop.yml b/backend/.rubocop.yml index 30eb936..45967f3 100644 --- a/backend/.rubocop.yml +++ b/backend/.rubocop.yml @@ -1,6 +1,6 @@ AllCops: NewCops: enable - TargetRubyVersion: 3.2 + TargetRubyVersion: 3.4 Exclude: - db/migrate/*.rb - db/schema.rb @@ -73,4 +73,4 @@ Rails/SkipsModelValidations: Enabled: false Style/NumericLiterals: - Enabled: false \ No newline at end of file + Enabled: false diff --git a/backend/Gemfile b/backend/Gemfile index 3bcd6e6..4f753de 100644 --- a/backend/Gemfile +++ b/backend/Gemfile @@ -5,7 +5,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "3.4.1" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" -gem "rails", "~> 7.1" +gem "rails", "~> 8.0" # Use sqlite3 as the database for Active Record # gem "sqlite3", "~> 1.4" @@ -14,7 +14,7 @@ gem "rails", "~> 7.1" # gem "jbuilder" # Use Redis adapter to run Action Cable in production -gem "redis", "~> 4.0" +gem "redis", "~> 5.3" # Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis] # gem "kredis" @@ -38,59 +38,59 @@ group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem "debug", platforms: %i[mri mingw x64_mingw] - gem "parallel_tests", "~> 4.2" - gem "rspec", "~> 3.12" - gem "rspec-rails", "~> 6.0" + gem "parallel_tests", "~> 4.8" + gem "rspec", "~> 3.13" + gem "rspec-rails", "~> 7.1" end group :development do # Speed up commands on slow machines / big apps [https://github.com/rails/spring] - gem "rubocop", "~> 1.42", require: false - gem "rubocop-rails", "~> 2.17", require: false + gem "rubocop", "~> 1.69", require: false + gem "rubocop-rails", "~> 2.28", require: false gem "spring" - gem "syntax_tree", "~> 5.1", require: false + gem "syntax_tree", "~> 6.2", require: false end gem "shortuuid", "~> 0.6.0" -gem "dotenv-rails", "~> 2.8" +gem "dotenv-rails", "~> 3.1" gem "openssl-oaep", "~> 0.1.0" -gem "connection_pool", "~> 2.3" +gem "connection_pool", "~> 2.4" gem "request_store_rails", "~> 2.0" -gem "aws-sdk-s3", "~> 1.117" +gem "aws-sdk-s3", "~> 1.177" gem "bullet", group: "development" -gem "http", "~> 5.1" +gem "http", "~> 5.2" -gem "pg", "~> 1.4" +gem "pg", "~> 1.5" -gem "nokogiri", "~> 1.14.0.rc1" +gem "nokogiri", "~> 1.18" gem "color-generator", "~> 0.0.4" -gem "counter_culture", "~> 3.2" +gem "counter_culture", "~> 3.8" -gem "sidekiq", "~> 7.0" +gem "sidekiq", "~> 7.3" -gem "console", "~> 1.17" +gem "console", "~> 1.29" -gem "sentry-ruby", "~> 5.10" +gem "sentry-ruby", "~> 5.22" -gem "sentry-rails", "~> 5.10" +gem "sentry-rails", "~> 5.22" -gem "sentry-sidekiq", "~> 5.10" +gem "sentry-sidekiq", "~> 5.22" -gem "jwt", "~> 2.8" +gem "jwt", "~> 2.10" gem "rbnacl", "~> 7.1" -gem "console-adapter-rails", "~> 0.1.4" +gem "console-adapter-rails", "~> 0.4" -gem "rails-i18n", "~> 7.0" +gem "rails-i18n", "~> 8.0" -gem "falcon", "~> 0.47.7" +gem "falcon", "~> 0.48" diff --git a/backend/Gemfile.lock b/backend/Gemfile.lock index 8a5c749..e077391 100644 --- a/backend/Gemfile.lock +++ b/backend/Gemfile.lock @@ -1,66 +1,65 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.2.2.1) - actionpack (= 7.2.2.1) - activesupport (= 7.2.2.1) + actioncable (8.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.2.2.1) - actionpack (= 7.2.2.1) - activejob (= 7.2.2.1) - activerecord (= 7.2.2.1) - activestorage (= 7.2.2.1) - activesupport (= 7.2.2.1) + actionmailbox (8.0.1) + actionpack (= 8.0.1) + activejob (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) mail (>= 2.8.0) - actionmailer (7.2.2.1) - actionpack (= 7.2.2.1) - actionview (= 7.2.2.1) - activejob (= 7.2.2.1) - activesupport (= 7.2.2.1) + actionmailer (8.0.1) + actionpack (= 8.0.1) + actionview (= 8.0.1) + activejob (= 8.0.1) + activesupport (= 8.0.1) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.2.2.1) - actionview (= 7.2.2.1) - activesupport (= 7.2.2.1) + actionpack (8.0.1) + actionview (= 8.0.1) + activesupport (= 8.0.1) nokogiri (>= 1.8.5) - racc - rack (>= 2.2.4, < 3.2) + rack (>= 2.2.4) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (7.2.2.1) - actionpack (= 7.2.2.1) - activerecord (= 7.2.2.1) - activestorage (= 7.2.2.1) - activesupport (= 7.2.2.1) + actiontext (8.0.1) + actionpack (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.2.2.1) - activesupport (= 7.2.2.1) + actionview (8.0.1) + activesupport (= 8.0.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (7.2.2.1) - activesupport (= 7.2.2.1) + activejob (8.0.1) + activesupport (= 8.0.1) globalid (>= 0.3.6) - activemodel (7.2.2.1) - activesupport (= 7.2.2.1) - activerecord (7.2.2.1) - activemodel (= 7.2.2.1) - activesupport (= 7.2.2.1) + activemodel (8.0.1) + activesupport (= 8.0.1) + activerecord (8.0.1) + activemodel (= 8.0.1) + activesupport (= 8.0.1) timeout (>= 0.4.0) - activestorage (7.2.2.1) - actionpack (= 7.2.2.1) - activejob (= 7.2.2.1) - activerecord (= 7.2.2.1) - activesupport (= 7.2.2.1) + activestorage (8.0.1) + actionpack (= 8.0.1) + activejob (= 8.0.1) + activerecord (= 8.0.1) + activesupport (= 8.0.1) marcel (~> 1.0) - activesupport (7.2.2.1) + activesupport (8.0.1) base64 benchmark (>= 0.3) bigdecimal @@ -72,6 +71,7 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.2) @@ -131,8 +131,9 @@ GEM fiber-annotation fiber-local (~> 1.1) json - console-adapter-rails (0.1.5) + console-adapter-rails (0.4.1) console (~> 1.21) + fiber-storage (~> 1.0) rails (>= 6.1) counter_culture (3.8.2) activerecord (>= 4.2) @@ -144,23 +145,24 @@ GEM reline (>= 0.3.8) diff-lcs (1.5.1) domain_name (0.6.20240107) - dotenv (2.8.1) - dotenv-rails (2.8.1) - dotenv (= 2.8.1) - railties (>= 3.2) + dotenv (3.1.7) + dotenv-rails (3.1.7) + dotenv (= 3.1.7) + railties (>= 6.1) drb (2.2.1) erubi (1.13.1) - falcon (0.47.10) + falcon (0.48.4) async async-container (~> 0.18) - async-http (~> 0.66, >= 0.66.3) - async-http-cache (~> 0.4.0) + async-http (~> 0.75) + async-http-cache (~> 0.4) async-service (~> 0.10) bundler localhost (~> 1.1) openssl (~> 3.0) - process-metrics (~> 0.2.0) - protocol-rack (~> 0.5) + process-metrics (~> 0.2) + protocol-http (~> 0.31) + protocol-rack (~> 0.7) samovar (~> 2.3) ffi (1.17.1-aarch64-linux-gnu) ffi (1.17.1-x64-mingw-ucrt) @@ -214,7 +216,6 @@ GEM marcel (1.0.4) metrics (0.12.1) mini_mime (1.1.5) - mini_portile2 (2.8.8) minitest (5.25.4) msgpack (1.7.5) net-imap (0.5.5) @@ -226,8 +227,11 @@ GEM timeout net-smtp (0.5.0) nio4r (2.7.4) - nokogiri (1.14.5) - mini_portile2 (~> 2.8.0) + nokogiri (1.18.1-aarch64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-x64-mingw-ucrt) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-gnu) racc (~> 1.4) openssl (3.3.0) openssl-oaep (0.1.0) @@ -265,20 +269,20 @@ GEM rack (>= 1.3) rackup (2.2.1) rack (>= 3) - rails (7.2.2.1) - actioncable (= 7.2.2.1) - actionmailbox (= 7.2.2.1) - actionmailer (= 7.2.2.1) - actionpack (= 7.2.2.1) - actiontext (= 7.2.2.1) - actionview (= 7.2.2.1) - activejob (= 7.2.2.1) - activemodel (= 7.2.2.1) - activerecord (= 7.2.2.1) - activestorage (= 7.2.2.1) - activesupport (= 7.2.2.1) + rails (8.0.1) + actioncable (= 8.0.1) + actionmailbox (= 8.0.1) + actionmailer (= 8.0.1) + actionpack (= 8.0.1) + actiontext (= 8.0.1) + actionview (= 8.0.1) + activejob (= 8.0.1) + activemodel (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) bundler (>= 1.15.0) - railties (= 7.2.2.1) + railties (= 8.0.1) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest @@ -286,12 +290,12 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - rails-i18n (7.0.10) + rails-i18n (8.0.1) i18n (>= 0.7, < 2) - railties (>= 6.0.0, < 8) - railties (7.2.2.1) - actionpack (= 7.2.2.1) - activesupport (= 7.2.2.1) + railties (>= 8.0.0, < 9) + railties (8.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -303,7 +307,8 @@ GEM ffi (~> 1) rdoc (6.10.0) psych (>= 4.0.0) - redis (4.8.1) + redis (5.3.0) + redis-client (>= 0.22.0) redis-client (0.23.0) connection_pool regexp_parser (2.10.0) @@ -323,10 +328,10 @@ GEM rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-rails (6.1.5) - actionpack (>= 6.1) - activesupport (>= 6.1) - railties (>= 6.1) + rspec-rails (7.1.0) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) rspec-core (~> 3.13) rspec-expectations (~> 3.13) rspec-mocks (~> 3.13) @@ -371,7 +376,7 @@ GEM redis-client (>= 0.22.2) spring (4.2.1) stringio (3.1.2) - syntax_tree (5.3.0) + syntax_tree (6.2.0) prettier_print (>= 1.2.0) thor (1.3.2) timeout (0.4.3) @@ -384,6 +389,7 @@ GEM unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) uniform_notifier (1.16.0) + uri (1.0.2) useragent (0.16.11) websocket-driver (0.7.7) base64 @@ -397,39 +403,39 @@ PLATFORMS x86_64-linux DEPENDENCIES - aws-sdk-s3 (~> 1.117) + aws-sdk-s3 (~> 1.177) bootsnap bullet color-generator (~> 0.0.4) - connection_pool (~> 2.3) - console (~> 1.17) - console-adapter-rails (~> 0.1.4) - counter_culture (~> 3.2) + connection_pool (~> 2.4) + console (~> 1.29) + console-adapter-rails (~> 0.4) + counter_culture (~> 3.8) debug - dotenv-rails (~> 2.8) - falcon (~> 0.47.7) - http (~> 5.1) - jwt (~> 2.8) - nokogiri (~> 1.14.0.rc1) + dotenv-rails (~> 3.1) + falcon (~> 0.48) + http (~> 5.2) + jwt (~> 2.10) + nokogiri (~> 1.18) openssl-oaep (~> 0.1.0) - parallel_tests (~> 4.2) - pg (~> 1.4) - rails (~> 7.1) - rails-i18n (~> 7.0) + parallel_tests (~> 4.8) + pg (~> 1.5) + rails (~> 8.0) + rails-i18n (~> 8.0) rbnacl (~> 7.1) - redis (~> 4.0) + redis (~> 5.3) request_store_rails (~> 2.0) - rspec (~> 3.12) - rspec-rails (~> 6.0) - rubocop (~> 1.42) - rubocop-rails (~> 2.17) - sentry-rails (~> 5.10) - sentry-ruby (~> 5.10) - sentry-sidekiq (~> 5.10) + rspec (~> 3.13) + rspec-rails (~> 7.1) + rubocop (~> 1.69) + rubocop-rails (~> 2.28) + sentry-rails (~> 5.22) + sentry-ruby (~> 5.22) + sentry-sidekiq (~> 5.22) shortuuid (~> 0.6.0) - sidekiq (~> 7.0) + sidekiq (~> 7.3) spring - syntax_tree (~> 5.1) + syntax_tree (~> 6.2) tzinfo-data RUBY VERSION diff --git a/backend/config/environment.rb b/backend/config/environment.rb index d813fb0..1bfc7f5 100644 --- a/backend/config/environment.rb +++ b/backend/config/environment.rb @@ -4,6 +4,6 @@ require "console/adapter/rails" -Console::Adapter::Rails.apply! +Console::Adapter::Rails::ActiveRecord.apply! # Initialize the Rails application. Rails.application.initialize!