openbsd-ports/www/ruby-capybara-webkit/patches/patch-lib_capybara_webkit_connection_rb
jeremy bcf7f5cd52 Add ruby-capybara-webkit-0.13.0
A capybara driver that uses WebKit via QtWebKit.

OK sthen@
2012-12-20 16:22:28 +00:00

13 lines
478 B
Plaintext

$OpenBSD: patch-lib_capybara_webkit_connection_rb,v 1.1.1.1 2012/12/20 16:22:28 jeremy Exp $
--- lib/capybara/webkit/connection.rb.orig Wed Nov 28 17:00:38 2012
+++ lib/capybara/webkit/connection.rb Wed Nov 28 17:00:40 2012
@@ -115,7 +115,7 @@ module Capybara::Webkit
if defined?(Socket::TCP_NODELAY)
@socket.setsockopt(:IPPROTO_TCP, :TCP_NODELAY, 1)
end
- rescue Errno::ECONNREFUSED
+ rescue Errno::ECONNREFUSED, Errno::EINVAL
end
end
end