-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaraday-highly_available_retries.gemspec
35 lines (27 loc) · 1.22 KB
/
faraday-highly_available_retries.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
# frozen_string_literal: true
require_relative 'lib/faraday/highly_available_retries/version'
Gem::Specification.new do |spec|
spec.name = 'faraday-highly_available_retries'
spec.version = Faraday::HighlyAvailableRetries::VERSION
spec.authors = ['Invoca Development', 'James Ebentier']
spec.email = ['[email protected]', '[email protected]']
github_uri = "https://github.com/invoca/#{spec.name}"
spec.summary = <<~SUMMARY.chomp
An extension for the Faraday::Retry middleware allowing retries to failover across multiple resolved endpoints.
SUMMARY
spec.description = spec.summary
spec.license = 'MIT'
spec.homepage = github_uri
spec.metadata = {
'allowed_push_host' => 'https://rubygems.org',
'bug_tracker_uri' => "#{github_uri}/issues",
'changelog_uri' => "#{github_uri}/blob/v#{spec.version}/CHANGELOG.md",
'documentation_uri' => "http://www.rubydoc.info/gems/#{spec.name}/#{spec.version}",
'homepage_uri' => spec.homepage,
'source_code_uri' => github_uri,
'wiki_uri' => "#{github_uri}/wiki"
}
spec.files = Dir['lib/**/*', 'README.md', 'LICENSE.md', 'CHANGELOG.md']
spec.required_ruby_version = '>= 2.7', '< 4'
spec.add_dependency 'faraday', '~> 2.0'
end