Merge branch 'strict-rubocop-rules' into 'master'

Enable ParenthesesAsGroupedExpression rule

See merge request !1617
This commit is contained in:
Dmitriy Zaporozhets 2015-03-03 05:58:14 +00:00
commit 2f4656b5c7
2 changed files with 2 additions and 2 deletions

View File

@ -877,7 +877,7 @@ Lint/ParenthesesAsGroupedExpression:
Checks for method calls with a space before the opening
parenthesis.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
Enabled: false
Enabled: true
Lint/RequireParentheses:
Description: >-

View File

@ -143,7 +143,7 @@ module API
class ProjectEntity < Grape::Entity
expose :id, :iid
expose (:project_id) { |entity| entity.project.id }
expose(:project_id) { |entity| entity.project.id }
expose :title, :description
expose :state, :created_at, :updated_at
end