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
|
# frozen_string_literal: true
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'ethon/version'
Gem::Specification.new do |s|
s.name = "ethon"
s.version = Ethon::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Hans Hasselberg"]
s.email = ["me@hans.io"]
s.homepage = "https://github.com/typhoeus/ethon"
s.summary = "Libcurl wrapper."
s.description = "Very lightweight libcurl wrapper."
s.required_ruby_version = ">= 2.6"
s.license = 'MIT'
s.add_dependency('ffi', ['>= 1.15.0'])
s.add_dependency('logger')
s.files = Dir.glob("**/*")
s.require_path = 'lib'
s.metadata = {
'bug_tracker_uri' => 'https://github.com/typhoeus/ethon/issues',
'changelog_uri' => "https://github.com/typhoeus/ethon/blob/v#{s.version}/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/ethon/#{s.version}",
'rubygems_mfa_required' => 'true',
'source_code_uri' => "https://github.com/typhoeus/ethon/tree/v#{s.version}"
}
end
|