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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87f477a3a44d441f4dcf3dc63299d41e0048ef0dfafb444af95bef91449ea409
4
- data.tar.gz: 738fd35129209fa04c78ac8931dfd2bd4fd6a8aceb5f27be5f54a042a90173d6
3
+ metadata.gz: 8b2f94764f4d9c27a059e38deebafc6d4732aa228c3f68b12a36b48c973e9cfe
4
+ data.tar.gz: 700681cfaef7143e609d0e317d8a61d3fd029f9c9d87b3479e114f1f3e378333
5
5
  SHA512:
6
- metadata.gz: f3f51e54449851f554bf0bb84f020733f6313bf452065e467431e7f2980b37346e056cc1e05f79e7920a752cf1688fbbe716a5074bc842c62376c2bbe5ec3e4d
7
- data.tar.gz: 98b70012361723d8a7fac8d4efd3bb316a2efbfadc20e688c7e3bd2a5cc51c27d28d1254c962fc4f618ebc5600d774bc9642b7743e72f3c8395f62110ab2fb72
6
+ metadata.gz: e763599fc6ba74313a37e26b67f467604f1f80ebd6bad14b9cf749a493b95ccbe53c080edd2763143ced1c2521a224c379c7606a55f9bbfc3e6571f87a06ccae
7
+ data.tar.gz: be19445a04c75818c55d6f89fb880b835404046f50bc49e53997bf0ea3ff6fa8f9f3dd3f6d40cdb7eb33a589440b2a412872f79de9a89edbda147fc83ddd304e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webdriver (0.14.0)
4
+ webdriver (0.15.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Webdriver
2
- VERSION = "0.14.0"
2
+ VERSION = "0.15.0"
3
3
  end
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.14.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-22 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler