From 784a29ed4993684aaae5d4768ca8f9cd4e9074d9 Mon Sep 17 00:00:00 2001 From: Gabe Farrell Date: Wed, 24 Apr 2024 19:16:08 -0400 Subject: [PATCH] Update ruby to 3.3.1 --- .ruby-version | 2 +- Gemfile | 2 +- Gemfile.lock | 4 ++-- config/initializers/devise.rb | 7 +++---- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.ruby-version b/.ruby-version index 15a27998..bea438e9 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.0 +3.3.1 diff --git a/Gemfile b/Gemfile index 7f33f394..a2381a20 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source "https://rubygems.org" -ruby "3.3.0" +ruby "3.3.1" git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") diff --git a/Gemfile.lock b/Gemfile.lock index f54a3569..792b54ec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -299,7 +299,7 @@ GEM puma (6.4.0) nio4r (~> 2.0) racc (1.7.3) - rack (3.0.8) + rack (3.0.10) rack-livereload (0.5.1) rack rack-mini-profiler (3.3.0) @@ -546,7 +546,7 @@ DEPENDENCIES watir RUBY VERSION - ruby 3.3.0p0 + ruby 3.3.1p55 BUNDLED WITH 2.4.6 diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 5e572a8b..c996a87f 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -6,13 +6,13 @@ Devise.setup do |config| # confirmation, reset password and unlock tokens in the database. # Devise will use the `secret_key_base` as its `secret_key` # by default. You can change it below and use your own secret key. - # config.secret_key = 'cbe71dbfb7621e0dae495b43107ec6250d4ace32da7f80398990c6dd818d8a1c010077843595008d987f88d1c6042ac19ce981356bb09604fd381caf1ce20976' + config.secret_key = Rails.application.secret_key_base # ==> Mailer Configuration # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use your own mailer class # with default "from" parameter. - config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com' + config.mailer_sender = "please-change-me-at-config-initializers-devise@example.com" # Configure the class responsible to send e-mails. # config.mailer = 'Devise::Mailer' @@ -24,7 +24,7 @@ Devise.setup do |config| # Load and configure the ORM. Supports :active_record (default) and # :mongoid (bson_ext recommended) by default. Other ORMs may be # available as additional gems. - require 'devise/orm/active_record' + require "devise/orm/active_record" # ==> Configuration for any authentication mechanism # Configure which keys are used when authenticating a user. The default is @@ -243,7 +243,6 @@ Devise.setup do |config| # The default HTTP method used to sign out a resource. Default is :delete. config.sign_out_via = :delete - # ==> OmniAuth # Add a new OmniAuth provider. Check the wiki for more information on setting # up on your models and hooks.