forked from rubyconfig/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appraisals
57 lines (52 loc) · 1.78 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
# Rails 5.x, 6.0 requires Ruby < 3
if RUBY_ENGINE == 'ruby' && RUBY_VERSION <= '3.0'
appraise 'rails-5.2' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
gem 'bootsnap', '~> 1.4'
gem 'rails', '5.2.8.1'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
end
appraise 'rails-6.0' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 60.1', platform: :jruby
gem 'bootsnap', '~> 1.4'
gem 'rails', '6.0.6.1'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '~> 1.4.0', platform: :ruby
end
end
# Test rails 6.1 with psych >= 4
appraise 'rails-6.1' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 61.1', platform: :jruby
gem 'bootsnap', '>= 1.4.4'
gem 'rails', '6.1.7.6'
gem 'rspec-rails', '~> 5.0'
gem 'sqlite3', '~> 1.4', platform: :ruby
gem 'psych', '>= 4'
end
# Temporarily exclude Truffleruby and JRuby from testing in Rails 7.x until they fix the issues upstream.
# See https://github.com/rubyconfig/config/pull/344#issuecomment-1766209753
# if (RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.7') || RUBY_ENGINE != 'ruby'
if RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.7'
appraise 'rails-7.0' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 70.1', platform: :jruby
gem 'sqlite3', '~> 1.6.4', platform: :ruby
gem 'bootsnap', '>= 1.4.4'
gem 'rails', '7.0.8'
gem 'rspec-rails', '~> 6.0.3'
gem 'sprockets-rails', '~> 3.4.2'
gem 'psych', '>= 4'
end
appraise 'rails-7.1' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 70.1', platform: :jruby
gem 'sqlite3', '~> 1.6.6', platform: :ruby
gem 'bootsnap', '>= 1.16.0'
gem 'rails', '7.1.0'
gem 'rspec-rails', '~> 6.0.3'
gem 'sprockets-rails', '~> 3.4.2'
gem 'psych', '>= 4'
end
end
appraise 'sinatra' do
gem 'sinatra', '2.0.8.1'
end