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:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 03:51:36 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-23 18:31:57 +0300
commit7ea641b6d0882fc782a7eb493daf8b66d076924b (patch)
treeaf94a52d4eae88b2bfd65f7c7f71a8e457defaad /lib/bitbucket
parentb2da4623089e4c7c53526436bd7c0a8f516910a3 (diff)
Enable Style/ColonMethodCall
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/representation/repo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/representation/repo.rb b/lib/bitbucket/representation/repo.rb
index 423eff8f2a5..59b0fda8e14 100644
--- a/lib/bitbucket/representation/repo.rb
+++ b/lib/bitbucket/representation/repo.rb
@@ -23,7 +23,7 @@ module Bitbucket
url = raw['links']['clone'].find { |link| link['name'] == 'https' }.fetch('href')
if token.present?
- clone_url = URI::parse(url)
+ clone_url = URI.parse(url)
clone_url.user = "x-token-auth:#{token}"
clone_url.to_s
else