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:
Stan Hu 2018-08-13 21:24:11 +00:00
commit bea52d827e
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