From 64186cff07e6b9c069a5d76c5990359174599e00 Mon Sep 17 00:00:00 2001 From: "James Armes (they/them)" Date: Mon, 3 Jun 2024 21:01:11 -0400 Subject: [PATCH] Updated to ruby 3.3. (#1) * Added bundler-audit gem to audit dependencies. * Allow turbo frames on call type classification. * Updated GitHub action versions. --- .github/workflows/branch-checks.yml | 6 +- .github/workflows/codeql-analysis.yml | 6 +- .github/workflows/main-checks.yml | 6 +- .gitignore | 3 + .ruby-version | 2 +- Gemfile | 8 +- Gemfile.lock | 455 ++++++++++-------- .../classifications/call_types_controller.rb | 2 +- lib/tasks/bundler_audit.rake | 5 + 9 files changed, 285 insertions(+), 208 deletions(-) create mode 100644 lib/tasks/bundler_audit.rake diff --git a/.github/workflows/branch-checks.yml b/.github/workflows/branch-checks.yml index 6987b30..c6ff453 100644 --- a/.github/workflows/branch-checks.yml +++ b/.github/workflows/branch-checks.yml @@ -35,7 +35,7 @@ jobs: RAILS_DB_PASSWORD: "" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 @@ -59,7 +59,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4d65159..6690702 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -29,11 +29,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -43,4 +43,4 @@ jobs: # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs queries: security-extended,security-and-quality - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/main-checks.yml b/.github/workflows/main-checks.yml index 11eeebc..a975257 100644 --- a/.github/workflows/main-checks.yml +++ b/.github/workflows/main-checks.yml @@ -35,7 +35,7 @@ jobs: RAILS_DB_PASSWORD: "" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 @@ -59,7 +59,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: RuboCop Linter uses: andrewmcodes/rubocop-linter-action@v3.3.0 @@ -72,7 +72,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.gitignore b/.gitignore index 8dd0cc9..b95db02 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,6 @@ /app/assets/builds/* !/app/assets/builds/.keep .DS_Store + +.env +out diff --git a/.ruby-version b/.ruby-version index ef538c2..4772543 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.2 +3.3.2 diff --git a/Gemfile b/Gemfile index 92e87f6..4c89e91 100644 --- a/Gemfile +++ b/Gemfile @@ -3,11 +3,12 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '3.1.2' +ruby '3.3.2' gem 'active_storage_validations', '~> 0.9' gem 'aws-sdk-rails', '~> 3.6' gem 'aws-sdk-s3', '~> 1.114' +gem 'base64', '~> 0.2' gem 'bootsnap', '~> 1.12', require: false gem 'chartkick' gem 'chronic', '~> 0.10.2' @@ -18,11 +19,13 @@ gem 'health-monitor-rails', '~> 9.3' gem 'importmap-rails', '~> 1.1' gem 'jbuilder', '~> 2.11' gem 'kaminari', '~> 1.2' +gem 'mutex_m', '~> 0.2' gem 'paper_trail', '~> 12.3' gem 'pg', '~> 1.4' gem 'pg_search', '~> 2.3' gem 'puma', '~> 5.6' -gem 'rails', '~> 7.0', '>= 7.0.2.3' +gem 'rack', '~> 2.0' +gem 'rails', '~> 7.0.0', '>= 7.0.2.3' gem 'seed_dump', '~> 3.3' gem 'sprockets-rails', '~> 3.4' gem 'stimulus-rails', '~> 1.1' @@ -33,6 +36,7 @@ gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem 'bullet', '~> 7.0' + gem 'bundler-audit', '~> 0.9' gem 'debug', '~> 1.6', platforms: %i[mri mingw x64_mingw] gem 'factory_bot_rails', '~> 6.2' gem 'faker', '~> 2.21' diff --git a/Gemfile.lock b/Gemfile.lock index 7a1c7a5..fc96d8d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,47 +13,47 @@ GIT GEM remote: https://rubygems.org/ specs: - actioncable (7.0.4) - actionpack (= 7.0.4) - activesupport (= 7.0.4) + actioncable (7.0.8.3) + actionpack (= 7.0.8.3) + activesupport (= 7.0.8.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.4) - actionpack (= 7.0.4) - activejob (= 7.0.4) - activerecord (= 7.0.4) - activestorage (= 7.0.4) - activesupport (= 7.0.4) + actionmailbox (7.0.8.3) + actionpack (= 7.0.8.3) + activejob (= 7.0.8.3) + activerecord (= 7.0.8.3) + activestorage (= 7.0.8.3) + activesupport (= 7.0.8.3) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.4) - actionpack (= 7.0.4) - actionview (= 7.0.4) - activejob (= 7.0.4) - activesupport (= 7.0.4) + actionmailer (7.0.8.3) + actionpack (= 7.0.8.3) + actionview (= 7.0.8.3) + activejob (= 7.0.8.3) + activesupport (= 7.0.8.3) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.4) - actionview (= 7.0.4) - activesupport (= 7.0.4) - rack (~> 2.0, >= 2.2.0) + actionpack (7.0.8.3) + actionview (= 7.0.8.3) + activesupport (= 7.0.8.3) + 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.4) - actionpack (= 7.0.4) - activerecord (= 7.0.4) - activestorage (= 7.0.4) - activesupport (= 7.0.4) + actiontext (7.0.8.3) + actionpack (= 7.0.8.3) + activerecord (= 7.0.8.3) + activestorage (= 7.0.8.3) + activesupport (= 7.0.8.3) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.4) - activesupport (= 7.0.4) + actionview (7.0.8.3) + activesupport (= 7.0.8.3) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) @@ -63,80 +63,90 @@ GEM activemodel (>= 5.2.0) activestorage (>= 5.2.0) activesupport (>= 5.2.0) - activejob (7.0.4) - activesupport (= 7.0.4) + activejob (7.0.8.3) + activesupport (= 7.0.8.3) globalid (>= 0.3.6) - activemodel (7.0.4) - activesupport (= 7.0.4) - activerecord (7.0.4) - activemodel (= 7.0.4) - activesupport (= 7.0.4) - activestorage (7.0.4) - actionpack (= 7.0.4) - activejob (= 7.0.4) - activerecord (= 7.0.4) - activesupport (= 7.0.4) + activemodel (7.0.8.3) + activesupport (= 7.0.8.3) + activerecord (7.0.8.3) + activemodel (= 7.0.8.3) + activesupport (= 7.0.8.3) + activestorage (7.0.8.3) + actionpack (= 7.0.8.3) + activejob (= 7.0.8.3) + activerecord (= 7.0.8.3) + activesupport (= 7.0.8.3) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.4) + activesupport (7.0.8.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.1) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) - aws-eventstream (1.2.0) - aws-partitions (1.648.0) - aws-record (2.8.0) - aws-sdk-dynamodb (~> 1.18) - aws-sdk-core (3.162.0) - aws-eventstream (~> 1, >= 1.0.2) - aws-partitions (~> 1, >= 1.525.0) - aws-sigv4 (~> 1.1) + aws-eventstream (1.3.0) + aws-partitions (1.937.0) + aws-record (2.13.0) + aws-sdk-dynamodb (~> 1, >= 1.85.0) + aws-sdk-core (3.196.1) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.651.0) + aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-dynamodb (1.77.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-dynamodb (1.111.0) + aws-sdk-core (~> 3, >= 3.193.0) aws-sigv4 (~> 1.1) - aws-sdk-kms (1.58.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-kms (1.82.0) + aws-sdk-core (~> 3, >= 3.193.0) aws-sigv4 (~> 1.1) - aws-sdk-rails (3.6.4) + aws-sdk-rails (3.12.0) aws-record (~> 2) - aws-sdk-ses (~> 1) - aws-sdk-sqs (~> 1) + aws-sdk-ses (~> 1, >= 1.50.0) + aws-sdk-sesv2 (~> 1, >= 1.34.0) + aws-sdk-sqs (~> 1, >= 1.56.0) aws-sessionstore-dynamodb (~> 2) concurrent-ruby (~> 1) railties (>= 5.2.0) - aws-sdk-s3 (1.115.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-s3 (1.151.0) + aws-sdk-core (~> 3, >= 3.194.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.4) - aws-sdk-ses (1.47.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sigv4 (~> 1.8) + aws-sdk-ses (1.62.0) + aws-sdk-core (~> 3, >= 3.193.0) + aws-sigv4 (~> 1.1) + aws-sdk-sesv2 (1.49.0) + aws-sdk-core (~> 3, >= 3.193.0) aws-sigv4 (~> 1.1) - aws-sdk-sqs (1.51.1) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-sqs (1.74.0) + aws-sdk-core (~> 3, >= 3.193.0) aws-sigv4 (~> 1.1) - aws-sessionstore-dynamodb (2.0.1) - aws-sdk-dynamodb (~> 1) - rack (~> 2) - aws-sigv4 (1.5.2) + aws-sessionstore-dynamodb (2.2.0) + aws-sdk-dynamodb (~> 1, >= 1.85.0) + rack (>= 2, < 4) + rack-session (>= 1, < 3) + aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) - bcrypt (3.1.18) + base64 (0.2.0) + bcrypt (3.1.20) + bigdecimal (3.1.8) bindex (0.8.1) - bootsnap (1.13.0) + bootsnap (1.18.3) msgpack (~> 1.2) - brakeman (5.3.1) + brakeman (5.4.1) builder (3.2.4) - bullet (7.0.3) + bullet (7.1.6) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) - capybara (3.37.1) + bundler-audit (0.9.1) + bundler (>= 1.2.0, < 3) + thor (~> 1.0) + capybara (3.40.0) addressable matrix mini_mime (>= 0.1.3) - nokogiri (~> 1.8) + nokogiri (~> 1.11) rack (>= 1.6.0) rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) @@ -144,51 +154,55 @@ GEM capybara-screenshot (1.0.26) capybara (>= 1.0, < 4) launchy - chartkick (4.2.1) - childprocess (4.1.0) + chartkick (5.0.7) + childprocess (5.0.0) chronic (0.10.2) coderay (1.1.3) - concurrent-ruby (1.1.10) - crack (0.4.5) + concurrent-ruby (1.3.1) + crack (1.0.0) + bigdecimal rexml crass (1.0.6) - csv (3.2.5) - database_cleaner-active_record (2.0.1) + csv (3.2.9) + database_cleaner-active_record (2.1.0) activerecord (>= 5.a) database_cleaner-core (~> 2.0.0) database_cleaner-core (2.0.1) - debug (1.6.2) - irb (>= 1.3.6) - reline (>= 0.3.1) - diff-lcs (1.5.0) - erubi (1.11.0) - factory_bot (6.2.1) + date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) + diff-lcs (1.5.1) + erubi (1.12.0) + factory_bot (6.4.6) activesupport (>= 5.0.0) - factory_bot_rails (6.2.0) - factory_bot (~> 6.2.0) + factory_bot_rails (6.4.3) + factory_bot (~> 6.4) railties (>= 5.0.0) faker (2.23.0) i18n (>= 1.8.11, < 2) friendly_id (5.4.2) activerecord (>= 4.0.0) - globalid (1.0.0) - activesupport (>= 5.0) - hashdiff (1.0.1) - health-monitor-rails (9.3.0) + globalid (1.2.1) + activesupport (>= 6.1) + hashdiff (1.1.0) + health-monitor-rails (9.4.0) railties (>= 4.0) - i18n (1.12.0) + i18n (1.14.5) concurrent-ruby (~> 1.0) - importmap-rails (1.1.5) + importmap-rails (1.2.3) actionpack (>= 6.0.0) + activesupport (>= 6.0.0) railties (>= 6.0.0) - io-console (0.5.11) - irb (1.4.2) - reline (>= 0.3.0) - jbuilder (2.11.5) + io-console (0.7.2) + irb (1.13.1) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jbuilder (2.12.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) - jmespath (1.6.1) - json (2.6.2) + jmespath (1.6.2) + json (2.7.2) kaminari (1.2.2) activesupport (>= 4.1.0) kaminari-actionview (= 1.2.2) @@ -201,102 +215,127 @@ GEM activerecord kaminari-core (= 1.2.2) kaminari-core (1.2.2) - launchy (2.5.0) - addressable (~> 2.7) - letter_opener (1.8.1) - launchy (>= 2.2, < 3) - loofah (2.19.0) + language_server-protocol (3.17.0.3) + launchy (3.0.1) + addressable (~> 2.8) + childprocess (~> 5.0) + letter_opener (1.10.0) + launchy (>= 2.2, < 4) + loofah (2.22.0) crass (~> 1.0.2) - nokogiri (>= 1.5.9) - mail (2.7.1) + nokogiri (>= 1.12.0) + mail (2.8.1) mini_mime (>= 0.1.1) - marcel (1.0.2) + net-imap + net-pop + net-smtp + marcel (1.0.4) matrix (0.4.2) - method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.16.3) - msgpack (1.6.0) - net-imap (0.3.1) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.23.1) + msgpack (1.7.2) + mutex_m (0.2.0) + net-imap (0.4.12) + date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.1.3) + net-protocol (0.2.2) timeout - net-smtp (0.3.2) + net-smtp (0.5.0) net-protocol - nio4r (2.5.8) - nokogiri (1.13.9-x86_64-darwin) + nio4r (2.7.3) + nokogiri (1.16.5-aarch64-linux) + racc (~> 1.4) + nokogiri (1.16.5-arm-linux) + racc (~> 1.4) + nokogiri (1.16.5-arm64-darwin) racc (~> 1.4) - nokogiri (1.13.9-x86_64-linux) + nokogiri (1.16.5-x86-linux) + racc (~> 1.4) + nokogiri (1.16.5-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.5-x86_64-linux) racc (~> 1.4) orm_adapter (0.5.0) paper_trail (12.3.0) activerecord (>= 5.2) request_store (~> 1.1) - parallel (1.22.1) - parser (3.1.2.1) + parallel (1.24.0) + parser (3.3.2.0) ast (~> 2.4.1) - pg (1.4.4) + racc + pg (1.5.6) pg_search (2.3.6) activerecord (>= 5.2) activesupport (>= 5.2) - pry (0.14.1) + pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - public_suffix (5.0.0) - puma (5.6.5) + psych (5.1.2) + stringio + public_suffix (5.0.5) + puma (5.6.8) nio4r (~> 2.0) - racc (1.6.0) - rack (2.2.4) - rack-test (2.0.2) + racc (1.8.0) + rack (2.2.9) + rack-session (1.0.2) + rack (< 3) + rack-test (2.1.0) rack (>= 1.3) - rails (7.0.4) - actioncable (= 7.0.4) - actionmailbox (= 7.0.4) - actionmailer (= 7.0.4) - actionpack (= 7.0.4) - actiontext (= 7.0.4) - actionview (= 7.0.4) - activejob (= 7.0.4) - activemodel (= 7.0.4) - activerecord (= 7.0.4) - activestorage (= 7.0.4) - activesupport (= 7.0.4) + rails (7.0.8.3) + actioncable (= 7.0.8.3) + actionmailbox (= 7.0.8.3) + actionmailer (= 7.0.8.3) + actionpack (= 7.0.8.3) + actiontext (= 7.0.8.3) + actionview (= 7.0.8.3) + activejob (= 7.0.8.3) + activemodel (= 7.0.8.3) + activerecord (= 7.0.8.3) + activestorage (= 7.0.8.3) + activesupport (= 7.0.8.3) bundler (>= 1.15.0) - railties (= 7.0.4) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + railties (= 7.0.8.3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.4.3) - loofah (~> 2.3) - railties (7.0.4) - actionpack (= 7.0.4) - activesupport (= 7.0.4) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.8.3) + actionpack (= 7.0.8.3) + activesupport (= 7.0.8.3) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.6.0) - reline (0.3.1) + rake (13.2.1) + rdoc (6.7.0) + psych (>= 4.0.0) + regexp_parser (2.9.2) + reline (0.5.8) io-console (~> 0.5) - request_store (1.5.1) + request_store (1.7.0) rack (>= 1.4) - responders (3.0.1) - actionpack (>= 5.0) - railties (>= 5.0) - rexml (3.2.5) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.1) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) + rexml (3.2.8) + strscan (>= 3.0.9) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-github (2.3.1) + rspec-support (~> 3.13.0) + rspec-github (2.4.0) rspec-core (~> 3.0) - rspec-mocks (3.11.1) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) + rspec-support (~> 3.13.0) rspec-rails (5.1.2) actionpack (>= 5.2) activesupport (>= 5.2) @@ -305,96 +344,120 @@ GEM rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) - rspec-support (3.11.1) - rubocop (1.36.0) + rspec-support (3.13.1) + rubocop (1.64.1) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.1.2.1) + 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.20.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.22.0) - parser (>= 3.1.1.0) - rubocop-performance (1.15.0) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - rubocop-rails (2.16.1) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + rubocop-capybara (2.20.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.25.1) + rubocop (~> 1.41) + rubocop-performance (1.21.0) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rails (2.25.0) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) - rubocop-rspec (2.13.2) - rubocop (~> 1.33) - ruby-progressbar (1.11.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rspec (2.29.2) + rubocop (~> 1.40) + rubocop-capybara (~> 2.17) + rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.28.3) + rubocop (~> 1.40) + ruby-progressbar (1.13.0) rubyzip (2.3.2) seed_dump (3.3.1) activerecord (>= 4) activesupport (>= 4) - selenium-webdriver (4.5.0) - childprocess (>= 0.5, < 5.0) + selenium-webdriver (4.10.0) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - sprockets (4.1.1) + sprockets (4.2.1) concurrent-ruby (~> 1.0) - rack (> 1, < 3) + rack (>= 2.2.4, < 4) sprockets-rails (3.4.2) actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - stimulus-rails (1.1.0) + stimulus-rails (1.3.3) + railties (>= 6.0.0) + stringio (3.1.0) + strscan (3.1.0) + tailwindcss-rails (2.0.12) + railties (>= 6.0.0) + tailwindcss-rails (2.0.12-aarch64-linux) + railties (>= 6.0.0) + tailwindcss-rails (2.0.12-arm64-darwin) railties (>= 6.0.0) tailwindcss-rails (2.0.12-x86_64-darwin) railties (>= 6.0.0) tailwindcss-rails (2.0.12-x86_64-linux) railties (>= 6.0.0) - thor (1.2.1) - timeout (0.3.0) - turbo-rails (1.3.1) + thor (1.3.1) + timeout (0.4.1) + turbo-rails (1.5.0) actionpack (>= 6.0.0) activejob (>= 6.0.0) railties (>= 6.0.0) - tzinfo (2.0.5) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.3.0) + unicode-display_width (2.5.0) uniform_notifier (1.16.0) - vcr (6.1.0) + vcr (6.2.0) 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) railties (>= 6.0.0) - webdrivers (5.2.0) + webdrivers (5.3.1) nokogiri (~> 1.6) rubyzip (>= 1.3.0) - selenium-webdriver (~> 4.0) - webmock (3.18.1) + selenium-webdriver (~> 4.0, < 4.11) + webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - websocket (1.2.9) - websocket-driver (0.7.5) + websocket (1.2.10) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.1) + zeitwerk (2.6.15) PLATFORMS - x86_64-darwin-20 + aarch64-linux + arm-linux + arm64-darwin + x86-linux + x86_64-darwin x86_64-linux DEPENDENCIES active_storage_validations (~> 0.9) aws-sdk-rails (~> 3.6) aws-sdk-s3 (~> 1.114) + base64 (~> 0.2) bootsnap (~> 1.12) brakeman (~> 5.3) bullet (~> 7.0) + bundler-audit (~> 0.9) capybara (~> 3.37) capybara-screenshot (~> 1.0) chartkick @@ -411,13 +474,15 @@ DEPENDENCIES jbuilder (~> 2.11) kaminari (~> 1.2) letter_opener (~> 1.8) + mutex_m (~> 0.2) nokogiri (~> 1.13) paper_trail (~> 12.3) pg (~> 1.4) pg_search (~> 2.3) pry (~> 0.14) puma (~> 5.6) - rails (~> 7.0, >= 7.0.2.3) + rack (~> 2.0) + rails (~> 7.0.0, >= 7.0.2.3) rspec-github (~> 2.3) rspec-rails (~> 5.1) rubocop (~> 1.32) @@ -437,7 +502,7 @@ DEPENDENCIES webmock (~> 3.14) RUBY VERSION - ruby 3.1.2p20 + ruby 3.3.2p78 BUNDLED WITH - 2.3.7 + 2.5.11 diff --git a/app/controllers/classifications/call_types_controller.rb b/app/controllers/classifications/call_types_controller.rb index 5557215..5b1c32c 100644 --- a/app/controllers/classifications/call_types_controller.rb +++ b/app/controllers/classifications/call_types_controller.rb @@ -5,7 +5,7 @@ module Classifications class CallTypesController < ApplicationController before_action :set_data_set, only: [:index] before_action :set_call_type, only: %i[show create] - before_action :disable_turbo, only: %i[show create] + before_action :disable_turbo, only: %i[show] before_action :set_breadcrumbs before_action :set_show_breacrumbs, only: [:show] diff --git a/lib/tasks/bundler_audit.rake b/lib/tasks/bundler_audit.rake new file mode 100644 index 0000000..3e46ad7 --- /dev/null +++ b/lib/tasks/bundler_audit.rake @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +require 'bundler/audit/task' + +Bundler::Audit::Task.new