-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathhttp-form_data.gemspec
29 lines (24 loc) · 1.11 KB
/
http-form_data.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 "http/form_data/version"
Gem::Specification.new do |spec|
spec.name = "http-form_data"
spec.version = HTTP::FormData::VERSION
spec.homepage = "https://github.com/httprb/form_data.rb"
spec.authors = ["Aleksey V Zapparov"]
spec.email = ["ixti@member.fsf.org"]
spec.license = "MIT"
spec.summary = "http-form_data-#{HTTP::FormData::VERSION}"
spec.description = <<-DESC.gsub(/^\s+> /m, "").tr("\n", " ").strip
> Utility-belt to build form data request bodies.
> Provides support for `application/x-www-form-urlencoded` and
> `multipart/form-data` types.
DESC
spec.metadata["changelog_uri"] = "https://github.com/httprb/form_data/blob/master/CHANGES.md"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5"
end