-
Notifications
You must be signed in to change notification settings - Fork 36
/
Appraisals
59 lines (49 loc) · 1.92 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
# frozen_string_literal: true
appraise "rails_4_0" do
gem "rails", "~> 4.0.13"
gem "mysql2", "~> 0.3.10", :platform => :ruby
end if RUBY_VERSION.to_f < 2.4
appraise "rails_4_1" do
gem "rails", "~> 4.1.16"
gem "mysql2", "~> 0.3.13", :platform => :ruby
end if RUBY_VERSION.to_f < 2.4
appraise "rails_4_2" do
gem "rails", "~> 4.2.8"
gem "mysql2", "~> 0.4.0", :platform => :ruby
gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platform => :jruby
gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platform => :jruby
gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platform => :jruby
end if RUBY_VERSION.to_f < 2.7
appraise "rails_5_0" do
gem "rails", "~> 5.0.3"
gem "mysql2", "~> 0.4.0", :platform => :ruby
end if RUBY_VERSION.to_f >= 2.2 && RUBY_VERSION.to_f <= 2.7
appraise "rails_5_1" do
gem "rails", "~> 5.1.1"
gem "mysql2", "~> 0.4.0", :platform => :ruby
end if RUBY_VERSION.to_f >= 2.2 && RUBY_VERSION.to_f <= 2.7
appraise "rails_5_2" do
gem "rails", "~> 5.2.0"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
end if RUBY_VERSION.to_f >= 2.2 && RUBY_VERSION.to_f <= 2.7
if RUBY_PLATFORM != "java"
appraise "rails_6_0" do
gem "rails", "~> 6.0.0"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
gem "sqlite3", "~> 1.4", :platform => :ruby
end if RUBY_VERSION.to_f >= 2.5 && RUBY_VERSION.to_f <= 3.0
appraise "rails_6_1" do
gem "rails", "~> 6.1.0"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
gem "sqlite3", "~> 1.4", :platform => :ruby
end if RUBY_VERSION.to_f >= 2.5
appraise "rails_7_0" do
gem "rails", "~> 7.0.1"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
gem "sqlite3", "~> 1.4", :platform => :ruby
end if RUBY_VERSION.to_f >= 2.7
end