-
Notifications
You must be signed in to change notification settings - Fork 1
/
Appraisals
46 lines (39 loc) · 993 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
42
43
44
45
46
if RUBY_VERSION <= "2.4.0"
appraise "rails-4.2.0" do
gem "rails", "4.2.0"
end
appraise "rails-api-4.2.7" do
gem 'rails', '4.2.7.1'
gem 'rails-api', '0.4.0'
gem 'actionpack' , '4.2.7.1'
end
end
if RUBY_VERSION >= '2.2.0' && RUBY_VERSION < '3.0.0' && ENV['BUNDLER_VERSION'].to_s <= '2.0'
appraise "rails-5.0.0" do
gem "rails", "5.0.0"
end
appraise "rails-5.1.0" do
gem "rails", "5.1.0"
end
end
if RUBY_VERSION >= '2.2.0' && RUBY_VERSION < '3.0.0' && ENV['BUNDLER_VERSION'].to_s >= '2.0'
appraise "rails-5.2.0" do
gem "rails", "5.2.0"
end
appraise "rails-5.2.4" do
gem "rails", "5.2.4"
end
end
if RUBY_VERSION >= '2.5.0' && RUBY_VERSION < '3.0.0' && ENV['BUNDLER_VERSION'].to_s >= '2.0'
appraise "rails-6.0.0" do
gem "rails", "6.0.0"
end
appraise "rails-6.0.1" do
gem "rails", "6.0.1"
end
end
if RUBY_VERSION >= '3.0.0' && ENV['BUNDLER_VERSION'].to_s >= '2.0'
appraise "rails-6.1.3" do
gem "rails", "6.1.3"
end
end