2013-08-01 18:59:58 +00:00
|
|
|
source 'https://rubygems.org'
|
|
|
|
|
|
|
|
gem 'activerecord', '~> 3.0'
|
|
|
|
|
|
|
|
group :development, :test do
|
|
|
|
gem 'rake'
|
|
|
|
gem 'shoulda', '~> 3.5'
|
|
|
|
gem 'ffaker', '>= 1.15'
|
|
|
|
|
2013-08-13 21:10:41 +00:00
|
|
|
# Testing of Rails
|
|
|
|
gem 'railties', '~> 3.0'
|
|
|
|
|
|
|
|
# Testing of Sinatra
|
|
|
|
gem 'sinatra', '~> 1.0'
|
|
|
|
gem 'rack-test', '>= 0.6'
|
|
|
|
|
2013-08-01 18:59:58 +00:00
|
|
|
# Use sqlite3 gem for regular Ruby
|
|
|
|
gem 'sqlite3', '~> 1.2', :platform => :ruby
|
|
|
|
|
2013-08-27 21:00:06 +00:00
|
|
|
# RSpec testing
|
|
|
|
gem 'rspec-rails', '~> 2.14'
|
|
|
|
|
2013-08-01 18:59:58 +00:00
|
|
|
platforms :jruby, :ruby_18 do
|
|
|
|
# shoulda-matchers > 2.0 is not compatible with Ruby18.
|
|
|
|
# Since we can't specify difference between JRuby 18/19, we need to use shoulda-matchers 1.5 for all JRuby testing.
|
|
|
|
gem 'shoulda-matchers', '~> 1.5'
|
|
|
|
end
|
|
|
|
|
|
|
|
# Use jRuby's sqlite3 adapter for jRuby
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2.9', :platform => :jruby
|
|
|
|
end
|