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

Rubocop style fixes #249

Merged
merged 6 commits into from
Jan 12, 2016
Merged

Rubocop style fixes #249

merged 6 commits into from
Jan 12, 2016

Conversation

jch
Copy link
Member

@jch jch commented Jan 8, 2016

This PR fixes several:

  • multi line blocks with do end instead of braces
  • trailing underscore in multi assignment

I've added a few explicit exceptions for the project, and regenerated the .rubocop_todo.yml by running:

$ rubocop --auto-gen

Feel free to pick up and try to clean any of these up. If you have questions about whether we want to follow a certain style, open an issue and we can discuss.

cc @mynameisrufus since you added the gem originally
cc @satoryu

@mynameisrufus
Copy link
Contributor

@jch sure thing I will start picking them (the uncontroversial ones) off.

@jch
Copy link
Member Author

jch commented Jan 10, 2016

@mynameisrufus thanks! If you could open them in separate PR's, one per style adjustment, that would make it easier to review and discuss.

@mynameisrufus
Copy link
Contributor

Just to jog your memory, at the time it was added it was removed from the build. Maybe consider adding it in again https://github.com/ruby-ldap/ruby-net-ldap/blob/master/Rakefile#L18

jch added a commit that referenced this pull request Jan 12, 2016
@jch jch merged commit 0573342 into master Jan 12, 2016
@jch jch deleted the rubocop-fixes branch January 12, 2016 05:41
@jch jch mentioned this pull request Jan 12, 2016
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Mar 16, 2016
=== Net::LDAP 0.14.0

* Normalize the encryption parameter passed to the LDAP constructor {#264}[ruby-ldap/ruby-net-ldap#264]
* Update Docs: Net::LDAP now requires ruby >= 2 {#261}[ruby-ldap/ruby-net-ldap#261]
* fix symbol proc {#255}[ruby-ldap/ruby-net-ldap#255]
* fix trailing commas {#256}[ruby-ldap/ruby-net-ldap#256]
* fix deprecated hash methods {#254}[ruby-ldap/ruby-net-ldap#254]
* fix space after comma {#253}[ruby-ldap/ruby-net-ldap#253]
* fix space inside brackets {#252}[ruby-ldap/ruby-net-ldap#252]
* Rubocop style fixes {#249}[ruby-ldap/ruby-net-ldap#249]
* Lazy initialize Net::LDAP::Connection's internal socket {#235}[ruby-ldap/ruby-net-ldap#235]
* Support for rfc3062 Password Modify, closes #163 {#178}[ruby-ldap/ruby-net-ldap#178]
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.

2 participants