diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-10-11 13:12:21 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-10-13 02:31:31 -0700 |
commit | e166e5747c6e8130f1227b427113f1231d9f46f1 (patch) | |
tree | 9cf61f1a7388bfce3f22fd927ee9582d37b8910b /lib/gitlab/bitbucket_import | |
parent | 79ba38920144191320df1e6529b8feab4acef758 (diff) | |
download | gitlab-ce-e166e5747c6e8130f1227b427113f1231d9f46f1.tar.gz |
Enable some frozen string in lib/gitlab
Enable frozen string for the following files:
* lib/gitlab/auth/**/*.rb
* lib/gitlab/badge/**/*.rb
* lib/gitlab/bare_repository_import/**/*.rb
* lib/gitlab/bitbucket_import/**/*.rb
* lib/gitlab/bitbucket_server_import/**/*.rb
* lib/gitlab/cache/**/*.rb
* lib/gitlab/checks/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'lib/gitlab/bitbucket_import')
-rw-r--r-- | lib/gitlab/bitbucket_import/importer.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/bitbucket_import/project_creator.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb index a7dfccea2f6..45e550b3450 100644 --- a/lib/gitlab/bitbucket_import/importer.rb +++ b/lib/gitlab/bitbucket_import/importer.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Gitlab module BitbucketImport class Importer diff --git a/lib/gitlab/bitbucket_import/project_creator.rb b/lib/gitlab/bitbucket_import/project_creator.rb index d94f70fd1fb..11070a68e02 100644 --- a/lib/gitlab/bitbucket_import/project_creator.rb +++ b/lib/gitlab/bitbucket_import/project_creator.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Gitlab module BitbucketImport class ProjectCreator |