Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2ad1688b
Commit
2ad1688b
authored
Aug 11, 2018
by
gfyoung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen string in vestigial app files
Partially addresses #47424.
parent
00c474ae
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
43 additions
and
0 deletions
+43
-0
app/presenters/ci/build_runner_presenter.rb
app/presenters/ci/build_runner_presenter.rb
+2
-0
app/serializers/project_mirror_serializer.rb
app/serializers/project_mirror_serializer.rb
+2
-0
app/serializers/test_case_entity.rb
app/serializers/test_case_entity.rb
+2
-0
app/serializers/test_reports_comparer_entity.rb
app/serializers/test_reports_comparer_entity.rb
+2
-0
app/serializers/test_reports_comparer_serializer.rb
app/serializers/test_reports_comparer_serializer.rb
+2
-0
app/serializers/test_suite_comparer_entity.rb
app/serializers/test_suite_comparer_entity.rb
+2
-0
app/services/projects/detect_repository_languages_service.rb
app/services/projects/detect_repository_languages_service.rb
+2
-0
app/services/todos/destroy/base_service.rb
app/services/todos/destroy/base_service.rb
+2
-0
app/services/todos/destroy/confidential_issue_service.rb
app/services/todos/destroy/confidential_issue_service.rb
+2
-0
app/services/todos/destroy/entity_leave_service.rb
app/services/todos/destroy/entity_leave_service.rb
+2
-0
app/services/todos/destroy/group_private_service.rb
app/services/todos/destroy/group_private_service.rb
+2
-0
app/services/todos/destroy/private_features_service.rb
app/services/todos/destroy/private_features_service.rb
+2
-0
app/services/todos/destroy/project_private_service.rb
app/services/todos/destroy/project_private_service.rb
+2
-0
app/workers/detect_repository_languages_worker.rb
app/workers/detect_repository_languages_worker.rb
+2
-0
app/workers/todos_destroyer/confidential_issue_worker.rb
app/workers/todos_destroyer/confidential_issue_worker.rb
+2
-0
app/workers/todos_destroyer/entity_leave_worker.rb
app/workers/todos_destroyer/entity_leave_worker.rb
+2
-0
app/workers/todos_destroyer/group_private_worker.rb
app/workers/todos_destroyer/group_private_worker.rb
+2
-0
app/workers/todos_destroyer/private_features_worker.rb
app/workers/todos_destroyer/private_features_worker.rb
+2
-0
app/workers/todos_destroyer/project_private_worker.rb
app/workers/todos_destroyer/project_private_worker.rb
+2
-0
changelogs/unreleased/frozen-string-enable-app-vestigial.yml
changelogs/unreleased/frozen-string-enable-app-vestigial.yml
+5
-0
No files found.
app/presenters/ci/build_runner_presenter.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Ci
module
Ci
class
BuildRunnerPresenter
<
SimpleDelegator
class
BuildRunnerPresenter
<
SimpleDelegator
def
artifacts
def
artifacts
...
...
app/serializers/project_mirror_serializer.rb
View file @
2ad1688b
# frozen_string_literal: true
class
ProjectMirrorSerializer
<
BaseSerializer
class
ProjectMirrorSerializer
<
BaseSerializer
entity
ProjectMirrorEntity
entity
ProjectMirrorEntity
end
end
app/serializers/test_case_entity.rb
View file @
2ad1688b
# frozen_string_literal: true
class
TestCaseEntity
<
Grape
::
Entity
class
TestCaseEntity
<
Grape
::
Entity
expose
:status
expose
:status
expose
:name
expose
:name
...
...
app/serializers/test_reports_comparer_entity.rb
View file @
2ad1688b
# frozen_string_literal: true
class
TestReportsComparerEntity
<
Grape
::
Entity
class
TestReportsComparerEntity
<
Grape
::
Entity
expose
:total_status
,
as: :status
expose
:total_status
,
as: :status
...
...
app/serializers/test_reports_comparer_serializer.rb
View file @
2ad1688b
# frozen_string_literal: true
class
TestReportsComparerSerializer
<
BaseSerializer
class
TestReportsComparerSerializer
<
BaseSerializer
entity
TestReportsComparerEntity
entity
TestReportsComparerEntity
end
end
app/serializers/test_suite_comparer_entity.rb
View file @
2ad1688b
# 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
...
...
app/services/projects/detect_repository_languages_service.rb
View file @
2ad1688b
# 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
...
...
app/services/todos/destroy/base_service.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Todos
module
Todos
module
Destroy
module
Destroy
class
BaseService
class
BaseService
...
...
app/services/todos/destroy/confidential_issue_service.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Todos
module
Todos
module
Destroy
module
Destroy
class
ConfidentialIssueService
<
::
Todos
::
Destroy
::
BaseService
class
ConfidentialIssueService
<
::
Todos
::
Destroy
::
BaseService
...
...
app/services/todos/destroy/entity_leave_service.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Todos
module
Todos
module
Destroy
module
Destroy
class
EntityLeaveService
<
::
Todos
::
Destroy
::
BaseService
class
EntityLeaveService
<
::
Todos
::
Destroy
::
BaseService
...
...
app/services/todos/destroy/group_private_service.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Todos
module
Todos
module
Destroy
module
Destroy
class
GroupPrivateService
<
::
Todos
::
Destroy
::
BaseService
class
GroupPrivateService
<
::
Todos
::
Destroy
::
BaseService
...
...
app/services/todos/destroy/private_features_service.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Todos
module
Todos
module
Destroy
module
Destroy
class
PrivateFeaturesService
<
::
Todos
::
Destroy
::
BaseService
class
PrivateFeaturesService
<
::
Todos
::
Destroy
::
BaseService
...
...
app/services/todos/destroy/project_private_service.rb
View file @
2ad1688b
# frozen_string_literal: true
module
Todos
module
Todos
module
Destroy
module
Destroy
class
ProjectPrivateService
<
::
Todos
::
Destroy
::
BaseService
class
ProjectPrivateService
<
::
Todos
::
Destroy
::
BaseService
...
...
app/workers/detect_repository_languages_worker.rb
View file @
2ad1688b
# frozen_string_literal: true
class
DetectRepositoryLanguagesWorker
class
DetectRepositoryLanguagesWorker
include
ApplicationWorker
include
ApplicationWorker
include
ExceptionBacktrace
include
ExceptionBacktrace
...
...
app/workers/todos_destroyer/confidential_issue_worker.rb
View file @
2ad1688b
# frozen_string_literal: true
module
TodosDestroyer
module
TodosDestroyer
class
ConfidentialIssueWorker
class
ConfidentialIssueWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/todos_destroyer/entity_leave_worker.rb
View file @
2ad1688b
# frozen_string_literal: true
module
TodosDestroyer
module
TodosDestroyer
class
EntityLeaveWorker
class
EntityLeaveWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/todos_destroyer/group_private_worker.rb
View file @
2ad1688b
# frozen_string_literal: true
module
TodosDestroyer
module
TodosDestroyer
class
GroupPrivateWorker
class
GroupPrivateWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/todos_destroyer/private_features_worker.rb
View file @
2ad1688b
# frozen_string_literal: true
module
TodosDestroyer
module
TodosDestroyer
class
PrivateFeaturesWorker
class
PrivateFeaturesWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
app/workers/todos_destroyer/project_private_worker.rb
View file @
2ad1688b
# frozen_string_literal: true
module
TodosDestroyer
module
TodosDestroyer
class
ProjectPrivateWorker
class
ProjectPrivateWorker
include
ApplicationWorker
include
ApplicationWorker
...
...
changelogs/unreleased/frozen-string-enable-app-vestigial.yml
0 → 100644
View file @
2ad1688b
---
title
:
Enable frozen string in vestigial app files
merge_request
:
author
:
gfyoung
type
:
performance
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment