File: selenium-webdriver.gemspec

package info (click to toggle)
ruby-selenium-webdriver 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,096 kB
  • sloc: ruby: 6,639; javascript: 286; makefile: 3
file content (66 lines) | stat: -rw-r--r-- 2,582 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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.email = %w[p0deje@gmail.com titusfortner@gmail.com twalpole@gmail.com]

  s.summary = 'Selenium is a browser automation tool for automated testing of webapps and more'
  s.description = <<-DESCRIPTION
    Selenium implements the W3C WebDriver protocol to automate popular browsers.
    It aims to mimic the behaviour of a real user as it interacts with the application's HTML.
    It's primarily intended for web application testing, but any web-based task can automated.
  DESCRIPTION

  s.license = 'Apache-2.0'
  s.homepage = 'https://selenium.dev'
  s.metadata = {
    'changelog_uri' => 'https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES',
    'source_code_uri' => 'https://github.com/SeleniumHQ/selenium/tree/trunk/rb',
    'rubygems_mfa_required' => 'true'
  }

  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.7')

  s.files = [
    'CHANGES',
    'LICENSE',
    'NOTICE',
    'Gemfile',
    'README.md',
    'selenium-webdriver.gemspec',
    'lib/selenium-webdriver.rb',
    'lib/selenium/server.rb',
    'lib/selenium/webdriver.rb'
  ] + Dir['lib/selenium/webdriver/**/*']

  s.require_paths = ['lib']

  s.add_runtime_dependency 'childprocess', ['>= 0.5', '< 5.0']
  s.add_runtime_dependency 'rexml', ['~> 3.2', '>= 3.2.5']
  s.add_runtime_dependency 'rubyzip', ['>= 1.2.2', '< 3.0']
  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 'pry', ['~> 0.14']
  s.add_development_dependency 'rack', ['~> 2.0']
  s.add_development_dependency 'rake'
  s.add_development_dependency 'rspec', ['~> 3.0']
  s.add_development_dependency 'rubocop', ['~> 1.31']
  s.add_development_dependency 'rubocop-performance', ['~> 1.13']
  s.add_development_dependency 'rubocop-rake'
  s.add_development_dependency 'rubocop-rspec', ['~> 2.12']
  s.add_development_dependency 'webmock', ['~> 3.5']
  s.add_development_dependency 'webrick', ['~> 1.7']
  s.add_development_dependency 'yard', ['~> 0.9.11']
end