Enable frozen string in vestigial app files

Partially addresses #47424.
This commit is contained in:
gfyoung 2018-08-11 00:00:39 -07:00
parent 00c474ae4e
commit 2ad1688be9
20 changed files with 43 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Ci
class BuildRunnerPresenter < SimpleDelegator
def artifacts

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class ProjectMirrorSerializer < BaseSerializer
entity ProjectMirrorEntity
end

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class TestCaseEntity < Grape::Entity
expose :status
expose :name

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class TestReportsComparerEntity < Grape::Entity
expose :total_status, as: :status

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class TestReportsComparerSerializer < BaseSerializer
entity TestReportsComparerEntity
end

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class TestSuiteComparerEntity < Grape::Entity
expose :name
expose :total_status, as: :status

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Projects
class DetectRepositoryLanguagesService < BaseService
attr_reader :detected_repository_languages, :programming_languages

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Todos
module Destroy
class BaseService

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Todos
module Destroy
class ConfidentialIssueService < ::Todos::Destroy::BaseService

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Todos
module Destroy
class EntityLeaveService < ::Todos::Destroy::BaseService

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Todos
module Destroy
class GroupPrivateService < ::Todos::Destroy::BaseService

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Todos
module Destroy
class PrivateFeaturesService < ::Todos::Destroy::BaseService

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Todos
module Destroy
class ProjectPrivateService < ::Todos::Destroy::BaseService

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class DetectRepositoryLanguagesWorker
include ApplicationWorker
include ExceptionBacktrace

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module TodosDestroyer
class ConfidentialIssueWorker
include ApplicationWorker

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module TodosDestroyer
class EntityLeaveWorker
include ApplicationWorker

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module TodosDestroyer
class GroupPrivateWorker
include ApplicationWorker

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module TodosDestroyer
class PrivateFeaturesWorker
include ApplicationWorker

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module TodosDestroyer
class ProjectPrivateWorker
include ApplicationWorker

View file

@ -0,0 +1,5 @@
---
title: Enable frozen string in vestigial app files
merge_request:
author: gfyoung
type: performance