Rakefile in mongo_mapper-unstable-2009.11.8 vs Rakefile in mongo_mapper-unstable-2009.11.18
- old
+ new
@@ -10,11 +10,11 @@
gem.email = "nunemaker@gmail.com"
gem.homepage = "http://github.com/jnunemaker/mongomapper"
gem.authors = ["John Nunemaker"]
gem.add_dependency('activesupport', '>= 2.3')
- gem.add_dependency('mongo', '0.16')
+ gem.add_dependency('mongo', '0.17.1')
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')
@@ -49,7 +49,7 @@
task :default => :test
task :test => :check_dependencies
YARD::Rake::YardocTask.new(:doc) do |t|
- t.options = ["--legacy"]
-end
\ No newline at end of file
+ t.options = ["--legacy"] if RUBY_VERSION < "1.9.0"
+end