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 +4 -4
- data/lib/chromedriver_update/version.rb +1 -1
- data/lib/chromedriver_update.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c884f0ee244e14fff32d0e7247c4d45964a900e7793d1759a454e2f6b6b9479a
|
4
|
+
data.tar.gz: b2dd4b60392c743c87cded44de9c33d7a3ffd0578c326d1caf8f14949188b709
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b81f119ed0595efc509491d32240a1c31f70608e079eeb9dce3b6380451a04688a4b0645b4c01ed3469fddcb59b89dd8e73ec2ceac4f67412ff3d658fe4d34d9
|
7
|
+
data.tar.gz: f04d7088733b286f5d0dd6e7aa9039fb3019fc454134a7055b82cc69be7db692445585ef1c8626803d664c00d5078772db2a8b2b85f5a65e88751dec4505e9b6
|
data/lib/chromedriver_update.rb
CHANGED
@@ -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"))
|