Sha256: 5f6be5bcaa409a5c1a03ed223506440d78b7dea42e7f6d548160c594b4b89f3d

Contents?: true

Size: 1.53 KB

Versions: 7

Compression:

Stored size: 1.53 KB

Contents

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

Jeweler::Tasks.new do |gem|
  gem.name        = "jmonteiro-mongo_mapper"
  gem.summary     = %Q{Awesome gem for modeling your domain and storing it in mongo}
  gem.email       = ["nunemaker@gmail.com", "julio@monteiro.eti.br"]
  gem.homepage    = "http://github.com/jmonteiro/mongomapper"
  gem.authors     = ["John Nunemaker", "Julio Monteiro"]
  
  gem.add_dependency('activesupport', '>= 2.3')
  gem.add_dependency('mongo', '0.18.2')
  gem.add_dependency('jnunemaker-validatable', '1.8.1')
  
  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

7 entries across 7 versions & 1 rubygems

Version Path
jmonteiro-mongo_mapper-0.1.7 Rakefile
jmonteiro-mongo_mapper-0.1.6 Rakefile
jmonteiro-mongo_mapper-0.1.5 Rakefile
jmonteiro-mongo_mapper-0.1.4 Rakefile
jmonteiro-mongo_mapper-0.1.2 Rakefile
jmonteiro-mongo_mapper-0.1.1 Rakefile
jmonteiro-mongo_mapper-0.1.0 Rakefile