From 24d504c93d4d9060ad6289d1584b1f3054cc2e1e Mon Sep 17 00:00:00 2001 From: Sam Bot Date: Mon, 21 Aug 2023 00:12:18 +0000 Subject: [PATCH] Updates for 08/21/23 --- .rubocop_todo.yml | 2 +- Gemfile.lock | 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 => 20230821000904_devise_create_users.rb} | 0 ...es.rb => 20230821001204_create_flipper_tables.rb} | 0 ...examples.rb => 20230821001207_create_examples.rb} | 0 db/schema.rb | 2 +- yarn.lock | 6 +++--- 14 files changed, 19 insertions(+), 19 deletions(-) rename db/migrate/{20230820001037_devise_create_users.rb => 20230821000904_devise_create_users.rb} (100%) rename db/migrate/{20230820001431_create_flipper_tables.rb => 20230821001204_create_flipper_tables.rb} (100%) rename db/migrate/{20230820001435_create_examples.rb => 20230821001207_create_examples.rb} (100%) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ba4385e31..d21aecbd5 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-20 00:14:45 UTC using RuboCop version 1.56.0. +# on 2023-08-21 00:12:15 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/Gemfile.lock b/Gemfile.lock index adff927e6..cda31c784 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -262,7 +262,7 @@ GEM redis-client (0.16.0) connection_pool regexp_parser (2.8.1) - reline (0.3.7) + reline (0.3.8) io-console (~> 0.5) responders (3.1.0) actionpack (>= 5.2) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6f854b0e2..260dcfd69 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - Sun + Snowflake <%= csrf_meta_tags %> <%= csp_meta_tag %> diff --git a/config/application.rb b/config/application.rb index c246dec43..a8945308b 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 Sun +module Snowflake 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 38dab55fa..48afee7fc 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: sun_production + channel_prefix: snowflake_production diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc index 7e2a6bed6..a34cff3fb 100644 --- a/config/credentials.yml.enc +++ b/config/credentials.yml.enc @@ -1 +1 @@ -BCZcaGXeLKPrLKMASfLROyiRzwO9gIGs8jmFTIM3h6i0z0P5NP9NJzLqEk6WDnQM/pv72yAPm1+SyWGUmztmVvrH8z6cg0eW4ddjaCOiS6ERxSGSnc5QP6i1Mm0xL3WRJZnqfRuZhdcXDt3Z5QwBOAT4GRyBuz7VVjwPdS5w0SFvCdseQvEtXAr6pVM0GtGLNmB4XUcnjA8JJEW/jfrCCSHXyUo3KLtExDFsz70blQAnV7/SRE9buO1zOukQmKwJ6URnfdpkaPMVYvzogYGN4BU5fphn7Kmrz8EYXABvcmVBADchSGwHetiZx+gej7tNoXbx6UffTuKzVdmeVKp49afEArkcRzOSR4UzLMgOd1TEFfY9NIjE4A0eH6xcQQubPtdbljiUlaJGRxcpPXCOMlttUDzCndIrTRSn--uOxluiMuDtzPSxXj--NtM+pqcsrynfLX/BYPKRkg== \ No newline at end of file +DUIZM9TBTsu0HJwhWR6NUtswPzSh8jAw9F7TGWCfi2R3C4JQvW3kUIThy1oRY2H4FdkWZv7JTFrkrJuJSaGDFIkfp4/MtdGS++nEO80lk3tRJ63jXFUJhoSRvQ4ypjMt1iCLH/MzdvgA4/pJf71yqL2nw+R6NgvvSRTmBLeA0wo7XNI0YMvofvVjv/jrSfBXAZwG3FdKn82EukIbVU5Dl3045N484GlurYN5PR2RizPkrxbG9Qro9+fJH4nhgM6YAAVa1OvEf2/cUjvDoEH8KARExBh4Cu6PY69qQI40RMe8hfrZx+QuY25qSQiFFaqu+xolpXxVWK4AmDrxzvVHZ4j5s8ujcg0ravLo5vTPD7u5QMYSl8WJPvVnAPwYcVXvnyHa7JHp6sDGx5PpNTXspa1PO10SYCAkJkOr--FTTZiQH/IH28z5Mn--6U3tXthcYDUUTFcCQo/UOw== \ No newline at end of file diff --git a/config/database.yml b/config/database.yml index 4b1c281ce..4e502f57a 100644 --- a/config/database.yml +++ b/config/database.yml @@ -23,13 +23,13 @@ default: &default development: <<: *default - database: sun_development + database: snowflake_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: sun + #username: snowflake # 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: sun_test + database: snowflake_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: sun_production - username: sun - password: <%= ENV["SUN_DATABASE_PASSWORD"] %> + database: snowflake_production + username: snowflake + password: <%= ENV["SNOWFLAKE_DATABASE_PASSWORD"] %> diff --git a/config/environments/production.rb b/config/environments/production.rb index fefa4a489..b8b5afde4 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 = "sun_production" + # config.active_job.queue_name_prefix = "snowflake_production" config.action_mailer.perform_caching = false diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 54079068a..1f6cef93e 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 = 'b504acdb0416a3809262d0b1da4b3b6f018219bd3e49e36aa1f0c1fc780875b2c03d5b7eb2d12497587aa30766d993185f9efc9f47705e7cf530550be9c4eb3d' + # config.secret_key = '0ac7e492635d989041e68830b10a309c9a464ce1e44f34f121cb1ad8d7e59fddfedc31d3aaf2e8455ea41c36ab1bb09a0a0912e3b5984da79efa3928c70a4168' # ==> 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 = '301df84ef5b013d87903d9ae40be2fe15a1bfb882a0ec7466f0b49451ff5b5fdb761c7a5533d71d10b01886fb78a36fb44b644c327616ee20dc196f1f76d69e5' + # config.pepper = '84cab59003d599949576e8bb551b144ad40c60fad5b324a53b9338a37f0681485244b40037ee2d121e312913693c95749a766b4ace8a9b4fd4c7d001fbd180d1' # 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/20230820001037_devise_create_users.rb b/db/migrate/20230821000904_devise_create_users.rb similarity index 100% rename from db/migrate/20230820001037_devise_create_users.rb rename to db/migrate/20230821000904_devise_create_users.rb diff --git a/db/migrate/20230820001431_create_flipper_tables.rb b/db/migrate/20230821001204_create_flipper_tables.rb similarity index 100% rename from db/migrate/20230820001431_create_flipper_tables.rb rename to db/migrate/20230821001204_create_flipper_tables.rb diff --git a/db/migrate/20230820001435_create_examples.rb b/db/migrate/20230821001207_create_examples.rb similarity index 100% rename from db/migrate/20230820001435_create_examples.rb rename to db/migrate/20230821001207_create_examples.rb diff --git a/db/schema.rb b/db/schema.rb index d2d93d19b..56b851883 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_20_001435) do +ActiveRecord::Schema[7.0].define(version: 2023_08_21_001207) 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 b1f3762ef..00f435bf5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -377,9 +377,9 @@ fill-range@^7.0.1: to-regex-range "^5.0.1" fraction.js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" - integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== + version "4.2.1" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.1.tgz#14b4cc886575a5684f8d5fd5759c5db376bb7bb8" + integrity sha512-/KxoyCnPM0GwYI4NN0Iag38Tqt+od3/mLuguepLgCAKPn0ZhC544nssAW0tG2/00zXEYl9W+7hwAIpLHo6Oc7Q== fs-extra@^11.0.0: version "11.1.1"