-
Notifications
You must be signed in to change notification settings - Fork 375
/
ruby-2.5.rb
298 lines (261 loc) · 7.15 KB
/
ruby-2.5.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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
appraise 'hanami-1' do
gem 'rack'
gem 'rack-test' # Dev dependencies for testing rack-based code
gem 'hanami', '~> 1'
end
appraise 'rails4-mysql2' do
# Rails 4.2.11.3 with bundler unlocked to > 2.0
gem 'rails', git: 'https://github.com/DataDog/rails', ref: '592dfae8747db3bb28c3292a9730817f0fa76885'
gem 'mysql2', '< 1'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails4-postgres' do
# Rails 4.2.11.3 with bundler unlocked to > 2.0
gem 'rails', git: 'https://github.com/DataDog/rails', ref: '592dfae8747db3bb28c3292a9730817f0fa76885'
gem 'pg', '< 1.0'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails4-semantic-logger' do
# Rails 4.2.11.3 with bundler unlocked to > 2.0
gem 'rails', git: 'https://github.com/DataDog/rails', ref: '592dfae8747db3bb28c3292a9730817f0fa76885'
gem 'pg', '< 1.0'
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'rails4-postgres-redis' do
# Rails 4.2.11.3 with bundler unlocked to > 2.0
gem 'rails', git: 'https://github.com/DataDog/rails', ref: '592dfae8747db3bb28c3292a9730817f0fa76885'
gem 'pg', '< 1.0'
gem 'redis-rails'
gem 'redis', '< 4.0'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails4-postgres-sidekiq' do
# Rails 4.2.11.3 with bundler unlocked to > 2.0
gem 'rails', git: 'https://github.com/DataDog/rails', ref: '592dfae8747db3bb28c3292a9730817f0fa76885'
gem 'pg', '< 1.0'
gem 'sidekiq'
gem 'activejob'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails5-mysql2' do
gem 'rails', '~> 5.2.1'
gem 'mysql2', '< 1', platform: :ruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'mail', '~> 2.7.1' # Somehow 2.8.x breaks ActionMailer test in jruby
end
appraise 'rails5-postgres' do
gem 'rails', '~> 5.2.1'
gem 'pg', '< 1.0', platform: :ruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails5-semantic-logger' do
gem 'rails', '~> 5.2.1'
gem 'pg', '< 1.0', platform: :ruby
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'rails5-postgres-redis' do
gem 'rails', '~> 5.2.1'
gem 'pg', '< 1.0', platform: :ruby
gem 'redis', '>= 4.0.1'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails5-postgres-redis-activesupport' do
gem 'rails', '~> 5.2.1'
gem 'pg', '< 1.0', platform: :ruby
gem 'redis', '~> 4'
gem 'redis-store', '~> 1.9'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'redis-rails'
end
appraise 'rails5-postgres-sidekiq' do
gem 'rails', '~> 5.2.1'
gem 'pg', '< 1.0', platform: :ruby
gem 'sidekiq'
gem 'activejob'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-mysql2' do
gem 'rails', '~> 6.0.0'
gem 'mysql2', '< 1', platform: :ruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'mail', '~> 2.7.1' # Somehow 2.8.x breaks ActionMailer test in jruby
end
appraise 'rails6-postgres' do
gem 'rails', '~> 6.0.0'
gem 'pg', '< 1.0', platform: :ruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-semantic-logger' do
gem 'rails', '~> 6.0.0'
gem 'pg', '< 1.0', platform: :ruby
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'rails6-postgres-redis' do
gem 'rails', '~> 6.0.0'
gem 'pg', '< 1.0', platform: :ruby
gem 'redis', '>= 4.0.1'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails6-postgres-redis-activesupport' do
gem 'rails', '~> 6.0.0'
gem 'pg', '< 1.0', platform: :ruby
gem 'redis', '~> 4'
gem 'redis-store', '~> 1.9'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'redis-rails'
end
appraise 'rails6-postgres-sidekiq' do
gem 'rails', '~> 6.0.0'
gem 'pg', '< 1.0', platform: :ruby
gem 'sidekiq'
gem 'activejob'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-mysql2' do
gem 'rails', '~> 6.1.0'
gem 'mysql2', '~> 0.5', platform: :ruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'mail', '~> 2.7.1' # Somehow 2.8.x breaks ActionMailer test in jruby
end
appraise 'rails61-postgres' do
gem 'rails', '~> 6.1.0'
gem 'pg', '>= 1.1', platform: :ruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-postgres-redis' do
gem 'rails', '~> 6.1.0'
gem 'pg', '>= 1.1', platform: :ruby
gem 'redis', '>= 4.2.5'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-postgres-sidekiq' do
gem 'rails', '~> 6.1.0'
gem 'pg', '>= 1.1', platform: :ruby
gem 'sidekiq', '>= 6.1.2'
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
end
appraise 'rails61-semantic-logger' do
gem 'rails', '~> 6.1.0'
gem 'pg', '>= 1.1', platform: :ruby
gem 'sprockets', '< 4'
gem 'rails_semantic_logger', '~> 4.0'
end
appraise 'resque2-redis3' do
gem 'redis', '< 4.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'
end
appraise 'http' do
gem 'ethon'
gem 'excon'
gem 'faraday'
gem 'http'
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', '~> 5'
gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'makara'
gem 'mysql2', '< 1', platform: :ruby
gem 'pg', '>= 0.18.4', platform: :ruby
gem 'sequel'
gem 'sqlite3', '~> 1.4.1', platform: :ruby
end
appraise 'activesupport' do
gem 'activesupport', '~> 5'
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 'grpc', platform: :ruby
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 'resque'
gem 'roda', '>= 2.0.0'
gem 'semantic_logger', '~> 4.0'
gem 'sidekiq'
gem 'sneakers', '>= 2.12.0'
gem 'bunny', '~> 2.19.0' # uninitialized constant OpenSSL::SSL::TLS1_3_VERSION for jruby, https://github.com/ruby-amqp/bunny/issues/645
gem 'sucker_punch'
gem 'que', '>= 1.0.0', '< 2.0.0'
end
[
'2.0',
].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].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.12.0'
end
appraise 'core-old' do
gem 'dogstatsd-ruby', '~> 4'
end