diff --git a/Gemfile b/Gemfile index d3fd860e..14344ada 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,7 @@ end if ENV["RAILS_MASTER"] == '1' gem 'rails', git: 'https://github.com/rails/rails.git' else - gem 'rails', '7.0.6' + gem 'rails', '7.0.8' end # API & Networking @@ -55,7 +55,6 @@ gem 'sinatra' # Caching gem 'dalli' -gem 'redis-namespace' # Database gem 'pg' diff --git a/Gemfile.lock b/Gemfile.lock index 32aef3b4..e9c495cb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,67 +1,67 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.0.6) - actionpack (= 7.0.6) - activesupport (= 7.0.6) + actioncable (7.0.8) + actionpack (= 7.0.8) + activesupport (= 7.0.8) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.6) - actionpack (= 7.0.6) - activejob (= 7.0.6) - activerecord (= 7.0.6) - activestorage (= 7.0.6) - activesupport (= 7.0.6) + actionmailbox (7.0.8) + actionpack (= 7.0.8) + activejob (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.6) - actionpack (= 7.0.6) - actionview (= 7.0.6) - activejob (= 7.0.6) - activesupport (= 7.0.6) + actionmailer (7.0.8) + actionpack (= 7.0.8) + actionview (= 7.0.8) + activejob (= 7.0.8) + activesupport (= 7.0.8) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.6) - actionview (= 7.0.6) - activesupport (= 7.0.6) + actionpack (7.0.8) + actionview (= 7.0.8) + activesupport (= 7.0.8) rack (~> 2.0, >= 2.2.4) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.6) - actionpack (= 7.0.6) - activerecord (= 7.0.6) - activestorage (= 7.0.6) - activesupport (= 7.0.6) + actiontext (7.0.8) + actionpack (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.6) - activesupport (= 7.0.6) + actionview (7.0.8) + activesupport (= 7.0.8) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.6) - activesupport (= 7.0.6) + activejob (7.0.8) + activesupport (= 7.0.8) globalid (>= 0.3.6) - activemodel (7.0.6) - activesupport (= 7.0.6) - activerecord (7.0.6) - activemodel (= 7.0.6) - activesupport (= 7.0.6) - activestorage (7.0.6) - actionpack (= 7.0.6) - activejob (= 7.0.6) - activerecord (= 7.0.6) - activesupport (= 7.0.6) + activemodel (7.0.8) + activesupport (= 7.0.8) + activerecord (7.0.8) + activemodel (= 7.0.8) + activesupport (= 7.0.8) + activestorage (7.0.8) + actionpack (= 7.0.8) + activejob (= 7.0.8) + activerecord (= 7.0.8) + activesupport (= 7.0.8) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.6) + activesupport (7.0.8) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -91,7 +91,7 @@ GEM babel-transpiler (0.7.0) babel-source (>= 4.0, < 6) execjs (~> 2.0) - bcrypt (3.1.18) + bcrypt (3.1.19) benchmark-ips (2.9.1) bindex (0.8.1) bluecloth (2.2.0) @@ -118,7 +118,7 @@ GEM execjs coffee-script-source (1.12.2) concurrent-ruby (1.2.2) - connection_pool (2.3.0) + connection_pool (2.4.1) crack (0.4.5) rexml crass (1.0.6) @@ -138,7 +138,7 @@ GEM rake (> 10, < 14) ruby-statistics (>= 2.1) thor (>= 0.19, < 2) - devise (4.8.1) + devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) @@ -154,7 +154,7 @@ GEM execjs (2.8.1) faker (2.23.0) i18n (>= 1.8.11, < 2) - faraday (0.17.4) + faraday (0.17.6) multipart-post (>= 1.2, < 3) ffi (1.15.4) flamegraph (0.9.5) @@ -174,12 +174,12 @@ GEM i18n (1.14.1) concurrent-ruby (~> 1.0) jmespath (1.6.1) - jquery-rails (4.5.0) + jquery-rails (4.6.0) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) json (2.6.2) - jwt (2.2.2) + jwt (2.7.1) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -190,7 +190,7 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) local_time (2.1.0) - loofah (2.21.3) + loofah (2.21.4) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -210,13 +210,13 @@ GEM mime-types-data (3.2019.1009) mini_histogram (0.3.1) mini_mime (1.1.5) - mini_portile2 (2.8.2) - minitest (5.18.1) - mocha (1.16.0) + mini_portile2 (2.8.5) + minitest (5.20.0) + mocha (2.1.0) + ruby2_keywords (>= 0.0.5) msgpack (1.5.6) - multi_json (1.15.0) multi_xml (0.6.0) - multipart-post (2.1.1) + multipart-post (2.3.0) mustermann (3.0.0) ruby2_keywords (~> 0.0.1) neat (1.7.4) @@ -231,27 +231,28 @@ GEM net-smtp (0.3.2) net-protocol nio4r (2.5.9) - nokogiri (1.15.3) + nokogiri (1.15.4) mini_portile2 (~> 2.8.2) racc (~> 1.4) normalize-rails (8.0.1) - oauth2 (1.4.4) - faraday (>= 0.8, < 2.0) + oauth2 (2.0.9) + faraday (>= 0.17.3, < 3.0) jwt (>= 1.0, < 3.0) - multi_json (~> 1.3) multi_xml (~> 0.5) - rack (>= 1.2, < 3) + rack (>= 1.2, < 4) + snaky_hash (~> 2.0) + version_gem (~> 1.1) oj (3.13.21) - omniauth (2.1.0) + omniauth (2.1.1) hashie (>= 3.4.6) rack (>= 2.2.3) rack-protection - omniauth-github (2.0.0) + omniauth-github (2.0.1) + omniauth (~> 2.0) + omniauth-oauth2 (~> 1.8) + omniauth-oauth2 (1.8.0) + oauth2 (>= 1.4, < 3) omniauth (~> 2.0) - omniauth-oauth2 (~> 1.7.1) - omniauth-oauth2 (1.7.1) - oauth2 (~> 1.4) - omniauth (>= 1.9, < 3) omniauth-rails_csrf_protection (1.0.1) actionpack (>= 4.2) omniauth (~> 2.0) @@ -277,7 +278,7 @@ GEM coderay (~> 1.1) method_source (~> 1.0) public_suffix (5.0.3) - puma (6.3.0) + puma (6.4.0) nio4r (~> 2.0) puma_worker_killer (0.3.1) get_process_mem (~> 0.2) @@ -289,25 +290,25 @@ GEM rack (>= 1, < 4) rack-mini-profiler (3.1.1) rack (>= 1.2.0) - rack-protection (3.0.2) - rack + rack-protection (3.1.0) + rack (~> 2.2, >= 2.2.4) rack-test (2.1.0) rack (>= 1.3) rack-timeout (0.6.3) - rails (7.0.6) - actioncable (= 7.0.6) - actionmailbox (= 7.0.6) - actionmailer (= 7.0.6) - actionpack (= 7.0.6) - actiontext (= 7.0.6) - actionview (= 7.0.6) - activejob (= 7.0.6) - activemodel (= 7.0.6) - activerecord (= 7.0.6) - activestorage (= 7.0.6) - activesupport (= 7.0.6) + rails (7.0.8) + actioncable (= 7.0.8) + actionmailbox (= 7.0.8) + actionmailer (= 7.0.8) + actionpack (= 7.0.8) + actiontext (= 7.0.8) + actionview (= 7.0.8) + activejob (= 7.0.8) + activemodel (= 7.0.8) + activerecord (= 7.0.8) + activestorage (= 7.0.8) + activesupport (= 7.0.8) bundler (>= 1.15.0) - railties (= 7.0.6) + railties (= 7.0.8) rails-autoscale-core (1.1.0) rails-autoscale-web (1.1.0) rails-autoscale-core @@ -316,22 +317,22 @@ GEM actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) activesupport (>= 5.0.1.rc1) - rails-dom-testing (2.1.1) + rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.0.6) - actionpack (= 7.0.6) - activesupport (= 7.0.6) + railties (7.0.8) + actionpack (= 7.0.8) + activesupport (= 7.0.8) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) - rake (13.0.6) + rake (13.1.0) rb-fsevent (0.11.0) rb-inotify (0.10.1) ffi (~> 1.0) @@ -339,14 +340,13 @@ GEM ffi (>= 1.0.6) msgpack (>= 0.4.3) optimist (>= 3.0.0) - redis (4.8.0) - redis-namespace (1.9.0) - redis (>= 4) + redis-client (0.18.0) + connection_pool regexp_parser (2.6.0) render_async (2.1.11) - responders (3.0.1) - actionpack (>= 5.0) - railties (>= 5.0) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) rexml (3.2.5) rrrretry (1.0.0) rubocop (1.36.0) @@ -384,10 +384,11 @@ GEM parser sentry-raven (2.13.0) faraday (>= 0.7.6, < 1.0) - sidekiq (6.5.7) - connection_pool (>= 2.2.5) - rack (~> 2.0) - redis (>= 4.5.0, < 5) + sidekiq (7.1.6) + concurrent-ruby (< 2) + connection_pool (>= 2.3.0) + rack (>= 2.2.4) + redis-client (>= 0.14.0) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) @@ -396,22 +397,25 @@ GEM simplecov_json_formatter (0.1.2) simpleidn (0.2.1) unf (~> 0.1.4) - sinatra (3.0.2) + sinatra (3.1.0) mustermann (~> 3.0) rack (~> 2.2, >= 2.2.4) - rack-protection (= 3.0.2) + rack-protection (= 3.1.0) tilt (~> 2.0) sitemap_generator (6.1.2) builder (~> 3.0) - skylight (5.3.4) + skylight (6.0.1) activesupport (>= 5.2.0) slim (4.1.0) temple (>= 0.7.6, < 0.9) tilt (>= 2.0.6, < 2.1) - slim-rails (3.3.0) + slim-rails (3.6.3) actionpack (>= 3.1) railties (>= 3.1) - slim (>= 3.0, < 5.0) + slim (>= 3.0, < 6.0, != 5.0.0) + snaky_hash (2.0.1) + hashie + version_gem (~> 1.1, >= 1.1.1) sprockets (4.1.1) concurrent-ruby (~> 1.0) rack (> 1, < 3) @@ -422,7 +426,7 @@ GEM stackprof (0.2.17) temple (0.8.2) test-prof (1.0.10) - thor (1.2.2) + thor (1.3.0) tilt (2.0.11) timeout (0.3.0) ttfunk (1.7.0) @@ -439,9 +443,10 @@ GEM mail (>= 2.6.1) simpleidn vcr (6.1.0) + version_gem (1.1.3) warden (1.2.9) rack (>= 2.0.9) - web-console (4.2.0) + web-console (4.2.1) actionview (>= 6.0.0) activemodel (>= 6.0.0) bindex (>= 0.4.0) @@ -451,7 +456,7 @@ GEM crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) webrick (1.7.0) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) wicked (1.3.4) @@ -461,7 +466,7 @@ GEM nokogiri (~> 1.8) yard (0.9.28) webrick (~> 1.7.0) - zeitwerk (2.6.8) + zeitwerk (2.6.12) PLATFORMS ruby @@ -509,12 +514,11 @@ DEPENDENCIES rack-canonical-host rack-mini-profiler rack-timeout - rails (= 7.0.6) + rails (= 7.0.8) rails-autoscale-web rails-controller-testing rake rbtrace - redis-namespace render_async rrrretry rubocop diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index c5b8b57c..d41fa890 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -5,10 +5,6 @@ ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } } -unless Rails.env.production? - sidekiq_config[:namespace] = "codetriage-sidekiq" -end - Sidekiq.configure_server do |config| config.redis = sidekiq_config end