Merge branch 'frozen-string-enable-app-vestigial' into 'master'
Enable frozen string in vestigial app files See merge request gitlab-org/gitlab-ce!21148
This commit is contained in:
commit
bea52d827e
20 changed files with 43 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Ci
|
module Ci
|
||||||
class BuildRunnerPresenter < SimpleDelegator
|
class BuildRunnerPresenter < SimpleDelegator
|
||||||
def artifacts
|
def artifacts
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class ProjectMirrorSerializer < BaseSerializer
|
class ProjectMirrorSerializer < BaseSerializer
|
||||||
entity ProjectMirrorEntity
|
entity ProjectMirrorEntity
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class TestCaseEntity < Grape::Entity
|
class TestCaseEntity < Grape::Entity
|
||||||
expose :status
|
expose :status
|
||||||
expose :name
|
expose :name
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class TestReportsComparerEntity < Grape::Entity
|
class TestReportsComparerEntity < Grape::Entity
|
||||||
expose :total_status, as: :status
|
expose :total_status, as: :status
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class TestReportsComparerSerializer < BaseSerializer
|
class TestReportsComparerSerializer < BaseSerializer
|
||||||
entity TestReportsComparerEntity
|
entity TestReportsComparerEntity
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# 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
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# 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
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Todos
|
module Todos
|
||||||
module Destroy
|
module Destroy
|
||||||
class BaseService
|
class BaseService
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Todos
|
module Todos
|
||||||
module Destroy
|
module Destroy
|
||||||
class ConfidentialIssueService < ::Todos::Destroy::BaseService
|
class ConfidentialIssueService < ::Todos::Destroy::BaseService
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Todos
|
module Todos
|
||||||
module Destroy
|
module Destroy
|
||||||
class EntityLeaveService < ::Todos::Destroy::BaseService
|
class EntityLeaveService < ::Todos::Destroy::BaseService
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Todos
|
module Todos
|
||||||
module Destroy
|
module Destroy
|
||||||
class GroupPrivateService < ::Todos::Destroy::BaseService
|
class GroupPrivateService < ::Todos::Destroy::BaseService
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Todos
|
module Todos
|
||||||
module Destroy
|
module Destroy
|
||||||
class PrivateFeaturesService < ::Todos::Destroy::BaseService
|
class PrivateFeaturesService < ::Todos::Destroy::BaseService
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Todos
|
module Todos
|
||||||
module Destroy
|
module Destroy
|
||||||
class ProjectPrivateService < ::Todos::Destroy::BaseService
|
class ProjectPrivateService < ::Todos::Destroy::BaseService
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class DetectRepositoryLanguagesWorker
|
class DetectRepositoryLanguagesWorker
|
||||||
include ApplicationWorker
|
include ApplicationWorker
|
||||||
include ExceptionBacktrace
|
include ExceptionBacktrace
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module TodosDestroyer
|
module TodosDestroyer
|
||||||
class ConfidentialIssueWorker
|
class ConfidentialIssueWorker
|
||||||
include ApplicationWorker
|
include ApplicationWorker
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module TodosDestroyer
|
module TodosDestroyer
|
||||||
class EntityLeaveWorker
|
class EntityLeaveWorker
|
||||||
include ApplicationWorker
|
include ApplicationWorker
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module TodosDestroyer
|
module TodosDestroyer
|
||||||
class GroupPrivateWorker
|
class GroupPrivateWorker
|
||||||
include ApplicationWorker
|
include ApplicationWorker
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module TodosDestroyer
|
module TodosDestroyer
|
||||||
class PrivateFeaturesWorker
|
class PrivateFeaturesWorker
|
||||||
include ApplicationWorker
|
include ApplicationWorker
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module TodosDestroyer
|
module TodosDestroyer
|
||||||
class ProjectPrivateWorker
|
class ProjectPrivateWorker
|
||||||
include ApplicationWorker
|
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