2010-10-05 17:09:37 +00:00
|
|
|
source "http://rubygems.org"
|
2010-12-29 21:22:14 +00:00
|
|
|
|
|
|
|
case ENV["MODEL_ADAPTER"]
|
2010-12-29 23:01:49 +00:00
|
|
|
when nil, "active_record"
|
2011-03-08 23:23:31 +00:00
|
|
|
gem "sqlite3"
|
2011-07-24 02:53:18 +00:00
|
|
|
gem "activerecord", '~> 3.0.9', :require => "active_record"
|
2011-11-03 02:37:37 +00:00
|
|
|
gem "with_model", "~> 0.2.5"
|
2011-03-08 18:07:36 +00:00
|
|
|
gem "meta_where"
|
2010-12-29 23:01:49 +00:00
|
|
|
when "data_mapper"
|
|
|
|
gem "dm-core", "~> 1.0.2"
|
2011-01-05 21:22:06 +00:00
|
|
|
gem "dm-sqlite-adapter", "~> 1.0.2"
|
|
|
|
gem "dm-migrations", "~> 1.0.2"
|
2010-12-29 21:22:14 +00:00
|
|
|
when "mongoid"
|
|
|
|
gem "bson_ext", "~> 1.1"
|
2011-01-18 18:27:53 +00:00
|
|
|
gem "mongoid", "~> 2.0.0.beta.20"
|
2010-12-30 22:42:19 +00:00
|
|
|
else
|
|
|
|
raise "Unknown model adapter: #{ENV["MODEL_ADAPTER"]}"
|
2010-12-29 21:22:14 +00:00
|
|
|
end
|
2010-12-29 23:01:49 +00:00
|
|
|
|
|
|
|
gemspec
|