forked from rubyconfig/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppraisals
50 lines (45 loc) · 1.43 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
# Bundler >= 2.x do not work with Rails 4.2
if (ENV['BUNDLER_VERSION'] || `bundler -v`[/\d+\.\d+\.\d+/]).start_with?('1.17')
appraise 'rails-4.2' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.3.25', platform: :jruby
gem 'rails', '4.2.11.1'
gem 'rspec-rails', '~> 3.7'
gem 'sprockets', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
end
else
puts 'Skipping rails-4.2 for Bundler >= 2.x'
end
appraise 'rails-5.0' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 50.6', platform: :jruby
gem 'rails', '5.0.7.2'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
end
appraise 'rails-5.1' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 51.6', platform: :jruby
gem 'rails', '5.1.7'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
end
appraise 'rails-5.2' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
gem 'bootsnap', '~> 1.4'
gem 'rails', '5.2.4.1'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
end
# Rails 6.x requires Ruby >= 2.5.0
if RUBY_VERSION >= '2.5.0'
appraise 'rails-6.0' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 60.1', platform: :jruby
gem 'bootsnap', '~> 1.4'
gem 'rails', '6.0.2.1'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '~> 1.4.0', platform: :ruby
end
end
appraise 'sinatra' do
gem 'sinatra', '2.0.8.1'
end