webdriver 0.14.0 → 0.15.0
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/webdriver/connection.rb +5 -1
- data/lib/webdriver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b2f94764f4d9c27a059e38deebafc6d4732aa228c3f68b12a36b48c973e9cfe
|
4
|
+
data.tar.gz: 700681cfaef7143e609d0e317d8a61d3fd029f9c9d87b3479e114f1f3e378333
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e763599fc6ba74313a37e26b67f467604f1f80ebd6bad14b9cf749a493b95ccbe53c080edd2763143ced1c2521a224c379c7606a55f9bbfc3e6571f87a06ccae
|
7
|
+
data.tar.gz: be19445a04c75818c55d6f89fb880b835404046f50bc49e53997bf0ea3ff6fa8f9f3dd3f6d40cdb7eb33a589440b2a412872f79de9a89edbda147fc83ddd304e
|
data/Gemfile.lock
CHANGED
data/lib/webdriver/connection.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
module Webdriver
|
2
2
|
class Connection
|
3
|
-
def initialize endpoint
|
3
|
+
def initialize endpoint, open_timeout: 3, read_timeout: 5, write_timeout: 5
|
4
4
|
uri = URI(endpoint)
|
5
5
|
@http = Net::HTTP.new uri.hostname, uri.port
|
6
|
+
@http.open_timeout = open_timeout
|
7
|
+
@http.read_timeout = read_timeout
|
8
|
+
@http.write_timeout = write_timeout
|
9
|
+
|
6
10
|
@mutex = Mutex.new
|
7
11
|
end
|
8
12
|
|
data/lib/webdriver/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matti Paksula
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|