-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-client.gemspec
More file actions
58 lines (46 loc) · 2.16 KB
/
Copy pathapi-client.gemspec
File metadata and controls
58 lines (46 loc) · 2.16 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
require_relative "lib/api_client/version"
Gem::Specification.new do |spec|
spec.name = "api-client"
spec.version = ::ApiClient::VERSION
spec.homepage = "https://github.com/belt/api-client"
# spec.installed_by_version = "3.0.9" if spec.respond_to? :installed_by_version
spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0")
spec.required_rubygems_version = Gem::Requirement.new(">= 3") if spec.respond_to? :required_rubygems_version=
if spec.respond_to? :metadata=
base_uri = "https://github.com/belt/api-client/blob/v#{spec.version}"
meta = {
"homepage_uri" => spec.homepage,
"changelog_uri" => "#{base_uri}/api-client/CHANGELOG.md",
"source_code_uri" => "#{base_uri}/api-client"
}
# Prevent pushing this gem to RubyGems.org. To allow pushes either set
# the 'allowed_push_host' to allow pushing to a single host or delete
# this section to allow pushing to any host.
meta["allowed_push_host"] = ""
spec.metadata = meta
end
spec.require_paths = ["lib"]
spec.authors = ["Paul Belt"]
spec.description = "An abstraction of abstractions for various API clients e.g. faraday"
spec.email = ["153964+belt@users.noreply.github.com"]
spec.licenses = ["Apache-2.0"]
spec.summary = [
"HTTP client with parallel execution, circuit breaker, and pipeline support.",
"Auto-detects best concurrency adapter (Typhoeus > Async > Concurrent).",
"Returns raw Faraday responses for transparency."
].join(" ")
spec.files = Dir["lib/**/*.rb"] + %w[LICENSE SECURITY.md README.md]
# Runtime Convenience dependencies
spec.add_runtime_dependency "activesupport", ">= 6.0"
spec.add_runtime_dependency "zeitwerk", ">= 2.7"
# Runtime Ikigai dependencies
spec.add_runtime_dependency "connection_pool", ">= 2.4"
spec.add_runtime_dependency "faraday", ">= 2.0"
spec.add_runtime_dependency "faraday-retry", ">= 2.0"
spec.add_runtime_dependency "nxt_registry", ">= 0.3"
spec.add_runtime_dependency "stoplight", ">= 3.0"
# ID slow methods and lines (prod safe)
# Consider https://rbspy.github.io/ for outside-in prod-safe sampling profiler
spec.add_runtime_dependency "stackprof", ">= 0.2"
end
# vim:ft=ruby