Commit 2ad1688b authored by gfyoung's avatar gfyoung

Enable frozen string in vestigial app files

Partially addresses #47424.
parent 00c474ae
# frozen_string_literal: true
module Ci module Ci
class BuildRunnerPresenter < SimpleDelegator class BuildRunnerPresenter < SimpleDelegator
def artifacts def artifacts
......
# frozen_string_literal: true
class ProjectMirrorSerializer < BaseSerializer class ProjectMirrorSerializer < BaseSerializer
entity ProjectMirrorEntity entity ProjectMirrorEntity
end end
# frozen_string_literal: true
class TestCaseEntity < Grape::Entity class TestCaseEntity < Grape::Entity
expose :status expose :status
expose :name expose :name
......
# frozen_string_literal: true
class TestReportsComparerEntity < Grape::Entity class TestReportsComparerEntity < Grape::Entity
expose :total_status, as: :status expose :total_status, as: :status
......
# frozen_string_literal: true
class TestReportsComparerSerializer < BaseSerializer class TestReportsComparerSerializer < BaseSerializer
entity TestReportsComparerEntity entity TestReportsComparerEntity
end end
# frozen_string_literal: true
class TestSuiteComparerEntity < Grape::Entity class TestSuiteComparerEntity < Grape::Entity
expose :name expose :name
expose :total_status, as: :status expose :total_status, as: :status
......
# frozen_string_literal: true
module Projects module Projects
class DetectRepositoryLanguagesService < BaseService class DetectRepositoryLanguagesService < BaseService
attr_reader :detected_repository_languages, :programming_languages attr_reader :detected_repository_languages, :programming_languages
......
# frozen_string_literal: true
module Todos module Todos
module Destroy module Destroy
class BaseService class BaseService
......
# frozen_string_literal: true
module Todos module Todos
module Destroy module Destroy
class ConfidentialIssueService < ::Todos::Destroy::BaseService class ConfidentialIssueService < ::Todos::Destroy::BaseService
......
# frozen_string_literal: true
module Todos module Todos
module Destroy module Destroy
class EntityLeaveService < ::Todos::Destroy::BaseService class EntityLeaveService < ::Todos::Destroy::BaseService
......
# frozen_string_literal: true
module Todos module Todos
module Destroy module Destroy
class GroupPrivateService < ::Todos::Destroy::BaseService class GroupPrivateService < ::Todos::Destroy::BaseService
......
# frozen_string_literal: true
module Todos module Todos
module Destroy module Destroy
class PrivateFeaturesService < ::Todos::Destroy::BaseService class PrivateFeaturesService < ::Todos::Destroy::BaseService
......
# frozen_string_literal: true
module Todos module Todos
module Destroy module Destroy
class ProjectPrivateService < ::Todos::Destroy::BaseService class ProjectPrivateService < ::Todos::Destroy::BaseService
......
# frozen_string_literal: true
class DetectRepositoryLanguagesWorker class DetectRepositoryLanguagesWorker
include ApplicationWorker include ApplicationWorker
include ExceptionBacktrace include ExceptionBacktrace
......
# frozen_string_literal: true
module TodosDestroyer module TodosDestroyer
class ConfidentialIssueWorker class ConfidentialIssueWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module TodosDestroyer module TodosDestroyer
class EntityLeaveWorker class EntityLeaveWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module TodosDestroyer module TodosDestroyer
class GroupPrivateWorker class GroupPrivateWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module TodosDestroyer module TodosDestroyer
class PrivateFeaturesWorker class PrivateFeaturesWorker
include ApplicationWorker include ApplicationWorker
......
# frozen_string_literal: true
module TodosDestroyer module TodosDestroyer
class ProjectPrivateWorker class ProjectPrivateWorker
include ApplicationWorker include ApplicationWorker
......
---
title: Enable frozen string in vestigial app files
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