forked from globalize/globalize
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAppraisals
More file actions
33 lines (27 loc) · 716 Bytes
/
Appraisals
File metadata and controls
33 lines (27 loc) · 716 Bytes
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
# frozen_string_literal: true
RAILS_VERSIONS = %w[
4.2.10
5.1.6
5.2.1
]
RAILS_VERSIONS.each do |version|
appraise "rails_#{version}" do
gem 'activemodel', version
gem 'activerecord', version
platforms :rbx do
gem "rubysl", "~> 2.0"
gem "rubinius-developer_tools"
end
platforms :jruby do
if !ENV['TRAVIS'] || ENV['DB'] == 'sqlite3'
gem 'activerecord-jdbcsqlite3-adapter', '~> 1'
end
if !ENV['TRAVIS'] || ENV['DB'] == 'mysql'
gem 'activerecord-jdbcmysql-adapter', '~> 1'
end
if !ENV['TRAVIS'] || %w(postgres postgresql).include?(ENV['DB'])
gem 'activerecord-jdbcpostgresql-adapter', '~> 1'
end
end
end
end