diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c4a04b846..724ba512f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -60,8 +60,16 @@ Rails/OutputSafety: - 'app/models/display_ad.rb' - 'app/models/message.rb' - 'app/views/articles/_actions.html.erb' + - 'app/views/articles/_sidebar.html.erb' - 'app/views/articles/feed.rss.builder' - 'app/views/articles/show.html.erb' + - 'app/views/layouts/_styles.html.erb' + - 'app/views/liquid_embeds/show.html.erb' + - 'app/views/pages/live.html.erb' + - 'app/views/pages/onboarding.html.erb' + - 'app/views/partnerships/index.html.erb' + - 'app/views/partnerships/show.html.erb' + - 'app/views/pro_memberships/show.html.erb' # Offense count: 25 # Cop supports --auto-correct. @@ -82,3 +90,5 @@ Style/GuardClause: # URISchemes: http, https Metrics/LineLength: Max: 380 + Exclude: + - 'app/views/layouts/_styles.html.erb' diff --git a/Envfile b/Envfile index 7b12399c1..cda57d8d4 100644 --- a/Envfile +++ b/Envfile @@ -29,8 +29,8 @@ variable :DEFAULT_SITE_EMAIL, :String, default: "yo@dev.to" variable :RACK_TIMEOUT_WAIT_TIMEOUT, :Integer, default: 100_000 variable :RACK_TIMEOUT_SERVICE_TIMEOUT, :Integer, default: 100_000 -# Production related config that can be ignored -variable :DEPLOYMENT_SIGNATURE, :String, default: "Optional" +# Heroku release slug used to bust caches on deploys +variable :HEROKU_SLUG_COMMIT, :String, default: "Optional" # Redis caching storage variable :REDIS_URL, :String, default: "redis://localhost:6379" diff --git a/app/views/articles/_sidebar.html.erb b/app/views/articles/_sidebar.html.erb index 73333e667..d383d4cbd 100644 --- a/app/views/articles/_sidebar.html.erb +++ b/app/views/articles/_sidebar.html.erb @@ -1,7 +1,7 @@