Permalink
Newer
Older
100644 27 lines (22 sloc) 1.1 KB
Oct 16, 2009
1
Gem::Specification.new do |s|
2
s.name = 'ancestry'
3
s.description = 'Organise ActiveRecord model into a tree structure'
4
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.'
5
May 4, 2012
6
s.version = '1.3.0'
Oct 16, 2009
7
Oct 16, 2009
8
s.author = 'Stefan Kroes'
9
s.email = 's.a.kroes@gmail.com'
10
s.homepage = 'http://github.com/stefankroes/ancestry'
Oct 16, 2009
11
12
s.files = [
13
'ancestry.gemspec',
14
'init.rb',
15
'install.rb',
16
'lib/ancestry.rb',
17
'lib/ancestry/has_ancestry.rb',
18
'lib/ancestry/exceptions.rb',
19
'lib/ancestry/class_methods.rb',
20
'lib/ancestry/instance_methods.rb',
21
'MIT-LICENSE',
22
'README.rdoc'
23
]
Oct 16, 2009
24
25
s.add_dependency 'activerecord', '>= 2.3.14'
Stefan Kroes
Oct 28, 2010
26
end