diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-16 19:31:01 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-07-16 22:36:41 +0300 |
commit | 265478ad74172ed14794c26f75c3ad45908f36a2 (patch) | |
tree | 3367106f10a7b911112029b03ac2dcc7a92ab6dc /app/services/badges | |
parent | 7f0431dd8550ac9d229d1383c03386c1634d015f (diff) |
Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.
Partially addresses #47424.
Diffstat (limited to 'app/services/badges')
-rw-r--r-- | app/services/badges/base_service.rb | 2 | ||||
-rw-r--r-- | app/services/badges/build_service.rb | 2 | ||||
-rw-r--r-- | app/services/badges/create_service.rb | 2 | ||||
-rw-r--r-- | app/services/badges/update_service.rb | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/app/services/badges/base_service.rb b/app/services/badges/base_service.rb index 4f87426bd38..45fc9ac4373 100644 --- a/app/services/badges/base_service.rb +++ b/app/services/badges/base_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Badges class BaseService protected diff --git a/app/services/badges/build_service.rb b/app/services/badges/build_service.rb index 6267e571838..e5ede1586b6 100644 --- a/app/services/badges/build_service.rb +++ b/app/services/badges/build_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Badges class BuildService < Badges::BaseService # returns the created badge diff --git a/app/services/badges/create_service.rb b/app/services/badges/create_service.rb index aafb87f7dcd..4a55a00daeb 100644 --- a/app/services/badges/create_service.rb +++ b/app/services/badges/create_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Badges class CreateService < Badges::BaseService # returns the created badge diff --git a/app/services/badges/update_service.rb b/app/services/badges/update_service.rb index 495a4a2c99d..a653b7903dd 100644 --- a/app/services/badges/update_service.rb +++ b/app/services/badges/update_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Badges class UpdateService < Badges::BaseService # returns the updated badge |