diff --git a/Gemfile b/Gemfile index 0d955cc..6af21e1 100644 --- a/Gemfile +++ b/Gemfile @@ -4,12 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } # ruby '3.3.9' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 7.1.0' - -# Support rails 6.1 with Ruby 3.1 -gem 'net-imap' -gem 'net-pop' -gem 'net-smtp' +gem 'rails', '~> 7.2.2' gem 'date', '3.1.3' # Lock to Ruby 3.0 version of gem for live service diff --git a/Gemfile.lock b/Gemfile.lock index 341b212..668dcd3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,85 +1,79 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.1.5.2) - actionpack (= 7.1.5.2) - activesupport (= 7.1.5.2) + actioncable (7.2.2.2) + actionpack (= 7.2.2.2) + activesupport (= 7.2.2.2) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.1.5.2) - actionpack (= 7.1.5.2) - activejob (= 7.1.5.2) - activerecord (= 7.1.5.2) - activestorage (= 7.1.5.2) - activesupport (= 7.1.5.2) - mail (>= 2.7.1) - net-imap - net-pop - net-smtp - actionmailer (7.1.5.2) - actionpack (= 7.1.5.2) - actionview (= 7.1.5.2) - activejob (= 7.1.5.2) - activesupport (= 7.1.5.2) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp + actionmailbox (7.2.2.2) + actionpack (= 7.2.2.2) + activejob (= 7.2.2.2) + activerecord (= 7.2.2.2) + activestorage (= 7.2.2.2) + activesupport (= 7.2.2.2) + mail (>= 2.8.0) + actionmailer (7.2.2.2) + actionpack (= 7.2.2.2) + actionview (= 7.2.2.2) + activejob (= 7.2.2.2) + activesupport (= 7.2.2.2) + mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.1.5.2) - actionview (= 7.1.5.2) - activesupport (= 7.1.5.2) + actionpack (7.2.2.2) + actionview (= 7.2.2.2) + activesupport (= 7.2.2.2) nokogiri (>= 1.8.5) racc - rack (>= 2.2.4) + rack (>= 2.2.4, < 3.2) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actiontext (7.1.5.2) - actionpack (= 7.1.5.2) - activerecord (= 7.1.5.2) - activestorage (= 7.1.5.2) - activesupport (= 7.1.5.2) + useragent (~> 0.16) + actiontext (7.2.2.2) + actionpack (= 7.2.2.2) + activerecord (= 7.2.2.2) + activestorage (= 7.2.2.2) + activesupport (= 7.2.2.2) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.1.5.2) - activesupport (= 7.1.5.2) + actionview (7.2.2.2) + activesupport (= 7.2.2.2) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (7.1.5.2) - activesupport (= 7.1.5.2) + activejob (7.2.2.2) + activesupport (= 7.2.2.2) globalid (>= 0.3.6) - activemodel (7.1.5.2) - activesupport (= 7.1.5.2) - activerecord (7.1.5.2) - activemodel (= 7.1.5.2) - activesupport (= 7.1.5.2) + activemodel (7.2.2.2) + activesupport (= 7.2.2.2) + activerecord (7.2.2.2) + activemodel (= 7.2.2.2) + activesupport (= 7.2.2.2) timeout (>= 0.4.0) activerecord-import (2.2.0) activerecord (>= 4.2) - activestorage (7.1.5.2) - actionpack (= 7.1.5.2) - activejob (= 7.1.5.2) - activerecord (= 7.1.5.2) - activesupport (= 7.1.5.2) + activestorage (7.2.2.2) + actionpack (= 7.2.2.2) + activejob (= 7.2.2.2) + activerecord (= 7.2.2.2) + activesupport (= 7.2.2.2) marcel (~> 1.0) - activesupport (7.1.5.2) + activesupport (7.2.2.2) 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 securerandom (>= 0.3) - tzinfo (~> 2.0) + tzinfo (~> 2.0, >= 2.0.5) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.3) @@ -178,7 +172,6 @@ GEM mocha (2.7.1) ruby2_keywords (>= 0.0.5) msgpack (1.8.0) - mutex_m (0.3.0) ndr_dev_support (7.3.3) activesupport (>= 6.1, < 8.1) brakeman (>= 4.7.1) @@ -257,7 +250,7 @@ GEM puma (>= 5.0) rack racc (1.8.1) - rack (3.2.0) + rack (3.1.16) rack-session (2.1.1) base64 (>= 0.1.0) rack (>= 3.0.0) @@ -265,20 +258,20 @@ GEM rack (>= 1.3) rackup (2.2.1) rack (>= 3) - rails (7.1.5.2) - actioncable (= 7.1.5.2) - actionmailbox (= 7.1.5.2) - actionmailer (= 7.1.5.2) - actionpack (= 7.1.5.2) - actiontext (= 7.1.5.2) - actionview (= 7.1.5.2) - activejob (= 7.1.5.2) - activemodel (= 7.1.5.2) - activerecord (= 7.1.5.2) - activestorage (= 7.1.5.2) - activesupport (= 7.1.5.2) + rails (7.2.2.2) + actioncable (= 7.2.2.2) + actionmailbox (= 7.2.2.2) + actionmailer (= 7.2.2.2) + actionpack (= 7.2.2.2) + actiontext (= 7.2.2.2) + actionview (= 7.2.2.2) + activejob (= 7.2.2.2) + activemodel (= 7.2.2.2) + activerecord (= 7.2.2.2) + activestorage (= 7.2.2.2) + activesupport (= 7.2.2.2) bundler (>= 1.15.0) - railties (= 7.1.5.2) + railties (= 7.2.2.2) rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest @@ -286,10 +279,10 @@ GEM rails-html-sanitizer (1.6.2) loofah (~> 2.21) 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) - railties (7.1.5.2) - actionpack (= 7.1.5.2) - activesupport (= 7.1.5.2) - irb + railties (7.2.2.2) + actionpack (= 7.2.2.2) + activesupport (= 7.2.2.2) + irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) @@ -352,7 +345,7 @@ GEM spring-watcher-listen (2.1.0) listen (>= 2.7, < 4.0) spring (>= 4) - stringio (3.1.7) + stringio (3.1.1) thor (1.4.0) timeout (0.4.3) tzinfo (2.0.6) @@ -360,6 +353,7 @@ GEM unicode-display_width (3.1.4) unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) + useragent (0.16.11) websocket (1.2.11) websocket-driver (0.8.0) base64 @@ -389,14 +383,11 @@ DEPENDENCIES ndr_dev_support (~> 7.0) ndr_pseudonymise (~> 0.4.0) ndr_stats - net-imap - net-pop - net-smtp nokogiri (~> 1.11) pg (~> 1.4.6) puma (~> 6.0) puma-daemon - rails (~> 7.1.0) + rails (~> 7.2.2) spring spring-watcher-listen (~> 2.0) diff --git a/app/models/pseudonymisation_key.rb b/app/models/pseudonymisation_key.rb index 3cebf5c..3d71755 100644 --- a/app/models/pseudonymisation_key.rb +++ b/app/models/pseudonymisation_key.rb @@ -9,7 +9,7 @@ class PseudonymisationKey < ApplicationRecord class MissingSalt < StandardError; end - enum key_type: %i[singular compound] + enum :key_type, { singular: 0, compound: 1 } with_options class_name: 'PseudonymisationKey' do with_options optional: true do diff --git a/bin/brakeman b/bin/brakeman new file mode 100755 index 0000000..ace1c9b --- /dev/null +++ b/bin/brakeman @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby +require "rubygems" +require "bundler/setup" + +ARGV.unshift("--ensure-latest") + +load Gem.bin_path("brakeman", "brakeman") diff --git a/bin/rubocop b/bin/rubocop new file mode 100755 index 0000000..40330c0 --- /dev/null +++ b/bin/rubocop @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby +require "rubygems" +require "bundler/setup" + +# explicit rubocop config increases performance slightly while avoiding config confusion. +ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__)) + +load Gem.bin_path("rubocop", "rubocop") diff --git a/bin/setup b/bin/setup index b994156..394292f 100755 --- a/bin/setup +++ b/bin/setup @@ -1,8 +1,8 @@ #!/usr/bin/env ruby require 'fileutils' -# path to your application root. APP_ROOT = File.expand_path('..', __dir__) +APP_NAME = 'pseudonymisation_service' def system!(*args) system(*args, exception: true) @@ -30,4 +30,8 @@ FileUtils.chdir APP_ROOT do puts "\n== Restarting application server ==" system! 'bin/rails restart' + + # puts "\n== Configuring puma-dev ==" + # system "ln -nfs #{APP_ROOT} ~/.puma-dev/#{APP_NAME}" + # system "curl -Is https://#{APP_NAME}.test/up | head -n 1" end diff --git a/config/application.rb b/config/application.rb index 15d94a4..416e95b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -34,6 +34,9 @@ class Application < Rails::Application # # These settings can be overridden in specific environments using the files # in config/environments, which are processed later. + # + # config.time_zone = "Central Time (US & Canada)" + # config.eager_load_paths << Rails.root.join("extras") # Only loads a smaller set of middleware suitable for API only apps. # Middleware like session, flash, cookies can be added back manually. diff --git a/config/environments/development.rb b/config/environments/development.rb index ffb2d16..4e6a575 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -14,16 +14,14 @@ # Show full error reports. config.consider_all_requests_local = true - # Enable server timing + # Enable server timing. # config.server_timing = true # Enable/disable caching. By default caching is disabled. # Run rails dev:cache to toggle caching. if Rails.root.join('tmp/caching-dev.txt').exist? config.cache_store = :memory_store - config.public_file_server.headers = { - 'Cache-Control' => "public, max-age=#{2.days.to_i}" - } + config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}" } else config.action_controller.perform_caching = false @@ -36,8 +34,12 @@ # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false + # Disable caching for Action Mailer templates even if Action Controller + # caching is enabled. config.action_mailer.perform_caching = false + # config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } + # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log @@ -65,9 +67,12 @@ # Uncomment if you wish to allow Action Cable access from any origin. # config.action_cable.disable_request_forgery_protection = true - # Raise error when a before_action's only/except options reference missing actions + # Raise error when a before_action's only/except options reference missing actions. config.action_controller.raise_on_missing_callback_actions = true + # Apply autocorrection by RuboCop to files generated by `bin/rails generate`. + # config.generators.apply_rubocop_autocorrect_after_generate! + # Use an evented file watcher to asynchronously detect changes in source code, # routes, locales, etc. This feature depends on the listen gem. config.file_watcher = ActiveSupport::EventedFileUpdateChecker diff --git a/config/environments/production.rb b/config/environments/production.rb index 77f74ca..aaa26a9 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -3,6 +3,10 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. + # Accept style conventions used in the Rails-generated template files + # - otherwise we have to keep re-linting the files every time we upgrade Rails + # rubocop:disable Style/GlobalStdStream, Layout/DotPosition, Layout/MultilineMethodCallIndentation, Style/RedundantConstantBase + # Code is not reloaded between requests. config.enable_reloading = false @@ -44,6 +48,22 @@ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # config.force_ssl = true + # Skip http-to-https redirect for the default health check endpoint. + # config.ssl_options = { redirect: { exclude: ->(request) { request.path == '/up' } } } + + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Log to STDOUT by default + # config.logger = ActiveSupport::Logger.new(STDOUT) + # .tap { |logger| logger.formatter = ::Logger::Formatter.new } + # .then { |logger| ActiveSupport::TaggedLogging.new(logger) } + if ENV['RAILS_LOG_TO_STDOUT'].present? + config.logger = ActiveSupport::Logger.new(STDOUT) + .tap { |logger| logger.formatter = ::Logger::Formatter.new } + .then { |logger| ActiveSupport::TaggedLogging.new(logger) } + end + # Prepend all log lines with the following tags. config.log_tags = [:request_id] @@ -60,6 +80,8 @@ # config.active_job.queue_adapter = :resque # config.active_job.queue_name_prefix = "pseudonymisation_service_production" + # Disable caching for Action Mailer templates even if Action Controller + # caching is enabled. config.action_mailer.perform_caching = false # Ignore bad email addresses and do not raise email delivery errors. @@ -73,25 +95,15 @@ # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify - # Use default logging formatter so that PID and timestamp are not suppressed. - config.log_formatter = ::Logger::Formatter.new - - # Use a different logger for distributed setups. - # require 'syslog/logger' - # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') - - if ENV['RAILS_LOG_TO_STDOUT'].present? - logger = ActiveSupport::Logger.new(STDOUT) - logger.formatter = config.log_formatter - config.logger = ActiveSupport::TaggedLogging.new(logger) - end - # Don't log any deprecations. config.active_support.report_deprecations = false # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false + # Only use :id for inspections in production. + # config.active_record.attributes_for_inspect = [:id] + # Enable DNS rebinding protection and other `Host` header attacks. # config.hosts = [ # "example.com", # Allow requests from example.com @@ -99,4 +111,5 @@ # ] # Skip DNS rebinding protection for the default health check endpoint. # config.host_authorization = { exclude: ->(request) { request.path == "/up" } } + # rubocop:enable Style/GlobalStdStream, Layout/DotPosition, Layout/MultilineMethodCallIndentation, Style/RedundantConstantBase end diff --git a/config/environments/test.rb b/config/environments/test.rb index 2cca1df..c46d051 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -18,10 +18,7 @@ config.eager_load = ENV['CI'].present? # Configure public file server for tests with Cache-Control for performance. - config.public_file_server.enabled = true - config.public_file_server.headers = { - 'Cache-Control' => "public, max-age=#{1.hour.to_i}" - } + config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{1.hour.to_i}" } # Show as-if-live error reports and disable caching. config.consider_all_requests_local = false @@ -37,6 +34,8 @@ # Store uploaded files on the local file system in a temporary directory. config.active_storage.service = :test + # Disable caching for Action Mailer templates even if Action Controller + # caching is enabled. config.action_mailer.perform_caching = false # Tell Action Mailer not to deliver emails to the real world. @@ -44,6 +43,10 @@ # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + # Unlike controllers, the mailer instance doesn't have any context about the + # incoming request so you'll need to provide the :host parameter yourself. + config.action_mailer.default_url_options = { host: 'www.example.com' } + # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr @@ -59,7 +62,7 @@ # Annotate rendered view with file names. # config.action_view.annotate_rendered_view_with_filenames = true - # Raise error when a before_action's only/except options reference missing actions + # Raise error when a before_action's only/except options reference missing actions. config.action_controller.raise_on_missing_callback_actions = true # Custom userlist, for testing: diff --git a/config/initializers/new_framework_defaults_7_2.rb b/config/initializers/new_framework_defaults_7_2.rb new file mode 100644 index 0000000..b549c4a --- /dev/null +++ b/config/initializers/new_framework_defaults_7_2.rb @@ -0,0 +1,70 @@ +# Be sure to restart your server when you modify this file. +# +# This file eases your Rails 7.2 framework defaults upgrade. +# +# Uncomment each configuration one by one to switch to the new default. +# Once your application is ready to run with all new defaults, you can remove +# this file and set the `config.load_defaults` to `7.2`. +# +# Read the Guide for Upgrading Ruby on Rails for more info on each option. +# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html + +### +# Controls whether Active Job's `#perform_later` and similar methods automatically defer +# the job queuing to after the current Active Record transaction is committed. +# +# Example: +# Topic.transaction do +# topic = Topic.create(...) +# NewTopicNotificationJob.perform_later(topic) +# end +# +# In this example, if the configuration is set to `:never`, the job will +# be enqueued immediately, even though the `Topic` hasn't been committed yet. +# Because of this, if the job is picked up almost immediately, or if the +# transaction doesn't succeed for some reason, the job will fail to find this +# topic in the database. +# +# If `enqueue_after_transaction_commit` is set to `:default`, the queue adapter +# will define the behaviour. +# +# Note: Active Job backends can disable this feature. This is generally done by +# backends that use the same database as Active Record as a queue, hence they +# don't need this feature. +#++ +# Rails.application.config.active_job.enqueue_after_transaction_commit = :default + +### +# Adds image/webp to the list of content types Active Storage considers as an image +# Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png. +# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support +# WebP. Requires imagemagick/libvips built with WebP support. +#++ +# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp] + +### +# Enable validation of migration timestamps. When set, an ActiveRecord::InvalidMigrationTimestampError +# will be raised if the timestamp prefix for a migration is more than a day ahead of the timestamp +# associated with the current time. This is done to prevent forward-dating of migration files, which can +# impact migration generation and other migration commands. +# +# Applications with existing timestamped migrations that do not adhere to the +# expected format can disable validation by setting this config to `false`. +#++ +# Rails.application.config.active_record.validate_migration_timestamps = true + +### +# Controls whether the PostgresqlAdapter should decode dates automatically with manual queries. +# +# Example: +# ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.select_value("select '2024-01-01'::date") #=> Date +# +# This query used to return a `String`. +#++ +# Rails.application.config.active_record.postgresql_adapter_decode_dates = true + +### +# Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are +# deploying to a memory constrained environment you may want to set this to `false`. +#++ +# Rails.application.config.yjit = true diff --git a/config/puma.rb b/config/puma.rb index 1b815a3..48d940a 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,26 +1,43 @@ require 'puma/daemon' -# Puma can serve each request in a thread from an internal thread pool. -# The `threads` method setting takes two numbers: a minimum and maximum. -# Any libraries that use thread pools should be configured to match -# the maximum value specified for Puma. Default is set to 5 threads for minimum -# and maximum; this matches the default thread size of Active Record. +# This configuration file will be evaluated by Puma. The top-level methods that +# are invoked here are part of Puma's configuration DSL. For more information +# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html. + +# Puma starts a configurable number of processes (workers) and each process +# serves each request in a thread from an internal thread pool. +# +# The ideal number of threads per worker depends both on how much time the +# application spends waiting for IO operations and on how much you wish to +# to prioritize throughput over latency. +# +# As a rule of thumb, increasing the number of threads will increase how much +# traffic a given process can handle (throughput), but due to CRuby's +# Global VM Lock (GVL) it has diminishing returns and will degrade the +# response time (latency) of the application. # -max_threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 } +# The default is set to 3 threads as it's deemed a decent compromise between +# throughput and latency for the average Rails application. +# +# Any libraries that use a connection pool or another resource pool should +# be configured to provide at least as many connections as the number of +# threads. This includes Active Record's `pool` parameter in `database.yml`. + +# Accept style conventions used in the Rails-generated template files +# - otherwise we have to keep re-linting the files every time we upgrade Rails +# rubocop:disable Style/RedundantFetchBlock + +max_threads_count = ENV.fetch('RAILS_MAX_THREADS') { 3 } min_threads_count = ENV.fetch('RAILS_MIN_THREADS') { max_threads_count } threads min_threads_count, max_threads_count # Specifies the `port` that Puma will listen on to receive requests; default is 3000. -# port ENV.fetch('PORT') { 3000 } # Specifies the `environment` that Puma will run in. # environment ENV.fetch('RAILS_ENV') { 'development' } -# Specifies the file that Puma will use for the pid. -pidfile 'tmp/pids/server.pid' - # Don't remain in the foreground: daemonize @@ -42,5 +59,10 @@ # # preload_app! -# Allow puma to be restarted by `rails restart` command. +# Allow puma to be restarted by `bin/rails restart` command. plugin :tmp_restart + +# Specify the PID file. Defaults to tmp/pids/server.pid in development. +pidfile 'tmp/pids/server.pid' + +# rubocop:enable Style/RedundantFetchBlock diff --git a/vendor/cache/actioncable-7.1.5.2.gem b/vendor/cache/actioncable-7.1.5.2.gem deleted file mode 100644 index 6e9658e..0000000 Binary files a/vendor/cache/actioncable-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/actioncable-7.2.2.2.gem b/vendor/cache/actioncable-7.2.2.2.gem new file mode 100644 index 0000000..97616f8 Binary files /dev/null and b/vendor/cache/actioncable-7.2.2.2.gem differ diff --git a/vendor/cache/actionmailbox-7.1.5.2.gem b/vendor/cache/actionmailbox-7.1.5.2.gem deleted file mode 100644 index bd7fb8f..0000000 Binary files a/vendor/cache/actionmailbox-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/actionmailbox-7.2.2.2.gem b/vendor/cache/actionmailbox-7.2.2.2.gem new file mode 100644 index 0000000..3c05e69 Binary files /dev/null and b/vendor/cache/actionmailbox-7.2.2.2.gem differ diff --git a/vendor/cache/actionmailer-7.1.5.2.gem b/vendor/cache/actionmailer-7.1.5.2.gem deleted file mode 100644 index b174620..0000000 Binary files a/vendor/cache/actionmailer-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/actionmailer-7.2.2.2.gem b/vendor/cache/actionmailer-7.2.2.2.gem new file mode 100644 index 0000000..7e47b66 Binary files /dev/null and b/vendor/cache/actionmailer-7.2.2.2.gem differ diff --git a/vendor/cache/actionpack-7.1.5.2.gem b/vendor/cache/actionpack-7.1.5.2.gem deleted file mode 100644 index 15e7d73..0000000 Binary files a/vendor/cache/actionpack-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/actionpack-7.2.2.2.gem b/vendor/cache/actionpack-7.2.2.2.gem new file mode 100644 index 0000000..3105711 Binary files /dev/null and b/vendor/cache/actionpack-7.2.2.2.gem differ diff --git a/vendor/cache/actiontext-7.1.5.2.gem b/vendor/cache/actiontext-7.1.5.2.gem deleted file mode 100644 index 2645b12..0000000 Binary files a/vendor/cache/actiontext-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/actiontext-7.2.2.2.gem b/vendor/cache/actiontext-7.2.2.2.gem new file mode 100644 index 0000000..99995cd Binary files /dev/null and b/vendor/cache/actiontext-7.2.2.2.gem differ diff --git a/vendor/cache/actionview-7.1.5.2.gem b/vendor/cache/actionview-7.1.5.2.gem deleted file mode 100644 index 7714c4c..0000000 Binary files a/vendor/cache/actionview-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/actionview-7.2.2.2.gem b/vendor/cache/actionview-7.2.2.2.gem new file mode 100644 index 0000000..1f06fd9 Binary files /dev/null and b/vendor/cache/actionview-7.2.2.2.gem differ diff --git a/vendor/cache/activejob-7.1.5.2.gem b/vendor/cache/activejob-7.1.5.2.gem deleted file mode 100644 index 450de2f..0000000 Binary files a/vendor/cache/activejob-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/activejob-7.2.2.2.gem b/vendor/cache/activejob-7.2.2.2.gem new file mode 100644 index 0000000..58d12b4 Binary files /dev/null and b/vendor/cache/activejob-7.2.2.2.gem differ diff --git a/vendor/cache/activemodel-7.1.5.2.gem b/vendor/cache/activemodel-7.1.5.2.gem deleted file mode 100644 index f7a926c..0000000 Binary files a/vendor/cache/activemodel-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/activemodel-7.2.2.2.gem b/vendor/cache/activemodel-7.2.2.2.gem new file mode 100644 index 0000000..a36ef8e Binary files /dev/null and b/vendor/cache/activemodel-7.2.2.2.gem differ diff --git a/vendor/cache/activerecord-7.1.5.2.gem b/vendor/cache/activerecord-7.1.5.2.gem deleted file mode 100644 index 88532f1..0000000 Binary files a/vendor/cache/activerecord-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/activerecord-7.2.2.2.gem b/vendor/cache/activerecord-7.2.2.2.gem new file mode 100644 index 0000000..6d139d8 Binary files /dev/null and b/vendor/cache/activerecord-7.2.2.2.gem differ diff --git a/vendor/cache/activestorage-7.1.5.2.gem b/vendor/cache/activestorage-7.1.5.2.gem deleted file mode 100644 index 4e4344e..0000000 Binary files a/vendor/cache/activestorage-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/activestorage-7.2.2.2.gem b/vendor/cache/activestorage-7.2.2.2.gem new file mode 100644 index 0000000..083d230 Binary files /dev/null and b/vendor/cache/activestorage-7.2.2.2.gem differ diff --git a/vendor/cache/activesupport-7.1.5.2.gem b/vendor/cache/activesupport-7.1.5.2.gem deleted file mode 100644 index 1c1c951..0000000 Binary files a/vendor/cache/activesupport-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/activesupport-7.2.2.2.gem b/vendor/cache/activesupport-7.2.2.2.gem new file mode 100644 index 0000000..c51dcff Binary files /dev/null and b/vendor/cache/activesupport-7.2.2.2.gem differ diff --git a/vendor/cache/mutex_m-0.3.0.gem b/vendor/cache/mutex_m-0.3.0.gem deleted file mode 100644 index 85be3e2..0000000 Binary files a/vendor/cache/mutex_m-0.3.0.gem and /dev/null differ diff --git a/vendor/cache/rack-3.1.16.gem b/vendor/cache/rack-3.1.16.gem new file mode 100644 index 0000000..0a48c30 Binary files /dev/null and b/vendor/cache/rack-3.1.16.gem differ diff --git a/vendor/cache/rack-3.2.0.gem b/vendor/cache/rack-3.2.0.gem deleted file mode 100644 index 2f3af2a..0000000 Binary files a/vendor/cache/rack-3.2.0.gem and /dev/null differ diff --git a/vendor/cache/rails-7.1.5.2.gem b/vendor/cache/rails-7.1.5.2.gem deleted file mode 100644 index f8056b6..0000000 Binary files a/vendor/cache/rails-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/rails-7.2.2.2.gem b/vendor/cache/rails-7.2.2.2.gem new file mode 100644 index 0000000..8e7bbf9 Binary files /dev/null and b/vendor/cache/rails-7.2.2.2.gem differ diff --git a/vendor/cache/railties-7.1.5.2.gem b/vendor/cache/railties-7.1.5.2.gem deleted file mode 100644 index d644194..0000000 Binary files a/vendor/cache/railties-7.1.5.2.gem and /dev/null differ diff --git a/vendor/cache/railties-7.2.2.2.gem b/vendor/cache/railties-7.2.2.2.gem new file mode 100644 index 0000000..534461c Binary files /dev/null and b/vendor/cache/railties-7.2.2.2.gem differ diff --git a/vendor/cache/stringio-3.1.1.gem b/vendor/cache/stringio-3.1.1.gem new file mode 100644 index 0000000..48ed60e Binary files /dev/null and b/vendor/cache/stringio-3.1.1.gem differ diff --git a/vendor/cache/stringio-3.1.7.gem b/vendor/cache/stringio-3.1.7.gem deleted file mode 100644 index bca0b39..0000000 Binary files a/vendor/cache/stringio-3.1.7.gem and /dev/null differ diff --git a/vendor/cache/useragent-0.16.11.gem b/vendor/cache/useragent-0.16.11.gem new file mode 100644 index 0000000..75ba755 Binary files /dev/null and b/vendor/cache/useragent-0.16.11.gem differ