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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
388cb319
Commit
388cb319
authored
Aug 03, 2018
by
gfyoung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen string for app/models/**/*.rb
Partially addresses #47424.
parent
5b663ddf
Changes
79
Show whitespace changes
Inline
Side-by-side
Showing
79 changed files
with
161 additions
and
0 deletions
+161
-0
app/models/application_setting/term.rb
app/models/application_setting/term.rb
+2
-0
app/models/badges/group_badge.rb
app/models/badges/group_badge.rb
+2
-0
app/models/badges/project_badge.rb
app/models/badges/project_badge.rb
+2
-0
app/models/blob_viewer/auxiliary.rb
app/models/blob_viewer/auxiliary.rb
+2
-0
app/models/blob_viewer/balsamiq.rb
app/models/blob_viewer/balsamiq.rb
+2
-0
app/models/blob_viewer/base.rb
app/models/blob_viewer/base.rb
+2
-0
app/models/blob_viewer/binary_stl.rb
app/models/blob_viewer/binary_stl.rb
+2
-0
app/models/blob_viewer/cartfile.rb
app/models/blob_viewer/cartfile.rb
+2
-0
app/models/blob_viewer/changelog.rb
app/models/blob_viewer/changelog.rb
+2
-0
app/models/blob_viewer/client_side.rb
app/models/blob_viewer/client_side.rb
+2
-0
app/models/blob_viewer/composer_json.rb
app/models/blob_viewer/composer_json.rb
+2
-0
app/models/blob_viewer/contributing.rb
app/models/blob_viewer/contributing.rb
+2
-0
app/models/blob_viewer/dependency_manager.rb
app/models/blob_viewer/dependency_manager.rb
+2
-0
app/models/blob_viewer/download.rb
app/models/blob_viewer/download.rb
+2
-0
app/models/blob_viewer/empty.rb
app/models/blob_viewer/empty.rb
+2
-0
app/models/blob_viewer/gemfile.rb
app/models/blob_viewer/gemfile.rb
+2
-0
app/models/blob_viewer/gemspec.rb
app/models/blob_viewer/gemspec.rb
+2
-0
app/models/blob_viewer/gitlab_ci_yml.rb
app/models/blob_viewer/gitlab_ci_yml.rb
+2
-0
app/models/blob_viewer/godeps_json.rb
app/models/blob_viewer/godeps_json.rb
+2
-0
app/models/blob_viewer/image.rb
app/models/blob_viewer/image.rb
+2
-0
app/models/blob_viewer/license.rb
app/models/blob_viewer/license.rb
+2
-0
app/models/blob_viewer/markup.rb
app/models/blob_viewer/markup.rb
+2
-0
app/models/blob_viewer/notebook.rb
app/models/blob_viewer/notebook.rb
+2
-0
app/models/blob_viewer/package_json.rb
app/models/blob_viewer/package_json.rb
+2
-0
app/models/blob_viewer/pdf.rb
app/models/blob_viewer/pdf.rb
+2
-0
app/models/blob_viewer/podfile.rb
app/models/blob_viewer/podfile.rb
+2
-0
app/models/blob_viewer/podspec.rb
app/models/blob_viewer/podspec.rb
+2
-0
app/models/blob_viewer/podspec_json.rb
app/models/blob_viewer/podspec_json.rb
+2
-0
app/models/blob_viewer/readme.rb
app/models/blob_viewer/readme.rb
+2
-0
app/models/blob_viewer/requirements_txt.rb
app/models/blob_viewer/requirements_txt.rb
+2
-0
app/models/blob_viewer/rich.rb
app/models/blob_viewer/rich.rb
+2
-0
app/models/blob_viewer/route_map.rb
app/models/blob_viewer/route_map.rb
+2
-0
app/models/blob_viewer/server_side.rb
app/models/blob_viewer/server_side.rb
+2
-0
app/models/blob_viewer/simple.rb
app/models/blob_viewer/simple.rb
+2
-0
app/models/blob_viewer/sketch.rb
app/models/blob_viewer/sketch.rb
+2
-0
app/models/blob_viewer/static.rb
app/models/blob_viewer/static.rb
+2
-0
app/models/blob_viewer/svg.rb
app/models/blob_viewer/svg.rb
+2
-0
app/models/blob_viewer/text.rb
app/models/blob_viewer/text.rb
+2
-0
app/models/blob_viewer/text_stl.rb
app/models/blob_viewer/text_stl.rb
+2
-0
app/models/blob_viewer/video.rb
app/models/blob_viewer/video.rb
+2
-0
app/models/blob_viewer/yarn_lock.rb
app/models/blob_viewer/yarn_lock.rb
+2
-0
app/models/ci/artifact_blob.rb
app/models/ci/artifact_blob.rb
+2
-0
app/models/ci/build.rb
app/models/ci/build.rb
+2
-0
app/models/ci/build_metadata.rb
app/models/ci/build_metadata.rb
+2
-0
app/models/ci/build_runner_session.rb
app/models/ci/build_runner_session.rb
+2
-0
app/models/ci/build_trace_chunk.rb
app/models/ci/build_trace_chunk.rb
+2
-0
app/models/ci/build_trace_chunks/database.rb
app/models/ci/build_trace_chunks/database.rb
+2
-0
app/models/ci/build_trace_chunks/fog.rb
app/models/ci/build_trace_chunks/fog.rb
+2
-0
app/models/ci/build_trace_chunks/redis.rb
app/models/ci/build_trace_chunks/redis.rb
+2
-0
app/models/ci/build_trace_section.rb
app/models/ci/build_trace_section.rb
+2
-0
app/models/ci/build_trace_section_name.rb
app/models/ci/build_trace_section_name.rb
+2
-0
app/models/ci/group.rb
app/models/ci/group.rb
+2
-0
app/models/ci/group_variable.rb
app/models/ci/group_variable.rb
+2
-0
app/models/ci/job_artifact.rb
app/models/ci/job_artifact.rb
+2
-0
app/models/ci/legacy_stage.rb
app/models/ci/legacy_stage.rb
+2
-0
app/models/ci/pipeline.rb
app/models/ci/pipeline.rb
+2
-0
app/models/ci/pipeline_schedule.rb
app/models/ci/pipeline_schedule.rb
+2
-0
app/models/ci/pipeline_schedule_variable.rb
app/models/ci/pipeline_schedule_variable.rb
+2
-0
app/models/ci/pipeline_variable.rb
app/models/ci/pipeline_variable.rb
+2
-0
app/models/ci/runner.rb
app/models/ci/runner.rb
+2
-0
app/models/ci/runner_namespace.rb
app/models/ci/runner_namespace.rb
+2
-0
app/models/ci/runner_project.rb
app/models/ci/runner_project.rb
+2
-0
app/models/ci/stage.rb
app/models/ci/stage.rb
+2
-0
app/models/ci/trigger.rb
app/models/ci/trigger.rb
+2
-0
app/models/ci/trigger_request.rb
app/models/ci/trigger_request.rb
+2
-0
app/models/ci/variable.rb
app/models/ci/variable.rb
+2
-0
app/models/clusters/applications/helm.rb
app/models/clusters/applications/helm.rb
+2
-0
app/models/clusters/applications/ingress.rb
app/models/clusters/applications/ingress.rb
+2
-0
app/models/clusters/applications/jupyter.rb
app/models/clusters/applications/jupyter.rb
+2
-0
app/models/clusters/applications/prometheus.rb
app/models/clusters/applications/prometheus.rb
+2
-0
app/models/clusters/applications/runner.rb
app/models/clusters/applications/runner.rb
+2
-0
app/models/clusters/cluster.rb
app/models/clusters/cluster.rb
+2
-0
app/models/clusters/concerns/application_core.rb
app/models/clusters/concerns/application_core.rb
+2
-0
app/models/clusters/concerns/application_data.rb
app/models/clusters/concerns/application_data.rb
+2
-0
app/models/clusters/concerns/application_status.rb
app/models/clusters/concerns/application_status.rb
+2
-0
app/models/clusters/platforms/kubernetes.rb
app/models/clusters/platforms/kubernetes.rb
+2
-0
app/models/clusters/project.rb
app/models/clusters/project.rb
+2
-0
app/models/clusters/providers/gcp.rb
app/models/clusters/providers/gcp.rb
+2
-0
changelogs/unreleased/frozen-string-enable-app-models-more.yml
...elogs/unreleased/frozen-string-enable-app-models-more.yml
+5
-0
No files found.
app/models/application_setting/term.rb
View file @
388cb319
# frozen_string_literal: true
class
ApplicationSetting
class
ApplicationSetting
class
Term
<
ActiveRecord
::
Base
class
Term
<
ActiveRecord
::
Base
include
CacheMarkdownField
include
CacheMarkdownField
...
...
app/models/badges/group_badge.rb
View file @
388cb319
# frozen_string_literal: true
class
GroupBadge
<
Badge
class
GroupBadge
<
Badge
belongs_to
:group
belongs_to
:group
...
...
app/models/badges/project_badge.rb
View file @
388cb319
# frozen_string_literal: true
class
ProjectBadge
<
Badge
class
ProjectBadge
<
Badge
belongs_to
:project
belongs_to
:project
...
...
app/models/blob_viewer/auxiliary.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
module
Auxiliary
module
Auxiliary
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
...
...
app/models/blob_viewer/balsamiq.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Balsamiq
<
Base
class
Balsamiq
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/base.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Base
class
Base
PARTIAL_PATH_PREFIX
=
'projects/blob/viewers'
.
freeze
PARTIAL_PATH_PREFIX
=
'projects/blob/viewers'
.
freeze
...
...
app/models/blob_viewer/binary_stl.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
BinarySTL
<
Base
class
BinarySTL
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/cartfile.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Cartfile
<
DependencyManager
class
Cartfile
<
DependencyManager
include
Static
include
Static
...
...
app/models/blob_viewer/changelog.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Changelog
<
Base
class
Changelog
<
Base
include
Auxiliary
include
Auxiliary
...
...
app/models/blob_viewer/client_side.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
module
ClientSide
module
ClientSide
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
...
...
app/models/blob_viewer/composer_json.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
ComposerJson
<
DependencyManager
class
ComposerJson
<
DependencyManager
include
ServerSide
include
ServerSide
...
...
app/models/blob_viewer/contributing.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Contributing
<
Base
class
Contributing
<
Base
include
Auxiliary
include
Auxiliary
...
...
app/models/blob_viewer/dependency_manager.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
DependencyManager
<
Base
class
DependencyManager
<
Base
include
Auxiliary
include
Auxiliary
...
...
app/models/blob_viewer/download.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Download
<
Base
class
Download
<
Base
include
Simple
include
Simple
...
...
app/models/blob_viewer/empty.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Empty
<
Base
class
Empty
<
Base
include
Simple
include
Simple
...
...
app/models/blob_viewer/gemfile.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Gemfile
<
DependencyManager
class
Gemfile
<
DependencyManager
include
Static
include
Static
...
...
app/models/blob_viewer/gemspec.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Gemspec
<
DependencyManager
class
Gemspec
<
DependencyManager
include
ServerSide
include
ServerSide
...
...
app/models/blob_viewer/gitlab_ci_yml.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
GitlabCiYml
<
Base
class
GitlabCiYml
<
Base
include
ServerSide
include
ServerSide
...
...
app/models/blob_viewer/godeps_json.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
GodepsJson
<
DependencyManager
class
GodepsJson
<
DependencyManager
include
Static
include
Static
...
...
app/models/blob_viewer/image.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Image
<
Base
class
Image
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/license.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
License
<
Base
class
License
<
Base
include
Auxiliary
include
Auxiliary
...
...
app/models/blob_viewer/markup.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Markup
<
Base
class
Markup
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/notebook.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Notebook
<
Base
class
Notebook
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/package_json.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
PackageJson
<
DependencyManager
class
PackageJson
<
DependencyManager
include
ServerSide
include
ServerSide
...
...
app/models/blob_viewer/pdf.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
PDF
<
Base
class
PDF
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/podfile.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Podfile
<
DependencyManager
class
Podfile
<
DependencyManager
include
Static
include
Static
...
...
app/models/blob_viewer/podspec.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Podspec
<
DependencyManager
class
Podspec
<
DependencyManager
include
ServerSide
include
ServerSide
...
...
app/models/blob_viewer/podspec_json.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
PodspecJson
<
Podspec
class
PodspecJson
<
Podspec
self
.
file_types
=
%i(podspec_json)
self
.
file_types
=
%i(podspec_json)
...
...
app/models/blob_viewer/readme.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Readme
<
Base
class
Readme
<
Base
include
Auxiliary
include
Auxiliary
...
...
app/models/blob_viewer/requirements_txt.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
RequirementsTxt
<
DependencyManager
class
RequirementsTxt
<
DependencyManager
include
Static
include
Static
...
...
app/models/blob_viewer/rich.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
module
Rich
module
Rich
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
...
...
app/models/blob_viewer/route_map.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
RouteMap
<
Base
class
RouteMap
<
Base
include
ServerSide
include
ServerSide
...
...
app/models/blob_viewer/server_side.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
module
ServerSide
module
ServerSide
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
...
...
app/models/blob_viewer/simple.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
module
Simple
module
Simple
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
...
...
app/models/blob_viewer/sketch.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Sketch
<
Base
class
Sketch
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/static.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
module
Static
module
Static
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
...
...
app/models/blob_viewer/svg.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
SVG
<
Base
class
SVG
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/text.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Text
<
Base
class
Text
<
Base
include
Simple
include
Simple
...
...
app/models/blob_viewer/text_stl.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
TextSTL
<
BinarySTL
class
TextSTL
<
BinarySTL
self
.
binary
=
false
self
.
binary
=
false
...
...
app/models/blob_viewer/video.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
Video
<
Base
class
Video
<
Base
include
Rich
include
Rich
...
...
app/models/blob_viewer/yarn_lock.rb
View file @
388cb319
# frozen_string_literal: true
module
BlobViewer
module
BlobViewer
class
YarnLock
<
DependencyManager
class
YarnLock
<
DependencyManager
include
Static
include
Static
...
...
app/models/ci/artifact_blob.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
ArtifactBlob
class
ArtifactBlob
include
BlobLike
include
BlobLike
...
...
app/models/ci/build.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
Build
<
CommitStatus
class
Build
<
CommitStatus
prepend
ArtifactMigratable
prepend
ArtifactMigratable
...
...
app/models/ci/build_metadata.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
# The purpose of this class is to store Build related data that can be disposed.
# The purpose of this class is to store Build related data that can be disposed.
# Data that should be persisted forever, should be stored with Ci::Build model.
# Data that should be persisted forever, should be stored with Ci::Build model.
...
...
app/models/ci/build_runner_session.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
# The purpose of this class is to store Build related runner session.
# The purpose of this class is to store Build related runner session.
# Data will be removed after transitioning from running to any state.
# Data will be removed after transitioning from running to any state.
...
...
app/models/ci/build_trace_chunk.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
BuildTraceChunk
<
ActiveRecord
::
Base
class
BuildTraceChunk
<
ActiveRecord
::
Base
include
FastDestroyAll
include
FastDestroyAll
...
...
app/models/ci/build_trace_chunks/database.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
module
BuildTraceChunks
module
BuildTraceChunks
class
Database
class
Database
...
...
app/models/ci/build_trace_chunks/fog.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
module
BuildTraceChunks
module
BuildTraceChunks
class
Fog
class
Fog
...
...
app/models/ci/build_trace_chunks/redis.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
module
BuildTraceChunks
module
BuildTraceChunks
class
Redis
class
Redis
...
...
app/models/ci/build_trace_section.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
BuildTraceSection
<
ActiveRecord
::
Base
class
BuildTraceSection
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/build_trace_section_name.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
BuildTraceSectionName
<
ActiveRecord
::
Base
class
BuildTraceSectionName
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/group.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
##
##
# This domain model is a representation of a group of jobs that are related
# This domain model is a representation of a group of jobs that are related
...
...
app/models/ci/group_variable.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
GroupVariable
<
ActiveRecord
::
Base
class
GroupVariable
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/job_artifact.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
JobArtifact
<
ActiveRecord
::
Base
class
JobArtifact
<
ActiveRecord
::
Base
include
AfterCommitQueue
include
AfterCommitQueue
...
...
app/models/ci/legacy_stage.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
# Currently this is artificial object, constructed dynamically
# Currently this is artificial object, constructed dynamically
# We should migrate this object to actual database record in the future
# We should migrate this object to actual database record in the future
...
...
app/models/ci/pipeline.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
Pipeline
<
ActiveRecord
::
Base
class
Pipeline
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/pipeline_schedule.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
PipelineSchedule
<
ActiveRecord
::
Base
class
PipelineSchedule
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/pipeline_schedule_variable.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
PipelineScheduleVariable
<
ActiveRecord
::
Base
class
PipelineScheduleVariable
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/pipeline_variable.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
PipelineVariable
<
ActiveRecord
::
Base
class
PipelineVariable
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/runner.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
Runner
<
ActiveRecord
::
Base
class
Runner
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/runner_namespace.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
RunnerNamespace
<
ActiveRecord
::
Base
class
RunnerNamespace
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/runner_project.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
RunnerProject
<
ActiveRecord
::
Base
class
RunnerProject
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/stage.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
Stage
<
ActiveRecord
::
Base
class
Stage
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/trigger.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
Trigger
<
ActiveRecord
::
Base
class
Trigger
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/trigger_request.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
TriggerRequest
<
ActiveRecord
::
Base
class
TriggerRequest
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/ci/variable.rb
View file @
388cb319
# frozen_string_literal: true
module
Ci
module
Ci
class
Variable
<
ActiveRecord
::
Base
class
Variable
<
ActiveRecord
::
Base
extend
Gitlab
::
Ci
::
Model
extend
Gitlab
::
Ci
::
Model
...
...
app/models/clusters/applications/helm.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Helm
<
ActiveRecord
::
Base
class
Helm
<
ActiveRecord
::
Base
...
...
app/models/clusters/applications/ingress.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Ingress
<
ActiveRecord
::
Base
class
Ingress
<
ActiveRecord
::
Base
...
...
app/models/clusters/applications/jupyter.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Jupyter
<
ActiveRecord
::
Base
class
Jupyter
<
ActiveRecord
::
Base
...
...
app/models/clusters/applications/prometheus.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Prometheus
<
ActiveRecord
::
Base
class
Prometheus
<
ActiveRecord
::
Base
...
...
app/models/clusters/applications/runner.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Applications
module
Applications
class
Runner
<
ActiveRecord
::
Base
class
Runner
<
ActiveRecord
::
Base
...
...
app/models/clusters/cluster.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
class
Cluster
<
ActiveRecord
::
Base
class
Cluster
<
ActiveRecord
::
Base
include
Presentable
include
Presentable
...
...
app/models/clusters/concerns/application_core.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Concerns
module
Concerns
module
ApplicationCore
module
ApplicationCore
...
...
app/models/clusters/concerns/application_data.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Concerns
module
Concerns
module
ApplicationData
module
ApplicationData
...
...
app/models/clusters/concerns/application_status.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Concerns
module
Concerns
module
ApplicationStatus
module
ApplicationStatus
...
...
app/models/clusters/platforms/kubernetes.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Platforms
module
Platforms
class
Kubernetes
<
ActiveRecord
::
Base
class
Kubernetes
<
ActiveRecord
::
Base
...
...
app/models/clusters/project.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
class
Project
<
ActiveRecord
::
Base
class
Project
<
ActiveRecord
::
Base
self
.
table_name
=
'cluster_projects'
self
.
table_name
=
'cluster_projects'
...
...
app/models/clusters/providers/gcp.rb
View file @
388cb319
# frozen_string_literal: true
module
Clusters
module
Clusters
module
Providers
module
Providers
class
Gcp
<
ActiveRecord
::
Base
class
Gcp
<
ActiveRecord
::
Base
...
...
changelogs/unreleased/frozen-string-enable-app-models-more.yml
0 → 100644
View file @
388cb319
---
title
:
Enable frozen string for app/models/**/*.rb
merge_request
:
21001
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