From 4b3894317f4356b6d8db12af38920c8ea0dab30e Mon Sep 17 00:00:00 2001 From: Brandt Lareau Date: Tue, 9 Apr 2024 13:23:34 -0700 Subject: [PATCH 1/4] Bundle update commit-id:57ea24ce --- config/initializers/secret_key_base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/secret_key_base.rb b/config/initializers/secret_key_base.rb index c93be58c..1ddd11c6 100644 --- a/config/initializers/secret_key_base.rb +++ b/config/initializers/secret_key_base.rb @@ -7,7 +7,7 @@ # This will have a few costs like for # example session becoming invalid on new devices and you can share cookies between multiple servers # However you can still use the ENV["SECRET_KEY_BASE"] and all this does not mater -if Rails.application.credentials.secret_key_base.nil? +if Rails.application.secrets.secret_key_base.nil? key_file = Rails.root.join("tmp/#{Rails.env}_secret.txt") unless File.exist?(key_file) random_key = SecureRandom.hex(64) From 8d9cf9d2df2c48cdefa119239a03a0da817c3fa4 Mon Sep 17 00:00:00 2001 From: Brandt Lareau Date: Tue, 9 Apr 2024 13:26:28 -0700 Subject: [PATCH 2/4] yarn upgrade commit-id:134c8e0c --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 1c410758..dc090b16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,7 +17,7 @@ resolved "https://registry.yarnpkg.com/@hotwired/stimulus-webpack-helpers/-/stimulus-webpack-helpers-1.0.1.tgz#4cd74487adeca576c9865ac2b9fe5cb20cef16dd" integrity sha512-wa/zupVG0eWxRYJjC1IiPBdt3Lruv0RqGN+/DTMmUWUyMAEB27KXmVY6a8YpUVTM7QwVuaLNGW4EqDgrS2upXQ== -"@hotwired/stimulus@^3.2.2": +"@hotwired/stimulus@^3.2.1", "@hotwired/stimulus@^3.2.2": version "3.2.2" resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.2.tgz#071aab59c600fed95b97939e605ff261a4251608" integrity sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A== From 165b600a842d28ac5b642d3a3f448bffbd18e33a Mon Sep 17 00:00:00 2001 From: Brandt Lareau Date: Tue, 9 Apr 2024 13:27:29 -0700 Subject: [PATCH 3/4] fixed DEPRECATION WARNING: `Rails.application.secrets` commit-id:9f758dec --- config/initializers/secret_key_base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/secret_key_base.rb b/config/initializers/secret_key_base.rb index 1ddd11c6..c93be58c 100644 --- a/config/initializers/secret_key_base.rb +++ b/config/initializers/secret_key_base.rb @@ -7,7 +7,7 @@ # This will have a few costs like for # example session becoming invalid on new devices and you can share cookies between multiple servers # However you can still use the ENV["SECRET_KEY_BASE"] and all this does not mater -if Rails.application.secrets.secret_key_base.nil? +if Rails.application.credentials.secret_key_base.nil? key_file = Rails.root.join("tmp/#{Rails.env}_secret.txt") unless File.exist?(key_file) random_key = SecureRandom.hex(64) From c9ec35ad10e05e9133513bd373faa0e7f456a9ec Mon Sep 17 00:00:00 2001 From: Brandt Lareau Date: Thu, 11 Apr 2024 22:35:54 -0700 Subject: [PATCH 4/4] Upgraded / fixed the controllers commit-id:ec0dd444 --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index dc090b16..1c410758 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,7 +17,7 @@ resolved "https://registry.yarnpkg.com/@hotwired/stimulus-webpack-helpers/-/stimulus-webpack-helpers-1.0.1.tgz#4cd74487adeca576c9865ac2b9fe5cb20cef16dd" integrity sha512-wa/zupVG0eWxRYJjC1IiPBdt3Lruv0RqGN+/DTMmUWUyMAEB27KXmVY6a8YpUVTM7QwVuaLNGW4EqDgrS2upXQ== -"@hotwired/stimulus@^3.2.1", "@hotwired/stimulus@^3.2.2": +"@hotwired/stimulus@^3.2.2": version "3.2.2" resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.2.tgz#071aab59c600fed95b97939e605ff261a4251608" integrity sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A==