webdrivers 3.4.0 → 3.4.1

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: 6ed0fab7a9cc03600fc8fe15e15c34b7ca3ac206
4
- data.tar.gz: 5aeb76b9a96babca62fee38da3ede1e113b72c7c
3
+ metadata.gz: c8a8de41783c070ce863ede8087b9b4a5062e869
4
+ data.tar.gz: 249875e1b9386bda1f0afa69d25024aa7bae341d
5
5
  SHA512:
6
- metadata.gz: db7200151e7343fc6ec93b0654405a4f8b40a4bcc987c625b955b1c957d72d76f05a7774012601e8fda84ab98b01d2531dda6a64a8c186d350ee483b1b1a1e60
7
- data.tar.gz: e66a2e52a69b65bf11db4f653c27123fb374bdfa7564e0779ce68e2059c959835e04061d83e5206ef86b92b032880b234cd422a9318068588860b2bfc3a8e5d0
6
+ metadata.gz: c405fe93a1482847508e884ee8c2f2ac17676145c1d5029eea7f924951d2931f2fa598c5fe01c902b0b4f6750afab4e749d4a9f4cbe541d38921ed802f4a9c57
7
+ data.tar.gz: 0f93078f5bffade49894c90accaef24e9cf7b5315c4a6491ac949d776b53a42f8e76ab4264e8ef3adeb850dfc8befc4c07b24c237ed1a29ccd513e26af855953
@@ -1,3 +1,7 @@
1
+ ### 3.4.1 (2018-09-17)
2
+
3
+ * Hardcode latest chromedriver version to 2.42 until we figure out chromedriver 70
4
+
1
5
  ### 3.4.0 (2018-09-07)
2
6
 
3
7
  * Allow public access to `#install_dir` and `#binary`
@@ -12,6 +12,14 @@ module Webdrivers
12
12
  normalize string.match(/ChromeDriver (\d\.\d+)/)[1]
13
13
  end
14
14
 
15
+ def latest
16
+ Gem::Version.new('2.42')
17
+ end
18
+
19
+ def download(version = 2.42)
20
+ super
21
+ end
22
+
15
23
  private
16
24
 
17
25
  def file_name
@@ -13,11 +13,6 @@ module Webdrivers
13
13
  normalize string.match(/IEDriverServer.exe (\d\.\d+\.\d*\.\d*)/)[1]
14
14
  end
15
15
 
16
- def latest
17
- downloads.keys.sort.last
18
- end
19
-
20
-
21
16
  private
22
17
 
23
18
  def file_name
@@ -43,7 +43,7 @@ describe Webdrivers::Chromedriver do
43
43
  context 'when offline' do
44
44
  before { allow(chromedriver).to receive(:site_available?).and_return(false) }
45
45
 
46
- it 'raises exception finding latest version' do
46
+ xit 'raises exception finding latest version' do
47
47
  expect {chromedriver.latest}.to raise_error(StandardError, "Can not download from website")
48
48
  end
49
49
 
@@ -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.4.0"
6
+ s.version = "3.4.1"
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.4.0
4
+ version: 3.4.1
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-09-07 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec