2013-08-01 14:59:58 -04:00
|
|
|
source 'https://rubygems.org'
|
|
|
|
|
|
|
|
gem 'activerecord', '~> 3.0'
|
|
|
|
|
|
|
|
group :development, :test do
|
2014-03-25 14:42:43 -04:00
|
|
|
gem 'rake', '~> 10.1.1'
|
2013-08-01 14:59:58 -04:00
|
|
|
gem 'shoulda', '~> 3.5'
|
|
|
|
gem 'ffaker', '>= 1.15'
|
|
|
|
|
2013-08-13 17:10:41 -04:00
|
|
|
# Testing of Rails
|
|
|
|
gem 'railties', '~> 3.0'
|
|
|
|
|
|
|
|
# Testing of Sinatra
|
|
|
|
gem 'sinatra', '~> 1.0'
|
|
|
|
gem 'rack-test', '>= 0.6'
|
|
|
|
|
2013-08-27 17:00:06 -04:00
|
|
|
# RSpec testing
|
2014-10-09 15:04:17 -04:00
|
|
|
gem 'rspec-rails', '~> 3.1.0'
|
2014-03-07 16:26:41 -05:00
|
|
|
gem 'generator_spec'
|
2013-08-27 17:00:06 -04:00
|
|
|
|
2014-05-09 11:43:30 -04:00
|
|
|
# To do proper transactional testing with ActiveSupport::TestCase on MySQL
|
2014-05-28 19:15:26 -04:00
|
|
|
gem 'database_cleaner', '~> 1.2.0'
|
2014-05-09 11:43:30 -04:00
|
|
|
|
2014-03-14 16:11:10 -04:00
|
|
|
platforms :ruby do
|
|
|
|
gem 'sqlite3', '~> 1.2'
|
|
|
|
gem 'mysql2', '~> 0.3'
|
|
|
|
gem 'pg', '~> 0.17'
|
|
|
|
end
|
|
|
|
|
2013-08-01 14:59:58 -04: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
|
|
|
|
|
2014-03-14 16:11:10 -04:00
|
|
|
platforms :jruby do
|
|
|
|
# Use jRuby's sqlite3 adapter for jRuby
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.3'
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.3'
|
|
|
|
gem 'activerecord-jdbcmysql-adapter', '~> 1.3'
|
|
|
|
end
|
2013-08-01 14:59:58 -04:00
|
|
|
end
|