Sha256: 662485e8a9a05410ab800c6ef0030c9f9cd55709758bee1077a34fa18ce1b1da

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 KB

Contents

require 'rubygems'
require 'rake'
require 'jeweler'
require 'yard'
require 'yard/rake/yardoc_task'

Jeweler::Tasks.new do |gem|
  gem.name        = "novelys_mongo_mapper"
  gem.summary     = %Q{Fork of MongoMapper with Rails 3 patches}
  gem.email       = "nicolas.blanco@novelys.com"
  gem.homepage    = "http://github.com/novelys/mongomapper"
  gem.authors     = ["John Nunemaker", "Nicolas Blanco"]
  
  gem.add_dependency('activesupport', '>= 2.3')
  gem.add_dependency('mongo', '0.18.3')
  
  gem.add_development_dependency('jnunemaker-matchy', '0.4.0')
  gem.add_development_dependency('shoulda', '2.10.2')
  gem.add_development_dependency('timecop', '0.3.1')
  gem.add_development_dependency('mocha', '0.9.8')
end

Jeweler::GemcutterTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'test'
  test.ruby_opts << '-rubygems'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

namespace :test do
  Rake::TestTask.new(:units) do |test|
    test.libs << 'test'
    test.ruby_opts << '-rubygems'
    test.pattern = 'test/unit/**/test_*.rb'
    test.verbose = true
  end
  
  Rake::TestTask.new(:functionals) do |test|
    test.libs << 'test'
    test.ruby_opts << '-rubygems'
    test.pattern = 'test/functional/**/test_*.rb'
    test.verbose = true
  end
end

task :default  => :test
task :test     => :check_dependencies

YARD::Rake::YardocTask.new(:doc) do |t|
  t.options = ["--legacy"] if RUBY_VERSION < "1.9.0"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
novelys_mongo_mapper-0.6.12 Rakefile
novelys_mongo_mapper-0.6.11 Rakefile
novelys_mongo_mapper-0.6.10 Rakefile