Skip to content

Rebase #168: Connection#unescape handles numerics, #search guards against nil queued_reads #184

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

Merged
merged 5 commits into from
Jan 8, 2015

Conversation

jch
Copy link
Member

@jch jch commented Jan 7, 2015

See #168 for background and feedback.

  * Connection#search now does more graceful nil-checking in its ensure clause, reducing cryptic crash messages
  * Filter class methods should now be able to gracefully accept numeric literals as filter rhs values
…' into rebase-168-nil-guard-numeric-unescape
@jch
Copy link
Member Author

jch commented Jan 7, 2015

@mtodd I think I've addressed all of your feedback in #168, could you look over this one more time?

@jch jch mentioned this pull request Jan 7, 2015
# clean up message queue for this search
messages = message_queue.delete(message_id)

# in the exceptional case some messages were *not* consumed from the queue,
# instrument the event but do not fail.
unless messages.empty?
if !messages.nil? && !messages.empty?
Copy link
Member

Choose a reason for hiding this comment

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

👌

@mtodd
Copy link
Member

mtodd commented Jan 7, 2015

Looks good! :shipit:

jch added a commit that referenced this pull request Jan 8, 2015
…nescape

Rebase #168: Connection#unescape handles numerics, #search guards against nil queued_reads
@jch jch merged commit 59d8ae9 into master Jan 8, 2015
@jch jch deleted the rebase-168-nil-guard-numeric-unescape branch January 8, 2015 18:59
@jch jch mentioned this pull request Jan 21, 2015
astratto pushed a commit to astratto/ruby-net-ldap that referenced this pull request Dec 18, 2015
…numeric-unescape

Rebase ruby-ldap#168: Connection#unescape handles numerics, #search guards against nil queued_reads
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.

3 participants