forked from soveran/cuba
-
Notifications
You must be signed in to change notification settings - Fork 140
/
.ci.gemfile
64 lines (57 loc) · 1.07 KB
/
.ci.gemfile
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
60
61
62
63
64
source 'https://rubygems.org'
if RUBY_VERSION < '2'
gem 'rake', '<10'
elsif RUBY_VERSION < '2.3'
gem 'rake', '<13'
else
gem 'rake'
end
if RUBY_VERSION < '2.0.0'
gem 'mime-types', '< 3'
gem "tilt", '<2.0.11'
else
gem "tilt"
end
if RUBY_VERSION < '3.1.0' && RUBY_VERSION >= '3.0.0'
gem 'json', '2.5.1'
elsif RUBY_VERSION < '2.0.0'
gem 'json', '<1.8.5'
elsif RUBY_VERSION < '2.3.0'
gem 'json', '<2.6'
else
gem 'json'
end
case RUBY_VERSION[0, 3]
when '1.9', '2.0'
gem 'rack', '<1.6'
when '2.1', '2.2'
gem 'rack', '<2'
when '2.3'
gem 'rack', '<2.1'
when '2.5'
gem 'rack', '<2.2'
when '2.6'
gem 'rack', '<3'
when '2.7'
gem 'rack', '<3.1'
when '2.4', '3.3'
# Test main branch of Rack for lowest and highest supported
# Ruby version
gem 'rack', :git => 'https://github.com/rack/rack'
else
gem 'rack'
end
if RUBY_VERSION < '2.4.0'
# Until mintest 5.12.0 is fixed
gem 'minitest', '5.11.3'
else
gem 'minitest'
end
if RUBY_VERSION >= '3.1.0'
gem 'net-smtp'
end
gem "minitest-global_expectations"
gem "minitest-hooks"
gem "erubi"
gem "rack_csrf"
gem "mail"