diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-09-29 15:34:47 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-09-29 21:04:50 -0700 |
commit | 3836d69119fee2a625edae2a564132eff9520bc8 (patch) | |
tree | 826596df417b6620e626d3638c553a4f2402d3f2 /lib/api/tags.rb | |
parent | 227cc997fb107672e3293c56e0dcb1df72ad82d5 (diff) | |
download | gitlab-ce-3836d69119fee2a625edae2a564132eff9520bc8.tar.gz |
Enable frozen string in lib/api and lib/backup
Partially addresses #47424.
Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:
https://github.com/rspec/rspec-mocks/issues/1190
Diffstat (limited to 'lib/api/tags.rb')
-rw-r--r-- | lib/api/tags.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/tags.rb b/lib/api/tags.rb index 5e0afc6a7e4..f739eacf9ba 100644 --- a/lib/api/tags.rb +++ b/lib/api/tags.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module API class Tags < Grape::API include PaginationParams |