Commit eb8bb4ba authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'frozen-string-ee-app-policies' into 'master'

Enable some frozen string in ee/app

See merge request gitlab-org/gitlab-ee!8728
parents 8eef55cf 5888e0cc
# frozen_string_literal: true
module EE
module BoardsResponses
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module BasePolicy
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module GroupPolicy
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module MergeRequestPolicy
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module ProjectPolicy
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module ProtectedBranchPolicy
extend ActiveSupport::Concern
......
# frozen_string_literal: true
class EpicPolicy < BasePolicy
delegate { @subject.group }
......
# frozen_string_literal: true
class SamlProviderPolicy < BasePolicy
rule { ~anonymous }.enable :sign_in_with_saml_provider
end
# frozen_string_literal: true
class AuditEventPresenter < Gitlab::View::Presenter::Simple
presents :audit_event
......
# frozen_string_literal: true
module EE
module Ci
module PipelinePresenter
......
# frozen_string_literal: true
module EE
module GroupMemberPresenter
def group_sso?
......
# frozen_string_literal: true
module EE
module MemberPresenter
def can_update?
......
# frozen_string_literal: true
module EE
module MergeRequestPresenter
include ::VisibleApprovable
......
# frozen_string_literal: true
module EE
module ProjectMemberPresenter
def group_sso?
......
# frozen_string_literal: true
module EE
module EnvironmentEntity
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module IssuableSidebarEntity
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module IssueSidebarEntity
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module MergeRequestWidgetEntity
include ::API::Helpers::RelatedResourcesHelpers
......
# frozen_string_literal: true
module EE
module ProjectMirrorEntity
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module EE
module VariableEntity
extend ActiveSupport::Concern
......
# frozen_string_literal: true
class EpicBaseEntity < Grape::Entity
include RequestAwareEntity
include EntityDateHelper
......
# frozen_string_literal: true
class EpicEntity < IssuableEntity
expose :group_id
expose :group_name do |epic|
......
# frozen_string_literal: true
class EpicNoteEntity < NoteEntity
expose :toggle_award_path, if: -> (note, _) { note.emoji_awardable? } do |note|
toggle_award_emoji_group_epic_note_path(note.noteable.group, note.noteable, note)
......
# frozen_string_literal: true
class EpicNoteSerializer < BaseSerializer
entity EpicNoteEntity
end
# frozen_string_literal: true
class EpicSerializer < BaseSerializer
entity EpicEntity
end
# frozen_string_literal: true
class FileLockEntity < Grape::Entity
expose :user, using: API::Entities::UserSafe
end
# frozen_string_literal: true
class GeoNodeStatusSerializer < BaseSerializer
entity EE::API::Entities::GeoNodeStatus
end
# frozen_string_literal: true
class GeoProjectRegistryEntity < Grape::Entity
expose :project_id
expose :last_repository_synced_at
......
# frozen_string_literal: true
class GeoProjectRegistrySerializer < BaseSerializer
entity GeoProjectRegistryEntity
end
# frozen_string_literal: true
class GroupAnalyticsSerializer < BaseSerializer
entity UserAnalyticsEntity
end
# frozen_string_literal: true
class MilestoneSerializer < BaseSerializer
entity API::Entities::Milestone
end
# frozen_string_literal: true
class NamespaceEntity < Grape::Entity
expose :id, :name, :path, :kind, :full_path, :parent_id
end
# frozen_string_literal: true
class PrometheusAlertEntity < Grape::Entity
include RequestAwareEntity
......
# frozen_string_literal: true
class PrometheusAlertSerializer < BaseSerializer
entity PrometheusAlertEntity
end
# frozen_string_literal: true
class PrometheusMetricEntity < Grape::Entity
include RequestAwareEntity
......
# frozen_string_literal: true
class PrometheusMetricSerializer < BaseSerializer
entity PrometheusMetricEntity
end
# frozen_string_literal: true
class RolloutStatusEntity < Grape::Entity
include RequestAwareEntity
......
# frozen_string_literal: true
class StorageShardEntity < Grape::Entity
expose :name
end
# frozen_string_literal: true
class StorageShardSerializer < BaseSerializer
entity StorageShardEntity
end
# frozen_string_literal: true
class TriggeredPipelineEntity < Grape::Entity
include RequestAwareEntity
......
# frozen_string_literal: true
class UserAnalyticsEntity < Grape::Entity
include RequestAwareEntity
......
# frozen_string_literal: true
class Vulnerabilities::OccurrenceSerializer < BaseSerializer
include WithPagination
......
# frozen_string_literal: true
class VulnerabilitySummarySerializer < BaseSerializer
entity VulnerabilitySummaryEntity
end
# frozen_string_literal: true
module Boards
class DestroyService < Boards::BaseService
def execute(board)
......
# frozen_string_literal: true
module Boards
class UpdateService < Boards::BaseService
def execute(board)
......
# frozen_string_literal: true
module CiCd
class GithubIntegrationSetupService
attr_reader :project
......
# frozen_string_literal: true
module CiCd
class GithubSetupService
attr_reader :project
......
# frozen_string_literal: true
module CiCd
class SetupProject < ::BaseService
def execute
......
# frozen_string_literal: true
class ClearNamespaceSharedRunnersMinutesService < BaseService
def initialize(namespace)
@namespace = namespace
......
# frozen_string_literal: true
module Clusters
module Applications
class CheckUpgradeProgressService < BaseHelmService
......
# frozen_string_literal: true
module Clusters
module Applications
class PrometheusUpdateService < BaseHelmService
......
# frozen_string_literal: true
module Clusters
module Applications
class ScheduleUpdateService
......
# frozen_string_literal: true
# Concern that encapsulates logic to remove all
# approvers in a project that were not added during
# the current transaction
......
# frozen_string_literal: true
module ValidatesClassificationLabel
def validate_classification_label(record, attribute_name)
return unless EE::Gitlab::ExternalAuthorization.enabled?
......
# frozen_string_literal: true
module EE
module ApplicationSettings
module UpdateService
......
# frozen_string_literal: true
module EE
module Applications
# rubocop:disable Gitlab/ModuleWithInstanceVariables
......
# frozen_string_literal: true
module EE
module AuditEventService
# rubocop:disable Gitlab/ModuleWithInstanceVariables
......
# frozen_string_literal: true
module EE
module BaseCountService
extend ::Gitlab::Utils::Override
......
# frozen_string_literal: true
module EE
module Boards
module BaseService
......
# frozen_string_literal: true
module EE
module Boards
module CreateService
......
# frozen_string_literal: true
module EE
module Boards
module Issues
......
# frozen_string_literal: true
module EE
module Boards
module Issues
......
# frozen_string_literal: true
module EE
module Boards
module Issues
......
# frozen_string_literal: true
module EE
module Boards
module ListService
......
# frozen_string_literal: true
module EE
module Boards
module Lists
......
# frozen_string_literal: true
module EE
module Boards
module Lists
......
# frozen_string_literal: true
module EE
module Ci
# RegisterJobService EE mixin
......
# frozen_string_literal: true
module EE
module Clusters
module Applications
......
# frozen_string_literal: true
module EE
module Clusters
module CreateService
......
# frozen_string_literal: true
module EE
module Commits
module CreateService
......
# frozen_string_literal: true
module EE
module Emails
module BaseService
......
# frozen_string_literal: true
module EE
module Emails
module CreateService
......
# frozen_string_literal: true
module EE
module Emails
module DestroyService
......
# frozen_string_literal: true
module EE
module Groups
module CreateService
......
# frozen_string_literal: true
module EE
module Groups
module DestroyService
......
# frozen_string_literal: true
module EE
module Groups
module UpdateService
......
# frozen_string_literal: true
module EE
module Issuable
module CommonSystemNotesService
......
# frozen_string_literal: true
module EE
module IssuableBaseService
private
......
# frozen_string_literal: true
module EE
module Issues
module BuildService
......
# frozen_string_literal: true
module EE
module Issues
module MoveService
......
# frozen_string_literal: true
module EE
module Keys
module CreateService
......
# frozen_string_literal: true
module EE
module Keys
module DestroyService
......
# frozen_string_literal: true
module EE
module Lfs
module LockFileService
......
# frozen_string_literal: true
module EE
module Lfs
module UnlockFileService
......
# frozen_string_literal: true
module EE
module Members
module ApproveAccessRequestService
......
# frozen_string_literal: true
module EE
module Members
module CreateService
......
# frozen_string_literal: true
module EE
module Members
module DestroyService
......
# frozen_string_literal: true
module EE
module Members
module UpdateService
......
# frozen_string_literal: true
module EE
module MergeRequests
module BaseService
......
# frozen_string_literal: true
module EE
module MergeRequests
module BuildService
......
# frozen_string_literal: true
module EE
module MergeRequests
module MergeService
......
# frozen_string_literal: true
module EE
module MergeRequests
module RefreshService
......
# frozen_string_literal: true
module EE
module MergeRequests
module UpdateService
......
# frozen_string_literal: true
module EE
module Milestones
module PromoteService
......
# frozen_string_literal: true
module EE
module Notes
module BuildService
......
# frozen_string_literal: true
require 'ee/gitlab/service_desk'
module EE
......
# frozen_string_literal: true
module EE
module Projects
module CreateFromTemplateService
......
# frozen_string_literal: true
module EE
module Projects
module CreateService
......
# frozen_string_literal: true
module EE
module Projects
module DestroyService
......
# frozen_string_literal: true
module EE
module Projects
module GitlabProjectsImportService
......
# frozen_string_literal: true
module EE
module Projects
module GroupLinks
......
# frozen_string_literal: true
module EE
module Projects
module GroupLinks
......
# frozen_string_literal: true
module EE
module Projects
module HashedStorage
......
# frozen_string_literal: true
module EE
module Projects
module HashedStorage
......
# frozen_string_literal: true
module EE
module Projects
module TransferService
......
# frozen_string_literal: true
module EE
module Projects
module UpdateService
......
# frozen_string_literal: true
module EE
module ProtectedBranches
module AccessLevelParams
......
# frozen_string_literal: true
module EE
module ProtectedBranches
module ApiService
......
# frozen_string_literal: true
module EE
module QuickActions
module InterpretService
......
# frozen_string_literal: true
module EE
module SystemHooksService
# override
......
# frozen_string_literal: true
# SystemNoteService
#
# Used for creating system notes (e.g., when a user references a merge request
......
# frozen_string_literal: true
module EE
module TodoService
extend ::Gitlab::Utils::Override
......
# frozen_string_literal: true
module EE
module UserProjectAccessChangedService
def execute(blocking: true)
......
# frozen_string_literal: true
module EE
module Users
module BuildService
......
# frozen_string_literal: true
module EE
module Users
module DestroyService
......
# frozen_string_literal: true
module EE
module Users
module MigrateToGhostUserService
......
# frozen_string_literal: true
module EE
module Users
module UpdateService
......
# frozen_string_literal: true
module EE
module WikiPages
# BaseService EE mixin
......
# frozen_string_literal: true
module EpicIssues
class CreateService < IssuableLinks::CreateService
private
......
# frozen_string_literal: true
module EpicIssues
class DestroyService < IssuableLinks::DestroyService
def execute
......
# frozen_string_literal: true
module EpicIssues
class ListService < IssuableLinks::ListService
private
......
# frozen_string_literal: true
module EpicIssues
class UpdateService < BaseService
attr_reader :epic_issue, :current_user, :params
......
# frozen_string_literal: true
module Epics
class BaseService < IssuableBaseService
attr_reader :group
......
# frozen_string_literal: true
module Epics
class CreateService < Epics::BaseService
def execute
......
# frozen_string_literal: true
module Epics
class UpdateService < Epics::BaseService
EPIC_DATE_FIELDS = %I[
......
# frozen_string_literal: true
class FetchSubscriptionPlansService
URL = 'https://customers.gitlab.com/gitlab_plans'.freeze
......
# frozen_string_literal: true
module Geo
class BaseNotify
def notify(notify_url, content)
......
# frozen_string_literal: true
require 'securerandom'
module Geo
......
# frozen_string_literal: true
module Geo
# Base class for event store classes.
#
......
# frozen_string_literal: true
module Geo
# This class is responsible for:
# * Handling file requests from the secondary over the API
......
# frozen_string_literal: true
module Geo
class FilesExpireService
include ::Gitlab::Geo::LogHelpers
......
# frozen_string_literal: true
module Geo
class HashedStorageAttachmentsEventStore < EventStore
self.event_type = :hashed_storage_attachments_event
......
# frozen_string_literal: true
module Geo
AttachmentMigrationError = Class.new(StandardError)
......
# frozen_string_literal: true
module Geo
class HashedStorageMigratedEventStore < EventStore
self.event_type = :hashed_storage_migrated_event
......
# frozen_string_literal: true
module Geo
class HashedStorageMigrationService
include ::Gitlab::Geo::LogHelpers
......
# frozen_string_literal: true
module Geo
class JobArtifactDeletedEventStore < EventStore
extend ::Gitlab::Utils::Override
......
# frozen_string_literal: true
module Geo
class LfsObjectDeletedEventStore < EventStore
extend ::Gitlab::Utils::Override
......
# frozen_string_literal: true
module Geo
class MetricsUpdateService
METRIC_PREFIX = 'geo_'.freeze
......
# frozen_string_literal: true
module Geo
RepositoryCannotBeRenamed = Class.new(StandardError)
......
# frozen_string_literal: true
module Geo
class NodeCreateService
attr_reader :params
......
# frozen_string_literal: true
module Geo
class NodeStatusPostService
include Gitlab::Geo::LogHelpers
......
# frozen_string_literal: true
module Geo
class NodeUpdateService
attr_reader :geo_node, :old_namespace_ids, :old_shards, :params
......
# frozen_string_literal: true
# Geo::ProjectHousekeepingService class
#
# Used for git housekeeping in Geo Secondary node
......
# frozen_string_literal: true
module Geo
class RenameRepositoryService
attr_reader :project_id, :old_disk_path, :new_disk_path
......
# frozen_string_literal: true
module Geo
class RepositoriesChangedEventStore < EventStore
self.event_type = :repositories_changed_event
......
# frozen_string_literal: true
module Geo
class RepositoryCreatedEventStore < EventStore
self.event_type = :repository_created_event
......
# frozen_string_literal: true
module Geo
class RepositoryDeletedEventStore < EventStore
self.event_type = :repository_deleted_event
......
# frozen_string_literal: true
module Geo
class RepositoryDestroyService
include ::Gitlab::Geo::LogHelpers
......
# frozen_string_literal: true
module Geo
class RepositoryRenamedEventStore < EventStore
self.event_type = :repository_renamed_event
......
# frozen_string_literal: true
module Geo
class RepositorySyncService < BaseSyncService
self.type = :repository
......
# frozen_string_literal: true
module Geo
class RepositoryUpdatedEventStore < EventStore
self.event_type = :repository_updated_event
......
# frozen_string_literal: true
module Geo
class RepositoryUpdatedService
include ::Gitlab::Geo::ProjectLogHelpers
......
# frozen_string_literal: true
module Geo
class UploadDeletedEventStore < EventStore
extend ::Gitlab::Utils::Override
......
# frozen_string_literal: true
module Geo
class WikiSyncService < BaseSyncService
self.type = :wiki
......
# frozen_string_literal: true
module Groups
class AutocompleteService < Groups::BaseService
include LabelsAsHash
......
# frozen_string_literal: true
module Groups
class ParticipantsService < Groups::BaseService
include Users::ParticipableService
......
# frozen_string_literal: true
module IssuableLinks
class CreateService < BaseService
attr_reader :issuable, :current_user, :params
......
# frozen_string_literal: true
module IssuableLinks
class DestroyService < BaseService
attr_reader :link, :current_user
......
# frozen_string_literal: true
module IssuableLinks
class ListService
include Gitlab::Routing
......
# frozen_string_literal: true
module IssueLinks
class CreateService < IssuableLinks::CreateService
def relate_issuables(referenced_issue)
......
# frozen_string_literal: true
module IssueLinks
class DestroyService < IssuableLinks::DestroyService
private
......
# frozen_string_literal: true
module IssueLinks
class ListService < IssuableLinks::ListService
include Gitlab::Utils::StrongMemoize
......
# frozen_string_literal: true
module Issues
class CreateFromVulnerabilityDataService < ::BaseService
def execute
......
# frozen_string_literal: true
module Issues
class ExportCsvService
include Gitlab::Routing.url_helpers
......
# frozen_string_literal: true
class LdapGroupResetService
def execute(group, current_user)
# Only for ldap connected users
......
# frozen_string_literal: true
module MergeRequests
class ApprovalService < MergeRequests::BaseService
def execute(merge_request)
......
# frozen_string_literal: true
module MergeRequests
class RemoveApprovalService < MergeRequests::BaseService
# rubocop: disable CodeReuse/ActiveRecord
......
# frozen_string_literal: true
module PathLocks
class LockService < BaseService
AccessDenied = Class.new(StandardError)
......
# frozen_string_literal: true
module PathLocks
class UnlockService < BaseService
AccessDenied = Class.new(StandardError)
......
# frozen_string_literal: true
module Projects
module Prometheus
module Metrics
......
# frozen_string_literal: true
module Projects
module Prometheus
module Metrics
......
# frozen_string_literal: true
module Projects
module Prometheus
module Metrics
......
# frozen_string_literal: true
module Projects
class SetupCiCd < BaseService
def execute
......
# frozen_string_literal: true
module Projects
class SlackApplicationInstallService < BaseService
include Gitlab::Routing
......
# frozen_string_literal: true
module Projects
class UpdateMirrorService < BaseService
Error = Class.new(StandardError)
......
# frozen_string_literal: true
module Projects
class UpdateRepositoryStorageService < BaseService
include Gitlab::ShellAdapter
......
# frozen_string_literal: true
module SlashCommands
class GlobalSlackHandler
attr_reader :project_alias, :params
......
# frozen_string_literal: true
class UpdateBuildMinutesService < BaseService
def execute(build)
return unless build.shared_runners_minutes_limit_enabled?
......
# frozen_string_literal: true
module VulnerabilityFeedbackModule
class CreateService < ::BaseService
def execute
......
# frozen_string_literal: true
module VulnerabilityFeedbackModule
class DestroyService < ::BaseService
def initialize(vulnerability_feedback)
......
# frozen_string_literal: true
module EE
module ObjectStorage
module Concern
......
# frozen_string_literal: true
# HostnameValidator
#
# Custom validator for Hosts.
......
# frozen_string_literal: true
# LdapFilteralidator
#
# Custom validator for LDAP filters
......
# frozen_string_literal: true
class UntrustedRegexpValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
return unless value
......
# frozen_string_literal: true
# X509CertificateCredentialsValidator
#
# Custom validator to check if certificate-attribute was signed using the
......
# frozen_string_literal: true
class AdminEmailsWorker
include ApplicationWorker
......
# frozen_string_literal: true
class ClearSharedRunnersMinutesWorker
LEASE_TIMEOUT = 3600
......
# frozen_string_literal: true
class ClusterUpdateAppWorker
UpdateAlreadyInProgressError = Class.new(StandardError)
......
# frozen_string_literal: true
class ClusterWaitForAppUpdateWorker
include ApplicationWorker
include ClusterQueue
......
# frozen_string_literal: true
# Concern for setting Sidekiq settings for the various GitLab GEO workers.
module GeoQueue
extend ActiveSupport::Concern
......
# frozen_string_literal: true
class CreateGithubWebhookWorker
include ApplicationWorker
include GrapePathHelpers::NamedRouteMatcher
......
# frozen_string_literal: true
module EE
module BuildFinishedWorker
# rubocop: disable CodeReuse/ActiveRecord
......
# frozen_string_literal: true
module EE
# PostReceive EE mixin
#
......
# frozen_string_literal: true
module EE
module RepositoryCheck
module BatchWorker
......
# frozen_string_literal: true
module EE
module RepositoryCheck
module SingleRepositoryWorker
......
# frozen_string_literal: true
module EE
module RepositoryImportWorker
extend ::Gitlab::Utils::Override
......
# frozen_string_literal: true
class ElasticBatchProjectIndexerWorker
include ApplicationWorker
......
# frozen_string_literal: true
class ElasticCommitIndexerWorker
include ApplicationWorker
......
# frozen_string_literal: true
class ExportCsvWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class FileDownloadDispatchWorker < Geo::Scheduler::Secondary::SchedulerWorker
include CronjobQueue
......
# frozen_string_literal: true
module Geo
class FileDownloadDispatchWorker
class AttachmentJobFinder < JobFinder
......
# frozen_string_literal: true
module Geo
class FileDownloadDispatchWorker
class JobArtifactJobFinder < JobFinder
......
# frozen_string_literal: true
module Geo
class FileDownloadDispatchWorker
# This class is meant to be inherited, and is responsible for generating
......
# frozen_string_literal: true
module Geo
class FileDownloadDispatchWorker
class LfsObjectJobFinder < JobFinder
......
# frozen_string_literal: true
module Geo
class FileDownloadWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class FileRegistryRemovalWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class FileRemovalWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class HashedStorageAttachmentsMigrationWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class HashedStorageMigrationWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class MetricsUpdateWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class MigratedLocalFilesCleanUpWorker < ::Geo::Scheduler::Secondary::SchedulerWorker
include ::CronjobQueue
......
# frozen_string_literal: true
module Geo
class ProjectSyncWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class RenameRepositoryWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class RepositoriesCleanUpWorker
include ApplicationWorker
......
# frozen_string_literal: true
module Geo
class RepositoryShardSyncWorker < Geo::Scheduler::Secondary::SchedulerWorker
sidekiq_options retry: false
......
# frozen_string_literal: true
module Geo
class RepositorySyncWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker
def schedule_job(shard_name)
......
# frozen_string_literal: true
module Geo
module RepositoryVerification
module Primary
......
# frozen_string_literal: true
module Geo
module RepositoryVerification
module Primary
......
# frozen_string_literal: true
module Geo
module RepositoryVerification
module Primary
......
# frozen_string_literal: true
module Geo
module RepositoryVerification
module Secondary
......
# frozen_string_literal: true
module Geo
module RepositoryVerification
module Secondary
......
# frozen_string_literal: true
module Geo
module RepositoryVerification
module Secondary
......
# frozen_string_literal: true
module Geo
module Scheduler
class PerShardSchedulerWorker
......
# frozen_string_literal: true
module Geo
module Scheduler
module Primary
......
# frozen_string_literal: true
module Geo
module Scheduler
module Primary
......
# frozen_string_literal: true
module Geo
module Scheduler
class SchedulerWorker
......
# frozen_string_literal: true
module Geo
module Scheduler
module Secondary
......
# frozen_string_literal: true
module Geo
module Scheduler
module Secondary
......
# frozen_string_literal: true
module Geo
class SidekiqCronConfigWorker
include ApplicationWorker
......
# frozen_string_literal: true
class GeoRepositoryDestroyWorker
include ApplicationWorker
include GeoQueue
......
# frozen_string_literal: true
class HistoricalDataWorker
include ApplicationWorker
include CronjobQueue
......
# frozen_string_literal: true
class LdapAllGroupsSyncWorker
include ApplicationWorker
include CronjobQueue
......
# frozen_string_literal: true
class LdapGroupSyncWorker
include ApplicationWorker
......
# frozen_string_literal: true
class LdapSyncWorker
include ApplicationWorker
include CronjobQueue
......
# frozen_string_literal: true
class ProjectImportScheduleWorker
ImportStateNotFound = Class.new(StandardError)
......
# frozen_string_literal: true
class ProjectUpdateRepositoryStorageWorker
include ApplicationWorker
......
# frozen_string_literal: true
class PseudonymizerWorker
include ApplicationWorker
include CronjobQueue
......
# frozen_string_literal: true
class RepositoryUpdateMirrorWorker
UpdateError = Class.new(StandardError)
......
# frozen_string_literal: true
class UpdateAllMirrorsWorker
include ApplicationWorker
include CronjobQueue
......
---
title: Enable some frozen string in ee/app
merge_request:
author: gfyoung
type: performance
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment