lib/net/ssh/authentication/agent/java_pageant.rb in net-ssh-4.0.0.alpha3 vs lib/net/ssh/authentication/agent/java_pageant.rb in net-ssh-4.0.0.alpha4
- old
+ new
@@ -17,10 +17,10 @@
attr_accessor :comment
end
# Instantiates a new agent object, connects to a running SSH agent,
# negotiates the agent protocol version, and returns the agent object.
- def self.connect(logger=nil)
+ def self.connect(logger=nil, agent_socket_factory)
agent = new(logger)
agent.connect!
agent
end