webdrivers 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/webdrivers/common.rb +2 -0
- data/webdrivers.gemspec +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: e32a6aea7b04e41ab9bc26885196189a0a09abed
|
4
|
+
data.tar.gz: '0493cc2da6b73a8a73ca389ef10e5d5e6748f551'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d940d9c3ac8af8ae23d1ce6dda7a571a2841d98f854e8b393e6daa2f4c0c6e35728d54d297acb88a32de8085fbb2946ec6bb94a045a458e0d614a9f720bd9f6
|
7
|
+
data.tar.gz: f86a5a08083cc2b955eead1a0c2a3b5b38a106f613b228ef46f2cacf85edde389f4a54fdefa30efe06a34bf438a933d0a125db7643dd8e031888396d34bc5249
|
data/CHANGELOG.md
CHANGED
data/lib/webdrivers/common.rb
CHANGED
@@ -26,6 +26,7 @@ module Webdrivers
|
|
26
26
|
url = download_url(version)
|
27
27
|
filename = File.basename url
|
28
28
|
|
29
|
+
Dir.mkdir(install_dir) unless File.exists?(install_dir)
|
29
30
|
Dir.chdir install_dir do
|
30
31
|
FileUtils.rm_f filename
|
31
32
|
File.open(filename, "wb") do |saved_file|
|
@@ -60,6 +61,7 @@ module Webdrivers
|
|
60
61
|
def site_available?
|
61
62
|
true if open(base_url)
|
62
63
|
rescue
|
64
|
+
Webdrivers.logger.info "Site Not Available: #{base_url}"
|
63
65
|
false
|
64
66
|
end
|
65
67
|
|
data/webdrivers.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "webdrivers"
|
6
|
-
s.version = "3.0.
|
6
|
+
s.version = "3.0.1"
|
7
7
|
s.authors = ["Titus Fortner"]
|
8
8
|
s.email = ["titusfortner@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/titusfortner/webdrivers"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webdrivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Fortner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|