summaryrefslogtreecommitdiff
path: root/app/models/network
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-29 15:23:44 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-29 15:23:44 +0200
commit28bafd5354427d27cabe40966bd069a75984e2b1 (patch)
tree81272d3aeb0c5a001dba8f66fd2f4c7a2962268d /app/models/network
parent9798ac77ed3a1e6106f22c3304f431763ec2cf45 (diff)
downloadgitlab-ce-28bafd5354427d27cabe40966bd069a75984e2b1.tar.gz
Enable Style/SpaceAfterComma Rubocop coprubocop/enable-space-after-cops
Diffstat (limited to 'app/models/network')
-rw-r--r--app/models/network/graph.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/network/graph.rb b/app/models/network/graph.rb
index a2aee2f925b..345041a6ad1 100644
--- a/app/models/network/graph.rb
+++ b/app/models/network/graph.rb
@@ -54,7 +54,7 @@ module Network
@map = {}
@reserved = {}
- @commits.each_with_index do |c,i|
+ @commits.each_with_index do |c, i|
c.time = i
days[i] = c.committed_date
@map[c.id] = c
@@ -116,7 +116,7 @@ module Network
end
def commits_sort_by_ref
- @commits.sort do |a,b|
+ @commits.sort do |a, b|
if include_ref?(a)
-1
elsif include_ref?(b)