chore: upgrade to rails 7.1.

upgrade rspec

fix failing tests

upgrade devise
This commit is contained in:
rebuilt 2023-10-06 14:41:16 -07:00
parent 85f984999d
commit 83661540b7
12 changed files with 267 additions and 249 deletions

View file

@ -1,7 +1,7 @@
require_relative 'boot'
require_relative "boot"
require 'csv'
require 'rails/all'
require "csv"
require "rails/all"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
@ -9,9 +9,10 @@ Bundler.require(*Rails.groups)
module Edcontext
class Application < Rails::Application
config.load_defaults 7.1
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
config.active_record.legacy_connection_handling = false
config.active_support.cache_format_version 6.1
end
end

View file

@ -1,22 +0,0 @@
# Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can use `rails secret` to generate a secure secret key.
# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.
development:
secret_key_base: ca26427fb2b33e6bece85b12fed0097d3ee4cce91c5ca8514d0f849a8c69aee0e611c62d0feab522a3d7977bdf48b6b18abc4b05ee916afdb8fac941ede5fc12
test:
secret_key_base: 5d55aa31e1a50c4299d0791f05535204a061d520214cc62d74b7e093bf6af8ac73f28df259932047a1e51a386e06686051453e36c2ec62835cbf041c4d543157
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>