Maintenance: Activated rubocop Layout/SpaceAfterMethodName.
This commit is contained in:
parent
e63510c4d0
commit
d4732f7d9a
4 changed files with 3 additions and 10 deletions
|
@ -86,13 +86,6 @@ Layout/SpaceInsideParens:
|
|||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
|
||||
Enabled: false
|
||||
|
||||
Layout/SpaceAfterMethodName:
|
||||
Description: >-
|
||||
Do not put a space between a method name and the opening
|
||||
parenthesis in a method definition.
|
||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
|
||||
Enabled: false
|
||||
|
||||
Layout/LeadingCommentSpace:
|
||||
Description: 'Comments should start with a space.'
|
||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-space'
|
||||
|
|
|
@ -78,7 +78,7 @@ module ApplicationController::RendersModels
|
|||
model_destroy_render_item()
|
||||
end
|
||||
|
||||
def model_destroy_render_item ()
|
||||
def model_destroy_render_item()
|
||||
render json: {}, status: :ok
|
||||
end
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ returns
|
|||
|
||||
=end
|
||||
|
||||
def assets (data)
|
||||
def assets(data)
|
||||
|
||||
app_model_sla = Sla.to_app_model
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ returns
|
|||
|
||||
=end
|
||||
|
||||
def assets (data)
|
||||
def assets(data)
|
||||
return data if assets_added_to?(data)
|
||||
|
||||
app_model = User.to_app_model
|
||||
|
|
Loading…
Reference in a new issue