-
Notifications
You must be signed in to change notification settings - Fork 375
/
jruby-9.3.rb
253 lines (220 loc) · 6.29 KB
/
jruby-9.3.rb
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
appraise 'rails5-mysql2' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails5-postgres' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails5-semantic-logger' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'rails5-postgres-redis' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'redis', '~> 4'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails5-postgres-redis-activesupport' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'redis', '~> 4'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'redis-rails'
gem 'redis-store', '>= 1.4', '< 2'
end
appraise 'rails5-postgres-sidekiq' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sidekiq'
gem 'activejob'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-mysql2' do
gem 'rails', '~> 6.0.0'
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-postgres' do
gem 'rails', '~> 6.0.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-semantic-logger' do
gem 'rails', '~> 6.0.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'rails6-postgres-redis' do
gem 'rails', '~> 6.0.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'redis', '~> 4'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-postgres-redis-activesupport' do
gem 'rails', '~> 6.0.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'redis', '~> 4'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'redis-rails'
gem 'redis-store', '>= 1.4', '< 2'
end
appraise 'rails6-postgres-sidekiq' do
gem 'rails', '~> 6.0.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sidekiq'
gem 'activejob'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-mysql2' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-postgres' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-postgres-redis' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'redis', '~> 4'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-postgres-sidekiq' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sidekiq', '>= 6.1.2'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-semantic-logger' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'resque2-redis3' do
gem 'redis', '~> 3.0'
gem 'resque', '>= 2.0'
end
appraise 'resque2-redis4' do
gem 'redis', '~> 4.0'
gem 'resque', '>= 2.0'
end
appraise 'aws' do
gem 'aws-sdk'
gem 'shoryuken'
# https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176/
# `rexml` 3.2.7+ breaks because of strscan incompatibility, which is ported with JRuby 9.3.14.0
# `strsan` 3.1.0 does not fix the issue and raise TypeError when StringScanner#scan is given a string instead of Regexp
# https://www.jruby.org/2024/02/20/jruby-9-3-14-0
gem 'rexml', '= 3.2.6'
end
appraise 'http' do
gem 'ethon'
gem 'excon'
gem 'faraday'
gem 'http', '~> 4' # TODO: Fix test breakage and flakiness for 5+
gem 'httpclient'
gem 'rest-client'
gem 'typhoeus'
end
build_coverage_matrix('stripe', 7..12, min: '5.15.0')
build_coverage_matrix('opensearch', 2..3, gem: 'opensearch-ruby')
build_coverage_matrix('elasticsearch', 7..8)
appraise 'relational_db' do
gem 'activerecord', '~> 6.0.0'
gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'makara'
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sequel'
gem 'jdbc-sqlite3', '>= 3.28', platform: :jruby
end
appraise 'activesupport' do
gem 'activesupport', '~> 6.0.0'
gem 'actionpack'
gem 'actionview'
gem 'active_model_serializers', '>= 0.10.0'
gem 'grape'
gem 'lograge', '~> 0.11'
gem 'racecar', '>= 0.3.5'
gem 'ruby-kafka', '>= 0.7.10'
end
appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
gem 'mongo', '>= 2.8.0', '< 2.15.0' # TODO: FIX TEST BREAKAGES ON >= 2.15 https://github.com/DataDog/dd-trace-rb/issues/1596
gem 'rack-test' # Dev dependencies for testing rack-based code
gem 'rake', '>= 12.3'
gem 'redis', '~> 4'
gem 'resque'
gem 'roda', '>= 2.0.0'
gem 'semantic_logger', '~> 4.0'
gem 'sidekiq', '~> 6.5'
gem 'sneakers', '>= 2.12.0'
gem 'sucker_punch'
gem 'que', '>= 1.0.0', '< 2.0.0'
end
[
'2.0',
'1.13',
].each do |v|
appraise "graphql-#{v}" do
gem 'rails', '~> 6.1.0'
gem 'graphql', "~> #{v}.0"
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
end
[1, 2, 3].each do |n|
appraise "rack-#{n}" do
gem 'rack', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end
[2, 3].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end
[3, 4, 5].each do |n|
appraise "redis-#{n}" do
gem 'redis', "~> #{n}"
end
end
appraise 'contrib-old' do
gem 'dalli', '< 3.0.0'
gem 'faraday', '0.17'
gem 'presto-client', '>= 0.5.14' # Renamed to trino-client in >= 1.0
gem 'qless', '0.10.0' # Newer releases require `rusage`, which is not available for JRuby
gem 'redis', '< 4' # Missing redis version cap for `qless`
end
appraise 'core-old' do
gem 'dogstatsd-ruby', '~> 4'
end