webdrivers 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fac06602fcff05585f6d938c97929a997965ce587d40fab35c319fbd1f199b16
4
- data.tar.gz: cb7dc89fed860e1c900b1593a98743ffc2f43b31f5d4608e6d86e04a70e10db4
3
+ metadata.gz: 4e86077048e7e1b3964de41e0ba03070ecfea8e7986d50e68cc73b7cff76952f
4
+ data.tar.gz: df0102ad80dde4b510aaed556bc0f9e051071facb90cbb2a10f07603fb821b97
5
5
  SHA512:
6
- metadata.gz: 4c331e0e6b99c41b6285f58f6aa1245edc251832f1e6edb5ce2c6b0fca469d31b3b9431f65c220195b2630264a87d3b91e6f7a1d820fa79e3093f1b3c50f3b21
7
- data.tar.gz: 341df4de8de5bf6e67784dfc3a74b445c0ea1f3fdfda47f84744a69ac5a3828762926aeff8393d3d6017160ba9d9fbbc51f4b533573992f85a4c94ad4771dc5a
6
+ metadata.gz: ac483fc5a321ca34ea3cdeb3b49f79019d678345173c851a41743c7eadb930a2197530b6a15a5e54fa1369771c256c51091c34f83f3c219dcf16ea3424dc6b9c
7
+ data.tar.gz: 8c8601233191ba088aed9637de67bfe4fe766517442b30d9f26bfd696a13bd95734ca62aefc69f67a2810820d1b973b2d957db526a046133cdcaebd330cdbf62
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.4.6
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
- Metrics/LineLength:
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
@@ -12,21 +12,21 @@ before_install:
12
12
  - gem update bundler
13
13
  matrix:
14
14
  include:
15
- - rvm: 2.6.3
15
+ - rvm: 2.6.6
16
16
  env: RAKE_TASK=spec
17
- - rvm: 2.5.5
17
+ - rvm: 2.5.8
18
18
  env: RAKE_TASK=spec
19
- - rvm: 2.4.6
19
+ - rvm: 2.4.10
20
20
  env: RAKE_TASK=spec
21
- - rvm: 2.4.6
21
+ - rvm: 2.7.1
22
22
  os: osx
23
23
  env: RAKE_TASK=spec
24
- - rvm: 2.4.6
24
+ - rvm: 2.5.8
25
25
  env: RAKE_TASK=rubocop
26
- - rvm: jruby-9.2.9.0
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-beta
39
+ - microsoft-edge
40
40
  allow_failures:
41
41
  - gemfile: gemfiles/Gemfile.edge
@@ -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))
@@ -21,7 +21,7 @@ environment:
21
21
  RUBY_BIN: ruby
22
22
  RAKE_TASK: spec
23
23
  SCRIPT_CONTEXT: bundle exec
24
- - RUBY_VERSION: jruby-9.2.9.0
24
+ - RUBY_VERSION: jruby-9.2.11.1
25
25
  RUBY_BIN: jruby
26
26
  RAKE_TASK: spec
27
27
  SCRIPT_CONTEXT: jruby -G -S
@@ -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 Beta\\Application',
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'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Webdrivers
4
- VERSION = '4.2.0'
4
+ VERSION = '4.3.0'
5
5
  end
@@ -1,5 +1,5 @@
1
- $downloadLink = "https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.9.0/jruby-dist-9.2.9.0-bin.zip"
2
- $zipPath = "c:\jruby-dist-9.2.9.0-bin.zip"
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)"
@@ -1,11 +1,11 @@
1
- $downloadBetaLink = "https://go.microsoft.com/fwlink/?linkid=2069324&Channel=Dev&language=en-us&Consent=0&IID=85213fc4-6a13-57ae-9082-72910982ede8"
2
- $betaSetup = "C:\MicrosoftEdgeSetupBeta.exe"
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 (Beta)..." -ForegroundColor cyan
8
- Invoke-WebRequest $downloadBetaLink -OutFile $betaSetup
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 $betaSetup
11
- Write-Host "Microsoft Edge (Beta) installed.`n" -ForegroundColor green
10
+ Start-Process $installerFile
11
+ Write-Host "Microsoft Edge (Stable) installed.`n" -ForegroundColor green
@@ -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.2.0
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: 2019-12-27 00:00:00.000000000 Z
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: '0'
255
+ version: 2.4.0
252
256
  required_rubygems_version: !ruby/object:Gem::Requirement
253
257
  requirements:
254
258
  - - ">="