Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added an optional "options" argument to test socket open method, as the ... #149

Merged
merged 1 commit into from

2 participants

@jefmathiot

...transport session use it with three arguments. Test socket worked with 2.7.0 version but failed with 2.8.0.

@jefmathiot

I could not find any test for the "test" implementation so there is no test updates in the PR.

@delano delano merged commit b2b25e6 into net-ssh:master
@delano
Collaborator

Thanks. This will will be in the 2.8.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 21, 2014
  1. @jefmathiot

    Added an optional "options" argument to test socket open method, as t…

    jefmathiot authored
    …he transport session use it with three arguments.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/net/ssh/test/socket.rb
View
2  lib/net/ssh/test/socket.rb
@@ -39,7 +39,7 @@ def write(data)
# Allows the socket to also mimic a socket factory, simply returning
# +self+.
- def open(host, port)
+ def open(host, port, options={})
@host, @port = host, port
self
end
Something went wrong with that request. Please try again.