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
|
|
|
|
|
2014-09-14 04:21:55 -04:00
|
|
|
# We need a newish Rake since Active Job sets its test tasks' descriptions.
|
|
|
|
gem 'rake', '>= 10.3'
|
|
|
|
|
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'
|
2014-09-05 23:20:26 -04:00
|
|
|
gem 'jquery-rails', '~> 4.0.0.beta2'
|
2013-04-18 13:09:08 -04:00
|
|
|
gem 'coffee-rails', '~> 4.0.0'
|
2014-09-05 18:41:02 -04:00
|
|
|
# TODO: Release this gem
|
2014-09-01 21:46:05 -04:00
|
|
|
gem 'rails-html-sanitizer', github: 'rails/rails-html-sanitizer'
|
2014-09-05 18:41:02 -04:00
|
|
|
# TODO: Release this gem
|
2014-09-01 22:26:10 -04:00
|
|
|
gem 'rails-deprecated_sanitizer', github: 'rails/rails-deprecated_sanitizer'
|
2014-09-05 18:41:02 -04:00
|
|
|
# TODO: Release this gem
|
|
|
|
gem 'rails-dom-testing', github: 'rails/rails-dom-testing'
|
2014-08-19 20:40:33 -04:00
|
|
|
gem 'turbolinks', '~> 2.2.3'
|
2011-09-08 13:51:23 -04:00
|
|
|
|
2014-02-21 15:58:09 -05:00
|
|
|
# require: false so bcrypt is loaded only when has_secure_password is used.
|
|
|
|
# This is to avoid ActiveModel (and by extension the entire framework)
|
|
|
|
# being dependent on a binary library.
|
|
|
|
gem 'bcrypt', '~> 3.1.7', require: false
|
|
|
|
|
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
|
2014-01-11 19:12:12 -05:00
|
|
|
gem 'sdoc', '~> 0.4.0'
|
2014-05-13 17:30:33 -04:00
|
|
|
gem 'redcarpet', '~> 3.1.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
|
|
|
|
2014-08-12 05:29:21 -04:00
|
|
|
# ActiveJob
|
2014-08-19 22:21:39 -04:00
|
|
|
group :job do
|
|
|
|
gem 'resque', require: false
|
|
|
|
gem 'resque-scheduler', require: false
|
|
|
|
gem 'sidekiq', require: false
|
2014-09-12 09:59:39 -04:00
|
|
|
gem 'sucker_punch', require: false
|
2014-08-19 22:21:39 -04:00
|
|
|
gem 'delayed_job', require: false
|
2014-08-18 03:19:41 -04:00
|
|
|
gem 'queue_classic', "< 3.0.0", require: false, platforms: :ruby
|
2014-08-19 22:21:39 -04:00
|
|
|
gem 'sneakers', '0.1.1.pre', require: false
|
|
|
|
gem 'que', require: false
|
|
|
|
gem 'backburner', require: false
|
|
|
|
gem 'qu-rails', github: "bkeepers/qu", branch: "master", require: false
|
|
|
|
gem 'qu-redis', require: false
|
2014-08-18 03:19:41 -04:00
|
|
|
gem 'delayed_job_active_record', require: false
|
|
|
|
gem 'sequel', require: false
|
2014-08-19 22:21:39 -04:00
|
|
|
end
|
2014-08-12 05:29:21 -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
|
2014-05-16 12:18:21 -04:00
|
|
|
# FIX: Our test suite isn't ready to run in random order yet
|
|
|
|
gem 'minitest', '< 5.3.4'
|
|
|
|
|
2013-03-11 14:48:30 -04:00
|
|
|
platforms :mri_19 do
|
|
|
|
gem 'ruby-prof', '~> 0.11.2'
|
|
|
|
end
|
|
|
|
|
2013-12-24 04:02:07 -05:00
|
|
|
# platforms :mri_19, :mri_20 do
|
|
|
|
# gem 'debugger'
|
|
|
|
# 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 '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
|
|
|
|
2014-07-23 13:24:16 -04:00
|
|
|
platforms :rbx do
|
|
|
|
# The rubysl-yaml gem doesn't ship with Psych by default
|
|
|
|
# as it needs libyaml that isn't always available.
|
|
|
|
gem 'psych', '~> 2.0'
|
|
|
|
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
|
2014-05-15 06:13:56 -04:00
|
|
|
gem 'ruby-oci8', '~> 2.1'
|
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']
|