style(rubocop): Layout/EmptyLineAfterMagicComment

This commit is contained in:
Adam Cooke
2024-02-10 17:18:23 +00:00
parent 6ab36c09c9
commit 0e4ed5ca03
213 changed files with 213 additions and 0 deletions
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class AddressEndpointsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
require "authie/session"
class ApplicationController < ActionController::Base
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module WithinOrganization
extend ActiveSupport::Concern
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class CredentialsController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class DomainsController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class HelpController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class HTTPEndpointsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IPAddressesController < ApplicationController
before_action :admin_required
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IPPoolRulesController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IPPoolsController < ApplicationController
before_action :admin_required
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class MessagesController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class OrganizationIPPoolsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class OrganizationsController < ApplicationController
before_action :admin_required, only: [:new, :create, :delete, :destroy]
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class RoutesController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ServersController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SessionsController < ApplicationController
layout "sub"
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SMTPEndpointsController < ApplicationController
include WithinOrganization
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class TrackDomainsController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class UserController < ApplicationController
skip_before_action :login_required, only: [:new, :create, :join]
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class UsersController < ApplicationController
before_action :admin_required
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class WebhooksController < ApplicationController
include WithinOrganization
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module ApplicationHelper
def format_delivery_details(server, text)
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ActionDeletionJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ActionDeletionsJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class CheckAllDNSJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
require "authie/session"
class CleanupAuthieSessionsJob < Postal::Job
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ExpireHeldMessagesJob < Postal::Job
def perform
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ProcessMessageRetentionJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class PruneSuppressionListsJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class PruneWebhookRequestsJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class RequeueWebhooksJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SendNotificationsJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SendWebhookJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class SleepJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class TidyRawMessagesJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class UnqueueMessageJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class WebhookDeliveryJob < Postal::Job
def perform
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class AppMailer < ApplicationMailer
def verify_email_address(user)
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ApplicationMailer < ActionMailer::Base
default from: "#{Postal.smtp_from_name} <#{Postal.smtp_from_address}>"
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: additional_route_endpoints
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: address_endpoints
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module HasAuthentication
extend ActiveSupport::Concern
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
require "resolv"
module HasDNSChecks
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module HasMessage
def self.included(base)
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module HasSoftDestroy
def self.included(base)
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
module HasUUID
def self.included(base)
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: credentials
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: domains
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: http_endpoints
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class IncomingMessagePrototype
attr_accessor :to
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: ip_addresses
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: ip_pools
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: ip_pool_rules
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: organizations
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: organization_ip_pools
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: organization_users
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
require "resolv"
class OutgoingMessagePrototype
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: queued_messages
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: routes
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: servers
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: smtp_endpoints
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: statistics
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: track_domains
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: users
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: user_invites
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhooks
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhook_events
+1
View File
@@ -1,4 +1,5 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhook_requests