-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdb_text_search.gemspec
34 lines (27 loc) · 1.47 KB
/
db_text_search.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'db_text_search/version'
Gem::Specification.new do |s|
s.name = 'db_text_search'
s.version = DbTextSearch::VERSION
s.authors = ['Gleb Mazovetskiy']
s.email = ['glex.spb@gmail.com']
s.summary = 'A unified interface on top of ActiveRecord for SQLite, MySQL, and PostgreSQL'\
'for case-insensitive string search and basic full-text search.'
s.description = 'Different relational databases treat text search very differently. DbTextSearch provides '\
'a unified interface on top of ActiveRecord for SQLite, MySQL, and PostgreSQL to do '\
'case-insensitive string-in-set querying and CI index creation, and '\
'basic full-text search for a list of terms, and FTS index creation.'
s.homepage = 'https://github.com/thredded/db_text_search'
s.license = 'MIT'
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|bin|script)/|^\.|Rakefile|Gemfile}) }
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.1', '< 4.0'
s.add_dependency 'activerecord', '>= 5.2.0'
s.add_development_dependency 'mysql2', '>= 0.3.20'
s.add_development_dependency 'pg', '>= 0.18.4'
s.add_development_dependency 'sqlite3', '>= 1.3.11'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec', '~> 3.4'
s.add_development_dependency 'simplecov'
end