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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add notices of deprecation to gemspec
- post-install message - updating summary and description related to #83
- Loading branch information
1 parent
426808b
commit 22ab763
Showing
1 changed file
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,32 +3,45 @@ $:.push File.expand_path("../lib", __FILE__) | |
require "chromedriver/helper/version" | ||
|
||
def windows? | ||
RbConfig::CONFIG['target_os'] =~ /mingw32|mswin/ | ||
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 = "Easy installation and use of chromedriver." | ||
s.description = "Easy installation and use of chromedriver, the Chromium project's selenium webdriver adapter." | ||
s.licenses = ["MIT"] | ||
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) } | ||
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 "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" | ||
s.add_runtime_dependency "nokogiri", "~> 1.8" | ||
s.add_runtime_dependency "archive-zip", "~> 0.10" | ||
end |