summaryrefslogtreecommitdiff
path: root/lib/api/jobs.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-16 18:06:59 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-16 22:06:31 +0200
commitdc8e1676cda528cfca9ec9679da10ff90ec76282 (patch)
tree72e2f128c7c72d5bf9d600aa91cd036a33d9fac9 /lib/api/jobs.rb
parent374cdda3c0072218126f717f85f321b566a3262f (diff)
downloadgitlab-ce-dc8e1676cda528cfca9ec9679da10ff90ec76282.tar.gz
Upgrade grape to 1.0
Main feature was the deprication of the Hashie stuff, so the access by calling keys as method is gone now.
Diffstat (limited to 'lib/api/jobs.rb')
-rw-r--r--lib/api/jobs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/jobs.rb b/lib/api/jobs.rb
index 8a67de10bca..a40018b214e 100644
--- a/lib/api/jobs.rb
+++ b/lib/api/jobs.rb
@@ -16,9 +16,9 @@ module API
case scope
when String
[scope]
- when Hashie::Mash
+ when ::Hash
scope.values
- when Hashie::Array
+ when ::Array
scope
else
['unknown']