-
Notifications
You must be signed in to change notification settings - Fork 254
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 to 0.42.0 #278
Conversation
Hmmm not sure where those CI failures are coming from. @davesims do they look familiar? |
@jch Nope, haven't seen that. ¯_(ツ)_/¯ |
return result | ||
end | ||
result = conn.bind(args[:auth] || @auth) | ||
return result unless result.code == Net::LDAP::ResultCodeSuccess |
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.
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.
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.
Thanks @satoryu, nice catch
Fix the bug in ruby-ldap#278
@satoryu - Yep, that fixed it. Sorry about that. |
=== Net::LDAP 0.16.0 * Sasl fix {#281}[ruby-ldap/ruby-net-ldap#281] * enable TLS hostname validation {#279}[ruby-ldap/ruby-net-ldap#279] * update rubocop to 0.42.0 {#278}[ruby-ldap/ruby-net-ldap#278]
This PR updates Rubocop and fixes a small handful of cops & changes.
Style/TrailingComma
got broken up intoStyle/TrailingCommaInLiteral
andStyle/TrailingCommaInArguments
(see Style/TrailingComma cop removed in patch-level release rubocop/rubocop#2678)Style/SingleSpaceBeforeFirstArg
was renamedStyle/SpaceBeforeFirstArg
(see [FEATURE REQUEST] Style/SingleSpaceBeforeFirstArg:AllowForAlignment rubocop/rubocop#2504 (comment))Style/SymbolProc
andStyle/GuardClause
are fixed repo-wide, and the exceptions removed from.rubocop_todo.yaml
/cc @jch @mtodd