Commit 9e72d3c3 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'frozen-string-enable-app-workers-2' into 'master'

Enable frozen string for app/workers/**/*.rb

See merge request gitlab-org/gitlab-ce!20197
parents cd296368 7e87626a
# frozen_string_literal: true
module Ci module Ci
class ArchiveTracesCronWorker class ArchiveTracesCronWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module Ci module Ci
class BuildTraceChunkFlushWorker class BuildTraceChunkFlushWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
Sidekiq::Worker.extend ActiveSupport::Concern Sidekiq::Worker.extend ActiveSupport::Concern
module ApplicationWorker module ApplicationWorker
......
# frozen_string_literal: true
module ClusterApplications module ClusterApplications
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
## ##
# Concern for setting Sidekiq settings for the various Gcp clusters workers. # Concern for setting Sidekiq settings for the various Gcp clusters workers.
# #
......
# frozen_string_literal: true
# Concern that sets various Sidekiq settings for workers executed using a # Concern that sets various Sidekiq settings for workers executed using a
# cronjob. # cronjob.
module CronjobQueue module CronjobQueue
......
# frozen_string_literal: true
# Concern for enabling a few lines of exception backtraces in Sidekiq # Concern for enabling a few lines of exception backtraces in Sidekiq
module ExceptionBacktrace module ExceptionBacktrace
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
module Gitlab module Gitlab
module GithubImport module GithubImport
module Queue module Queue
......
# frozen_string_literal: true
module MailSchedulerQueue module MailSchedulerQueue
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
module NewIssuable module NewIssuable
attr_reader :issuable, :user attr_reader :issuable, :user
......
# frozen_string_literal: true
# Concern for setting Sidekiq settings for the various GitLab ObjectStorage workers. # Concern for setting Sidekiq settings for the various GitLab ObjectStorage workers.
module ObjectStorageQueue module ObjectStorageQueue
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
## ##
# Concern for setting Sidekiq settings for the low priority CI pipeline workers. # Concern for setting Sidekiq settings for the low priority CI pipeline workers.
# #
......
# frozen_string_literal: true
## ##
# Concern for setting Sidekiq settings for the various CI pipeline workers. # Concern for setting Sidekiq settings for the various CI pipeline workers.
# #
......
# frozen_string_literal: true
module ProjectImportOptions module ProjectImportOptions
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
# Used in EE by mirroring # Used in EE by mirroring
module ProjectStartImport module ProjectStartImport
def start(project) def start(project)
......
# frozen_string_literal: true
# Concern for setting Sidekiq settings for the various repository check workers. # Concern for setting Sidekiq settings for the various repository check workers.
module RepositoryCheckQueue module RepositoryCheckQueue
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
module WaitableWorker module WaitableWorker
extend ActiveSupport::Concern extend ActiveSupport::Concern
......
# frozen_string_literal: true
module MailScheduler module MailScheduler
class IssueDueWorker class IssueDueWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
require 'active_job/arguments' require 'active_job/arguments'
module MailScheduler module MailScheduler
......
# frozen_string_literal: true
module ObjectStorage module ObjectStorage
class BackgroundMoveWorker class BackgroundMoveWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module RepositoryCheck module RepositoryCheck
class BatchWorker class BatchWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module RepositoryCheck module RepositoryCheck
class ClearWorker class ClearWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module RepositoryCheck module RepositoryCheck
class SingleRepositoryWorker class SingleRepositoryWorker
include ApplicationWorker include ApplicationWorker
......
---
title: Finish enabling frozen string for app/workers/*.rb
merge_request: 20197
author: gfyoung
type: other
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