diff --git a/.solargraph.yml b/.solargraph.yml new file mode 100644 index 0000000..1cf9a28 --- /dev/null +++ b/.solargraph.yml @@ -0,0 +1,22 @@ +--- +include: +- "**/*.rb" +exclude: +- spec/**/* +- test/**/* +- vendor/**/* +- ".bundle/**/*" +require: [] +domains: [] +reporters: +- rubocop +# - require_not_found +formatter: + rubocop: + cops: safe + except: [] + only: [] + extra_args: [] +require_paths: [] +plugins: [] +max_files: 5000 diff --git a/README.md b/README.md index f1be400..c447066 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,14 @@ * [x] LXD aware (through remote ssh) * [x] Rufo Formatter * [x] Semantic Logging (efficient for dark theme) -* [x] Max duration to complete in order to prevent long action * [x] tailwindcss-rails +* [x] Max duration to complete in order to prevent long action +* [x] Devise * [ ] PRODUCTION ready, not yet!!! ## Interesting Gems to try out * [ ] Devise Vs Authentication-Zero -* [ ] Devise * [ ] **Noticed** * [ ] CANCANCAN * [ ] ViewComponent ?? diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f588283..8369716 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - # Base Application class ApplicationController < ActionController::Base MAX_DURATION_TO_COMPLETE_IN_SECONDS = 3 diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index de6be79..75c32d8 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,2 +1,3 @@ +# helpers available for any view module ApplicationHelper end diff --git a/app/helpers/articles_helper.rb b/app/helpers/articles_helper.rb deleted file mode 100644 index 2968277..0000000 --- a/app/helpers/articles_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module ArticlesHelper -end diff --git a/app/helpers/main_helper.rb b/app/helpers/main_helper.rb index 826effe..8d9f3f8 100644 --- a/app/helpers/main_helper.rb +++ b/app/helpers/main_helper.rb @@ -1,2 +1,3 @@ +# helpers available for main related views module MainHelper end diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 3c34c81..e6a80db 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,4 +1,5 @@ +# default mailer class ApplicationMailer < ActionMailer::Base - default from: "from@example.com" - layout "mailer" + default from: 'from@example.com' + layout 'mailer' end diff --git a/app/views/main/about.html.erb b/app/views/main/about.html.erb index e3706c4..b33502d 100644 --- a/app/views/main/about.html.erb +++ b/app/views/main/about.html.erb @@ -3,6 +3,7 @@
Find me in app/views/main/index.html.erb
+Find me in app/views/main/index.html.erb
ABOUT 3 + coucou Steven diff --git a/app/views/main/home.html.erb b/app/views/main/home.html.erb index d084e47..1939b0d 100644 --- a/app/views/main/home.html.erb +++ b/app/views/main/home.html.erb @@ -1,6 +1,6 @@ -