2016-10-11 21:03:37 -04:00
|
|
|
# frozen_string_literal: true
|
2018-11-10 17:54:07 -05:00
|
|
|
|
2013-02-22 04:35:49 -05:00
|
|
|
source 'https://rubygems.org'
|
2011-04-19 18:50:22 -04:00
|
|
|
|
|
|
|
# Specify your gem's dependencies in kaminari.gemspec
|
2011-04-19 06:15:55 -04:00
|
|
|
gemspec
|
2022-01-10 07:00:42 -05:00
|
|
|
|
|
|
|
if ENV['RAILS_VERSION'] == 'edge'
|
|
|
|
gem 'railties', git: 'https://github.com/rails/rails.git'
|
|
|
|
gem 'activerecord', git: 'https://github.com/rails/rails.git', require: 'active_record'
|
|
|
|
gem 'actionview', git: 'https://github.com/rails/rails.git', require: 'action_view'
|
|
|
|
elsif ENV['RAILS_VERSION']
|
|
|
|
gem 'railties', "~> #{ENV['RAILS_VERSION']}.0"
|
|
|
|
gem 'activerecord', "~> #{ENV['RAILS_VERSION']}.0", require: 'active_record'
|
|
|
|
gem 'actionview', "~> #{ENV['RAILS_VERSION']}.0", require: 'action_view'
|
|
|
|
else
|
|
|
|
gem 'rails'
|
|
|
|
end
|
|
|
|
|
|
|
|
gem 'selenium-webdriver'
|
|
|
|
|
|
|
|
platforms :ruby do
|
|
|
|
gem 'sqlite3', ENV['RAILS_VERSION'] >= '5.1' ? '>= 1.4' : '< 1.4', require: false
|
|
|
|
gem 'pg', ENV['RAILS_VERSION'] >= '5.1' ? '>= 1.0.0' : '< 1.0.0', require: false
|
|
|
|
gem 'mysql2', ENV['RAILS_VERSION'] >= '4.2' ? '>= 0.4' : '< 0.4', require: false
|
|
|
|
end
|
|
|
|
|
|
|
|
platforms :jruby do
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', require: false
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', require: false
|
|
|
|
gem 'activerecord-jdbcmysql-adapter', require: false
|
|
|
|
end
|
|
|
|
|
|
|
|
if RUBY_ENGINE == 'rbx'
|
|
|
|
platforms :rbx do
|
|
|
|
gem 'rubysl', '~> 2.0'
|
|
|
|
gem 'racc'
|
|
|
|
gem 'minitest'
|
|
|
|
gem 'rubinius-developer_tools'
|
|
|
|
end
|
|
|
|
end
|