-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
agoo.gemspec
42 lines (34 loc) · 1.41 KB
/
agoo.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
36
37
38
39
40
41
42
require 'date'
require File.join(File.dirname(__FILE__), 'lib/agoo/version')
Gem::Specification.new do |s|
s.name = 'agoo'
s.version = Agoo::VERSION
s.authors = 'Peter Ohler'
s.date = Date.today.to_s
s.email = '[email protected]'
s.homepage = 'https://github.com/ohler55/agoo'
s.summary = 'An HTTP server'
s.description = 'A fast HTTP server supporting rack.'
s.licenses = ['MIT']
s.metadata = {
'bug_tracker_uri' => 'https://github.com/ohler55/agoo/issues',
'changelog_uri' => 'https://github.com/ohler55/agoo/CHANGELOG.md',
'documentation_uri' => 'http://www.ohler.com/agoo/index.html',
'source_code_uri' => 'https://github.com/ohler55/agoo',
'homepage' => 'https://github.com/ohler55/agoo'
}
s.files = Dir["{lib,ext,test}/**/*.{rb,h,c}"] + ['LICENSE', 'README.md', 'CHANGELOG.md']
s.test_files = Dir["test/**/*.rb"]
s.extensions = ["ext/agoo/extconf.rb"]
s.extra_rdoc_files = ['README.md', 'CHANGELOG.md', 'LICENSE'] +
Dir["pages/*.md"] +
Dir["misc/*.md"] +
["misc/glue-diagram.svg"]
s.rdoc_options = ['-t', 'Agoo', '-m', 'README.md', '-x', '"test/*"', '-x', '"example/*"', '-x', 'extconf.rb']
s.bindir = 'bin'
s.executables << 'agoo'
s.executables << 'agoo_stubs'
s.required_ruby_version = '>= 2.5'
s.requirements << 'Linux or macOS'
s.add_development_dependency 'oj', '~> 3.10', '>= 3.10.0'
end