forked from stefankroes/ancestry
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathancestry.gemspec
18 lines (13 loc) · 996 Bytes
/
ancestry.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'rake'
Gem::Specification.new do |s|
s.name = 'ancestry'
s.description = 'Organise ActiveRecord model into a tree structure'
s.summary = 'Ancestry allows the records of a ActiveRecord model to be organised in a tree structure, using a single, intuitively formatted database column. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single sql query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.'
s.version = '1.1.4'
s.date = '2009-11-07'
s.author = 'Stefan Kroes'
s.email = 's.a.kroes@gmail.com'
s.homepage = 'http://github.com/stefankroes/ancestry'
s.files = FileList['ancestry.gemspec', '*.rb', 'lib/**/*.rb', 'test/*', 'Rakefile', 'MIT-LICENSE', 'README.rdoc']
s.add_dependency 'activerecord', '>= 2.1.0'
end