-
Notifications
You must be signed in to change notification settings - Fork 74
/
Gemfile
267 lines (199 loc) · 7.07 KB
/
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
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
# on servers we don't have proper LANG
Encoding.default_external = Encoding::UTF_8
source 'https://rubygems.org'
# to not use insecure git protocol
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem 'rack', '~> 2.2.8'
gem 'aws-sdk-rails', '~> 3'
gem 'aws-sdk-s3', '~> 1'
gem 'dotenv-rails', '~> 2.7'
gem 'rails', '~> 6.1'
gem 'mail', '~> 2.8.1'
gem "activejob-uniqueness"
# Needed for XML serialization of ActiveRecord::Base
gem 'activemodel-serializers-xml'
gem 'protected_attributes_continued', '~> 1.8.2'
gem 'rails-observers'
gem 'strong_migrations', '~> 0.6.8'
group :assets do
gem 'coffee-rails', '~> 5.0'
gem 'non-stupid-digest-assets', '~> 1.0'
gem 'sprockets-rails'
end
gem 'sass-rails', '~> 5.0.8'
gem 'bcrypt', '~> 3.1.7'
gem 'oauth2', '~> 2.0'
gem 'open_id_authentication'
gem 'sorted_set', '~> 1.0'
gem 'i18n'
# Apisonator client
gem 'pisoni', '~> 1.30'
gem '3scale_time_range', '0.0.6'
gem 'statsd-ruby', require: false
# Sidekiq
gem 'sidekiq', '~> 7', require: %w[sidekiq sidekiq/web]
gem 'sidekiq-batch', '~> 0.2.0'
gem 'sidekiq-cron', require: %w[sidekiq/cron sidekiq/cron/web]
gem 'sidekiq-throttled', '~> 1.4.0'
# Yabeda metrics
gem 'webrick', '~> 1.8.2'
gem 'yabeda-prometheus-mmap'
gem 'yabeda-sidekiq'
gem 'activemerchant', '~> 1.107.4'
gem 'audited', '~> 5.0.2'
gem 'stripe', '~> 5.28.0' # we need the stripe gem because activemerchant can not generate Stripe's "customers"
gem 'acts_as_list', '~> 0.9.17'
gem 'braintree', '~> 2.93'
gem 'bugsnag', '~> 6.26'
gem 'cancancan', '~> 3.6.0'
gem 'formtastic', '~> 4.0'
gem 'htmlentities', '~>4.3', '>= 4.3.4'
# TODO: Not actively maintained https://github.com/activeadmin/inherited_resources#notice replace with respond_with and fix things the rails way
gem 'inherited_resources', '~> 1.12.0'
gem 'json', '~> 2.7', '>= 2.7.1'
gem 'mysql2', '~> 0.5.3'
gem '3scale_client', '~> 2.11', require: false
gem 'analytics-ruby', require: false
gem 'dalli'
gem 'faraday', '~> 2.0', '<= 2.9'
gem 'mimemagic', '~> 0.3.10'
gem 'nokogiri', '~> 1.15.5'
gem 'secure_headers', '~> 6.3.0'
gem 'redlock'
gem 'acts-as-taggable-on', '~> 8.0'
gem 'baby_squeel', '~> 2.0'
gem 'browser'
gem 'diff-lcs', '~> 1.2'
gem 'hiredis-client'
gem 'httpclient', github: '3scale/httpclient', branch: 'ssl-env-cert'
gem 'json-schema', git: 'https://github.com/3scale/json-schema.git'
gem 'local-fastimage_resize', '~> 3.4.0', require: 'fastimage/resize'
gem 'kt-paperclip', '~> 7.2'
gem 'matrix', '~> 0.4.2' # needed only until we upgrade capybara and prawn that list it as a dependency
gem 'prawn'
gem 'prawn-table', git: "https://github.com/prawnpdf/prawn-table.git", branch: "38b5bdb5dd95237646675c968091706f57a7a641"
gem 'prawn-svg'
gem 'rails_event_store', '~> 0.9.0', require: false
gem 'ratelimit'
gem 'recaptcha', '~> 5.16.0'
gem 'redcarpet', '~>3.5.1', require: false
gem 'RedCloth', '~>4.3', require: false
gem 'redis'
gem 'rest-client', '~> 2.0.2'
gem 'rubyzip', '~>1.3.0', require: false
gem 'svg-graph', require: false
gem 'swagger-ui_rails', git: 'https://github.com/3scale/swagger-ui_rails.git', branch: 'dev'
gem 'swagger-ui_rails2', git: 'https://github.com/3scale/swagger-ui_rails.git', branch: 'dev-2.1.3'
gem 'thinking-sphinx', '~> 5.5.0'
gem 'ts-datetime-delta', require: 'thinking_sphinx/deltas/datetime_delta'
gem 'will_paginate', '~> 3.3'
gem 'zip-zip', require: false
# TODO: this gem seems a bit abandoned, consider getting rid of it
gem 'acts_as_tree', '~> 2.9.1'
gem 'addressable', require: false
gem 'hashie', require: false
gem 'rack-x_served_by', '~> 0.1.1'
gem 'rack-cors'
gem 'roar-rails'
gem 'reform', '~> 2.3.0', require: false
gem 'reform-rails', '~> 0.2.2', require: false
# sanitize params passed to rack
gem 'rack-utf8_sanitizer'
gem 'jwt', '~> 1.5.2', require: false
group :assets do
gem 'font-awesome-rails', '~> 4.7.0.5'
gem 'jquery-rails', '~> 4.4'
gem 'uglifier'
gem 'active-docs', path: 'vendor/active-docs'
end
gem 'compass-rails', '~> 3.0.2'
gem 'after_commit_queue', '~> 1.1.0'
gem 'state_machines', '~> 0.5.0'
gem 'state_machines-activerecord', '~> 0.8'
# for liquid docs on-fly generation
gem 'commonmarker', '~> 0.23.10'
gem 'escape_utils'
gem 'html-pipeline'
# templating
gem 'ruby-openid'
gem 'slim-rails', '~> 3.2'
gem 'draper', '~> 4.0.2'
group :development do
gem 'listen'
gem 'letter_opener', require: ENV.fetch('LETTER_OPENER', '0') == '1'
gem 'yard', require: false
gem 'rubocop', '1.39', require: false # Should match codeclimate's rubocop channel defined in .codeclimate.yml
gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false
gem 'reek', '6.01', require: false # Should match codeclimate's stable version of Reek. See https://docs.codeclimate.com/docs/reek
end
gem 'mail_view', '~> 2.0.4'
# legacy from rails 2.3 -
gem 'dynamic_form'
gem 'record_tag_helper', '~> 1.0'
group :test do
gem 'rack-no_animations', '~> 1.0.3'
gem 'rails-controller-testing', '~> 1.0.4'
gem 'simplecov', '~> 0.22.0', require: false
gem 'simplecov-cobertura', '~> 2.1'
gem 'capybara', '~>3.40.0'
gem 'xpath', '~>3.2.0'
gem 'chronic'
gem 'cucumber', '~> 7.0'
gem 'cucumber-rails', '~> 3.0.0', require: false
gem 'email_spec', require: false
gem 'fakefs', require: 'fakefs/safe'
gem 'launchy'
gem 'mechanize'
gem 'selenium-webdriver', '~> 4.25', require: false
gem 'webmock', '~> 3.24.0'
gem 'childprocess'
gem 'equivalent-xml', require: false
gem 'rspec-rails', '~> 6.1', require: false # version 6.x is needed for for Rails 6.1 or 7.x
# Reason to use the fork: https://github.com/kucaahbe/rspec-html-matchers/pull/21
gem 'rspec_api_documentation'
gem 'rspec-html-matchers', github: '3scale/rspec-html-matchers', branch: 'fix/rspec-3-with-xml-document', require: false
gem 'shoulda', '~> 4.0'
gem 'ci_reporter_shell', github: '3scale/ci_reporter_shell', require: false
gem 'minitest', '5.10.3'
gem 'minitest-ci', require: false
gem 'minitest-reporters', require: false
gem 'minitest-stub-const'
gem 'rspec_junit_formatter'
# IMPORTANT: Load 'mocha' after 'shoulda'.
gem 'mocha', require: 'mocha/minitest'
# proxy tests
gem 'database_cleaner', require: false
gem 'thin', require: false
# performance tests
gem "n_plus_one_control"
gem 'ruby-prof'
gem 'with_env'
gem 'pdf-inspector', require: 'pdf/inspector'
end
group :development, :test do
gem 'active_record_query_trace'
gem 'bootsnap', '~> 1.16'
gem 'bullet', '~> 6.1.5'
gem 'colorize'
gem 'factory_bot_rails', '~> 6.2'
gem 'pry-byebug', '>= 3.7.0'
gem 'pry-doc', '>= 0.8', require: false
gem 'pry-rails'
gem 'pry-shell'
gem 'pry-stack_explorer'
gem 'unicorn-rails'
end
group :licenses do
gem 'license_finder', '~> 7.1.0'
end
gem 'developer_portal', path: 'lib/developer_portal'
gem 'unicorn', require: false, group: %i[production]
# NOTE: Use ENV['DB'] only to install oracle dependencies
group :oracle do
oracle = -> { (ENV['ORACLE'] == '1') || ENV.fetch('DATABASE_URL', ENV['DB'])&.start_with?('oracle') }
gem 'activerecord-oracle_enhanced-adapter', '~> 6.1.6', install_if: oracle
gem 'ruby-oci8', require: false, install_if: oracle
end
gem 'kubeclient'
gem 'pg', '~> 1.3.5'