From 39940288d5b6ca012aee6814d01b03abd30cea21 Mon Sep 17 00:00:00 2001 From: abdulhamiid Date: Fri, 23 Sep 2022 10:39:20 +0100 Subject: [PATCH] Fix linters errors --- app/channels/application_cable/channel.rb | 2 -- app/channels/application_cable/connection.rb | 2 -- app/controllers/application_controller.rb | 2 -- app/jobs/application_job.rb | 2 -- app/mailers/application_mailer.rb | 2 -- app/models/application_record.rb | 2 -- config.ru | 2 -- test/application_system_test_case.rb | 2 -- test/channels/application_cable/connection_test.rb | 2 -- test/test_helper.rb | 2 -- 10 files changed, 20 deletions(-) diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb index 9aec230..d672697 100644 --- a/app/channels/application_cable/channel.rb +++ b/app/channels/application_cable/channel.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - module ApplicationCable class Channel < ActionCable::Channel::Base end diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index 8d6c2a1..0ff5442 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - module ApplicationCable class Connection < ActionCable::Connection::Base end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7944f9f..09705d1 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,4 +1,2 @@ -# frozen_string_literal: true - class ApplicationController < ActionController::Base end diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb index bef3959..d394c3d 100644 --- a/app/jobs/application_job.rb +++ b/app/jobs/application_job.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - class ApplicationJob < ActiveJob::Base # Automatically retry jobs that encountered a deadlock # retry_on ActiveRecord::Deadlocked diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index d84cb6e..286b223 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - class ApplicationMailer < ActionMailer::Base default from: 'from@example.com' layout 'mailer' diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 08dc537..b63caeb 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - class ApplicationRecord < ActiveRecord::Base primary_abstract_class end diff --git a/config.ru b/config.ru index 6dc8321..ad1fbf2 100644 --- a/config.ru +++ b/config.ru @@ -1,5 +1,3 @@ -# frozen_string_literal: true - # This file is used by Rack-based servers to start the application. require_relative 'config/environment' diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 652febb..23701b4 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - require 'test_helper' class ApplicationSystemTestCase < ActionDispatch::SystemTestCase diff --git a/test/channels/application_cable/connection_test.rb b/test/channels/application_cable/connection_test.rb index 4aee9b3..f925925 100644 --- a/test/channels/application_cable/connection_test.rb +++ b/test/channels/application_cable/connection_test.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - require 'test_helper' module ApplicationCable diff --git a/test/test_helper.rb b/test/test_helper.rb index 0c92e8e..1b7300e 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - ENV['RAILS_ENV'] ||= 'test' require_relative '../config/environment' require 'rails/test_help'