summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-08-08 10:07:15 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-08-30 11:32:55 -0700
commit99ee86206e3e19dd93910a4e7a3a5b6e3a7add9a (patch)
tree75b35d1341e3b9d4d97088f903a67dcc84948d16 /lib/api
parent0f4df86a5e559b9c15f07b43edad829928f59e87 (diff)
downloadgitlab-ce-99ee86206e3e19dd93910a4e7a3a5b6e3a7add9a.tar.gz
remove six, and use a Set instead
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/helpers.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index da4b1bf9902..1afca5fe2e8 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -409,11 +409,7 @@ module API
end
def abilities
- @abilities ||= begin
- abilities = Six.new
- abilities << Ability
- abilities
- end
+ Ability
end
def secret_token