forked from lynndylanhurley/devise_token_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appraisals
44 lines (38 loc) · 1.16 KB
/
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
42
43
44
# frozen_string_literal: true
[
{ name: '4-2', version: '4.2' }
].each do |rails|
appraise "rails-#{rails[:name]}" do
gem 'rails', "~> #{rails[:version]}"
gem 'sqlite3', '~> 1.3.6'
gem 'mysql2', '~> 0.4.10'
gem 'pg', '~> 0.21'
end
end
[
{ name: '5-0', version: '5.0' },
{ name: '5-1', version: '5.1' },
{ name: '5-2', version: '5.2' }
].each do |rails|
appraise "rails-#{rails[:name]}" do
gem 'rails', "~> #{rails[:version]}"
gem 'sqlite3', '~> 1.3.6'
gem 'mysql2'
gem 'pg'
end
end
[
{ name: '4-2', ruby: '2.3.8', rails: '4.2', mongoid: '5.4' },
{ name: '5-1', ruby: '2.3.8', rails: '5.1', mongoid: '6.4' },
{ name: '5-1', ruby: '2.4.5', rails: '5.1', mongoid: '7.0' },
{ name: '5-2', ruby: '2.5.5', rails: '5.2', mongoid: '6.4' },
{ name: '5-2', ruby: '2.5.5', rails: '5.2', mongoid: '7.0' },
{ name: '5-2', ruby: '2.6.2', rails: '5.2', mongoid: '7.0' },
{ name: '6-0', ruby: '2.7.0', rails: '6.0', mongoid: '7.0' }
].each do |set|
appraise "rails-#{set[:name]}-mongoid-#{set[:mongoid][0]}" do
gem 'rails', "~> #{set[:rails]}"
gem 'mongoid', "~> #{set[:mongoid]}"
gem 'mongoid-locker', '~> 1.0'
end
end