adding model adapter files in proper location with loading behavior

This commit is contained in:
Ryan Bates
2010-12-29 15:01:49 -08:00
parent f8760b7149
commit 4c5ba09f4c
8 changed files with 14 additions and 12 deletions
+6 -3
View File
@@ -1,10 +1,13 @@
source "http://rubygems.org"
gemspec
case ENV["MODEL_ADAPTER"]
when nil, "active_record"
gem "activerecord", :require => "active_record"
when "data_mapper"
gem "dm-core", "~> 1.0.2"
when "mongoid"
gem "bson_ext", "~> 1.1"
gem "mongoid", "~> 2.0.0.beta.19"
when "data_mapper"
gem "dm-core", "~> 1.0.2"
end
gemspec