Gemfile 11.1 KB
Newer Older
B
bogdanvlviv 已提交
1
source 'https://rubygems.org'
G
gitlabhq 已提交
2

H
Heinrich Lee Yu 已提交
3
gem 'rails', '5.2.3'
V
Valery Sizov 已提交
4

5 6
gem 'bootsnap', '~> 1.4'

7 8 9
# Improves copy-on-write performance for MRI
gem 'nakayoshi_fork', '~> 0.0.4'

V
Valery Sizov 已提交
10
# Responders respond_to and respond_with
11
gem 'responders', '~> 3.0'
12

U
ubudzisz 已提交
13
gem 'sprockets', '~> 3.7.0'
14

D
Dmitriy Zaporozhets 已提交
15
# Default values for AR models
16
gem 'default_value_for', '~> 3.3.0'
D
Dmitriy Zaporozhets 已提交
17

D
Dmitriy Zaporozhets 已提交
18
# Supported DBs
19
gem 'pg', '~> 1.1'
D
Dmitriy Zaporozhets 已提交
20

S
Stan Hu 已提交
21
gem 'rugged', '~> 0.28'
J
Jasper Maes 已提交
22
gem 'grape-path-helpers', '~> 1.1'
R
Robert Speicher 已提交
23

24
gem 'faraday', '~> 0.12'
25
gem 'marginalia', '~> 1.8.0'
D
Douglas Barbosa Alexandre 已提交
26

K
karen Carias 已提交
27
# Authentication libraries
U
Utkarsh Gupta 已提交
28
gem 'devise', '~> 4.6'
29
gem 'doorkeeper', '~> 4.3'
30
gem 'doorkeeper-openid_connect', '~> 1.5'
P
Pirate Praveen 已提交
31
gem 'omniauth', '~> 1.8'
32
gem 'omniauth-auth0', '~> 2.0.0'
33
gem 'omniauth-azure-oauth2', '~> 0.0.9'
34
gem 'omniauth-cas3', '~> 1.1.4'
M
Markus Koller 已提交
35
gem 'omniauth-facebook', '~> 4.0.0'
36
gem 'omniauth-github', '~> 1.3'
M
Markus Koller 已提交
37
gem 'omniauth-gitlab', '~> 1.0.2'
38
gem 'omniauth-google-oauth2', '~> 0.6.0'
M
Markus Koller 已提交
39
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
J
Joe Marty 已提交
40
gem 'omniauth-oauth2-generic', '~> 0.2.2'
P
Pirate Praveen 已提交
41
gem 'omniauth-saml', '~> 1.10'
42
gem 'omniauth-shibboleth', '~> 1.3.0'
43
gem 'omniauth-twitter', '~> 1.4'
M
Markus Koller 已提交
44
gem 'omniauth_crowd', '~> 2.2.0'
45
gem 'omniauth-authentiq', '~> 0.3.3'
46
gem 'omniauth_openid_connect', '~> 0.3.3'
47
gem "omniauth-ultraauth", '~> 0.0.2'
G
Gosia Ksionek 已提交
48
gem 'omniauth-salesforce', '~> 1.0.5'
49
gem 'rack-oauth2', '~> 1.9.3'
50
gem 'jwt', '~> 2.1.0'
D
Dmitriy Zaporozhets 已提交
51

52 53 54
# Kerberos authentication. EE-only
gem 'gssapi', group: :kerberos

55
# Spam and anti-bot protection
P
Pirate Praveen 已提交
56
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
57
gem 'akismet', '~> 3.0'
A
Alex Buijs 已提交
58
gem 'invisible_captcha', '~> 0.12.1'
59

60
# Two-factor authentication
61
gem 'devise-two-factor', '~> 3.0.0'
D
Douwe Maan 已提交
62
gem 'rqrcode-rails3', '~> 0.1.7'
63
gem 'attr_encrypted', '~> 3.1.0'
64
gem 'u2f', '~> 0.2.1'
65

66
# GitLab Pages
67
gem 'validates_hostname', '~> 1.0.6'
68
gem 'rubyzip', '~> 1.3.0', require: 'zip'
V
Vladimir Shushlin 已提交
69 70
# GitLab Pages letsencrypt support
gem 'acme-client', '~> 2.0.2'
71

72
# Browser detection
S
Stan Hu 已提交
73
gem 'browser', '~> 2.5'
74

K
Kevin O'Connor 已提交
75
# GPG
76
gem 'gpgme', '~> 2.0.19'
K
Kevin O'Connor 已提交
77

78
# LDAP Auth
Y
Yorick Peterse 已提交
79
# GitLab fork with several improvements to original library. For full list of changes
80
# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
81
gem 'gitlab_omniauth-ldap', '~> 2.1.1', require: 'omniauth-ldap'
82
gem 'net-ldap'
83

R
randx 已提交
84
# API
85
gem 'grape', '~> 1.1.0'
86
gem 'grape-entity', '~> 0.7.1'
87
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
R
randx 已提交
88

N
Nick Thomas 已提交
89
# GraphQL API
B
Brett Walker 已提交
90
gem 'graphql', '~> 1.9.11'
91
# NOTE: graphiql-rails v1.5+ doesn't work: https://gitlab.com/gitlab-org/gitlab/issues/31771
92
# TODO: remove app/views/graphiql/rails/editors/show.html.erb when https://github.com/rmosolgo/graphiql-rails/pull/71 is released:
93
# https://gitlab.com/gitlab-org/gitlab/issues/31747
94
gem 'graphiql-rails', '~> 1.4.10'
95
gem 'apollo_upload_server', '~> 2.0.0.beta3'
F
Felipe Artur 已提交
96
gem 'graphql-docs', '~> 1.6.0', group: [:development, :test]
N
Nick Thomas 已提交
97

98 99 100
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

R
randx 已提交
101
# Pagination
102
gem 'kaminari', '~> 1.0'
R
randx 已提交
103 104

# HAML
105
gem 'hamlit', '~> 2.11.0'
R
randx 已提交
106 107

# Files attachments
108
gem 'carrierwave', '~> 1.3'
109
gem 'mini_magick'
110

S
Stan Hu 已提交
111
# for backups
S
Stan Hu 已提交
112
gem 'fog-aws', '~> 3.5'
113 114 115
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
# Also see config/initializers/fog_core_patch.rb.
gem 'fog-core', '= 2.1.0'
116
gem 'fog-google', '~> 1.9'
117 118
gem 'fog-local', '~> 0.6'
gem 'fog-openstack', '~> 1.0'
119
gem 'fog-rackspace', '~> 0.1.1'
120
gem 'fog-aliyun', '~> 0.3'
S
Stan Hu 已提交
121

122
# for Google storage
123
gem 'google-api-client', '~> 0.23'
124

125
# for aws storage
B
bogdanvlviv 已提交
126
gem 'unf', '~> 0.1.4'
R
randx 已提交
127 128

# Seed data
129
gem 'seed-fu', '~> 2.3.7'
R
randx 已提交
130

131 132 133 134 135 136 137
# Search
gem 'elasticsearch-model', '~> 0.1.9'
gem 'elasticsearch-rails', '~> 0.1.9', require: 'elasticsearch/rails/instrumentation'
gem 'elasticsearch-api',   '5.0.3'
gem 'aws-sdk'
gem 'faraday_middleware-aws-signers-v4'

R
Robert Speicher 已提交
138
# Markdown and HTML processing
139
gem 'html-pipeline', '~> 2.12'
140
gem 'deckar01-task_list', '2.3.1'
141
gem 'gitlab-markup', '~> 1.7.0'
142
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
143
gem 'commonmarker', '~> 0.20'
M
Markus Koller 已提交
144
gem 'RedCloth', '~> 4.3.2'
T
Takuya Noguchi 已提交
145
gem 'rdoc', '~> 6.0'
M
Markus Koller 已提交
146 147 148
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
149
gem 'asciidoctor', '~> 2.0.10'
150
gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
151
gem 'asciidoctor-plantuml', '0.0.10'
152
gem 'rouge', '~> 3.11.0'
B
Brett Walker 已提交
153
gem 'truncato', '~> 0.7.11'
E
Enrique Alcantara 已提交
154
gem 'bootstrap_form', '~> 4.2.0'
155
gem 'nokogiri', '~> 1.10.5'
156
gem 'escape_utils', '~> 1.1'
157

158 159 160
# Calendar rendering
gem 'icalendar'

S
skv-headless 已提交
161
# Diffs
M
Manuel Rüger 已提交
162
gem 'diffy', '~> 3.1.0'
163
gem 'diff_match_patch', '~> 0.1.0'
S
skv-headless 已提交
164

165
# Application server
S
Stan Hu 已提交
166
gem 'rack', '~> 2.0.7'
167

J
Jacob Vosmaer 已提交
168
group :unicorn do
S
Stan Hu 已提交
169
  gem 'unicorn', '~> 5.4.1'
170
  gem 'unicorn-worker-killer', '~> 0.4.4'
J
Jacob Vosmaer 已提交
171
end
R
randx 已提交
172

173
group :puma do
174 175
  gem 'gitlab-puma', '~> 4.3.1.gitlab.2', require: false
  gem 'gitlab-puma_worker_killer', '~> 0.1.1.gitlab.1', require: false
J
Jan Provaznik 已提交
176
  gem 'rack-timeout', require: false
177 178
end

A
Andrew8xx8 已提交
179
# State machine
180
gem 'state_machines-activerecord', '~> 0.6.0'
A
Andrew8xx8 已提交
181

R
randx 已提交
182
# Issue tags
183
gem 'acts-as-taggable-on', '~> 6.0'
R
randx 已提交
184 185

# Background jobs
S
Stan Hu 已提交
186
gem 'sidekiq', '~> 5.2.7'
187
gem 'sidekiq-cron', '~> 1.0'
T
Takuya Noguchi 已提交
188
gem 'redis-namespace', '~> 1.6.0'
V
Valery Sizov 已提交
189
gem 'gitlab-sidekiq-fetcher', '0.5.2', require: 'sidekiq-reliable-fetch'
R
randx 已提交
190

S
Shinya Maeda 已提交
191
# Cron Parser
192
gem 'fugit', '~> 1.2.1'
S
Shinya Maeda 已提交
193

R
randx 已提交
194
# HTTP requests
195
gem 'httparty', '~> 0.16.4'
R
randx 已提交
196 197

# Colored output to console
198
gem 'rainbow', '~> 3.0'
R
randx 已提交
199

200 201
# Progress bar
gem 'ruby-progressbar'
R
randx 已提交
202

R
Riyad Preukschas 已提交
203
# GitLab settings
D
Douwe Maan 已提交
204
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
205

206
# Linear-time regex library for untrusted regular expressions
207
gem 're2', '~> 1.1.1'
208

R
randx 已提交
209
# Misc
D
Douwe Maan 已提交
210

211
gem 'version_sorter', '~> 2.2.4'
R
randx 已提交
212

213
# Export Ruby Regex to Javascript
R
Roger Rüttimann 已提交
214
gem 'js_regex', '~> 3.1'
215

216 217 218
# User agent parsing
gem 'device_detector'

219
# Redis
S
Stan Hu 已提交
220
gem 'redis', '~> 4.0'
221 222
gem 'connection_pool', '~> 2.0'

S
Stan Hu 已提交
223 224 225
# Redis session store
gem 'redis-rails', '~> 5.0.2'

B
blackst0ne 已提交
226
# Discord integration
B
blackst0ne 已提交
227
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
B
blackst0ne 已提交
228

229 230 231
# HipChat integration
gem 'hipchat', '~> 1.5.0'

T
Takuya Noguchi 已提交
232
# Jira integration
T
Takuya Noguchi 已提交
233
gem 'jira-ruby', '~> 1.7'
234
gem 'atlassian-jwt', '~> 0.2.0'
D
Drew Blessing 已提交
235

236
# Flowdock integration
237
gem 'flowdock', '~> 0.7'
238

239
# Slack integration
240
gem 'slack-notifier', '~> 1.5.1'
241

242 243 244
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

J
Jeremy 已提交
245
# Asana integration
246
gem 'asana', '~> 0.9'
J
Jeremy 已提交
247

J
Jared Szechy 已提交
248
# FogBugz integration
J
Jared Szechy 已提交
249
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
250

251
# Kubernetes integration
T
Tiger 已提交
252
gem 'kubeclient', '~> 4.4.0'
253

254
# Sanitize user input
255
gem 'sanitize', '~> 4.6'
256
gem 'babosa', '~> 1.0.2'
257

S
Stan Hu 已提交
258
# Sanitizes SVG input
259
gem 'loofah', '~> 2.2'
S
Stan Hu 已提交
260

261
# Working with license
P
Pirate Praveen 已提交
262
gem 'licensee', '~> 8.9'
263

D
Dmitriy Zaporozhets 已提交
264
# Ace editor
265
gem 'ace-rails-ap', '~> 4.1.0'
D
Dmitriy Zaporozhets 已提交
266

267
# Detect and convert string character encoding
268
gem 'charlock_holmes', '~> 0.7.5'
269

270 271 272
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

D
dosire 已提交
273 274 275
# Faster blank
gem 'fast_blank'

R
Rémy Coutable 已提交
276
# Parse time & duration
277 278
gem 'gitlab-chronic', '~> 0.10.5'
gem 'gitlab_chronic_duration', '~> 0.10.6.2'
279

M
Mike Greiling 已提交
280
gem 'webpack-rails', '~> 0.9.10'
281 282
gem 'rack-proxy', '~> 0.6.0'

283
gem 'sassc-rails', '~> 2.1.0'
B
bogdanvlviv 已提交
284
gem 'uglifier', '~> 2.7.2'
285

286
gem 'addressable', '~> 2.5.2'
287
gem 'font-awesome-rails', '~> 4.7'
288
gem 'gemojione', '~> 3.3'
P
Pirate Praveen 已提交
289
gem 'gon', '~> 6.2'
M
Markus Koller 已提交
290 291
gem 'request_store', '~> 1.3'
gem 'base32', '~> 0.3.0'
G
gitlabhq 已提交
292

293 294
gem "gitlab-license", "~> 1.0"

295 296 297
# Protect against bruteforcing
gem 'rack-attack', '~> 6.2.0'

298
# Sentry integration
U
Utkarsh Gupta 已提交
299
gem 'sentry-raven', '~> 2.9'
300

301
gem 'premailer-rails', '~> 1.10.3'
D
Douwe Maan 已提交
302

303
# LabKit: Tracing and Correlation
304
gem 'gitlab-labkit', '0.8.0'
305

R
Ruben Davila 已提交
306
# I18n
307
gem 'ruby_parser', '~> 3.8', require: false
308
gem 'rails-i18n', '~> 5.1'
R
Ruben Davila 已提交
309
gem 'gettext_i18n_rails', '~> 1.8.0'
310
gem 'gettext_i18n_rails_js', '~> 1.3'
R
Ruben Davila 已提交
311 312
gem 'gettext', '~> 3.2.2', require: false, group: :development

313
gem 'batch-loader', '~> 1.4.0'
314

315
# Perf bar
316
gem 'peek', '~> 1.1'
317

318 319 320
# Snowplow events tracking
gem 'snowplow-tracker', '~> 0.6.1'

321 322 323
# Memory benchmarks
gem 'derailed_benchmarks', require: false

324 325
# Metrics
group :metrics do
326
  gem 'method_source', '~> 0.8', require: false
327
  gem 'influxdb', '~> 0.2', require: false
328

329
  # Prometheus
330
  gem 'prometheus-client-mmap', '~> 0.9.10'
331
  gem 'raindrops', '~> 0.18'
332 333
end

N
Nihad Abbasov 已提交
334
group :development do
T
Takuya Noguchi 已提交
335
  gem 'brakeman', '~> 4.2', require: false
A
Ash McKenzie 已提交
336
  gem 'danger', '~> 6.0', require: false
D
Douwe Maan 已提交
337

338
  gem 'letter_opener_web', '~> 1.3.4'
B
bogdanvlviv 已提交
339
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
D
Dmitriy Zaporozhets 已提交
340

341
  # Better errors handler
S
Stan Hu 已提交
342
  gem 'better_errors', '~> 2.5.0'
343
  gem 'binding_of_caller', '~> 0.8.0'
344

345
  # thin instead webrick
C
Connor Shea 已提交
346
  gem 'thin', '~> 1.7.0'
G
gitlabhq 已提交
347 348 349
end

group :development, :test do
350
  gem 'bullet', '~> 6.0.2', require: !!ENV['ENABLE_BULLET']
351
  gem 'pry-byebug', '~> 3.5.1', platform: :mri
B
bogdanvlviv 已提交
352
  gem 'pry-rails', '~> 0.3.4'
R
Robert Speicher 已提交
353

354
  gem 'awesome_print', require: false
D
Douwe Maan 已提交
355

J
Jan Provaznik 已提交
356
  gem 'database_cleaner', '~> 1.7.0'
357
  gem 'factory_bot_rails', '~> 5.1.0'
358
  gem 'rspec-rails', '~> 4.0.0.beta3'
R
randx 已提交
359

360
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
361
  gem 'minitest', '~> 5.11.0'
362

363
  # Generate Fake data
T
Takuya Noguchi 已提交
364
  gem 'ffaker', '~> 2.10'
365

R
Robert Speicher 已提交
366
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
367
  gem 'spring-commands-rspec', '~> 1.0.4'
D
Douwe Maan 已提交
368

369
  gem 'gitlab-styles', '~> 3.1.0', require: false
R
Rémy Coutable 已提交
370
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
371 372 373
  gem 'rubocop', '~> 0.74.0'
  gem 'rubocop-performance', '~> 1.4.1'
  gem 'rubocop-rspec', '~> 1.37.0'
R
Rémy Coutable 已提交
374

T
Takuya Noguchi 已提交
375
  gem 'scss_lint', '~> 0.56.0', require: false
376
  gem 'haml_lint', '~> 0.34.0', require: false
377
  gem 'simplecov', '~> 0.16.1', require: false
B
bogdanvlviv 已提交
378
  gem 'bundler-audit', '~> 0.5.0', require: false
379

B
bogdanvlviv 已提交
380
  gem 'benchmark-ips', '~> 2.3.0', require: false
C
Connor Shea 已提交
381

382
  gem 'knapsack', '~> 1.17'
383

384
  gem 'stackprof', '~> 0.2.13', require: false
B
Bob Van Landuyt 已提交
385 386

  gem 'simple_po_parser', '~> 1.1.2', require: false
387 388

  gem 'timecop', '~> 0.8.0'
G
gitlabhq 已提交
389 390
end

391 392 393 394 395
# Gems required in omnibus-gitlab pipeline
group :development, :test, :omnibus do
  gem 'license_finder', '~> 5.4', require: false
end

G
gitlabhq 已提交
396
group :test do
397 398 399 400 401 402 403 404
  gem 'fuubar', '~> 2.2.0'
  gem 'rspec-retry', '~> 0.6.1'
  gem 'rspec_profiling', '~> 0.0.5'
  gem 'rspec-set', '~> 0.1.3'
  gem 'rspec-parameterized', require: false

  gem 'capybara', '~> 3.22.0'
  gem 'capybara-screenshot', '~> 1.0.22'
405
  gem 'selenium-webdriver', '~> 3.142'
406

S
Stan Hu 已提交
407
  gem 'shoulda-matchers', '~> 4.0.1', require: false
T
Takuya Noguchi 已提交
408
  gem 'email_spec', '~> 2.2.0'
409
  gem 'json-schema', '~> 2.8.0'
S
Stan Hu 已提交
410
  gem 'webmock', '~> 3.5.1'
411
  gem 'rails-controller-testing'
412
  gem 'concurrent-ruby', '~> 1.1'
413
  gem 'test-prof', '~> 0.10.0'
414
  gem 'rspec_junit_formatter'
415
  gem 'guard-rspec'
G
gitlabhq 已提交
416
end
417

A
Ash McKenzie 已提交
418
gem 'octokit', '~> 4.9'
D
Douwe Maan 已提交
419

420
gem 'mail_room', '~> 0.10.0'
D
Douwe Maan 已提交
421

422
gem 'email_reply_trimmer', '~> 0.1'
423
gem 'html2text'
D
Douwe Maan 已提交
424

S
Stan Hu 已提交
425
gem 'ruby-prof', '~> 1.0.0'
S
Stan Hu 已提交
426
gem 'rbtrace', '~> 0.4', require: false
A
Ash McKenzie 已提交
427 428
gem 'memory_profiler', '~> 0.9', require: false
gem 'benchmark-memory', '~> 0.1', require: false
429
gem 'activerecord-explain-analyze', '~> 0.1', require: false
430

D
Douwe Maan 已提交
431
# OAuth
432
gem 'oauth2', '~> 1.4'
D
Douwe Maan 已提交
433

434
# Health check
435
gem 'health_check', '~> 2.6.0'
436 437

# System information
C
Chris Wilson 已提交
438
gem 'vmstat', '~> 2.3.0'
439
gem 'sys-filesystem', '~> 1.1.6'
440

441 442 443
# NTP client
gem 'net-ntp'

444
# SSH host key support
P
Pirate Praveen 已提交
445
gem 'net-ssh', '~> 5.2'
N
Nick Thomas 已提交
446
gem 'sshkey', '~> 2.0'
447 448 449

# Required for ED25519 SSH host key support
group :ed25519 do
450
  gem 'ed25519', '~> 1.2'
451 452 453
  gem 'bcrypt_pbkdf', '~> 1.0'
end

454
# Gitaly GRPC protocol definitions
455
gem 'gitaly', '~> 1.73.0'
456

457
gem 'grpc', '~> 1.24.0'
Z
Zeger-Jan van de Weg 已提交
458

459
gem 'google-protobuf', '~> 3.8.0'
460

461
gem 'toml-rb', '~> 1.0.0'
462 463

# Feature toggles
464 465 466
gem 'flipper', '~> 0.17.1'
gem 'flipper-active_record', '~> 0.17.1'
gem 'flipper-active_support_cache_store', '~> 0.17.1'
J
Jason Goodman 已提交
467
gem 'unleash', '~> 0.1.5'
468 469 470

# Structured logging
gem 'lograge', '~> 0.5'
471
gem 'grape_logging', '~> 1.7'
472

473
# DNS Lookup
474
gem 'gitlab-net-dns', '~> 0.9.1'
475

476 477
# Countries list
gem 'countries', '~> 3.0'
478 479

gem 'retriable', '~> 3.1.2'
480 481

gem 'liquid', '~> 4.0'