This repository has been archived by the owner on Apr 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
chromedriver-helper.gemspec
47 lines (39 loc) · 1.82 KB
/
chromedriver-helper.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "chromedriver/helper/version"
def windows?
RbConfig::CONFIG["target_os"] =~ /mingw32|mswin/
end
Gem::Specification.new do |s|
s.name = "chromedriver-helper"
s.version = Chromedriver::Helper::VERSION
s.authors = ["Mike Dalessio"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/flavorjones/chromedriver-helper"
s.summary = "Deprecated in favor of the 'webdrivers' gem."
s.description = "Deprecated in favor of the 'webdrivers' gem as of 2019-03-31. See https://github.com/flavorjones/chromedriver-helper/issues/83"
s.licenses = ["MIT"]
s.post_install_message = <<EOM
+--------------------------------------------------------------------+
| |
| NOTICE: chromedriver-helper is deprecated after 2019-03-31. |
| |
| Please update to use the 'webdrivers' gem instead. |
| See https://github.com/flavorjones/chromedriver-helper/issues/83 |
| |
+--------------------------------------------------------------------+
EOM
begin
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
rescue Exception => e
warn "WARNING: could not set spec.files: #{e.class}: #{e}"
end
s.require_paths = ["lib"]
s.add_development_dependency "rspec", "~> 3.0"
s.add_development_dependency "rake", "~> 10.0"
s.add_development_dependency "concourse", "~> 0.23"
s.add_runtime_dependency "nokogiri", "~> 1.8"
s.add_runtime_dependency "archive-zip", "~> 0.10"
end