-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
enforce new hash syntax by rubocop --only HashSyntax --auto-correct
#795
Conversation
:log => log, | ||
:auto_typecast => @auto_typecast, | ||
log: log, | ||
auto_typecast: @auto_typecast, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaks align. Is this ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it has just 2 fields and these are far different from each other. There seems no problem.
@repeatedly I'm about to merge this change after confirmation for green. Are you ok? |
Dows this syntax work on ruby 1.9? |
It's the new feature for Ruby 1.9. |
I see. Okay. |
enforce new hash syntax by `rubocop --only HashSyntax --auto-correct`
Merged. |
enforce new hash syntax by `rubocop --only HashSyntax --auto-correct`
Back port enforce new hash syntax by `rubocop --only HashSyntax --auto-correct` (#795)
I did syntax check for all .rb files by
find . -name '*.rb' | xargs -n 1 ruby -c