diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-29 16:23:44 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-29 16:23:44 +0300 |
commit | 28bafd5354427d27cabe40966bd069a75984e2b1 (patch) | |
tree | 81272d3aeb0c5a001dba8f66fd2f4c7a2962268d /app/models/project_services/jira_service.rb | |
parent | 9798ac77ed3a1e6106f22c3304f431763ec2cf45 (diff) |
Enable Style/SpaceAfterComma Rubocop cop
Diffstat (limited to 'app/models/project_services/jira_service.rb')
-rw-r--r-- | app/models/project_services/jira_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/jira_service.rb b/app/models/project_services/jira_service.rb index beda89d3963..8b3296c712f 100644 --- a/app/models/project_services/jira_service.rb +++ b/app/models/project_services/jira_service.rb @@ -124,7 +124,7 @@ class JiraService < IssueTrackerService def build_api_url_from_project_url server = URI(project_url) - default_ports = [["http",80],["https",443]].include?([server.scheme,server.port]) + default_ports = [["http", 80], ["https", 443]].include?([server.scheme, server.port]) server_url = "#{server.scheme}://#{server.host}" server_url.concat(":#{server.port}") unless default_ports "#{server_url}/rest/api/#{DEFAULT_API_VERSION}" |