diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-08-03 10:22:24 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-08-07 00:37:36 -0700 |
commit | 15b878e27e8188e9d22755fd648f75de313f012f (patch) | |
tree | 0e04417984c141dc4651249176eff41d8455d24c /app/models/network | |
parent | b211f7c25307971f97646b59e56cede47380c9d6 (diff) | |
download | gitlab-ce-15b878e27e8188e9d22755fd648f75de313f012f.tar.gz |
Enable more frozen string in app/models/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/models/network')
-rw-r--r-- | app/models/network/commit.rb | 2 | ||||
-rw-r--r-- | app/models/network/graph.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/models/network/commit.rb b/app/models/network/commit.rb index d667948deae..6c5a4c56377 100644 --- a/app/models/network/commit.rb +++ b/app/models/network/commit.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Network class Commit include ActionView::Helpers::TagHelper diff --git a/app/models/network/graph.rb b/app/models/network/graph.rb index 1e0d1f9edcb..1431dfefc55 100644 --- a/app/models/network/graph.rb +++ b/app/models/network/graph.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Network class Graph attr_reader :days, :commits, :map, :notes, :repo |