Gemfile 11.0 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'
D
Douglas Barbosa Alexandre 已提交
25

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

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

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

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

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

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

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

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

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

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

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

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

# HAML
104
gem 'hamlit', '~> 2.8.8'
R
randx 已提交
105 106

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

S
Stan Hu 已提交
110
# for backups
S
Stan Hu 已提交
111
gem 'fog-aws', '~> 3.5'
112 113 114
# 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'
115
gem 'fog-google', '~> 1.9'
116 117
gem 'fog-local', '~> 0.6'
gem 'fog-openstack', '~> 1.0'
118
gem 'fog-rackspace', '~> 0.1.1'
119
gem 'fog-aliyun', '~> 0.3'
S
Stan Hu 已提交
120

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

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

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

130 131 132 133 134 135 136
# 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 已提交
137
# Markdown and HTML processing
138
gem 'html-pipeline', '~> 2.8'
139
gem 'deckar01-task_list', '2.2.1'
140
gem 'gitlab-markup', '~> 1.7.0'
141
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
B
blackst0ne 已提交
142
gem 'commonmarker', '~> 0.17'
M
Markus Koller 已提交
143
gem 'RedCloth', '~> 4.3.2'
T
Takuya Noguchi 已提交
144
gem 'rdoc', '~> 6.0'
M
Markus Koller 已提交
145 146 147
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
148
gem 'asciidoctor', '~> 2.0.10'
149
gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
150
gem 'asciidoctor-plantuml', '0.0.9'
151
gem 'rouge', '~> 3.11.0'
B
Brett Walker 已提交
152
gem 'truncato', '~> 0.7.11'
E
Enrique Alcantara 已提交
153
gem 'bootstrap_form', '~> 4.2.0'
T
Thong Kuah 已提交
154
gem 'nokogiri', '~> 1.10.4'
155
gem 'escape_utils', '~> 1.1'
156

157 158 159
# Calendar rendering
gem 'icalendar'

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

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

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

172 173 174
group :puma do
  gem 'puma', '~> 3.12', require: false
  gem 'puma_worker_killer', require: false
J
Jan Provaznik 已提交
175
  gem 'rack-timeout', require: false
176 177
end

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

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

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

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

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

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

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

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

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

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

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

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

215 216 217
# User agent parsing
gem 'device_detector'

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

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

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

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

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

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

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

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

J
Jeremy 已提交
244
# Asana integration
T
Takuya Noguchi 已提交
245
gem 'asana', '~> 0.8.1'
J
Jeremy 已提交
246

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

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

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

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

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

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

266
# Detect and convert string character encoding
J
Jacob Vosmaer 已提交
267
gem 'charlock_holmes', '~> 0.7.5'
268

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

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

R
Rémy Coutable 已提交
275 276
# Parse time & duration
gem 'chronic', '~> 0.10.2'
277
gem 'gitlab_chronic_duration', '~> 0.10.6.1'
278

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

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

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

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

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

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

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

302
# LabKit: Tracing and Correlation
303
gem 'gitlab-labkit', '~> 0.5'
304

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

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

314
# Perf bar
315
# https://gitlab.com/gitlab-org/gitlab/issues/13996
S
Sean McGivern 已提交
316
gem 'gitlab-peek', '~> 0.0.1', require: 'peek'
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', '~> 5.5.0', 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
R
Robert Speicher 已提交
355
  gem 'fuubar', '~> 2.2.0'
D
Douwe Maan 已提交
356

J
Jan Provaznik 已提交
357
  gem 'database_cleaner', '~> 1.7.0'
358
  gem 'factory_bot_rails', '~> 5.1.0'
359
  gem 'rspec-rails', '~> 3.8.0'
360
  gem 'rspec-retry', '~> 0.6.1'
M
Markus Koller 已提交
361
  gem 'rspec_profiling', '~> 0.0.5'
362
  gem 'rspec-set', '~> 0.1.3'
363
  gem 'rspec-parameterized', require: false
R
randx 已提交
364

365
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
366
  gem 'minitest', '~> 5.11.0'
367

368
  # Generate Fake data
T
Takuya Noguchi 已提交
369
  gem 'ffaker', '~> 2.10'
370

H
Heinrich Lee Yu 已提交
371
  gem 'capybara', '~> 3.22.0'
372 373
  gem 'capybara-screenshot', '~> 1.0.22'
  gem 'selenium-webdriver', '~> 3.141'
A
Andrew8xx8 已提交
374

R
Robert Speicher 已提交
375
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
376
  gem 'spring-commands-rspec', '~> 1.0.4'
D
Douwe Maan 已提交
377

378
  gem 'gitlab-styles', '~> 2.7', require: false
R
Rémy Coutable 已提交
379
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
380
  gem 'rubocop', '~> 0.69.0'
S
Stan Hu 已提交
381
  gem 'rubocop-performance', '~> 1.1.0'
382
  gem 'rubocop-rspec', '~> 1.22.1'
R
Rémy Coutable 已提交
383

T
Takuya Noguchi 已提交
384
  gem 'scss_lint', '~> 0.56.0', require: false
385
  gem 'haml_lint', '~> 0.31.0', require: false
386
  gem 'simplecov', '~> 0.16.1', require: false
B
bogdanvlviv 已提交
387
  gem 'bundler-audit', '~> 0.5.0', require: false
388

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

391
  gem 'knapsack', '~> 1.17'
392

393
  gem 'stackprof', '~> 0.2.10', require: false
B
Bob Van Landuyt 已提交
394 395

  gem 'simple_po_parser', '~> 1.1.2', require: false
396 397

  gem 'timecop', '~> 0.8.0'
G
gitlabhq 已提交
398 399
end

400 401 402 403 404
# Gems required in omnibus-gitlab pipeline
group :development, :test, :omnibus do
  gem 'license_finder', '~> 5.4', require: false
end

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

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

418
gem 'mail_room', '~> 0.9.1'
D
Douwe Maan 已提交
419

420
gem 'email_reply_trimmer', '~> 0.1'
421
gem 'html2text'
D
Douwe Maan 已提交
422

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

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

432
# Health check
433
gem 'health_check', '~> 2.6.0'
434 435

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

439 440 441
# NTP client
gem 'net-ntp'

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

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

452
# Gitaly GRPC protocol definitions
453
gem 'gitaly', '~> 1.70.0'
454

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

457
gem 'google-protobuf', '~> 3.8.0'
458

K
Ken 已提交
459
gem 'toml-rb', '~> 1.0.0', require: false
460 461

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

# Structured logging
gem 'lograge', '~> 0.5'
469
gem 'grape_logging', '~> 1.7'
470

471
# DNS Lookup
472
gem 'gitlab-net-dns', '~> 0.9.1'
473

474 475
# Countries list
gem 'countries', '~> 3.0'
476 477

gem 'retriable', '~> 3.1.2'