-
Notifications
You must be signed in to change notification settings - Fork 95
/
.ci.gemfile
152 lines (129 loc) · 2.45 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
source 'https://rubygems.org'
if RUBY_VERSION < '2.0'
gem 'rake', '< 10'
gem 'json', '<1.8.5'
gem 'chunky_png', '<1.3.13'
gem 'rack-test', '< 0.7.0'
else
gem 'rake'
gem 'json'
end
if RUBY_VERSION > '3.1'
# Test main branch of Rack for lowest and highest supported
# Ruby version
gem 'rack', :git => 'https://github.com/rack/rack'
elsif RUBY_VERSION < '2.2'
gem 'rack', '<2'
else
gem 'rack'
end
if RUBY_VERSION >= '2.3'
gem 'argon2'
elsif RUBY_VERSION >= '2.1'
gem 'ffi', '<1.10'
gem 'argon2', '<2.0.3'
end
platforms :ruby do
if RUBY_VERSION < '2.0'
gem "pg", '<0.19.0'
else
gem "pg"
end
if RUBY_VERSION < '2.0'
gem "mysql2", '<0.5'
else
gem "mysql2"
end
if RUBY_VERSION < '2.5'
gem 'sqlite3', '< 1.5'
else
gem 'sqlite3'
end
end
platforms :jruby do
gem 'jdbc-postgres'
gem 'jdbc-mysql'
gem 'jdbc-sqlite3', '<3.42'
gem 'racc', '<1.6'
end
if RUBY_VERSION < '2.2'
gem 'capybara', '<3'
elsif RUBY_VERSION < '2.3'
gem 'capybara', '<3.2'
elsif RUBY_VERSION < '2.5'
gem 'capybara', '<3.33', '>3'
elsif RUBY_VERSION > '3'
gem 'capybara', '<3.38'
else
gem 'capybara'
end
if RUBY_VERSION < '2.1'
gem 'addressable', '< 2.4'
end
if RUBY_VERSION < '2.1'
gem 'nokogiri', '< 1.7'
end
if RUBY_VERSION < '2.0'
gem 'mime-types', '< 3'
end
if RUBY_VERSION >= '2.3' && RUBY_VERSION < '2.4'
gem 'ipaddr', '< 1.2.7'
end
if RUBY_VERSION < '2.1'
gem 'jwt', '< 2'
else
gem 'jwt'
end
if RUBY_VERSION < '2.0'
gem 'rotp', '< 4'
elsif RUBY_VERSION < '2.1'
gem 'rotp', '< 5'
else
gem 'rotp'
end
platforms :ruby do
# cbor dependency not supported on JRuby
if RUBY_VERSION > '2.5'
gem 'webauthn'
elsif RUBY_VERSION > '2.4'
gem 'webauthn', '<2.5'
elsif RUBY_VERSION > '2.3'
gem 'webauthn', '<2.2.0'
end
end
if RUBY_VERSION < '2.3'
gem 'rqrcode', '<1'
else
gem 'rqrcode'
end
if RUBY_VERSION < '2.4'
gem 'rubyzip', '<2'
else
gem 'rubyzip'
end
if RUBY_VERSION >= '3.1.0'
gem 'net-smtp'
end
if RUBY_VERSION < '2.1' || (RUBY_ENGINE == 'jruby' && RUBY_VERSION < '2.5')
# Avoid bigdecimal requirement
gem 'sequel', '<5.72'
elsif RUBY_VERSION < '2.4'
gem 'sequel'
gem 'bigdecimal', '<1.3'
else
gem 'sequel'
end
gem 'rack_csrf'
gem 'xpath'
gem 'roda'
gem 'tilt'
gem 'bcrypt'
gem 'mail'
gem 'minitest-hooks', '>= 1.1'
gem 'minitest-global_expectations'
if RUBY_VERSION < '2.4.0'
# Until mintest 5.12.0 is fixed
gem 'minitest', '5.11.3'
else
gem 'minitest', '>= 5.7.0'
end