ikm-chromedriver-helper 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ikm-chromedriver-helper.gemspec +1 -0
- data/lib/chromedriver/helper.rb +2 -1
- data/lib/chromedriver/helper/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59f10284be5ffbe0706170f875fc2888e88acffb
|
4
|
+
data.tar.gz: 4cb36e09b86af3acf15c840dc1076eac6bb9b95c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 367c089713bf8b76c4b38b20ae4ffd5d21c7c87a55ea7f410b5e18c489a6addc439918e350b1caba2fec49a3b53a5aa832e141af59144519c5794a8ceee175f1
|
7
|
+
data.tar.gz: 363c71c828de190d7108d433c2a0dab4034a05427f7049bd9b0f436d6175a092cdf65105d469277069f63ce21e6b05f55b5b7ab30db7570de652c68f51c950b3
|
data/lib/chromedriver/helper.rb
CHANGED
@@ -2,6 +2,7 @@ require "chromedriver/helper/version"
|
|
2
2
|
require "chromedriver/helper/google_code_parser"
|
3
3
|
require 'fileutils'
|
4
4
|
require 'rbconfig'
|
5
|
+
require 'download'
|
5
6
|
|
6
7
|
module Chromedriver
|
7
8
|
class Helper
|
@@ -17,7 +18,7 @@ module Chromedriver
|
|
17
18
|
filename = File.basename url
|
18
19
|
Dir.chdir platform_install_dir do
|
19
20
|
system "rm #{filename}" if File.exists? filename
|
20
|
-
|
21
|
+
Download.file url, filename
|
21
22
|
raise "Could not download #{url}" unless File.exists? filename
|
22
23
|
system "unzip -o #{filename}"
|
23
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: download
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: Easy installation and use of chromedriver, the Chromium project's selenium
|
70
84
|
webdriver adapter. Forked from chromedriver-helper.
|
71
85
|
email:
|