summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-08-10 12:41:01 +0100
committerSean McGivern <sean@gitlab.com>2018-08-10 12:41:01 +0100
commitad8158e460d04e9cf97f255daf26379a81bdda89 (patch)
treec04b3ae658b27848e25f905f436196246e3c9c9a
parente5c0f495a4384157535fe768f04e984a85fd4d79 (diff)
downloadgitlab-ce-ad8158e460d04e9cf97f255daf26379a81bdda89.tar.gz
Add frozen_string_literal to recently-added files from the community
-rw-r--r--lib/banzai/filter/project_reference_filter.rb2
-rw-r--r--lib/banzai/reference_parser/project_parser.rb2
-rw-r--r--spec/lib/banzai/filter/project_reference_filter_spec.rb2
-rw-r--r--spec/lib/banzai/reference_parser/project_parser_spec.rb2
4 files changed, 8 insertions, 0 deletions
diff --git a/lib/banzai/filter/project_reference_filter.rb b/lib/banzai/filter/project_reference_filter.rb
index fd2a86a6d45..83cf45097ed 100644
--- a/lib/banzai/filter/project_reference_filter.rb
+++ b/lib/banzai/filter/project_reference_filter.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Banzai
module Filter
# HTML filter that replaces project references with links.
diff --git a/lib/banzai/reference_parser/project_parser.rb b/lib/banzai/reference_parser/project_parser.rb
index 2a33b00ddbd..b4e3a55b4f1 100644
--- a/lib/banzai/reference_parser/project_parser.rb
+++ b/lib/banzai/reference_parser/project_parser.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Banzai
module ReferenceParser
class ProjectParser < BaseParser
diff --git a/spec/lib/banzai/filter/project_reference_filter_spec.rb b/spec/lib/banzai/filter/project_reference_filter_spec.rb
index 13e1fc2d3e2..48140305e26 100644
--- a/spec/lib/banzai/filter/project_reference_filter_spec.rb
+++ b/spec/lib/banzai/filter/project_reference_filter_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Banzai::Filter::ProjectReferenceFilter do
diff --git a/spec/lib/banzai/reference_parser/project_parser_spec.rb b/spec/lib/banzai/reference_parser/project_parser_spec.rb
index c6a4d15e47c..e4936aa9e57 100644
--- a/spec/lib/banzai/reference_parser/project_parser_spec.rb
+++ b/spec/lib/banzai/reference_parser/project_parser_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Banzai::ReferenceParser::ProjectParser do