-
Notifications
You must be signed in to change notification settings - Fork 49
/
Appraisals
63 lines (55 loc) · 1.37 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
# frozen_string_literal: true
if RUBY_VERSION.to_f < 3.0
appraise "rails-5.0" do
gem "rails", "~> 5.0.2"
gem "mysql2", "~> 0.4.4"
gem "pg", "< 1.0"
end
appraise "rails-5.1" do
gem "rails", "~> 5.1.0"
gem "mysql2", "~> 0.4.4"
gem "pg", "< 1.0"
end
appraise "rails-5.2" do
gem "rails", "~> 5.2.0"
gem "mysql2", "~> 0.5.0"
end
end
if RUBY_VERSION.to_f >= 2.5 && RUBY_VERSION.to_f < 3.1
appraise "rails-6.0" do
gem "rails", "~> 6.0.0"
gem "mysql2", "~> 0.5.0"
gem "sqlite3", "~> 1.4", "< 1.5.0"
gem "activerecord-trilogy-adapter", "~> 3.1"
end
end
if RUBY_VERSION.to_f >= 2.5
appraise "rails-6.1" do
gem "rails", "~> 6.1.0"
gem "mysql2", "~> 0.5.0"
gem "sqlite3", "~> 1.4", "< 1.6.0"
gem "activerecord-trilogy-adapter", "~> 3.1"
end
end
if RUBY_VERSION.to_f >= 2.7
appraise "rails-7.0" do
gem "rails", "~> 7.0.1"
gem "mysql2", "~> 0.5.0"
gem "sqlite3", "~> 1.4"
gem "activerecord-trilogy-adapter", "~> 3.1"
end
appraise "rails-7.1" do
gem "rails", "~> 7.1.2"
gem "mysql2", "~> 0.5.0"
gem "sqlite3", "~> 1.4"
gem "trilogy", "~> 2.7"
end
end
if RUBY_VERSION.to_f >= 3.1
appraise "rails-edge" do
gem "rails", :git => "https://github.com/rails/rails.git", :branch => "main"
gem "mysql2", "~> 0.5.0"
gem "sqlite3", "~> 1.4"
gem "trilogy", "~> 2.7"
end
end