source 'https://rubygems.org' gem 'activerecord', '3.2.22.2' gem 'request_store', '~> 1.1.0' # i18n 0.7 requires ruby >= 1.9.3, but we still support 1.8.7 gem 'i18n', '< 0.7' # actionpack 3 depends on rack-cache ~> 1.2, but bundler seems to ignore that. # Also rack-cache 1.3 dropped support for ruby 1.8.7. The simplest thing for now # was to specify rack-cache ~> 1.2 here, though it should be unnecessary given # the actionpack 3 dependency. gem 'rack-cache', '~> 1.2.0' group :development, :test do gem 'rake', '~> 10.1.1' gem 'shoulda', '~> 3.5' gem 'ffaker', '<= 1.31.0' # Testing of Sinatra gem 'sinatra', '~> 1.1.4' # RSpec testing gem 'rspec-rails', '~> 3.4.2' gem 'generator_spec' # To do proper transactional testing with ActiveSupport::TestCase on MySQL gem 'database_cleaner', '~> 1.2.0' # 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 platforms :ruby do gem 'sqlite3', '~> 1.2' # We would prefer to only constrain mysql2 to '~> 0.3', # but a rails bug (https://github.com/rails/rails/issues/21544) # requires us to constrain to '~> 0.3.20' for now. gem 'mysql2', '~> 0.3.20' gem 'pg', '~> 0.17.1' end 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 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' gem 'activerecord-jdbc-adapter', '1.3.15' end end