-
Notifications
You must be signed in to change notification settings - Fork 2
/
include_date_scopes.gemspec
28 lines (25 loc) · 1.19 KB
/
include_date_scopes.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
$:.push File.expand_path("../lib", __FILE__)
require "include_date_scopes/version"
Gem::Specification.new do |s|
s.name = 'include_date_scopes'
s.version = IncludeDateScopes::VERSION.dup
s.authors = ['Sean Todd', 'Katharina Peter']
s.email = ['[email protected]']
s.homepage = 'http://github.com/descentintomael/include_date_scopes'
s.summary = 'Include scopes for searching on a date column'
s.description = <<-DESCRIPTION
Add in ActiveRelation scopes that are common across all models. You can also
add in a prefix to those scopes so you can have multiple per model. See README
for more info.
DESCRIPTION
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency "activerecord"
s.add_dependency "railties"
s.add_development_dependency "rspec-rails", "2.14.2"
s.add_development_dependency "sqlite3", "1.3.9"
# s.add_development_dependency "mysql2", "~> 0.3.10" # TODO: How to dynamically choose sqlite or mysql?
s.add_development_dependency 'timecop', "0.7.1"
end