diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-10-08 07:50:39 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-10-08 11:16:49 -0700 |
commit | c8755543f07aa35ec22e9509c0cc2d04e5d3e0d3 (patch) | |
tree | ebae01fff813047d7192b3f10aad475b1894c744 /lib/google_api | |
parent | 1540d51a54f6c2e63335824deb93dad75aba1aec (diff) | |
download | gitlab-ce-c8755543f07aa35ec22e9509c0cc2d04e5d3e0d3.tar.gz |
Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:
* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'lib/google_api')
-rw-r--r-- | lib/google_api/auth.rb | 2 | ||||
-rw-r--r-- | lib/google_api/cloud_platform/client.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/google_api/auth.rb b/lib/google_api/auth.rb index 1aeaa387a49..e724e58e9ca 100644 --- a/lib/google_api/auth.rb +++ b/lib/google_api/auth.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module GoogleApi class Auth attr_reader :access_token, :redirect_uri, :state diff --git a/lib/google_api/cloud_platform/client.rb b/lib/google_api/cloud_platform/client.rb index 77b6610286f..e74ff6a9129 100644 --- a/lib/google_api/cloud_platform/client.rb +++ b/lib/google_api/cloud_platform/client.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'google/apis/compute_v1' require 'google/apis/container_v1' require 'google/apis/cloudbilling_v1' |