Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (36 sloc) 1.81 KB
require 'rubygems'
require 'rake'
require 'jeweler' do |gem|
# gem is a Gem::Specification... see for more options = "mongoid-ancestry"
gem.homepage = ""
gem.license = "MIT"
gem.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.'}
gem.description = %Q{Organise Mongoid model into a tree structure} = ""
gem.authors = ["Stefan Kroes", "Anton Orel"]
gem.add_runtime_dependency('mongoid', '~> 2.0')
gem.add_runtime_dependency('bson_ext', '~> 1.3')
gem.add_development_dependency 'rspec', '~> 2.5'
gem.add_development_dependency 'bundler', '~> 1.0'
gem.add_development_dependency 'guard-rspec', '~> 0.2'
gem.add_development_dependency 'libnotify', '~> 0.3'
gem.add_development_dependency 'rb-inotify', '~> 0.8'
gem.add_development_dependency 'fuubar', '~> 0.0.4'
require 'rspec/core'
require 'rspec/core/rake_task' do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
task :default => :spec
require 'rake/rdoctask' do |rdoc|
version = File.exist?('VERSION') ?'VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "mongoid-ancestry #{version}"
Something went wrong with that request. Please try again.