Skip to content

Commit

Permalink
Replace chromedriver-helper with webdrivers
Browse files Browse the repository at this point in the history
It has been deprecated a while ago and replaced with webdrivers gem.

https://rubygems.org/gems/webdrivers

This also upgrades rack to 2.2.3 which resolves CVE-2020-8184.
  • Loading branch information
scmx authored and alex-ross committed Sep 14, 2020
1 parent c125791 commit 5c1cb96
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
22 changes: 10 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ PATH
standout-capybara (1.1.1)
capybara
capybara-screenshot
chromedriver-helper
selenium-webdriver
webdrivers

GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
archive-zip (0.12.0)
io-like (~> 0.3.0)
capybara (3.32.1)
capybara (3.33.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
Expand All @@ -26,23 +24,19 @@ GEM
capybara (>= 1.0, < 4)
launchy
childprocess (3.0.0)
chromedriver-helper (2.1.1)
archive-zip (~> 0.10)
nokogiri (~> 1.8)
diff-lcs (1.3)
io-like (0.3.1)
launchy (2.5.0)
addressable (~> 2.7)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
nokogiri (1.10.9)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
public_suffix (4.0.4)
rack (2.2.2)
public_suffix (4.0.5)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (13.0.1)
regexp_parser (1.7.0)
regexp_parser (1.7.1)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
Expand All @@ -60,6 +54,10 @@ GEM
selenium-webdriver (3.142.7)
childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2)
webdrivers (4.4.1)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (>= 3.0, < 4.0)
xpath (3.2.0)
nokogiri (~> 1.8)

Expand Down
2 changes: 1 addition & 1 deletion lib/standout/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require 'capybara'
require 'capybara-screenshot'
require 'selenium-webdriver'
require 'chromedriver-helper'
require 'webdrivers'
require 'standout/capybara/drivers/base'
require 'standout/capybara/drivers/chrome'
require 'standout/capybara/drivers/nanobox_chrome'
Expand Down
2 changes: 1 addition & 1 deletion standout-capybara.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "capybara"
spec.add_dependency "capybara-screenshot"
spec.add_dependency "selenium-webdriver"
spec.add_dependency "chromedriver-helper"
spec.add_dependency "webdrivers"

spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down

0 comments on commit 5c1cb96

Please sign in to comment.