ikm-chromedriver-helper 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chromedriver/helper/version.rb +1 -1
- data/lib/chromedriver/helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a61bdbbd1f0835ac63b664a67950adf69ade6f5
|
4
|
+
data.tar.gz: 7c85f6f36afdf958b833d4f18bb3caa79219bad9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0319377ff3681e2285fb702d4a9dae83cf2f44252e5bfb232542834460b6410b07e838882c6b440ca9596d63e471899540319ba80e7cdb6fb01e140e69d06004
|
7
|
+
data.tar.gz: b52a23df4e50fd09790b4d7e79bbab0f6049bc94b32327eec728198f4049688736d2b0b04b166eff6f70e2366c1a7b3e7df39b763221ab510d598ed37f3aa674
|
data/lib/chromedriver/helper.rb
CHANGED
@@ -16,7 +16,7 @@ module Chromedriver
|
|
16
16
|
url = download_url
|
17
17
|
filename = File.basename url
|
18
18
|
Dir.chdir platform_install_dir do
|
19
|
-
system "rm #{filename}"
|
19
|
+
system "rm #{filename}" if File.exists? filename
|
20
20
|
system("wget -c -O #{filename} #{url}") || system("curl -C - -o #{filename} #{url}")
|
21
21
|
raise "Could not download #{url}" unless File.exists? filename
|
22
22
|
system "unzip -o #{filename}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ikm-chromedriver-helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|