forked from jbox-web/ajax-datatables-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appraisals
41 lines (39 loc) · 908 Bytes
/
Appraisals
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
# frozen_string_literal: true
RAILS_VERSIONS = {
'5.0.7' => {
'activerecord-oracle_enhanced-adapter' => '~> 1.7.0',
'sqlite3' => '~> 1.3.0',
'mysql2' => '',
'ruby-oci8' => '',
},
'5.1.7' => {
'activerecord-oracle_enhanced-adapter' => '~> 1.8.0',
'sqlite3' => '~> 1.3.0',
'mysql2' => '',
'ruby-oci8' => '',
},
'5.2.3' => {
'activerecord-oracle_enhanced-adapter' => '~> 5.2.0',
'sqlite3' => '~> 1.3.0',
'mysql2' => '',
'ruby-oci8' => '',
},
'6.0.1' => {
'activerecord-oracle_enhanced-adapter' => '~> 6.0.0',
'sqlite3' => '~> 1.4.0',
'mysql2' => '',
'ruby-oci8' => '',
},
}.freeze
RAILS_VERSIONS.each do |version, gems|
appraise "rails_#{version}" do
gem 'rails', version
gems.each do |name, gem_version|
if gem_version.empty?
gem name
else
gem name, gem_version
end
end
end
end