forked from YusukeIwaki/playwright-ruby-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
playwright.gemspec
40 lines (34 loc) · 1.66 KB
/
playwright.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'playwright/version'
Gem::Specification.new do |spec|
spec.name = 'playwright-ruby-client'
spec.version = Playwright::VERSION
spec.authors = ['YusukeIwaki']
spec.email = ['[email protected]']
spec.summary = "The Ruby binding of playwright driver #{Playwright::COMPATIBLE_PLAYWRIGHT_VERSION}"
spec.homepage = 'https://github.com/YusukeIwaki/playwright-ruby-client'
spec.license = 'MIT'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/}) || f.include?(".git") || f.include?(".circleci") || f.start_with?("development/")
end
end + `find lib/playwright_api -name *.rb -type f`.split("\n")
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.4'
spec.add_dependency 'concurrent-ruby', '>= 1.1.6'
spec.add_dependency 'mime-types', '>= 3.0'
spec.add_development_dependency 'bundler', '~> 2.2.3'
spec.add_development_dependency 'chunky_png'
spec.add_development_dependency 'dry-inflector'
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'rake', '~> 13.0.3'
spec.add_development_dependency 'rspec', '~> 3.10.0 '
spec.add_development_dependency 'rspec_junit_formatter' # for CircleCI.
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'sinatra'
spec.add_development_dependency 'webrick'
end