Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-16 19:06:59 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-16 23:06:31 +0300
commitdc8e1676cda528cfca9ec9679da10ff90ec76282 (patch)
tree72e2f128c7c72d5bf9d600aa91cd036a33d9fac9 /lib/api/jobs.rb
parent374cdda3c0072218126f717f85f321b566a3262f (diff)
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']