2012-11-27 11:59:58 -05:00
|
|
|
source 'https://rubygems.org'
|
2010-01-31 19:33:06 -05:00
|
|
|
|
2010-12-18 13:42:03 -05:00
|
|
|
gemspec
|
|
|
|
|
2013-05-18 03:41:17 -04:00
|
|
|
# This needs to be with require false as it is
|
|
|
|
# loaded after loading the test library to
|
|
|
|
# ensure correct loading order
|
|
|
|
gem 'mocha', '~> 0.14', require: false
|
|
|
|
|
2012-10-13 14:22:51 -04:00
|
|
|
gem 'rack-cache', '~> 1.2'
|
2013-09-23 14:28:26 -04:00
|
|
|
gem 'bcrypt-ruby', '~> 3.1.2'
|
2013-04-01 22:59:52 -04:00
|
|
|
gem 'jquery-rails', '~> 2.2.0'
|
2012-10-05 09:35:03 -04:00
|
|
|
gem 'turbolinks'
|
2013-04-18 13:09:08 -04:00
|
|
|
gem 'coffee-rails', '~> 4.0.0'
|
2013-11-19 09:33:42 -05:00
|
|
|
gem 'arel', github: 'rails/arel'
|
2011-09-08 13:51:23 -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
|
2013-04-18 13:14:56 -04:00
|
|
|
gem 'uglifier', '>= 1.3.0', require: false
|
2012-09-19 11:43:40 -04:00
|
|
|
|
2011-01-12 15:15:57 -05:00
|
|
|
group :doc do
|
2013-04-02 09:28:19 -04:00
|
|
|
gem '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'
|
2012-12-22 16:43:10 -05:00
|
|
|
gem 'kindlerb'
|
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"
|
2013-11-01 05:39:06 -04:00
|
|
|
instance_eval File.read local_gemfile if File.exist? local_gemfile
|
2010-11-05 17:11:58 -04:00
|
|
|
|
2013-03-11 14:48:30 -04:00
|
|
|
group :test do
|
|
|
|
platforms :mri_19 do
|
|
|
|
gem 'ruby-prof', '~> 0.11.2'
|
|
|
|
end
|
|
|
|
|
|
|
|
platforms :mri_19, :mri_20 do
|
2013-03-11 14:50:31 -04:00
|
|
|
gem 'debugger'
|
2011-07-22 08:55:48 -04:00
|
|
|
end
|
2013-03-11 14:49:05 -04:00
|
|
|
|
|
|
|
gem 'benchmark-ips'
|
2011-07-22 08:55:48 -04:00
|
|
|
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
|
|
|
|
2013-02-26 00:10:03 -05:00
|
|
|
# Needed for compiling the ActionDispatch::Journey parser
|
|
|
|
gem 'racc', '>=1.4.6', require: false
|
|
|
|
|
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-11-17 19:48:22 -05:00
|
|
|
gem 'mysql', '>= 2.9.0'
|
2013-07-17 18:43:55 -04:00
|
|
|
gem 'mysql2', '>= 0.3.13'
|
2010-05-19 16:38:27 -04:00
|
|
|
end
|
2010-07-25 18:31:45 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
platforms :jruby do
|
2013-08-31 11:54:37 -04:00
|
|
|
gem 'json'
|
2013-09-03 02:33:00 -04:00
|
|
|
if ENV['AR_JDBC']
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
|
|
|
|
group :db do
|
|
|
|
gem 'activerecord-jdbcmysql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
|
|
|
|
end
|
|
|
|
else
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
|
|
|
|
group :db do
|
|
|
|
gem 'activerecord-jdbcmysql-adapter', '>= 1.3.0'
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0'
|
|
|
|
end
|
2013-08-20 14:31:43 -04:00
|
|
|
end
|
2009-12-31 21:49:27 -05:00
|
|
|
end
|
2010-08-16 16:58:17 -04:00
|
|
|
|
2013-10-31 16:11:42 -04:00
|
|
|
platforms :rbx do
|
2013-11-24 07:59:22 -05:00
|
|
|
gem 'psych', '~> 2.0'
|
|
|
|
gem 'rubysl', '~> 2.0'
|
2013-10-31 16:11:42 -04: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']
|