Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.502 kb
78b4b4c @rafaelfranca Remove jeweler to fix dependency hell
rafaelfranca authored
1 require 'bundler'
2 Bundler.setup
3 Bundler::GemHelper.install_tasks
1282d2e @stefankroes Initial commit
stefankroes authored
4
1c08a0e @skyeagle Initial commit of adoptation for Mongoid
skyeagle authored
5 require 'rspec/core'
6 require 'rspec/core/rake_task'
7 RSpec::Core::RakeTask.new(:spec) do |spec|
8 spec.pattern = FileList['spec/**/*_spec.rb']
bb6d920 @stefankroes Added RCOV, minor change to primary_key_format
stefankroes authored
9 end
10
1c08a0e @skyeagle Initial commit of adoptation for Mongoid
skyeagle authored
11 task :default => :spec
12
834a3ba Fix rdoctask deprecation warning.
Joseph Chen authored
13 require 'rdoc/task'
1c08a0e @skyeagle Initial commit of adoptation for Mongoid
skyeagle authored
14 Rake::RDocTask.new do |rdoc|
15 version = File.exist?('VERSION') ? File.read('VERSION') : ""
16
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = "mongoid-ancestry #{version}"
19 rdoc.rdoc_files.include('README*')
1282d2e @stefankroes Initial commit
stefankroes authored
20 rdoc.rdoc_files.include('lib/**/*.rb')
21 end
Something went wrong with that request. Please try again.