chromedriver_update 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 04a4622ec34d79f073ced2fe22dd338254dbafe2b45298fbb6b8fdfca7f21a9d
4
- data.tar.gz: c6204961bdb9f72f32004f4bb297e726bc29918a08cb009180792ead9ff70bbd
3
+ metadata.gz: c884f0ee244e14fff32d0e7247c4d45964a900e7793d1759a454e2f6b6b9479a
4
+ data.tar.gz: b2dd4b60392c743c87cded44de9c33d7a3ffd0578c326d1caf8f14949188b709
5
5
  SHA512:
6
- metadata.gz: 3f6283ebe5be5e92293eb9e63ddcc081d8e9eb666f42d8590ae9af4d045bad321ceaf271e41c07c47476d0b79df86a70df69976d3d68ade6e3ad4d902391bdf9
7
- data.tar.gz: ad585cdbeb39dc74e3ab4ed710957804bf62a7d73692ff4f187e9cad788b95d819d1c9ca12be71c47183ef606dba8e607f155806e8253e9abb27fe26cb493063
6
+ metadata.gz: b81f119ed0595efc509491d32240a1c31f70608e079eeb9dce3b6380451a04688a4b0645b4c01ed3469fddcb59b89dd8e73ec2ceac4f67412ff3d658fe4d34d9
7
+ data.tar.gz: f04d7088733b286f5d0dd6e7aa9039fb3019fc454134a7055b82cc69be7db692445585ef1c8626803d664c00d5078772db2a8b2b85f5a65e88751dec4505e9b6
@@ -1,3 +1,3 @@
1
1
  class ChromedriverUpdate
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
@@ -24,6 +24,7 @@ class ChromedriverUpdate
24
24
  chromedriver_zip = HTTParty.get(chromedriver_closest_link_for_version(installed_chrome_version))
25
25
  end
26
26
  destination_dir = File.expand_path(File.dirname(__FILE__) + "/../tmp")
27
+ FileUtils.mkdir_p destination_dir
27
28
  Zip::File.open_buffer(chromedriver_zip.body) do |zip_files|
28
29
  zip_files.each do |entry|
29
30
  if (entry.name.end_with?("/chromedriver") || entry.name.end_with?("/chromedriver.exe"))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chromedriver_update
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthäus Beyrle