-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwreq-rb.gemspec
More file actions
38 lines (33 loc) · 1.28 KB
/
wreq-rb.gemspec
File metadata and controls
38 lines (33 loc) · 1.28 KB
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
# frozen_string_literal: true
require_relative "lib/wreq-rb/version"
Gem::Specification.new do |spec|
spec.name = "wreq-rb"
spec.version = Wreq::VERSION
spec.authors = ["Yicheng Zhou", "Illia Zub"]
spec.summary = "Ruby HTTP client featuring TLS fingerprint emulation, HTTP/2 support, cookie handling, and proxy support."
spec.description = "An ergonomic Ruby HTTP client powered by Rust's wreq library, " \
"featuring TLS fingerprint emulation (JA3/JA4), HTTP/2 support, " \
"cookie handling, proxy support, and redirect policies."
spec.homepage = "https://github.com/serpapi/wreq-rb"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 2.7.0"
spec.files = Dir[
"exe/*",
"lib/**/*.rb",
"ext/**/*.{rs,toml,lock,rb}",
"vendor/wreq/**/*.{rs,toml}",
"vendor/wreq/LICENSE",
"vendor/wreq/README.md",
"patches/*.patch",
"Cargo.toml",
"Cargo.lock",
"LICENSE",
"README.md",
]
spec.bindir = "exe"
spec.executables = ["wreq"]
spec.require_paths = ["lib"]
spec.extensions = ["ext/wreq_rb/extconf.rb"]
# 0.9.123 is the last version that uses rake-compiler-dock 1.10.0 (Ruby 2.7 support)
spec.add_dependency "rb_sys", "0.9.123"
end