-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathfaraday-net_http.gemspec
29 lines (22 loc) · 1.04 KB
/
faraday-net_http.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/version'
Gem::Specification.new do |spec|
spec.name = 'faraday-net_http'
spec.version = Faraday::NetHttp::VERSION
spec.authors = ['Jan van der Pas']
spec.email = ['janvanderpas@gmail.com']
spec.summary = 'Faraday adapter for Net::HTTP'
spec.description = 'Faraday adapter for Net::HTTP'
spec.homepage = 'https://github.com/lostisland/faraday-net_http'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 3.0.0')
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/lostisland/faraday-net_http'
spec.metadata['changelog_uri'] = "https://github.com/lostisland/faraday-net_http/releases/tag/v#{spec.version}"
spec.metadata['rubygems_mfa_required'] = 'true'
spec.files = Dir.glob('lib/**/*') + %w[README.md LICENSE.md]
spec.require_paths = ['lib']
spec.add_runtime_dependency 'net-http', '>= 0.5.0'
end