forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselenium-webdriver.gemspec
48 lines (38 loc) · 2.03 KB
/
selenium-webdriver.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
48
# frozen_string_literal: true
root = File.expand_path(File.dirname(__FILE__))
raise "cwd must be #{root} when reading gemspec" if root != Dir.pwd
$LOAD_PATH.push(File.expand_path('lib', root))
require 'selenium/webdriver/version'
Gem::Specification.new do |s|
s.name = 'selenium-webdriver'
s.version = Selenium::WebDriver::VERSION
s.authors = ['Alex Rodionov', 'Titus Fortner', 'Thomas Walpole']
s.summary = 'The next generation developer focused tool for automated testing of webapps'
s.description = 'WebDriver is a tool for writing automated tests of websites. ' \
'It aims to mimic the behaviour of a real user, ' \
'and as such interacts with the HTML of the application.'
s.license = 'Apache-2.0'
s.homepage = 'https://github.com/SeleniumHQ/selenium'
s.metadata = {
'changelog_uri' => 'https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES',
'source_code_uri' => 'https://github.com/SeleniumHQ/selenium/tree/trunk/rb'
}
s.required_rubygems_version = Gem::Requirement.new('> 1.3.1') if s.respond_to? :required_rubygems_version=
s.required_ruby_version = Gem::Requirement.new('>= 2.5')
s.files = Dir[root + '/**/*'].reject { |e| e =~ /ruby\.iml|build\.desc/ }.map { |e| e.sub(root + '/', '') }
s.require_paths = ['lib']
s.add_runtime_dependency 'childprocess', ['>= 0.5', '< 5.0']
s.add_runtime_dependency 'rubyzip', ['>= 1.2.2']
s.add_runtime_dependency 'websocket', ['~> 1.0']
# childprocess requires ffi on windows but doesn't declare it in its dependencies
s.add_development_dependency 'ffi'
s.add_development_dependency 'rack', ['~> 2.0']
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', ['~> 3.0']
s.add_development_dependency 'rubocop', ['~> 0.84.0']
s.add_development_dependency 'rubocop-performance'
s.add_development_dependency 'rubocop-rspec'
s.add_development_dependency 'webmock', ['~> 3.5']
s.add_development_dependency 'yard', ['~> 0.9.11']
end