-
Notifications
You must be signed in to change notification settings - Fork 12
/
activerecord-like.gemspec
30 lines (23 loc) · 1.38 KB
/
activerecord-like.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/active_record/like/version', __FILE__)
Gem::Specification.new do |gem|
gem.name = "activerecord-like"
gem.version = ActiveRecord::Like::VERSION
gem.authors = ["René van den Berg"]
gem.email = ["[email protected]"]
gem.description = %q{An ActiveRecord plugin providing a higher-level abstraction for SQL 'LIKE' queries}
gem.summary = %q{ActiveRecord::Like provides ActiveRecord::Base with where.like(attribute: string)-style extensions. This functionality was, at one point, included in Rails-master, but subsequently removed. Since the feature seemed to be in some demand, I thought I'd try my hand at building an ActiveRecord plugin}
gem.homepage = "http://github.com/ReneB/activerecord-like"
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency "activerecord", ">= 5.0.0"
# Required for Travis build to pass
gem.add_development_dependency "pg"
gem.add_development_dependency "mysql2"
gem.add_development_dependency "sqlite3"
gem.add_development_dependency "rake"
gem.add_development_dependency "minitest", ">= 3"
gem.add_development_dependency "appraisal", "~> 2.0"
end