Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 1.34 KB
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "mongoid-ancestry/version" do |s| = 'mongoid-ancestry'
s.version = Mongoid::Ancestry::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Stefan Kroes", "Anton Orel"] = [""]
s.description = %q{Organise Mongoid model into a tree structure}
s.homepage = ""
s.summary = %q{Ancestry allows the records of a Mongoid model to be organised in a tree structure, using a single, intuitively formatted database field. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single 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.licenses = ["MIT"]
s.rubyforge_project = "mongoid-ancestry"
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.extra_rdoc_files = [
s.add_dependency('mongoid', ">= 3.1")