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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65888dd918f8228bfc3370c17473e1a88bc87fdc
4
- data.tar.gz: 80af5400141c0757a378744486ce1cbd5c1291ce
3
+ metadata.gz: e32a6aea7b04e41ab9bc26885196189a0a09abed
4
+ data.tar.gz: '0493cc2da6b73a8a73ca389ef10e5d5e6748f551'
5
5
  SHA512:
6
- metadata.gz: 1b4ed9babbc9114496f476b45ea420f4f50369422986947849538d341cc0830cbdea7794163913f91ab58676837b577642753a9540f4ae8cf2e40ea54fbbef4c
7
- data.tar.gz: c560154d1b0d96d8323af87a715ce98fae7f10fe3178ba85f8acb9bf9291179734af30213845ad0a9a595e92459c77b625130035bf036f0d23fe7a2f9433cf38
6
+ metadata.gz: 9d940d9c3ac8af8ae23d1ce6dda7a571a2841d98f854e8b393e6daa2f4c0c6e35728d54d297acb88a32de8085fbb2946ec6bb94a045a458e0d614a9f720bd9f6
7
+ data.tar.gz: f86a5a08083cc2b955eead1a0c2a3b5b38a106f613b228ef46f2cacf85edde389f4a54fdefa30efe06a34bf438a933d0a125db7643dd8e031888396d34bc5249
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 3.0.1 (2017-08-18)
2
+
3
+ * Create ~/.webdrivers directory if doesn't already exist
4
+
1
5
  ### 3.0.0 (2017-08-17)
2
6
 
3
7
  * Removes unnecessary downloads
@@ -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.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.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-17 00:00:00.000000000 Z
11
+ date: 2017-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec