Enable frozen string in vestigial app files
Partially addresses #47424.
This commit is contained in:
parent
00c474ae4e
commit
2ad1688be9
20 changed files with 43 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Ci
|
||||
class BuildRunnerPresenter < SimpleDelegator
|
||||
def artifacts
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class ProjectMirrorSerializer < BaseSerializer
|
||||
entity ProjectMirrorEntity
|
||||
end
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class TestCaseEntity < Grape::Entity
|
||||
expose :status
|
||||
expose :name
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class TestReportsComparerEntity < Grape::Entity
|
||||
expose :total_status, as: :status
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class TestReportsComparerSerializer < BaseSerializer
|
||||
entity TestReportsComparerEntity
|
||||
end
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class TestSuiteComparerEntity < Grape::Entity
|
||||
expose :name
|
||||
expose :total_status, as: :status
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Projects
|
||||
class DetectRepositoryLanguagesService < BaseService
|
||||
attr_reader :detected_repository_languages, :programming_languages
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Todos
|
||||
module Destroy
|
||||
class BaseService
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Todos
|
||||
module Destroy
|
||||
class ConfidentialIssueService < ::Todos::Destroy::BaseService
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Todos
|
||||
module Destroy
|
||||
class EntityLeaveService < ::Todos::Destroy::BaseService
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Todos
|
||||
module Destroy
|
||||
class GroupPrivateService < ::Todos::Destroy::BaseService
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Todos
|
||||
module Destroy
|
||||
class PrivateFeaturesService < ::Todos::Destroy::BaseService
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Todos
|
||||
module Destroy
|
||||
class ProjectPrivateService < ::Todos::Destroy::BaseService
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class DetectRepositoryLanguagesWorker
|
||||
include ApplicationWorker
|
||||
include ExceptionBacktrace
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module TodosDestroyer
|
||||
class ConfidentialIssueWorker
|
||||
include ApplicationWorker
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module TodosDestroyer
|
||||
class EntityLeaveWorker
|
||||
include ApplicationWorker
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module TodosDestroyer
|
||||
class GroupPrivateWorker
|
||||
include ApplicationWorker
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module TodosDestroyer
|
||||
class PrivateFeaturesWorker
|
||||
include ApplicationWorker
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module TodosDestroyer
|
||||
class ProjectPrivateWorker
|
||||
include ApplicationWorker
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Enable frozen string in vestigial app files
|
||||
merge_request:
|
||||
author: gfyoung
|
||||
type: performance
|
Loading…
Reference in a new issue