forked from activerecord-hackery/meta_where
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta_where.gemspec
47 lines (41 loc) · 1.79 KB
/
meta_where.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "meta_where/version"
Gem::Specification.new do |s|
s.name = "meta_where"
s.version = MetaWhere::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Ernie Miller"]
s.email = ["[email protected]"]
s.homepage = "http://metautonomo.us/projects/metawhere"
s.summary = %q{ActiveRecord 3 query syntax on steroids.}
s.description = %q{
MetaWhere offers the ability to call any Arel predicate methods
(with a few convenient aliases) on your Model's attributes instead
of the ones normally offered by ActiveRecord's hash parameters. It also
adds convenient syntax for order clauses, smarter mapping of nested hash
conditions, and a debug_sql method to see the real SQL your code is
generating without running it against the database. If you like the new
AR 3.0 query interface, you'll love it with MetaWhere.
}
s.post_install_message = %q{
*** Thanks for installing MetaWhere! ***
Be sure to check out http://metautonomo.us/projects/metawhere/ for a
walkthrough of MetaWhere's features, and click the donate button if
you're feeling especially appreciative. It'd help me justify this
"open source" stuff to my lovely wife. :)
}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
]
s.rubyforge_project = "meta_where"
s.add_dependency 'activerecord', '~> 3.1.0.alpha'
s.add_dependency 'activesupport', '~> 3.1.0.alpha'
s.add_development_dependency 'shoulda'
s.add_development_dependency 'sqlite3', '~> 1.3.3'
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"]
end