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 to 0.42.0 #278

Merged
merged 8 commits into from
Aug 19, 2016
Merged

update rubocop to 0.42.0 #278

merged 8 commits into from
Aug 19, 2016

Conversation

tmaher
Copy link
Collaborator

@tmaher tmaher commented Aug 17, 2016

This PR updates Rubocop and fixes a small handful of cops & changes.

/cc @jch @mtodd

@jch
Copy link
Member

jch commented Aug 18, 2016

Hmmm not sure where those CI failures are coming from. @davesims do they look familiar?

@davesims
Copy link

@jch Nope, haven't seen that. ¯_(ツ)_/¯

return result
end
result = conn.bind(args[:auth] || @auth)
return result unless result.code == Net::LDAP::ResultCodeSuccess
Copy link
Collaborator

Choose a reason for hiding this comment

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

rubocode failed to convert codes. result_code should be called here, not code. All tests would be passed by fixing it. @davesims @jch @tmaher 😃

Copy link
Collaborator

Choose a reason for hiding this comment

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

@tmaher I have just opened new PR to this your branch to fix this bug tmaher#1 . please check it.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks @satoryu, nice catch

@tmaher
Copy link
Collaborator Author

tmaher commented Aug 19, 2016

@satoryu - Yep, that fixed it. Sorry about that.

@jch jch merged commit 680d024 into ruby-ldap:master Aug 19, 2016
@tmaher tmaher deleted the rubocop_updates branch August 22, 2016 22:46
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Mar 20, 2017
=== 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 was referenced Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants