Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f1955bb570
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 1.179 kB
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.3.0'
s.date = '2010-01-27'
s.author = 'Stefan Kroes'
s.email = 's.a.kroes@gmail.com'
s.homepage = 'http://github.com/stefankroes/ancestry'
s.files = FileList[
'ancestry.gemspec',
'init.rb',
'install.rb',
'lib/ancestry.rb',
'lib/ancestry/has_ancestry.rb',
'lib/ancestry/exceptions.rb',
'lib/ancestry/class_methods.rb',
'lib/ancestry/instance_methods.rb',
'MIT-LICENSE',
'README.rdoc'
]
s.add_dependency 'activerecord', '>= 2.1.0'
end
Jump to Line
Something went wrong with that request. Please try again.