-
Notifications
You must be signed in to change notification settings - Fork 9
/
tantiny.gemspec
52 lines (42 loc) · 1.55 KB
/
tantiny.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
# frozen_string_literal: true
require_relative "lib/tantiny/version"
Gem::Specification.new do |spec|
spec.name = "tantiny"
spec.version = Tantiny::VERSION
spec.authors = ["Alexander Baygeldin"]
spec.email = ["[email protected]"]
spec.homepage = "https://github.com/baygeldin/tantiny"
spec.summary = "Tiny full-text search for Ruby powered by Tantivy."
spec.license = "MIT"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/baygeldin/tantiny/issues",
"changelog_uri" => "https://github.com/baygeldin/tantiny/blob/master/CHANGELOG.md",
"documentation_uri" => "https://github.com/baygeldin/tantiny/blob/master/README.md",
"homepage_uri" => "https://github.com/baygeldin/tantiny",
"source_code_uri" => "https://github.com/baygeldin/tantiny"
}
spec.required_ruby_version = ">= 2.7"
spec.files = [
Dir.glob("bin/**/*"),
Dir.glob("ext/**/*"),
Dir.glob("lib/**/*"),
Dir.glob("lib/.rbnext/**/*"),
Dir.glob("sig/**/*"),
Dir.glob("src/**/*"),
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"LICENSE"
].flatten
spec.extensions << "ext/Rakefile"
spec.require_paths = ["lib"]
if ENV["RELEASING_GEM"].nil? && File.directory?(File.join(__dir__, ".git"))
spec.add_runtime_dependency "ruby-next", "~> 0.14.0"
else
spec.add_runtime_dependency "ruby-next-core", "~> 0.14.0"
end
spec.add_runtime_dependency "rutie", "~> 0.0.4"
spec.add_runtime_dependency "thermite", "~> 0"
spec.add_runtime_dependency "rake", "~> 13.0"
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
end