2011-12-12 11:16:52 -05:00
|
|
|
source 'https://rubygems.org'
|
2010-01-31 19:33:06 -05:00
|
|
|
|
2010-12-18 13:42:03 -05:00
|
|
|
gemspec
|
|
|
|
|
2012-09-20 13:13:24 -04:00
|
|
|
gem 'arel', github: 'rails/arel', branch: 'master'
|
2010-07-25 19:44:14 -04:00
|
|
|
|
2012-11-05 22:07:38 -05:00
|
|
|
gem 'mocha', github: 'freerange/mocha', require: false
|
2012-09-20 13:13:24 -04:00
|
|
|
gem 'rack-test', github: 'brynary/rack-test'
|
2012-10-13 14:22:51 -04:00
|
|
|
gem 'rack-cache', '~> 1.2'
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'bcrypt-ruby', '~> 3.0.0'
|
2012-10-10 17:47:20 -04:00
|
|
|
gem 'jquery-rails', '~> 2.1.4', github: 'rails/jquery-rails'
|
2012-10-05 09:35:03 -04:00
|
|
|
gem 'turbolinks'
|
|
|
|
gem 'coffee-rails', github: 'rails/coffee-rails'
|
2011-09-08 13:51:23 -04:00
|
|
|
|
2012-09-20 13:13:24 -04:00
|
|
|
gem 'journey', github: 'rails/journey', branch: 'master'
|
2011-09-08 13:51:23 -04:00
|
|
|
|
2012-09-20 13:13:24 -04:00
|
|
|
gem 'activerecord-deprecated_finders', github: 'rails/activerecord-deprecated_finders', branch: 'master'
|
2012-04-12 09:48:33 -04:00
|
|
|
|
2011-07-06 20:38:54 -04:00
|
|
|
# This needs to be with require false to avoid
|
|
|
|
# it being automatically loaded by sprockets
|
2012-09-11 04:39:22 -04:00
|
|
|
gem 'uglifier', require: false
|
2012-09-19 11:43:40 -04:00
|
|
|
|
2012-10-17 22:51:37 -04:00
|
|
|
gem 'sprockets-rails', github: 'rails/sprockets-rails', branch: 'master'
|
2011-03-29 16:42:57 -04:00
|
|
|
|
2011-01-12 15:15:57 -05:00
|
|
|
group :doc do
|
2011-12-08 07:56:16 -05:00
|
|
|
# The current sdoc cannot generate GitHub links due
|
|
|
|
# to a bug, but the PR that fixes it has been there
|
|
|
|
# for some weeks unapplied. As a temporary solution
|
|
|
|
# this is our own fork with the fix.
|
2012-11-12 16:51:51 -05:00
|
|
|
gem 'sdoc', github: 'voloko/sdoc'
|
2012-10-25 19:02:48 -04:00
|
|
|
gem 'redcarpet', '~> 2.2.2', platforms: :ruby
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'w3c_validators'
|
2011-01-12 15:15:57 -05:00
|
|
|
end
|
2009-11-10 17:59:22 -05:00
|
|
|
|
2010-07-25 18:31:45 -04:00
|
|
|
# AS
|
2012-09-06 18:45:51 -04:00
|
|
|
gem 'dalli', '>= 2.2.1'
|
2010-07-25 18:31:45 -04:00
|
|
|
|
2011-11-17 17:41:53 -05:00
|
|
|
# Add your own local bundler stuff
|
2012-01-02 08:08:37 -05:00
|
|
|
local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
|
|
|
|
instance_eval File.read local_gemfile if File.exists? local_gemfile
|
2010-11-05 17:11:58 -04:00
|
|
|
|
2011-07-22 08:55:48 -04:00
|
|
|
platforms :mri do
|
|
|
|
group :test do
|
2012-10-15 09:32:16 -04:00
|
|
|
gem 'ruby-prof', '~> 0.11.2' if RUBY_VERSION < '2.0'
|
2012-11-12 10:13:27 -05:00
|
|
|
gem 'debugger' if !ENV['TRAVIS'] && RUBY_VERSION < '2.0' && RUBY_PATCHLEVEL < 327
|
|
|
|
|
2011-07-22 08:55:48 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2010-07-25 18:31:45 -04:00
|
|
|
platforms :ruby do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'yajl-ruby'
|
|
|
|
gem 'nokogiri', '>= 1.4.5'
|
2011-05-05 13:47:07 -04:00
|
|
|
|
2010-07-25 18:31:45 -04:00
|
|
|
# AR
|
2012-05-15 23:25:30 -04:00
|
|
|
gem 'sqlite3', '~> 1.3.6'
|
2010-05-19 16:38:27 -04:00
|
|
|
|
|
|
|
group :db do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'pg', '>= 0.11.0'
|
2012-08-23 18:07:55 -04:00
|
|
|
gem 'mysql', '>= 2.8.1' if RUBY_VERSION < '2.0.0'
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'mysql2', '>= 0.3.10'
|
2010-05-19 16:38:27 -04:00
|
|
|
end
|
2010-07-25 18:31:45 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
platforms :jruby do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'json'
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2.0'
|
2009-12-31 21:49:27 -05:00
|
|
|
|
2010-10-07 11:49:40 -04:00
|
|
|
# This is needed by now to let tests work on JRuby
|
|
|
|
# TODO: When the JRuby guys merge jruby-openssl in
|
|
|
|
# jruby this will be removed
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'jruby-openssl'
|
2010-10-06 13:45:48 -04:00
|
|
|
|
2010-05-19 16:38:27 -04:00
|
|
|
group :db do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'activerecord-jdbcmysql-adapter', '>= 1.2.0'
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2.0'
|
2010-05-19 16:38:27 -04:00
|
|
|
end
|
2009-12-31 21:49:27 -05:00
|
|
|
end
|
2010-08-16 16:58:17 -04:00
|
|
|
|
|
|
|
# gems that are necessary for ActiveRecord tests with Oracle database
|
2012-09-20 13:13:24 -04:00
|
|
|
if ENV['ORACLE_ENHANCED']
|
2010-08-16 16:58:17 -04:00
|
|
|
platforms :ruby do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'ruby-oci8', '>= 2.0.4'
|
2010-08-16 16:58:17 -04:00
|
|
|
end
|
2012-09-20 13:13:24 -04:00
|
|
|
gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
|
2010-08-16 16:58:17 -04:00
|
|
|
end
|
2011-10-02 22:51:01 -04:00
|
|
|
|
2011-10-03 11:56:11 -04:00
|
|
|
# A gem necessary for ActiveRecord tests with IBM DB
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'ibm_db' if ENV['IBM_DB']
|
2012-08-17 06:41:50 -04:00
|
|
|
|
|
|
|
gem 'benchmark-ips'
|