-
Notifications
You must be signed in to change notification settings - Fork 470
/
Appraisals
53 lines (44 loc) · 1.77 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
appraise 'rails_4_2' do
gem 'rails', '~> 4.2.6'
gem 'mysql2', '~> 0.4.0', :platform => :ruby
end if RUBY_VERSION.to_f <= 2.4
appraise 'rails_5_0' do
if RUBY_PLATFORM == "java"
gem 'rails', '5.0.6'
else
gem 'rails', '~> 5.0.7'
end
gem 'mysql2', '~> 0.4.0', :platform => :ruby
gem 'jdbc-mysql', '~> 5.1.36', :platform => :jruby
gem 'activerecord-jdbcmysql-adapter', '~> 50.0', :platform => :jruby
gem 'activerecord-jdbcpostgresql-adapter', '~> 50.0', :platform => :jruby
end if (RUBY_PLATFORM != "java" || ENV["SPHINX_VERSION"].to_f > 2.1) && RUBY_VERSION.to_f < 3.0
appraise 'rails_5_1' do
gem 'rails', '~> 5.1.0'
gem 'mysql2', '~> 0.4.0', :platform => :ruby
end if RUBY_PLATFORM != 'java' && RUBY_VERSION.to_f < 3.0
appraise 'rails_5_2' do
gem 'rails', '~> 5.2.0'
gem 'mysql2', '~> 0.5.0', :platform => :ruby
gem 'pg', '~> 1.0', :platform => :ruby
end if RUBY_PLATFORM != 'java' && RUBY_VERSION.to_f < 3.0
appraise 'rails_6_0' do
gem 'rails', '~> 6.0.0'
gem 'mysql2', '~> 0.5.0', :platform => :ruby
gem 'pg', '~> 1.0', :platform => :ruby
end if RUBY_PLATFORM != 'java' && RUBY_VERSION.to_f >= 2.5
appraise 'rails_6_1' do
gem 'rails', '~> 6.1.0'
gem 'mysql2', '~> 0.5.0', :platform => :ruby
gem 'pg', '~> 1.0', :platform => :ruby
end if RUBY_PLATFORM != 'java' && RUBY_VERSION.to_f >= 2.5
appraise 'rails_7_0' do
gem 'rails', '~> 7.0.0'
gem 'mysql2', '~> 0.5.0', :platform => :ruby
gem 'pg', '~> 1.0', :platform => :ruby
end if RUBY_PLATFORM != 'java' && RUBY_VERSION.to_f >= 2.7
appraise 'rails_7_1' do
gem 'rails', '~> 7.1.0'
gem 'mysql2', '~> 0.5.0', :platform => :ruby
gem 'pg', '~> 1.0', :platform => :ruby
end if RUBY_PLATFORM != 'java' && RUBY_VERSION.to_f >= 2.7