diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-08-03 10:15:25 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-08-03 11:44:16 +0300 |
commit | 388cb319d59e4c5e7cf5b3032d924afb57202fd0 (patch) | |
tree | 671b6ba52a90837f0b71fba9a16f8f8003b85989 /app/models/clusters | |
parent | 5b663ddf4c0da4f8f2aa0a48809cda9757042e64 (diff) |
Enable frozen string for app/models/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/models/clusters')
-rw-r--r-- | app/models/clusters/applications/helm.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/applications/ingress.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/applications/jupyter.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/applications/prometheus.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/applications/runner.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/cluster.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/concerns/application_core.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/concerns/application_data.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/concerns/application_status.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/platforms/kubernetes.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/project.rb | 2 | ||||
-rw-r--r-- | app/models/clusters/providers/gcp.rb | 2 |
12 files changed, 24 insertions, 0 deletions
diff --git a/app/models/clusters/applications/helm.rb b/app/models/clusters/applications/helm.rb index 58de3448577..61df6174c86 100644 --- a/app/models/clusters/applications/helm.rb +++ b/app/models/clusters/applications/helm.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Applications class Helm < ActiveRecord::Base diff --git a/app/models/clusters/applications/ingress.rb b/app/models/clusters/applications/ingress.rb index 4a8fd9a0b8c..2440efe76ab 100644 --- a/app/models/clusters/applications/ingress.rb +++ b/app/models/clusters/applications/ingress.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Applications class Ingress < ActiveRecord::Base diff --git a/app/models/clusters/applications/jupyter.rb b/app/models/clusters/applications/jupyter.rb index 72dd734246b..33d54ba86fe 100644 --- a/app/models/clusters/applications/jupyter.rb +++ b/app/models/clusters/applications/jupyter.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Applications class Jupyter < ActiveRecord::Base diff --git a/app/models/clusters/applications/prometheus.rb b/app/models/clusters/applications/prometheus.rb index 53ac9199ae2..ccb415b3fe2 100644 --- a/app/models/clusters/applications/prometheus.rb +++ b/app/models/clusters/applications/prometheus.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Applications class Prometheus < ActiveRecord::Base diff --git a/app/models/clusters/applications/runner.rb b/app/models/clusters/applications/runner.rb index 6d97dd1448a..426aed91089 100644 --- a/app/models/clusters/applications/runner.rb +++ b/app/models/clusters/applications/runner.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Applications class Runner < ActiveRecord::Base diff --git a/app/models/clusters/cluster.rb b/app/models/clusters/cluster.rb index b426b1bf8a1..7cf75403ab6 100644 --- a/app/models/clusters/cluster.rb +++ b/app/models/clusters/cluster.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters class Cluster < ActiveRecord::Base include Presentable diff --git a/app/models/clusters/concerns/application_core.rb b/app/models/clusters/concerns/application_core.rb index 623b836c0ed..e3deedfb036 100644 --- a/app/models/clusters/concerns/application_core.rb +++ b/app/models/clusters/concerns/application_core.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Concerns module ApplicationCore diff --git a/app/models/clusters/concerns/application_data.rb b/app/models/clusters/concerns/application_data.rb index 96ac757e99e..14e004b9a57 100644 --- a/app/models/clusters/concerns/application_data.rb +++ b/app/models/clusters/concerns/application_data.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Concerns module ApplicationData diff --git a/app/models/clusters/concerns/application_status.rb b/app/models/clusters/concerns/application_status.rb index 8f3eb75bfa9..d4d3859dfd5 100644 --- a/app/models/clusters/concerns/application_status.rb +++ b/app/models/clusters/concerns/application_status.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Concerns module ApplicationStatus diff --git a/app/models/clusters/platforms/kubernetes.rb b/app/models/clusters/platforms/kubernetes.rb index 36631d57ad1..e6ddca0d5d0 100644 --- a/app/models/clusters/platforms/kubernetes.rb +++ b/app/models/clusters/platforms/kubernetes.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Platforms class Kubernetes < ActiveRecord::Base diff --git a/app/models/clusters/project.rb b/app/models/clusters/project.rb index eeb734b20b8..839ce796081 100644 --- a/app/models/clusters/project.rb +++ b/app/models/clusters/project.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters class Project < ActiveRecord::Base self.table_name = 'cluster_projects' diff --git a/app/models/clusters/providers/gcp.rb b/app/models/clusters/providers/gcp.rb index 4db1bb35c12..16b59cd9d14 100644 --- a/app/models/clusters/providers/gcp.rb +++ b/app/models/clusters/providers/gcp.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Clusters module Providers class Gcp < ActiveRecord::Base |