BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
0e4c2b6e
Commit
0e4c2b6e
authored
Mar 31, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable Style/MethodDefParentheses and fix parentheses
parent
4f502704
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.rubocop.yml
.rubocop.yml
+1
-1
receiver.rb
lib/gitlab/email/receiver.rb
+1
-1
No files found.
.rubocop.yml
View file @
0e4c2b6e
...
...
@@ -322,7 +322,7 @@ Style/MethodCallParentheses:
# Checks if the method definitions have or don't have parentheses.
Style/MethodDefParentheses
:
Enabled
:
fals
e
Enabled
:
tru
e
# Use the configured style when naming methods.
Style/MethodName
:
...
...
lib/gitlab/email/receiver.rb
View file @
0e4c2b6e
...
...
@@ -101,7 +101,7 @@ module Gitlab
Project
.
find_with_namespace
(
reply_key
)
if
reply_key
end
def
extract_reply
project
def
extract_reply
(
project
)
reply
=
ReplyParser
.
new
(
message
).
execute
.
strip
raise
EmptyEmailError
if
reply
.
blank?
...
...
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