Sha256: 877a245087dc9fcc5ea2ef033f07f601517c5db58b970594e055db78df95b056

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

source 'https://rubygems.org'

gemspec

version = ENV['AR_VERSION'].to_f

mysql2_version = '0.3.0'
mysql2_version = '0.4.0' if version >= 4.2
mysql2_version = '0.5.0' if version >= 6.1
sqlite3_version = '1.3.0'
sqlite3_version = '1.4.0' if version >= 6.0
pg_version = '0.9'
pg_version = '1.1' if version >= 6.1

group :development, :test do
  gem 'rubocop', '~> 0.40.0'
  gem 'rake'
end

# Database Adapters
platforms :ruby do
  gem "mysql2",                 "~> #{mysql2_version}"
  gem "pg",                     "~> #{pg_version}"
  gem "sqlite3",                "~> #{sqlite3_version}"
  gem "seamless_database_pool", "~> 1.0.20"
end

platforms :jruby do
  gem 'jdbc-mysql', '< 8', require: false
  gem "jdbc-postgres"
  gem "activerecord-jdbcsqlite3-adapter",    "~> 1.3"
  gem "activerecord-jdbcmysql-adapter",      "~> 1.3"
  gem "activerecord-jdbcpostgresql-adapter", "~> 1.3"
end

# Support libs
gem "factory_bot"
gem "timecop"
gem "chronic"
gem "mocha", "~> 1.3.0"

# Debugging
platforms :jruby do
  gem "ruby-debug", "= 0.10.4"
end

platforms :mri_19 do
  gem "debugger"
end

platforms :ruby do
  gem "pry-byebug"
  gem "pry", "~> 0.12.0"
  gem "rb-readline"
end

if version >= 4.0
  gem "minitest"
else
  gem "test-unit"
end

eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/activerecord-import-1.2.0/Gemfile
activerecord-import-1.2.0 Gemfile