-
Notifications
You must be signed in to change notification settings - Fork 375
/
jruby-9.4.rb
158 lines (138 loc) · 3.78 KB
/
jruby-9.4.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
appraise 'rails61-mysql2' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcmysql-adapter', '~> 61.0', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'net-smtp'
end
appraise 'rails61-postgres' do
gem 'rails', '~> 6.1.0'
gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby
gem 'sprockets', '< 4'
gem 'lograge', '~> 0.11'
gem 'net-smtp'
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'
gem 'net-smtp'
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'
gem 'rails_semantic_logger', '~> 4.0'
gem 'net-smtp'
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'
gem 'net-smtp'
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', '~> 4' # TODO: Completely broken with this JRuby version, this has not be validate on CI
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.1.0'
gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'makara', '>= 0.6.0.pre' # Ruby 3 requires >= 0.6.0, which is currently in pre-release: https://rubygems.org/gems/makara/versions
gem 'activerecord-jdbcmysql-adapter', '~> 61.0', platform: :jruby
gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0', platform: :jruby
gem 'sequel'
gem 'jdbc-sqlite3', '>= 3.28', platform: :jruby
end
appraise 'activesupport' do
gem 'activesupport', '~> 7'
gem 'actionpack'
gem 'actionview'
gem 'active_model_serializers', '>= 0.10.0'
gem 'grape'
gem 'lograge'
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 'resque'
gem 'roda', '>= 2.0.0'
gem 'semantic_logger', '~> 4.0'
gem 'sidekiq', '~> 7'
gem 'sneakers', '>= 2.12.0'
gem 'sucker_punch'
gem 'que', '>= 1.0.0'
end
[
'2.3',
'2.2',
'2.1',
'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
[3, 4, 5].each do |n|
appraise "redis-#{n}" do
gem 'redis', "~> #{n}"
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, 4].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
appraise 'contrib-old' do
gem 'dalli', '< 3.0.0'
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