webdrivers 4.3.0 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
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.3.0
4
+ version: 4.6.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: 2020-04-15 00:00:00.000000000 Z
13
+ date: 2021-02-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi
@@ -26,20 +26,6 @@ dependencies:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '1.0'
29
- - !ruby/object:Gem::Dependency
30
- name: irb
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :development
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: '0'
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: rake
45
31
  requirement: !ruby/object:Gem::Requirement
@@ -55,47 +41,47 @@ dependencies:
55
41
  - !ruby/object:Gem::Version
56
42
  version: '12.0'
57
43
  - !ruby/object:Gem::Dependency
58
- name: reline
44
+ name: rspec
59
45
  requirement: !ruby/object:Gem::Requirement
60
46
  requirements:
61
- - - '='
47
+ - - "~>"
62
48
  - !ruby/object:Gem::Version
63
- version: 0.0.7
49
+ version: '3.0'
64
50
  type: :development
65
51
  prerelease: false
66
52
  version_requirements: !ruby/object:Gem::Requirement
67
53
  requirements:
68
- - - '='
54
+ - - "~>"
69
55
  - !ruby/object:Gem::Version
70
- version: 0.0.7
56
+ version: '3.0'
71
57
  - !ruby/object:Gem::Dependency
72
- name: rspec
58
+ name: rubocop
73
59
  requirement: !ruby/object:Gem::Requirement
74
60
  requirements:
75
61
  - - "~>"
76
62
  - !ruby/object:Gem::Version
77
- version: '3.0'
63
+ version: '0.89'
78
64
  type: :development
79
65
  prerelease: false
80
66
  version_requirements: !ruby/object:Gem::Requirement
81
67
  requirements:
82
68
  - - "~>"
83
69
  - !ruby/object:Gem::Version
84
- version: '3.0'
70
+ version: '0.89'
85
71
  - !ruby/object:Gem::Dependency
86
- name: rubocop
72
+ name: rubocop-packaging
87
73
  requirement: !ruby/object:Gem::Requirement
88
74
  requirements:
89
75
  - - "~>"
90
76
  - !ruby/object:Gem::Version
91
- version: '0.66'
77
+ version: 0.5.0
92
78
  type: :development
93
79
  prerelease: false
94
80
  version_requirements: !ruby/object:Gem::Requirement
95
81
  requirements:
96
82
  - - "~>"
97
83
  - !ruby/object:Gem::Version
98
- version: '0.66'
84
+ version: 0.5.0
99
85
  - !ruby/object:Gem::Dependency
100
86
  name: rubocop-performance
101
87
  requirement: !ruby/object:Gem::Requirement
@@ -116,14 +102,14 @@ dependencies:
116
102
  requirements:
117
103
  - - "~>"
118
104
  - !ruby/object:Gem::Version
119
- version: '1.32'
105
+ version: '1.42'
120
106
  type: :development
121
107
  prerelease: false
122
108
  version_requirements: !ruby/object:Gem::Requirement
123
109
  requirements:
124
110
  - - "~>"
125
111
  - !ruby/object:Gem::Version
126
- version: '1.32'
112
+ version: '1.42'
127
113
  - !ruby/object:Gem::Dependency
128
114
  name: simplecov
129
115
  requirement: !ruby/object:Gem::Requirement
@@ -195,17 +181,9 @@ executables: []
195
181
  extensions: []
196
182
  extra_rdoc_files: []
197
183
  files:
198
- - ".github/ISSUE_TEMPLATE.md"
199
- - ".gitignore"
200
- - ".rubocop.yml"
201
- - ".travis.yml"
202
184
  - CHANGELOG.md
203
- - Gemfile
204
185
  - LICENSE.txt
205
186
  - README.md
206
- - Rakefile
207
- - appveyor.yml
208
- - gemfiles/Gemfile.edge
209
187
  - lib/webdrivers.rb
210
188
  - lib/webdrivers/Rakefile
211
189
  - lib/webdrivers/chrome_finder.rb
@@ -231,19 +209,17 @@ files:
231
209
  - spec/webdrivers/edgedriver_spec.rb
232
210
  - spec/webdrivers/geckodriver_spec.rb
233
211
  - spec/webdrivers/i_edriver_spec.rb
212
+ - spec/webdrivers/system_spec.rb
234
213
  - spec/webdrivers/webdrivers_spec.rb
235
214
  - spec/webdrivers_proxy_support_spec.rb
236
- - support/install_jruby.ps1
237
- - support/install_msedge.ps1
238
- - webdrivers.gemspec
239
215
  homepage: https://github.com/titusfortner/webdrivers
240
216
  licenses:
241
217
  - MIT
242
218
  metadata:
243
219
  bug_tracker_uri: https://github.com/titusfortner/webdrivers/issues
244
220
  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
221
+ documentation_uri: https://www.rubydoc.info/gems/webdrivers/4.6.0
222
+ source_code_uri: https://github.com/titusfortner/webdrivers/tree/v4.6.0
247
223
  post_install_message:
248
224
  rdoc_options: []
249
225
  require_paths:
@@ -259,17 +235,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
235
  - !ruby/object:Gem::Version
260
236
  version: '0'
261
237
  requirements: []
262
- rubygems_version: 3.1.2
238
+ rubygems_version: 3.0.3
263
239
  signing_key:
264
240
  specification_version: 4
265
241
  summary: Easy download and use of browser drivers.
266
242
  test_files:
267
243
  - spec/spec_helper.rb
268
244
  - spec/webdrivers/chrome_finder_spec.rb
269
- - spec/webdrivers/chromedriver_spec.rb
270
245
  - spec/webdrivers/edge_finder_spec.rb
246
+ - spec/webdrivers/webdrivers_spec.rb
247
+ - spec/webdrivers/system_spec.rb
271
248
  - spec/webdrivers/edgedriver_spec.rb
272
- - spec/webdrivers/geckodriver_spec.rb
273
249
  - spec/webdrivers/i_edriver_spec.rb
274
- - spec/webdrivers/webdrivers_spec.rb
250
+ - spec/webdrivers/geckodriver_spec.rb
251
+ - spec/webdrivers/chromedriver_spec.rb
275
252
  - spec/webdrivers_proxy_support_spec.rb
@@ -1,16 +0,0 @@
1
- #### Summary
2
- Short summary of the bug or feature request.
3
-
4
- #### Debug Info
5
- Please provide the following information for bug reports:
6
-
7
- * Webdrivers version:
8
- * Ruby version:
9
- * Operating system / CI Environment:
10
- * Browser and version:
11
-
12
- #### Expected Behavior
13
- What you expect to happen.
14
-
15
- #### Actual Behavior
16
- What is actually happening: Error message, stack trace, DEBUG log if applicable (set `Webdrivers.logger.level = :DEBUG` after you require webdrivers)
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- *.gem
2
- .bundle
3
- Gemfile.lock
4
- pkg/*
5
- chromedriver.log
6
- /.idea/
7
- coverage/
8
- gemfiles/Gemfile.*.lock
data/.rubocop.yml DELETED
@@ -1,48 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.4.10
3
-
4
- require:
5
- - rubocop-rspec
6
- - rubocop-performance
7
-
8
- Layout/SpaceInsideHashLiteralBraces:
9
- EnforcedStyle: no_space
10
-
11
- Layout/EndOfLine:
12
- EnforcedStyle: lf
13
-
14
- Layout/LineLength:
15
- Max: 120
16
- IgnoredPatterns:
17
- - '\s+# rubocop:disable'
18
-
19
- Metrics/MethodLength:
20
- Max: 20
21
-
22
- Metrics/BlockLength:
23
- Exclude:
24
- - 'spec/**/*'
25
- - 'lib/webdrivers/tasks/*.rake'
26
- - 'webdrivers.gemspec'
27
-
28
- Metrics/ClassLength:
29
- Max: 116
30
- Exclude:
31
- - 'lib/webdrivers/system.rb'
32
-
33
- Metrics/CyclomaticComplexity:
34
- Max: 8
35
-
36
- Metrics/AbcSize:
37
- Max: 16
38
- Exclude:
39
- - 'lib/webdrivers/chromedriver.rb'
40
-
41
- Style/Documentation:
42
- Enabled: false
43
-
44
- RSpec/ExampleLength:
45
- Enabled: false
46
-
47
- RSpec/MultipleExpectations:
48
- Enabled: false
data/.travis.yml DELETED
@@ -1,41 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- addons:
4
- apt:
5
- packages:
6
- - chromium-browser
7
- - libgconf-2-4
8
- chrome: stable
9
- script: bundle exec rake $RAKE_TASK
10
- before_install:
11
- - gem update --system
12
- - gem update bundler
13
- matrix:
14
- include:
15
- - rvm: 2.6.6
16
- env: RAKE_TASK=spec
17
- - rvm: 2.5.8
18
- env: RAKE_TASK=spec
19
- - rvm: 2.4.10
20
- env: RAKE_TASK=spec
21
- - rvm: 2.7.1
22
- os: osx
23
- env: RAKE_TASK=spec
24
- - rvm: 2.5.8
25
- env: RAKE_TASK=rubocop
26
- - rvm: jruby-9.2.11.1
27
- jdk: openjdk8
28
- env: RAKE_TASK=spec
29
- - rvm: 2.7.1
30
- env: RAKE_TASK=spec
31
- gemfile: gemfiles/Gemfile.edge
32
- os: osx
33
- osx_image: xcode11.3
34
- addons:
35
- chrome: stable
36
- homebrew:
37
- taps: homebrew/cask-versions
38
- casks:
39
- - microsoft-edge
40
- allow_failures:
41
- - gemfile: gemfiles/Gemfile.edge
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in webdrivers.gemspec
6
- gemspec
data/Rakefile DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
- require 'rubocop/rake_task'
6
-
7
- RuboCop::RakeTask.new
8
-
9
- RSpec::Core::RakeTask.new(:spec)
10
-
11
- task default: %i[rubocop spec]
data/appveyor.yml DELETED
@@ -1,45 +0,0 @@
1
- build: off
2
- cache:
3
- - vendor/bundle
4
- image:
5
- - Visual Studio 2017
6
- environment:
7
- matrix:
8
- - RUBY_VERSION: Ruby24
9
- RUBY_BIN: ruby
10
- RAKE_TASK: spec
11
- SCRIPT_CONTEXT: bundle exec
12
- - RUBY_VERSION: Ruby24
13
- RUBY_BIN: ruby
14
- RAKE_TASK: rubocop
15
- SCRIPT_CONTEXT: bundle exec
16
- - RUBY_VERSION: Ruby25
17
- RUBY_BIN: ruby
18
- RAKE_TASK: spec
19
- SCRIPT_CONTEXT: bundle exec
20
- - RUBY_VERSION: Ruby26
21
- RUBY_BIN: ruby
22
- RAKE_TASK: spec
23
- SCRIPT_CONTEXT: bundle exec
24
- - RUBY_VERSION: jruby-9.2.11.1
25
- RUBY_BIN: jruby
26
- RAKE_TASK: spec
27
- SCRIPT_CONTEXT: jruby -G -S
28
- - RUBY_VERSION: Ruby26
29
- RUBY_BIN: ruby
30
- RAKE_TASK: spec
31
- SCRIPT_CONTEXT: bundle exec
32
- BUNDLE_GEMFILE: gemfiles/Gemfile.edge
33
- install:
34
- - ps: if ($env:RUBY_BIN -eq 'jruby') { support\install_jruby.ps1 }
35
- - ps: support\install_msedge.ps1
36
- - set PATH=C:\%RUBY_VERSION%\bin;%PATH%
37
- - '%RUBY_BIN% -S gem update --system'
38
- - '%RUBY_BIN% -S gem install bundler'
39
- - '%RUBY_BIN% -S bundle install'
40
- before_test:
41
- - '%RUBY_BIN% -v'
42
- - '%RUBY_BIN% -S gem -v'
43
- - '%RUBY_BIN% -S bundle -v'
44
- test_script:
45
- - '%SCRIPT_CONTEXT% rake %RAKE_TASK%'
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in webdrivers.gemspec
6
- gemspec path: '..'
7
- gem 'selenium-webdriver', github: 'seleniumhq/selenium', glob: 'rb/*.gemspec'
@@ -1,7 +0,0 @@
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
-
4
- Write-Host "Installing $($env:RUBY_VERSION)" -ForegroundColor cyan
5
- appveyor DownloadFile "$($downloadLink)" -FileName "$($zipPath)"
6
- 7z x "$($zipPath)" -oc:\ -y # Unzip to c:\
7
- Write-Host "JRuby installed.`n" -ForegroundColor green
@@ -1,11 +0,0 @@
1
- $downloadLink = "https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en"
2
- $installerFile = "C:\MicrosoftEdgeSetup.exe"
3
-
4
- # Note: We're purposely skipping the -Wait flag in Start-Process.
5
- # This is because Edge auto-launches after the setup is done and
6
- # Start-Process continues to indefinitely wait on that process.
7
- Write-Host "Downloading Microsoft Edge (Stable)..." -ForegroundColor cyan
8
- Invoke-WebRequest $downloadLink -OutFile $installerFile
9
- Write-Host "Installing..." -ForegroundColor cyan
10
- Start-Process $installerFile
11
- Write-Host "Microsoft Edge (Stable) installed.`n" -ForegroundColor green
data/webdrivers.gemspec DELETED
@@ -1,43 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
5
- require 'webdrivers/version'
6
-
7
- Gem::Specification.new do |s|
8
- s.name = 'webdrivers'
9
- s.version = Webdrivers::VERSION
10
- s.required_ruby_version = '>= 2.4.0'
11
- s.authors = ['Titus Fortner', 'Lakshya Kapoor', 'Thomas Walpole']
12
- s.email = %w[titusfortner@gmail.com kapoorlakshya@gmail.com]
13
- s.homepage = 'https://github.com/titusfortner/webdrivers'
14
- s.summary = 'Easy download and use of browser drivers.'
15
- s.description = 'Run Selenium tests more easily with install and updates for all supported webdrivers.'
16
- s.licenses = ['MIT']
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
-
25
- s.files = `git ls-files`.split("\n")
26
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
27
- s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
28
- s.require_paths = ['lib']
29
-
30
- s.add_development_dependency 'ffi', '~> 1.0' # For selenium-webdriver on Windows
31
- s.add_development_dependency 'irb'
32
- s.add_development_dependency 'rake', '~> 12.0'
33
- s.add_development_dependency 'reline', '0.0.7' # Required by irb, and newer versions don't work on JRuby
34
- s.add_development_dependency 'rspec', '~> 3.0'
35
- s.add_development_dependency 'rubocop', '~>0.66'
36
- s.add_development_dependency 'rubocop-performance'
37
- s.add_development_dependency 'rubocop-rspec', '~>1.32'
38
- s.add_development_dependency 'simplecov', '~>0.16'
39
-
40
- s.add_runtime_dependency 'nokogiri', '~> 1.6'
41
- s.add_runtime_dependency 'rubyzip', '>= 1.3.0'
42
- s.add_runtime_dependency 'selenium-webdriver', '>= 3.0', '< 4.0'
43
- end