getting data_mapper and mongoid specs passwing with latest versions

This commit is contained in:
Ryan Bates
2012-04-22 17:01:10 -07:00
parent 88cd11ba02
commit 167d3832fc
9 changed files with 115 additions and 110 deletions
-15
View File
@@ -1,18 +1,3 @@
source "http://rubygems.org"
case ENV["MODEL_ADAPTER"]
when nil, "active_record"
gem "sqlite3"
gem "activerecord", '~> 3.2.3', :require => "active_record"
when "data_mapper"
gem "dm-core", "~> 1.0.2"
gem "dm-sqlite-adapter", "~> 1.0.2"
gem "dm-migrations", "~> 1.0.2"
when "mongoid"
gem "bson_ext", "~> 1.1"
gem "mongoid", "~> 2.0.0.beta.20"
else
raise "Unknown model adapter: #{ENV["MODEL_ADAPTER"]}"
end
gemspec