webdrivers 3.5.2 → 3.6.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
  SHA1:
3
- metadata.gz: 475ec1976faa9381deeb2614651829f5313bf02d
4
- data.tar.gz: f62e887edd4bef3bea7210194b4b56f393c6b361
3
+ metadata.gz: b4e55b2ef62f95d8e9ab3c2befe6db30710aeac0
4
+ data.tar.gz: e52688ba2c39015509364edc7160a1b20b38001f
5
5
  SHA512:
6
- metadata.gz: a56c66121f6281d05d3212f5aa6e1b90318113b1019c2fba81c3f63f55d0f80a762c7ab1fb1856f73bc0031241527d680c10752b3f6165be4596a5a20f1d46d0
7
- data.tar.gz: 5656e3c53207f688e75dd396ca40bbe00e37f3b2a6f90666a0f33e964f38cb054c98750ab635c1f1496a33b0135733c802cbcde0236d62053a56e22f8244d7f0
6
+ metadata.gz: 13a9d284e61305ab64766f0a34746f8dd6bf48bf164efe9cfb76497c0060d8e381f18f15e7700d89dbab9efd81635f7230e0f5b11a4da6c8bc1978bda8c1e631
7
+ data.tar.gz: bccf4adc7c5312a8bd2a560f3deb4cf1e7408e0c1e9e8187e420b813fe1847d88b70b7ce101b79761f953402e20508eb19df4376dc6c5d866e6e1c7e549c4e51
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 3.6.0 (2018-12-30)
2
+
3
+ * Put net_http_ssl_fix inside a toggle since it can cause other issues
4
+
1
5
  ### 3.5.2 (2018-12-16)
2
6
 
3
7
  * Use net_http_ssl_fix to address Net::HTTP issues on windows
data/README.md CHANGED
@@ -38,6 +38,15 @@ Webdrivers.configure do |config|
38
38
  end
39
39
  ````
40
40
 
41
+ If you are getting an error like this (especially common on Windows)
42
+ `SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed`
43
+
44
+ add the following to your code:
45
+
46
+ ````ruby
47
+ Webdrivers.net_http_ssl_fix
48
+ ````
49
+
41
50
  **Note when using Microsoft Edge**:
42
51
 
43
52
  After updating Microsoft Edge on Windows 10, you will need to delete the existing binary (`%USERPROFILE%/.webdrivers/MicrosoftWebDriver.exe`) to
data/lib/webdrivers.rb CHANGED
@@ -1,4 +1,3 @@
1
- require "net_http_ssl_fix"
2
1
  require "webdrivers/selenium"
3
2
  require "webdrivers/logger"
4
3
  require "webdrivers/common"
@@ -20,5 +19,9 @@ module Webdrivers
20
19
  def configure
21
20
  yield self
22
21
  end
22
+
23
+ def net_http_ssl_fix
24
+ require "net_http_ssl_fix"
25
+ end
23
26
  end
24
27
  end
data/webdrivers.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "webdrivers"
6
- s.version = "3.5.2"
6
+ s.version = "3.6.0"
7
7
  s.authors = ["Titus Fortner"]
8
8
  s.email = ["titusfortner@gmail.com"]
9
9
  s.homepage = "https://github.com/titusfortner/webdrivers"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webdrivers
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.2
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-16 00:00:00.000000000 Z
11
+ date: 2018-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec