forked from toptal/chewy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appraisals
81 lines (63 loc) · 2.19 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
%w[4.0 4.1 4.2].each do |activesupport|
appraise "rails.#{activesupport}.activerecord" do
gem 'activerecord', "~> #{activesupport}.0"
gem 'activesupport', "~> #{activesupport}.0"
gem 'activejob', "~> #{activesupport}.0" if activesupport >= '4.2'
gem 'resque', require: false
gem 'shoryuken', require: false
gem 'aws-sdk-sqs', require: false
gem 'sidekiq', require: false
gem 'kaminari', '~> 0.17.0', require: false
gem 'will_paginate', require: false
gem 'parallel', require: false
end
end
%w[5.0 5.1 5.2].each do |activesupport|
appraise "rails.#{activesupport}.activerecord" do
gem 'activerecord', "~> #{activesupport}.0"
gem 'activesupport', "~> #{activesupport}.0"
gem 'activejob', "~> #{activesupport}.0"
gem 'resque', require: false
gem 'shoryuken', require: false
gem 'aws-sdk-sqs', require: false
gem 'sidekiq', require: false
gem 'kaminari-core', '~> 1.1.0', require: false
gem 'will_paginate', require: false
gem 'parallel', require: false
end
end
appraise 'rails.4.2.mongoid.5.2' do
gem 'mongoid', '~> 5.2.0'
gem 'activesupport', '~> 4.2.0'
gem 'activejob', '~> 4.2.0'
gem 'resque', require: false
gem 'shoryuken', require: false
gem 'aws-sdk-sqs', require: false
gem 'sidekiq', require: false
gem 'kaminari', '~> 0.17.0', require: false
gem 'will_paginate', require: false
gem 'parallel', require: false
end
{'5.0' => '6.1', '5.1' => '6.3'}.each do |activesupport, mongoid|
appraise "rails.#{activesupport}.mongoid.#{mongoid}" do
gem 'mongoid', "~> #{mongoid}.0"
gem 'activesupport', "~> #{activesupport}.0"
gem 'activejob', "~> #{activesupport}.0"
gem 'resque', require: false
gem 'shoryuken', require: false
gem 'aws-sdk-sqs', require: false
gem 'sidekiq', require: false
gem 'kaminari-core', '~> 1.1.0', require: false
gem 'will_paginate', require: false
gem 'parallel', require: false
end
end
%w[4.45].each do |sequel|
appraise "sequel.#{sequel}" do
gem 'sequel', "~> #{sequel}.0"
gem 'activesupport', '~> 5.1.0'
gem 'kaminari-core', '~> 1.1.0', require: false
gem 'will_paginate', require: false
gem 'parallel', require: false
end
end