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
Léo-Paul Géneau
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.rubocop.yml
.rubocop.yml
+1
-1
lib/gitlab/email/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