File: http-form_data.gemspec

package info (click to toggle)
ruby-http-form-data 1.0.1%2Bgemwatch-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 176 kB
  • ctags: 46
  • sloc: ruby: 366; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 1,041 bytes parent folder | download
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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$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, "").gsub("\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.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(/^bin\//).map { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(/^(test|spec|features)\//)
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.7"
end