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

Improve SSHKit::Host comparison methods #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 27, 2014

  1. Improve SSHKit::Host comparison

     * #equal? should test for object identity, not whether the contents
       are equal, as per the Ruby documentation.
     * #eql? and #== should check the contents directly instead of comparing
       the hash. This prevents false positives.
    FooBarWidget committed Dec 27, 2014
    Configuration menu
    Copy the full SHA
    f2b4474 View commit details
    Browse the repository at this point in the history