-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwherex.gemspec
32 lines (26 loc) · 946 Bytes
/
wherex.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
$:.push File.expand_path("../lib", __FILE__)
require "wherex/version"
Gem::Specification.new do |s|
s.name = "wherex"
s.version = Wherex::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jason King"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/smathy/wherex"
s.license = "MIT"
s.summary = %q{Regexp for ActiveRecord finders}
s.description = %q{This gem allows you to pass a Regexp as the value for any finder in ActiveRecord}
s.files = `git ls-files`.split("\n")
s.test_files = s.files.grep /^test/
s.require_paths = ["lib"]
s.add_dependency 'activerecord', '>= 3.1'
case ENV["DB"]
when "postgres", "postgresql", "pg"
s.add_development_dependency 'pg'
when "mysql", "mysql2"
s.add_development_dependency 'mysql2'
else
s.add_development_dependency 'sqlite3', ">= 1.3.7"
end
s.add_development_dependency 'rake', '>= 1.0'
end