From 7969a0e92084a05ced94441bdc2078db224a5e1d Mon Sep 17 00:00:00 2001 From: snogrammer Date: Fri, 26 Mar 2021 16:13:00 -0600 Subject: [PATCH] update rails. update app config. --- .gitignore | 1 + Gemfile.lock | 139 +++++++++++++------------ app/mailers/bulma_devise_mailer.rb | 2 +- app/views/home/index.html.erb | 2 +- app/views/layouts/application.html.erb | 2 +- app/views/shared/_footer.html.erb | 2 +- app/views/shared/_navbar.html.erb | 2 +- config/application.rb | 21 ++-- config/database.yml | 2 +- config/initializers/active_admin.rb | 2 +- config/redis.yml | 14 +++ config/smtp_mailer.yml | 16 +++ vendor/fontawesome-pro/.DS_Store | Bin 6148 -> 0 bytes 13 files changed, 117 insertions(+), 88 deletions(-) create mode 100644 config/redis.yml create mode 100644 config/smtp_mailer.yml delete mode 100644 vendor/fontawesome-pro/.DS_Store diff --git a/.gitignore b/.gitignore index 72ad520..69c8159 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ yarn-debug.log* coverage .env* +.DS_STORE diff --git a/Gemfile.lock b/Gemfile.lock index 1609ecf..19703bf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,40 +1,40 @@ GEM remote: https://rubygems.org/ specs: - actioncable (6.1.0) - actionpack (= 6.1.0) - activesupport (= 6.1.0) + actioncable (6.1.3.1) + actionpack (= 6.1.3.1) + activesupport (= 6.1.3.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.1.0) - actionpack (= 6.1.0) - activejob (= 6.1.0) - activerecord (= 6.1.0) - activestorage (= 6.1.0) - activesupport (= 6.1.0) + actionmailbox (6.1.3.1) + actionpack (= 6.1.3.1) + activejob (= 6.1.3.1) + activerecord (= 6.1.3.1) + activestorage (= 6.1.3.1) + activesupport (= 6.1.3.1) mail (>= 2.7.1) - actionmailer (6.1.0) - actionpack (= 6.1.0) - actionview (= 6.1.0) - activejob (= 6.1.0) - activesupport (= 6.1.0) + actionmailer (6.1.3.1) + actionpack (= 6.1.3.1) + actionview (= 6.1.3.1) + activejob (= 6.1.3.1) + activesupport (= 6.1.3.1) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.1.0) - actionview (= 6.1.0) - activesupport (= 6.1.0) + actionpack (6.1.3.1) + actionview (= 6.1.3.1) + activesupport (= 6.1.3.1) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.1.0) - actionpack (= 6.1.0) - activerecord (= 6.1.0) - activestorage (= 6.1.0) - activesupport (= 6.1.0) + actiontext (6.1.3.1) + actionpack (= 6.1.3.1) + activerecord (= 6.1.3.1) + activestorage (= 6.1.3.1) + activesupport (= 6.1.3.1) nokogiri (>= 1.8.5) - actionview (6.1.0) - activesupport (= 6.1.0) + actionview (6.1.3.1) + activesupport (= 6.1.3.1) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) @@ -48,22 +48,22 @@ GEM kaminari (~> 1.0, >= 1.2.1) railties (>= 5.2, < 6.2) ransack (~> 2.1, >= 2.1.1) - activejob (6.1.0) - activesupport (= 6.1.0) + activejob (6.1.3.1) + activesupport (= 6.1.3.1) globalid (>= 0.3.6) - activemodel (6.1.0) - activesupport (= 6.1.0) - activerecord (6.1.0) - activemodel (= 6.1.0) - activesupport (= 6.1.0) - activestorage (6.1.0) - actionpack (= 6.1.0) - activejob (= 6.1.0) - activerecord (= 6.1.0) - activesupport (= 6.1.0) - marcel (~> 0.3.1) - mimemagic (~> 0.3.2) - activesupport (6.1.0) + activemodel (6.1.3.1) + activesupport (= 6.1.3.1) + activerecord (6.1.3.1) + activemodel (= 6.1.3.1) + activesupport (= 6.1.3.1) + activestorage (6.1.3.1) + actionpack (= 6.1.3.1) + activejob (= 6.1.3.1) + activerecord (= 6.1.3.1) + activesupport (= 6.1.3.1) + marcel (~> 1.0.0) + mini_mime (~> 1.0.2) + activesupport (6.1.3.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -86,7 +86,7 @@ GEM bulma-rails (0.9.1) sassc (~> 2.0) coderay (1.1.3) - concurrent-ruby (1.1.7) + concurrent-ruby (1.1.8) connection_pool (2.2.3) crass (1.0.6) css_parser (1.7.1) @@ -122,7 +122,7 @@ GEM actionpack (>= 4.1) activesupport (>= 4.1) htmlentities (4.3.4) - i18n (1.8.5) + i18n (1.8.9) concurrent-ruby (~> 1.0) inherited_resources (1.12.0) actionpack (>= 5.2, < 6.2) @@ -158,24 +158,23 @@ GEM activesupport (>= 4) railties (>= 4) request_store (~> 1.0) - loofah (2.8.0) + loofah (2.9.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) - marcel (0.3.3) - mimemagic (~> 0.3.2) + marcel (1.0.0) method_source (1.0.0) - mimemagic (0.3.5) - mini_mime (1.0.2) - mini_portile2 (2.4.0) - minitest (5.14.2) + mini_mime (1.0.3) + minitest (5.14.4) mock_redis (0.26.0) msgpack (1.3.3) multi_json (1.15.0) - nio4r (2.5.4) - nokogiri (1.10.10) - mini_portile2 (~> 2.4.0) + nio4r (2.5.7) + nokogiri (1.11.2-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.11.2-x86_64-linux) + racc (~> 1.4) orm_adapter (0.5.0) parallel (1.20.1) paranoia (2.4.3) @@ -198,39 +197,40 @@ GEM public_suffix (4.0.6) puma (5.1.1) nio4r (~> 2.0) + racc (1.5.2) rack (2.2.3) rack-proxy (0.6.5) rack rack-test (1.1.0) rack (>= 1.0, < 3) - rails (6.1.0) - actioncable (= 6.1.0) - actionmailbox (= 6.1.0) - actionmailer (= 6.1.0) - actionpack (= 6.1.0) - actiontext (= 6.1.0) - actionview (= 6.1.0) - activejob (= 6.1.0) - activemodel (= 6.1.0) - activerecord (= 6.1.0) - activestorage (= 6.1.0) - activesupport (= 6.1.0) + rails (6.1.3.1) + actioncable (= 6.1.3.1) + actionmailbox (= 6.1.3.1) + actionmailer (= 6.1.3.1) + actionpack (= 6.1.3.1) + actiontext (= 6.1.3.1) + actionview (= 6.1.3.1) + activejob (= 6.1.3.1) + activemodel (= 6.1.3.1) + activerecord (= 6.1.3.1) + activestorage (= 6.1.3.1) + activesupport (= 6.1.3.1) bundler (>= 1.15.0) - railties (= 6.1.0) + railties (= 6.1.3.1) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.3.0) loofah (~> 2.3) - railties (6.1.0) - actionpack (= 6.1.0) - activesupport (= 6.1.0) + railties (6.1.3.1) + actionpack (= 6.1.3.1) + activesupport (= 6.1.3.1) method_source rake (>= 0.8.7) thor (~> 1.0) rainbow (3.0.0) - rake (13.0.2) + rake (13.0.3) ransack (2.4.0) activerecord (>= 5.2.4) activesupport (>= 5.2.4) @@ -340,7 +340,7 @@ GEM actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - thor (1.0.1) + thor (1.1.0) tilt (2.0.10) tzinfo (2.0.4) concurrent-ruby (~> 1.0) @@ -361,6 +361,7 @@ GEM PLATFORMS x86_64-darwin-18 + x86_64-darwin-20 x86_64-linux-musl DEPENDENCIES diff --git a/app/mailers/bulma_devise_mailer.rb b/app/mailers/bulma_devise_mailer.rb index 3d72fe6..1a9995d 100644 --- a/app/mailers/bulma_devise_mailer.rb +++ b/app/mailers/bulma_devise_mailer.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true class BulmaDeviseMailer < Devise::Mailer - default from: App::Config::DEFAULT_EMAIL + default from: Rails.configuration.x.smtp_mailer.primary_sender_email layout 'mailer' end diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 2a2eb7d..094ee3d 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -3,7 +3,7 @@

- <%= App::Config::APP_TITLE %> + <%= App::TITLE %>

My first website with Bulma! diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index aa86c9a..61ad19c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - <%= App::Config::APP_TITLE %> + <%= App::TITLE %> <%= csrf_meta_tags %> <%= csp_meta_tag %> diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index 546e719..1fb4bee 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -26,7 +26,7 @@

- By using <%= App::Config::APP_TITLE %>, you acknowledge and agree to the terms of cookie use and other first-party analytics;
+ By using <%= App::TITLE %>, you acknowledge and agree to the terms of cookie use and other first-party analytics;
which are used for site performance, development debugging, and other non-nefarious technology improvements.

diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index 37cb633..d863688 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -2,7 +2,7 @@