webdrivers 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -2
- data/.travis.yml +8 -8
- data/CHANGELOG.md +4 -0
- data/appveyor.yml +1 -1
- data/lib/webdrivers/edge_finder.rb +2 -1
- data/lib/webdrivers/version.rb +1 -1
- data/support/install_jruby.ps1 +2 -2
- data/support/install_msedge.ps1 +6 -6
- data/webdrivers.gemspec +8 -0
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e86077048e7e1b3964de41e0ba03070ecfea8e7986d50e68cc73b7cff76952f
|
4
|
+
data.tar.gz: df0102ad80dde4b510aaed556bc0f9e051071facb90cbb2a10f07603fb821b97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac483fc5a321ca34ea3cdeb3b49f79019d678345173c851a41743c7eadb930a2197530b6a15a5e54fa1369771c256c51091c34f83f3c219dcf16ea3424dc6b9c
|
7
|
+
data.tar.gz: 8c8601233191ba088aed9637de67bfe4fe766517442b30d9f26bfd696a13bd95734ca62aefc69f67a2810820d1b973b2d957db526a046133cdcaebd330cdbf62
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.4.
|
2
|
+
TargetRubyVersion: 2.4.10
|
3
3
|
|
4
4
|
require:
|
5
5
|
- rubocop-rspec
|
@@ -11,7 +11,7 @@ Layout/SpaceInsideHashLiteralBraces:
|
|
11
11
|
Layout/EndOfLine:
|
12
12
|
EnforcedStyle: lf
|
13
13
|
|
14
|
-
|
14
|
+
Layout/LineLength:
|
15
15
|
Max: 120
|
16
16
|
IgnoredPatterns:
|
17
17
|
- '\s+# rubocop:disable'
|
@@ -23,6 +23,7 @@ Metrics/BlockLength:
|
|
23
23
|
Exclude:
|
24
24
|
- 'spec/**/*'
|
25
25
|
- 'lib/webdrivers/tasks/*.rake'
|
26
|
+
- 'webdrivers.gemspec'
|
26
27
|
|
27
28
|
Metrics/ClassLength:
|
28
29
|
Max: 116
|
data/.travis.yml
CHANGED
@@ -12,21 +12,21 @@ before_install:
|
|
12
12
|
- gem update bundler
|
13
13
|
matrix:
|
14
14
|
include:
|
15
|
-
- rvm: 2.6.
|
15
|
+
- rvm: 2.6.6
|
16
16
|
env: RAKE_TASK=spec
|
17
|
-
- rvm: 2.5.
|
17
|
+
- rvm: 2.5.8
|
18
18
|
env: RAKE_TASK=spec
|
19
|
-
- rvm: 2.4.
|
19
|
+
- rvm: 2.4.10
|
20
20
|
env: RAKE_TASK=spec
|
21
|
-
- rvm: 2.
|
21
|
+
- rvm: 2.7.1
|
22
22
|
os: osx
|
23
23
|
env: RAKE_TASK=spec
|
24
|
-
- rvm: 2.
|
24
|
+
- rvm: 2.5.8
|
25
25
|
env: RAKE_TASK=rubocop
|
26
|
-
- rvm: jruby-9.2.
|
26
|
+
- rvm: jruby-9.2.11.1
|
27
27
|
jdk: openjdk8
|
28
28
|
env: RAKE_TASK=spec
|
29
|
-
- rvm: 2.7
|
29
|
+
- rvm: 2.7.1
|
30
30
|
env: RAKE_TASK=spec
|
31
31
|
gemfile: gemfiles/Gemfile.edge
|
32
32
|
os: osx
|
@@ -36,6 +36,6 @@ matrix:
|
|
36
36
|
homebrew:
|
37
37
|
taps: homebrew/cask-versions
|
38
38
|
casks:
|
39
|
-
- microsoft-edge
|
39
|
+
- microsoft-edge
|
40
40
|
allow_failures:
|
41
41
|
- gemfile: gemfiles/Gemfile.edge
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 4.3.0 (2020-04-14)
|
2
|
+
* Add support for Microsoft Edge (Chromium) stable
|
3
|
+
* Drop support for Ruby < 2.4.0
|
4
|
+
|
1
5
|
### 4.2.0 (2019-12-27)
|
2
6
|
* Add support for Microsoft Edge (Chromium) Beta releases ([#155](https://github.com/titusfortner/webdrivers/pull/155))
|
3
7
|
* Use tilde expansion to resolve user's home directory ([#166](https://github.com/titusfortner/webdrivers/pull/161))
|
data/appveyor.yml
CHANGED
@@ -37,7 +37,8 @@ module Webdrivers
|
|
37
37
|
|
38
38
|
def win_location
|
39
39
|
envs = %w[LOCALAPPDATA PROGRAMFILES PROGRAMFILES(X86)]
|
40
|
-
directories = ['\\Microsoft\\Edge
|
40
|
+
directories = ['\\Microsoft\\Edge\\Application',
|
41
|
+
'\\Microsoft\\Edge Beta\\Application',
|
41
42
|
'\\Microsoft\\Edge Dev\\Application',
|
42
43
|
'\\Microsoft\\Edge SxS\\Application']
|
43
44
|
file = 'msedge.exe'
|
data/lib/webdrivers/version.rb
CHANGED
data/support/install_jruby.ps1
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
$downloadLink = "https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.
|
2
|
-
$zipPath = "c:\jruby-dist-9.2.
|
1
|
+
$downloadLink = "https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.11.1/jruby-dist-9.2.11.1-bin.zip"
|
2
|
+
$zipPath = "c:\jruby-dist-9.2.11.1-bin.zip"
|
3
3
|
|
4
4
|
Write-Host "Installing $($env:RUBY_VERSION)" -ForegroundColor cyan
|
5
5
|
appveyor DownloadFile "$($downloadLink)" -FileName "$($zipPath)"
|
data/support/install_msedge.ps1
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
$
|
2
|
-
$
|
1
|
+
$downloadLink = "https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en"
|
2
|
+
$installerFile = "C:\MicrosoftEdgeSetup.exe"
|
3
3
|
|
4
4
|
# Note: We're purposely skipping the -Wait flag in Start-Process.
|
5
5
|
# This is because Edge auto-launches after the setup is done and
|
6
6
|
# Start-Process continues to indefinitely wait on that process.
|
7
|
-
Write-Host "Downloading Microsoft Edge (
|
8
|
-
Invoke-WebRequest $
|
7
|
+
Write-Host "Downloading Microsoft Edge (Stable)..." -ForegroundColor cyan
|
8
|
+
Invoke-WebRequest $downloadLink -OutFile $installerFile
|
9
9
|
Write-Host "Installing..." -ForegroundColor cyan
|
10
|
-
Start-Process $
|
11
|
-
Write-Host "Microsoft Edge (
|
10
|
+
Start-Process $installerFile
|
11
|
+
Write-Host "Microsoft Edge (Stable) installed.`n" -ForegroundColor green
|
data/webdrivers.gemspec
CHANGED
@@ -7,6 +7,7 @@ require 'webdrivers/version'
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = 'webdrivers'
|
9
9
|
s.version = Webdrivers::VERSION
|
10
|
+
s.required_ruby_version = '>= 2.4.0'
|
10
11
|
s.authors = ['Titus Fortner', 'Lakshya Kapoor', 'Thomas Walpole']
|
11
12
|
s.email = %w[titusfortner@gmail.com kapoorlakshya@gmail.com]
|
12
13
|
s.homepage = 'https://github.com/titusfortner/webdrivers'
|
@@ -14,6 +15,13 @@ Gem::Specification.new do |s|
|
|
14
15
|
s.description = 'Run Selenium tests more easily with install and updates for all supported webdrivers.'
|
15
16
|
s.licenses = ['MIT']
|
16
17
|
|
18
|
+
s.metadata = {
|
19
|
+
'bug_tracker_uri' => 'https://github.com/titusfortner/webdrivers/issues',
|
20
|
+
'changelog_uri' => 'https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md',
|
21
|
+
'documentation_uri' => "https://www.rubydoc.info/gems/webdrivers/#{Webdrivers::VERSION}",
|
22
|
+
'source_code_uri' => "https://github.com/titusfortner/webdrivers/tree/v#{Webdrivers::VERSION}"
|
23
|
+
}
|
24
|
+
|
17
25
|
s.files = `git ls-files`.split("\n")
|
18
26
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
27
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webdrivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Fortner
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ffi
|
@@ -239,7 +239,11 @@ files:
|
|
239
239
|
homepage: https://github.com/titusfortner/webdrivers
|
240
240
|
licenses:
|
241
241
|
- MIT
|
242
|
-
metadata:
|
242
|
+
metadata:
|
243
|
+
bug_tracker_uri: https://github.com/titusfortner/webdrivers/issues
|
244
|
+
changelog_uri: https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md
|
245
|
+
documentation_uri: https://www.rubydoc.info/gems/webdrivers/4.3.0
|
246
|
+
source_code_uri: https://github.com/titusfortner/webdrivers/tree/v4.3.0
|
243
247
|
post_install_message:
|
244
248
|
rdoc_options: []
|
245
249
|
require_paths:
|
@@ -248,7 +252,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
248
252
|
requirements:
|
249
253
|
- - ">="
|
250
254
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
255
|
+
version: 2.4.0
|
252
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
257
|
requirements:
|
254
258
|
- - ">="
|