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
|
|
|
|
|
2010-07-25 19:44:14 -04:00
|
|
|
if ENV['AREL']
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'arel', path: ENV['AREL']
|
2011-11-04 12:10:18 -04:00
|
|
|
else
|
2012-07-13 06:44:35 -04:00
|
|
|
gem 'arel', github: 'rails/arel'
|
2010-07-25 19:44:14 -04:00
|
|
|
end
|
|
|
|
|
2012-07-03 17:21:53 -04:00
|
|
|
gem 'mocha', '>= 0.11.2', :require => false
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'rack-test', github: "brynary/rack-test"
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'bcrypt-ruby', '~> 3.0.0'
|
|
|
|
gem 'jquery-rails'
|
2011-09-08 13:51:23 -04:00
|
|
|
|
|
|
|
if ENV['JOURNEY']
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'journey', path: ENV['JOURNEY']
|
2011-09-08 13:51:23 -04:00
|
|
|
else
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'journey', github: "rails/journey"
|
2011-09-08 13:51:23 -04:00
|
|
|
end
|
|
|
|
|
2012-04-12 09:48:33 -04:00
|
|
|
if ENV['AR_DEPRECATED_FINDERS']
|
2012-08-17 05:21:52 -04:00
|
|
|
gem 'activerecord-deprecated_finders', path: ENV['AR_DEPRECATED_FINDERS']
|
2012-04-12 09:48:33 -04:00
|
|
|
else
|
2012-08-17 05:21:52 -04:00
|
|
|
gem 'activerecord-deprecated_finders', github: 'rails/activerecord-deprecated_finders'
|
2012-04-12 09:48:33 -04:00
|
|
|
end
|
|
|
|
|
2011-07-06 20:38:54 -04:00
|
|
|
# This needs to be with require false to avoid
|
|
|
|
# it being automatically loaded by sprockets
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'uglifier', '>= 1.0.3', require: false
|
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-05-01 16:01:29 -04:00
|
|
|
gem 'sdoc', github: 'fxn/sdoc'
|
2011-12-15 18:22:14 -05:00
|
|
|
gem 'RedCloth', '~> 4.2'
|
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-06-28 22:47:46 -04:00
|
|
|
gem 'dalli'
|
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-05-13 11:38:46 -04:00
|
|
|
gem 'ruby-prof', '~> 0.11.2'
|
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 'json'
|
|
|
|
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'
|
|
|
|
gem 'mysql', '>= 2.8.1'
|
|
|
|
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
|
|
|
|
if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
|
|
|
|
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
|
|
|
|
if ENV['ORACLE_ENHANCED_PATH']
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'activerecord-oracle_enhanced-adapter', path: ENV['ORACLE_ENHANCED_PATH']
|
2010-08-16 16:58:17 -04:00
|
|
|
else
|
2012-05-01 16:01:29 -04:00
|
|
|
gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced'
|
2010-08-16 16:58:17 -04:00
|
|
|
end
|
|
|
|
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'
|