1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/Gemfile

40 lines
552 B
Text
Raw Normal View History

source :rubygems
2012-03-03 09:01:19 -05:00
gemspec
2012-12-26 08:33:40 -05:00
platforms :ruby do
gem "sqlite3"
end
2012-12-26 08:33:40 -05:00
platforms :jruby do
gem "minitest", ">= 3.0"
2013-01-23 20:38:07 -05:00
gem "activerecord-jdbcsqlite3-adapter"
2012-12-26 08:33:40 -05:00
end
2013-01-25 11:41:32 -05:00
version = ENV["RAILS_VERSION"] || "3.2"
2013-01-21 07:27:11 -05:00
2013-01-25 11:41:32 -05:00
rails = case version
when "master"
{github: "rails/rails"}
else
"~> #{version}.0"
end
2013-01-21 07:27:11 -05:00
2013-01-25 11:41:32 -05:00
mongoid = case version
when "master"
2013-02-15 04:55:12 -05:00
{github: "mongoid/mongoid"}
when "3.2"
"~> 3.1.0"
when "3.1"
2013-01-25 11:41:32 -05:00
"~> 3.0.0"
end
2013-01-21 07:27:11 -05:00
2013-01-25 11:41:32 -05:00
devise = case version
when "3.1", "3.2"
"~> 2.2"
end
2013-01-25 11:41:32 -05:00
gem "rails", rails
gem "mongoid", mongoid if mongoid
gem "devise", devise if devise