From 397cc106cb96c21c377bbceb8613860fe64a63df Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Mon, 27 Nov 2017 16:51:33 +0000 Subject: [PATCH] the gemspec --- httpx.gemspec | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 httpx.gemspec diff --git a/httpx.gemspec b/httpx.gemspec new file mode 100644 index 00000000..a5755748 --- /dev/null +++ b/httpx.gemspec @@ -0,0 +1,30 @@ +# frozen_string_literal: true + +require File.expand_path("../lib/httpx/version", __FILE__) + +Gem::Specification.new do |gem| + gem.authors = ["Tiago Cardoso"] + gem.email = ["cardoso_tiago@hotmail.com"] + + gem.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ") + A client library for making HTTP requests from Ruby. + DESCRIPTION + + gem.summary = "HTTPX, to the future, and beyond" + gem.homepage = "https://gitlab.com/honeyryderchuck/httpx" + gem.licenses = ["Apache 2.0"] + + gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } + gem.files = `git ls-files`.split("\n") + gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + gem.name = "httpx" + gem.require_paths = ["lib"] + gem.version = HTTPX::VERSION + + gem.required_ruby_version = ">= 2.1" + + gem.add_runtime_dependency "http_parser.rb", "~> 0.6.0" + # gem.add_runtime_dependency "http-form_data", ">= 2.0.0-pre2", "< 3" + # gem.add_runtime_dependency "http-cookie", "~> 1.0" + # gem.add_runtime_dependency "addressable", "~> 2.3" +end