Sha256: 0ee46dbce4a9144b97075c855ab3763add718f5b4f7c3227111efd5b590d81fc

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

require 'rubygems'
require 'rake'
require 'jeweler'

require File.dirname(__FILE__) + '/lib/mongo_mapper/version'

Jeweler::Tasks.new do |gem|
  gem.name        = "mongo_mapper"
  gem.summary     = %Q{A Ruby Object Mapper for Mongo}
  gem.email       = "nunemaker@gmail.com"
  gem.homepage    = "http://github.com/jnunemaker/mongomapper"
  gem.authors     = ["John Nunemaker"]
  gem.version     = MongoMapper::Version

  gem.add_dependency('activesupport', '>= 2.3')
  gem.add_dependency('mongo', '0.19.1')
  gem.add_dependency('jnunemaker-validatable', '1.8.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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
numon-0.0.1 Rakefile
mongo_mapper-0.7.1 Rakefile