generated from lostisland/faraday-adapter-template
-
Notifications
You must be signed in to change notification settings - Fork 9
/
faraday-net_http_persistent.gemspec
29 lines (22 loc) · 1.11 KB
/
faraday-net_http_persistent.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "faraday/net_http_persistent/version"
Gem::Specification.new do |spec|
spec.name = "faraday-net_http_persistent"
spec.version = Faraday::NetHttpPersistent::VERSION
spec.authors = ["Mike Rogers"]
spec.email = ["me@mikerogers.io"]
spec.summary = "Faraday adapter for NetHttpPersistent"
spec.description = "Faraday adapter for NetHttpPersistent"
spec.homepage = "https://github.com/lostisland/faraday-net_http_persistent"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/lostisland/faraday-net_http_persistent"
spec.metadata["changelog_uri"] = "https://github.com/lostisland/faraday-net_http_persistent/releases/tag/v#{spec.version}"
spec.files = Dir.glob("lib/**/*") + %w[README.md LICENSE.md]
spec.require_paths = ["lib"]
spec.add_dependency "faraday", "~> 2.5"
spec.add_dependency "net-http-persistent", ">= 4.0.4", "< 5"
end