2013-08-01 14:59:58 -04:00
|
|
|
source 'https://rubygems.org'
|
|
|
|
|
|
|
|
gem 'activerecord', '~> 3.0'
|
2014-12-24 15:16:57 -05:00
|
|
|
gem 'i18n', '~> 0.6.11'
|
2015-02-03 16:40:32 -05:00
|
|
|
gem 'request_store', '~> 1.1.0'
|
2013-08-01 14:59:58 -04:00
|
|
|
|
|
|
|
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'
|
2015-02-05 11:13:10 -05:00
|
|
|
gem 'ffaker', '<= 1.31.0'
|
2013-08-01 14:59:58 -04:00
|
|
|
|
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-11-03 20:20:37 -05:00
|
|
|
# Allow time travel in testing. timecop is only supported after 1.9.2 but does a better cleanup at 'return'
|
|
|
|
if RUBY_VERSION < "1.9.2"
|
|
|
|
gem 'delorean'
|
|
|
|
else
|
|
|
|
gem 'timecop'
|
|
|
|
end
|
2014-11-03 00:51:37 -05:00
|
|
|
|
2014-03-14 16:11:10 -04:00
|
|
|
platforms :ruby do
|
|
|
|
gem 'sqlite3', '~> 1.2'
|
|
|
|
gem 'mysql2', '~> 0.3'
|
2015-01-07 15:14:10 -05:00
|
|
|
gem 'pg', '~> 0.17.1'
|
2014-03-14 16:11:10 -04:00
|
|
|
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
|
2015-04-16 16:54:24 -04:00
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.3'
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.3'
|
|
|
|
gem 'activerecord-jdbcmysql-adapter', '~> 1.3'
|
|
|
|
gem 'activerecord-jdbc-adapter', '1.3.15'
|
2014-03-14 16:11:10 -04:00
|
|
|
end
|
2013-08-01 14:59:58 -04:00
|
|
|
end
|