forked from pat/thinking-sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appraisals
28 lines (24 loc) · 890 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
appraise 'rails_3_2' do
gem 'rails', '~> 3.2.22.2'
gem 'rack', '~> 1.0', :platforms => [:ruby_20, :ruby_21]
end if RUBY_VERSION.to_f <= 2.3
appraise 'rails_4_0' do
gem 'rails', '~> 4.0.13'
gem 'rack', '~> 1.0', :platforms => [:ruby_20, :ruby_21]
end if RUBY_VERSION.to_f <= 2.3
appraise 'rails_4_1' do
gem 'rails', '~> 4.1.15'
gem 'rack', '~> 1.0', :platforms => [:ruby_20, :ruby_21]
end if RUBY_VERSION.to_f <= 2.3
appraise 'rails_4_2' do
gem 'rails', '~> 4.2.6'
gem 'rack', '~> 1.0', :platforms => [:ruby_20, :ruby_21]
end if RUBY_VERSION.to_f <= 2.3
appraise 'rails_5_0' do
gem 'rails', '~> 5.0.0'
# gem 'activerecord-jdbc-adapter',
# :git => 'git://github.com/jruby/activerecord-jdbc-adapter.git',
# :branch => 'rails-5',
# :platform => :jruby,
# :ref => 'c3570ce730'
end if RUBY_VERSION.to_f >= 2.2 && RUBY_PLATFORM != 'java'