Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
face87b7
Commit
face87b7
authored
May 30, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Style/Semicolon rubocop style cop
See #17478
parent
473ea1e9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
.rubocop.yml
.rubocop.yml
+1
-1
app/models/network/graph.rb
app/models/network/graph.rb
+1
-1
lib/gitlab/middleware/go.rb
lib/gitlab/middleware/go.rb
+1
-1
No files found.
.rubocop.yml
View file @
face87b7
...
...
@@ -514,7 +514,7 @@ Style/SelfAssignment:
# Don't use semicolons to terminate expressions.
Style/Semicolon
:
Enabled
:
fals
e
Enabled
:
tru
e
# Checks for proper usage of fail and raise.
Style/SignalException
:
...
...
app/models/network/graph.rb
View file @
face87b7
...
...
@@ -164,7 +164,7 @@ module Network
i
!=
range
.
last
&&
@commits
[
i
].
spaces
.
include?
(
overlap_space
)
return
true
;
return
true
end
end
...
...
lib/gitlab/middleware/go.rb
View file @
face87b7
...
...
@@ -39,7 +39,7 @@ module Gitlab
request_url
=
URI
.
join
(
base_url
,
project_path
)
domain_path
=
strip_url
(
request_url
.
to_s
)
"<!DOCTYPE html><html><head><meta content='
#{
domain_path
}
git
#{
request_url
}
.git' name='go-import'></head></html>
\n
"
;
"<!DOCTYPE html><html><head><meta content='
#{
domain_path
}
git
#{
request_url
}
.git' name='go-import'></head></html>
\n
"
end
def
strip_url
(
url
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment