From 7b2b2508d499e1b4e2adb1334e89e97d023ba373 Mon Sep 17 00:00:00 2001 From: Sam Bot Date: Sun, 20 Aug 2023 00:14:49 +0000 Subject: [PATCH] Updates for 08/20/23 --- .rubocop_todo.yml | 2 +- app/views/layouts/application.html.erb | 2 +- config/application.rb | 2 +- config/cable.yml | 2 +- config/credentials.yml.enc | 2 +- config/database.yml | 12 ++++++------ config/environments/production.rb | 2 +- config/initializers/devise.rb | 4 ++-- ...sers.rb => 20230820001037_devise_create_users.rb} | 0 ...es.rb => 20230820001431_create_flipper_tables.rb} | 0 ...examples.rb => 20230820001435_create_examples.rb} | 0 db/schema.rb | 2 +- yarn.lock | 6 +++--- 13 files changed, 18 insertions(+), 18 deletions(-) rename db/migrate/{20230819000858_devise_create_users.rb => 20230820001037_devise_create_users.rb} (100%) rename db/migrate/{20230819001211_create_flipper_tables.rb => 20230820001431_create_flipper_tables.rb} (100%) rename db/migrate/{20230819001214_create_examples.rb => 20230820001435_create_examples.rb} (100%) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5d1de0496..ba4385e31 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-08-19 00:12:22 UTC using RuboCop version 1.56.0. +# on 2023-08-20 00:14:45 UTC using RuboCop version 1.56.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 9228c8c9b..6f854b0e2 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - Mode + Sun <%= csrf_meta_tags %> <%= csp_meta_tag %> diff --git a/config/application.rb b/config/application.rb index 943229e2b..c246dec43 100644 --- a/config/application.rb +++ b/config/application.rb @@ -6,7 +6,7 @@ # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) -module Mode +module Sun class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 7.0 diff --git a/config/cable.yml b/config/cable.yml index b0212784b..38dab55fa 100644 --- a/config/cable.yml +++ b/config/cable.yml @@ -7,4 +7,4 @@ test: production: adapter: redis url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> - channel_prefix: mode_production + channel_prefix: sun_production diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc index 6e3f070f1..7e2a6bed6 100644 --- a/config/credentials.yml.enc +++ b/config/credentials.yml.enc @@ -1 +1 @@ -wZijB/nsjotwsezf1aK88Bih0DvyLu4n5xIg6akj1phBs+cQwP6jacypo5sFHPV/2sZ/qbYfyvzIDTaMp6UnGTXOz1wcGeMD/fyaMG1BRDfTe96ggt+WW+gUkFZM6pQW5P792WOv1gKf0qW9eLhg8BP9FJoGHAfpMRuR1lvV+NV4jeMVP3gBQlfjHf8yKKKNbvKT5oxiZe58mlY0SGW+tjeN7eh4T1lDVIARBp7CsRXZK8QnhdV9kJcc+ovVt6zfF5Vj94leRWcpldi2LnZls1OIdo8PB93Q5em3GrEtDkEMYwIfDeERlrJMy2xQSrWUZFM2SeRsYpZI7txZduUy2XAeE6krfIAAMf8W2TcY2HnQyGL1CH97CZMiyPTRBq7RMgPh4PZEzZEGekL7GFoUfJHSAdqsKmg1+jpm--u1YA3x6318lwye7W--PPb+6fNgJVOD6/Cuqg4mmg== \ No newline at end of file +BCZcaGXeLKPrLKMASfLROyiRzwO9gIGs8jmFTIM3h6i0z0P5NP9NJzLqEk6WDnQM/pv72yAPm1+SyWGUmztmVvrH8z6cg0eW4ddjaCOiS6ERxSGSnc5QP6i1Mm0xL3WRJZnqfRuZhdcXDt3Z5QwBOAT4GRyBuz7VVjwPdS5w0SFvCdseQvEtXAr6pVM0GtGLNmB4XUcnjA8JJEW/jfrCCSHXyUo3KLtExDFsz70blQAnV7/SRE9buO1zOukQmKwJ6URnfdpkaPMVYvzogYGN4BU5fphn7Kmrz8EYXABvcmVBADchSGwHetiZx+gej7tNoXbx6UffTuKzVdmeVKp49afEArkcRzOSR4UzLMgOd1TEFfY9NIjE4A0eH6xcQQubPtdbljiUlaJGRxcpPXCOMlttUDzCndIrTRSn--uOxluiMuDtzPSxXj--NtM+pqcsrynfLX/BYPKRkg== \ No newline at end of file diff --git a/config/database.yml b/config/database.yml index 713c4a901..4b1c281ce 100644 --- a/config/database.yml +++ b/config/database.yml @@ -23,13 +23,13 @@ default: &default development: <<: *default - database: mode_development + database: sun_development # The specified database role being used to connect to postgres. # To create additional roles in postgres see `$ createuser --help`. # When left blank, postgres will use the default role. This is # the same name as the operating system user running Rails. - #username: mode + #username: sun # The password associated with the postgres role (username). #password: @@ -57,7 +57,7 @@ development: # Do not set this db to the same as development or production. test: <<: *default - database: mode_test + database: sun_test # As with config/credentials.yml, you never want to store sensitive information, # like your database password, in your source code. If your source code is @@ -81,6 +81,6 @@ test: # production: <<: *default - database: mode_production - username: mode - password: <%= ENV["MODE_DATABASE_PASSWORD"] %> + database: sun_production + username: sun + password: <%= ENV["SUN_DATABASE_PASSWORD"] %> diff --git a/config/environments/production.rb b/config/environments/production.rb index 7add049e7..fefa4a489 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -60,7 +60,7 @@ # Use a real queuing backend for Active Job (and separate queues per environment). # config.active_job.queue_adapter = :resque - # config.active_job.queue_name_prefix = "mode_production" + # config.active_job.queue_name_prefix = "sun_production" config.action_mailer.perform_caching = false diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index ed05aa30e..54079068a 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -14,7 +14,7 @@ # 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 = 'd507bb15c5bdfff8137f817f12387d62db2fd0cd0ff156652c15e574d3b40db8f6ac04b293dc46c81058b52e85567b4a14ea311daedc5ab8a0af0ea78cc8ba33' + # config.secret_key = 'b504acdb0416a3809262d0b1da4b3b6f018219bd3e49e36aa1f0c1fc780875b2c03d5b7eb2d12497587aa30766d993185f9efc9f47705e7cf530550be9c4eb3d' # ==> Controller configuration # Configure the parent class to the devise controllers. @@ -126,7 +126,7 @@ config.stretches = Rails.env.test? ? 1 : 12 # Set up a pepper to generate the hashed password. - # config.pepper = '32298297c2b28fe35cc2ce4e348fba84154ef63f7c8541c0f503f8b733a5f08a7b83a41c6114705551ebfeccbccd12654bd48f9256c99555f52e8f69c4b7fa57' + # config.pepper = '301df84ef5b013d87903d9ae40be2fe15a1bfb882a0ec7466f0b49451ff5b5fdb761c7a5533d71d10b01886fb78a36fb44b644c327616ee20dc196f1f76d69e5' # Send a notification to the original email when the user's email is changed. # config.send_email_changed_notification = false diff --git a/db/migrate/20230819000858_devise_create_users.rb b/db/migrate/20230820001037_devise_create_users.rb similarity index 100% rename from db/migrate/20230819000858_devise_create_users.rb rename to db/migrate/20230820001037_devise_create_users.rb diff --git a/db/migrate/20230819001211_create_flipper_tables.rb b/db/migrate/20230820001431_create_flipper_tables.rb similarity index 100% rename from db/migrate/20230819001211_create_flipper_tables.rb rename to db/migrate/20230820001431_create_flipper_tables.rb diff --git a/db/migrate/20230819001214_create_examples.rb b/db/migrate/20230820001435_create_examples.rb similarity index 100% rename from db/migrate/20230819001214_create_examples.rb rename to db/migrate/20230820001435_create_examples.rb diff --git a/db/schema.rb b/db/schema.rb index f30311885..d2d93d19b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2023_08_19_001214) do +ActiveRecord::Schema[7.0].define(version: 2023_08_20_001435) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" diff --git a/yarn.lock b/yarn.lock index 34ca972d6..b1f3762ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -244,9 +244,9 @@ browserslist@^4.21.10: update-browserslist-db "^1.0.11" caniuse-lite@^1.0.30001517, caniuse-lite@^1.0.30001520: - version "1.0.30001521" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001521.tgz#e9930cf499f7c1e80334b6c1fbca52e00d889e56" - integrity sha512-fnx1grfpEOvDGH+V17eccmNjucGUnCbP6KL+l5KqBIerp26WK/+RQ7CIDE37KGJjaPyqWXXlFUyKiWmvdNNKmQ== + version "1.0.30001522" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001522.tgz#44b87a406c901269adcdb834713e23582dd71856" + integrity sha512-TKiyTVZxJGhsTszLuzb+6vUZSjVOAhClszBr2Ta2k9IwtNBT/4dzmL6aywt0HCgEZlmwJzXJd8yNiob6HgwTRg== "chokidar@>=3.0.0 <4.0.0", chokidar@^3.3.0, chokidar@^3.5.2: version "3.5.3"