forked from zdennis/activerecord-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
59 lines (47 loc) · 1.13 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
sqlite3_version = '1.3.0'
sqlite3_version = '1.4.0' if version >= 6.0
group :development, :test do
gem 'rubocop', '~> 0.40.0'
gem 'rake'
end
# Database Adapters
platforms :ruby do
gem "mysql2", "~> #{mysql2_version}"
gem "pg", "~> 0.9"
gem "sqlite3", "~> #{sqlite3_version}"
gem "seamless_database_pool", "~> 1.0.20"
end
platforms :jruby do
gem "jdbc-mysql"
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 "rb-readline"
end
if version >= 4.0
gem "minitest"
else
gem "test-unit"
end
eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)