capybara-webkit 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/capybara/webkit/connection.rb +1 -1
- data/lib/capybara/webkit/version.rb +1 -1
- data/spec/connection_spec.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f29fa35e8dfe96d7612ec5dba3b5dfc72c6116d7
|
4
|
+
data.tar.gz: c81ef853e098741a275e5f3162d08686d7c299f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889ae13be3485d1916ab5a43a517603a1681dc8cf04bf29bfff172342bcf109b96825e4927906b868547fcedfc212df06f4b7b7b3e07132a1cc51a40a451845d
|
7
|
+
data.tar.gz: d924b65aba22b6f83113e55879d16e9dac88a05a4d7cc81b82dab5e6a3029b0c79714ff6b30c04beb8c5b33490b2b363891a0bde19de5ef84d2550cd360fdc38
|
data/Gemfile.lock
CHANGED
@@ -113,7 +113,7 @@ module Capybara::Webkit
|
|
113
113
|
def attempt_connect
|
114
114
|
@socket = @socket_class.open("127.0.0.1", @port)
|
115
115
|
if defined?(Socket::TCP_NODELAY)
|
116
|
-
@socket.setsockopt(
|
116
|
+
@socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, true)
|
117
117
|
end
|
118
118
|
rescue Errno::ECONNREFUSED
|
119
119
|
end
|
data/spec/connection_spec.rb
CHANGED
@@ -38,7 +38,7 @@ describe Capybara::Webkit::Connection do
|
|
38
38
|
socket = stub('socket')
|
39
39
|
TCPSocket.stub(:open).and_return(socket)
|
40
40
|
if defined?(Socket::TCP_NODELAY)
|
41
|
-
socket.should_receive(:setsockopt).with(
|
41
|
+
socket.should_receive(:setsockopt).with(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, true)
|
42
42
|
else
|
43
43
|
socket.should_not_receive(:setsockopt)
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-webkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoughtbot
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2014-01-03 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: capybara
|
@@ -303,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
303
303
|
version: '0'
|
304
304
|
requirements: []
|
305
305
|
rubyforge_project:
|
306
|
-
rubygems_version: 2.
|
306
|
+
rubygems_version: 2.1.10
|
307
307
|
signing_key:
|
308
308
|
specification_version: 4
|
309
309
|
summary: Headless Webkit driver for Capybara
|
@@ -321,3 +321,4 @@ test_files:
|
|
321
321
|
- spec/self_signed_ssl_cert.rb
|
322
322
|
- spec/spec_helper.rb
|
323
323
|
- spec/support/app_runner.rb
|
324
|
+
has_rdoc:
|