-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathhttp-parser.gemspec
35 lines (27 loc) · 1.08 KB
/
http-parser.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
30
31
32
33
34
35
# frozen_string_literal: true
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "http-parser/version"
Gem::Specification.new do |s|
s.name = "http-parser"
s.version = HttpParser::VERSION
s.authors = ["Stephen von Takach"]
s.email = ["[email protected]"]
s.license = 'MIT'
s.homepage = "https://github.com/cotag/http-parser"
s.summary = "Ruby bindings to joyent/http-parser"
s.description = <<-EOF
A super fast http parser for ruby.
Cross platform and multiple ruby implementation support thanks to ffi.
EOF
s.add_dependency 'ffi-compiler', '>= 1.0', '< 2.0'
s.add_development_dependency 'rake', '~> 11.2'
s.add_development_dependency 'rspec', '~> 3.5'
s.add_development_dependency 'yard', '~> 0.9'
s.files = Dir["{lib}/**/*"] + %w(Rakefile http-parser.gemspec README.md LICENSE)
s.files += ["ext/http-parser/http_parser.c", "ext/http-parser/http_parser.h"]
s.test_files = Dir["spec/**/*"]
s.extra_rdoc_files = ["README.md"]
s.extensions << "ext/Rakefile"
s.require_paths = ["lib"]
end