-
Notifications
You must be signed in to change notification settings - Fork 0
/
racknga.gemspec
71 lines (61 loc) · 2.33 KB
/
racknga.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- ruby -*-
#
# Copyright (C) 2023-2024 Sutou Kouhei <[email protected]>
# Copyright (C) 2013 Haruka Yoshihara <[email protected]>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
require "English"
base_dir = File.dirname(__FILE__)
$LOAD_PATH.unshift(File.expand_path("lib", base_dir))
require "racknga/version"
version = Racknga::VERSION.dup
authors_path = File.join(base_dir, "AUTHORS")
authors = []
emails = []
File.readlines(authors_path).each do |line|
if /\s*<([^<>]*)>$/ =~ line
authors << $PREMATCH
emails << $1
end
end
summary = "A Rack middleware collection for Rroonga features."
description = "Racknga is a Rack middlewares that uses Rroonga features."
Gem::Specification.new do |spec|
spec.name = "racknga"
spec.version = version
spec.authors = authors
spec.email = emails
spec.summary = summary
spec.description = description
spec.homepage = "http://ranguba.org/"
spec.licenses = ["LGPLv2.1 or later"]
spec.require_paths = ["lib"]
spec.extra_rdoc_files = ["README.md"]
spec.files = ["AUTHORS", "README.md", "Rakefile", "Gemfile"]
spec.files += Dir.glob("lib/**/*.rb")
spec.files += Dir.glob("{license,munin,doc/text/}/**/*")
spec.files += Dir.glob("example/*.rb")
spec.test_files = Dir.glob("test/**/*.rb")
spec.add_runtime_dependency("base64")
spec.add_runtime_dependency("csv")
spec.add_runtime_dependency("net-smtp")
spec.add_runtime_dependency("rack")
spec.add_development_dependency("bundler")
spec.add_development_dependency("kramdown")
spec.add_development_dependency("packnga")
spec.add_development_dependency("rake")
spec.add_development_dependency("rroonga")
spec.add_development_dependency("test-unit")
spec.add_development_dependency("test-unit-capybara")
end