File: http-parser.gemspec

package info (click to toggle)
ruby-http-parser 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 280 kB
  • sloc: ansic: 2,137; ruby: 672; makefile: 12
file content (35 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download | duplicates (3)
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       = ["steve@cotag.me"]
  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