Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop from 0.48.1 to 0.49.1 #1638

Merged
merged 1 commit into from
Jun 2, 2017
Merged

Conversation

sonalkr132
Copy link
Member

Style/MultilineOperationIndentation has the wrong namespace - should be Layout
Lint/ScriptPermission: Script file release_reserved_namespace doesn't have execute permission.
Rails/ApplicationRecord: Models should subclass ApplicationRecord.
Style/YodaCondition: Reverse the order of the operands 'development' == r.scope. (https://en.wikipedia.org/wiki/Yoda_conditions)

Style/MultilineOperationIndentation has the wrong namespace - should be Layout
Lint/ScriptPermission: Script file release_reserved_namespace doesn't have execute permission.
Rails/ApplicationRecord: Models should subclass ApplicationRecord.
Style/YodaCondition: Reverse the order of the operands 'development' == r.scope. (https://en.wikipedia.org/wiki/Yoda_conditions)
@@ -0,0 +1,3 @@
class ApplicationRecord < ActiveRecord::Base
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any reason for this class since it is empty.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new rails default, so we should keep it even if it's empty.

Copy link
Member

@dwradcliffe dwradcliffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🚢

@sonalkr132 sonalkr132 merged commit e9ff3a1 into rubygems:master Jun 2, 2017
@sonalkr132 sonalkr132 deleted the update branch June 2, 2017 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants