Gemfile 10.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 11
# Responders respond_to and respond_with
gem 'responders', '~> 2.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.2.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'
S
Stan Hu 已提交
45
gem 'omniauth_openid_connect', '~> 0.3.1'
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
# Spam and anti-bot protection
P
Pirate Praveen 已提交
52
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
53
gem 'akismet', '~> 2.0'
A
Alex Buijs 已提交
54
gem 'invisible_captcha', '~> 0.12.1'
55

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

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

68
# Browser detection
S
Stan Hu 已提交
69
gem 'browser', '~> 2.5'
70

K
Kevin O'Connor 已提交
71
# GPG
72
gem 'gpgme', '~> 2.0.18'
K
Kevin O'Connor 已提交
73

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

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

N
Nick Thomas 已提交
85
# GraphQL API
86
gem 'graphql', '= 1.8.4'
N
Nick Thomas 已提交
87
gem 'graphiql-rails', '~> 1.4.10'
88
gem 'apollo_upload_server', '~> 2.0.0.beta3'
F
Felipe Artur 已提交
89
gem 'graphql-docs', '~> 1.6.0', group: [:development, :test]
N
Nick Thomas 已提交
90

91 92 93
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

R
randx 已提交
94
# Pagination
95
gem 'kaminari', '~> 1.0'
R
randx 已提交
96 97

# HAML
98
gem 'hamlit', '~> 2.8.8'
R
randx 已提交
99 100

# Files attachments
101
gem 'carrierwave', '~> 1.3'
102
gem 'mini_magick'
103

S
Stan Hu 已提交
104
# for backups
S
Stan Hu 已提交
105
gem 'fog-aws', '~> 3.5'
106 107 108
# 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'
109 110 111
gem 'fog-google', '~> 1.8'
gem 'fog-local', '~> 0.6'
gem 'fog-openstack', '~> 1.0'
112
gem 'fog-rackspace', '~> 0.1.1'
113
gem 'fog-aliyun', '~> 0.3'
S
Stan Hu 已提交
114

115
# for Google storage
116
gem 'google-api-client', '~> 0.23'
117

118
# for aws storage
B
bogdanvlviv 已提交
119
gem 'unf', '~> 0.1.4'
R
randx 已提交
120 121

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

R
Robert Speicher 已提交
124
# Markdown and HTML processing
125
gem 'html-pipeline', '~> 2.8'
F
Fatih Acet 已提交
126
gem 'deckar01-task_list', '2.2.0'
127
gem 'gitlab-markup', '~> 1.7.0'
128
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
B
blackst0ne 已提交
129
gem 'commonmarker', '~> 0.17'
M
Markus Koller 已提交
130
gem 'RedCloth', '~> 4.3.2'
T
Takuya Noguchi 已提交
131
gem 'rdoc', '~> 6.0'
M
Markus Koller 已提交
132 133 134
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
135
gem 'asciidoctor', '~> 2.0.10'
136
gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
137
gem 'asciidoctor-plantuml', '0.0.9'
S
Stan Hu 已提交
138
gem 'rouge', '~> 3.7'
B
Brett Walker 已提交
139
gem 'truncato', '~> 0.7.11'
E
Enrique Alcantara 已提交
140
gem 'bootstrap_form', '~> 4.2.0'
T
Thong Kuah 已提交
141
gem 'nokogiri', '~> 1.10.4'
142
gem 'escape_utils', '~> 1.1'
143

144 145 146
# Calendar rendering
gem 'icalendar'

S
skv-headless 已提交
147
# Diffs
M
Manuel Rüger 已提交
148
gem 'diffy', '~> 3.1.0'
S
skv-headless 已提交
149

150
# Application server
S
Stan Hu 已提交
151
gem 'rack', '~> 2.0.7'
152

J
Jacob Vosmaer 已提交
153
group :unicorn do
S
Stan Hu 已提交
154
  gem 'unicorn', '~> 5.4.1'
155
  gem 'unicorn-worker-killer', '~> 0.4.4'
J
Jacob Vosmaer 已提交
156
end
R
randx 已提交
157

158 159 160
group :puma do
  gem 'puma', '~> 3.12', require: false
  gem 'puma_worker_killer', require: false
J
Jan Provaznik 已提交
161
  gem 'rack-timeout', require: false
162 163
end

A
Andrew8xx8 已提交
164
# State machine
165
gem 'state_machines-activerecord', '~> 0.5.1'
A
Andrew8xx8 已提交
166

R
randx 已提交
167
# Issue tags
168
gem 'acts-as-taggable-on', '~> 6.0'
R
randx 已提交
169 170

# Background jobs
S
Stan Hu 已提交
171
gem 'sidekiq', '~> 5.2.7'
172
gem 'sidekiq-cron', '~> 1.0'
T
Takuya Noguchi 已提交
173
gem 'redis-namespace', '~> 1.6.0'
V
Valery Sizov 已提交
174
gem 'gitlab-sidekiq-fetcher', '0.5.1', require: 'sidekiq-reliable-fetch'
R
randx 已提交
175

S
Shinya Maeda 已提交
176
# Cron Parser
177
gem 'fugit', '~> 1.2.1'
S
Shinya Maeda 已提交
178

R
randx 已提交
179
# HTTP requests
180
gem 'httparty', '~> 0.16.4'
R
randx 已提交
181 182

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

185 186
# Progress bar
gem 'ruby-progressbar'
R
randx 已提交
187

R
Riyad Preukschas 已提交
188
# GitLab settings
D
Douwe Maan 已提交
189
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
190

191
# Linear-time regex library for untrusted regular expressions
192
gem 're2', '~> 1.1.1'
193

R
randx 已提交
194
# Misc
D
Douwe Maan 已提交
195

196
gem 'version_sorter', '~> 2.2.4'
R
randx 已提交
197

198
# Export Ruby Regex to Javascript
R
Roger Rüttimann 已提交
199
gem 'js_regex', '~> 3.1'
200

201 202 203
# User agent parsing
gem 'device_detector'

204
# Redis
S
Stan Hu 已提交
205
gem 'redis', '~> 4.0'
206 207
gem 'connection_pool', '~> 2.0'

S
Stan Hu 已提交
208 209 210
# Redis session store
gem 'redis-rails', '~> 5.0.2'

B
blackst0ne 已提交
211
# Discord integration
B
blackst0ne 已提交
212
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
B
blackst0ne 已提交
213

214 215 216
# HipChat integration
gem 'hipchat', '~> 1.5.0'

T
Takuya Noguchi 已提交
217
# Jira integration
T
Takuya Noguchi 已提交
218
gem 'jira-ruby', '~> 1.7'
219
gem 'atlassian-jwt', '~> 0.2.0'
D
Drew Blessing 已提交
220

221
# Flowdock integration
222
gem 'flowdock', '~> 0.7'
223

224
# Slack integration
225
gem 'slack-notifier', '~> 1.5.1'
226

227 228 229
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

J
Jeremy 已提交
230
# Asana integration
T
Takuya Noguchi 已提交
231
gem 'asana', '~> 0.8.1'
J
Jeremy 已提交
232

J
Jared Szechy 已提交
233
# FogBugz integration
J
Jared Szechy 已提交
234
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
235

236
# Kubernetes integration
237
gem 'kubeclient', '~> 4.2.2'
238

239
# Sanitize user input
240
gem 'sanitize', '~> 4.6'
241
gem 'babosa', '~> 1.0.2'
242

S
Stan Hu 已提交
243
# Sanitizes SVG input
244
gem 'loofah', '~> 2.2'
S
Stan Hu 已提交
245

246
# Working with license
P
Pirate Praveen 已提交
247
gem 'licensee', '~> 8.9'
248

M
Marin Jankovski 已提交
249
# Protect against bruteforcing
M
Manuel Rüger 已提交
250
gem 'rack-attack', '~> 4.4.1'
M
Marin Jankovski 已提交
251

D
Dmitriy Zaporozhets 已提交
252
# Ace editor
253
gem 'ace-rails-ap', '~> 4.1.0'
D
Dmitriy Zaporozhets 已提交
254

255
# Detect and convert string character encoding
J
Jacob Vosmaer 已提交
256
gem 'charlock_holmes', '~> 0.7.5'
257

258 259 260
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

D
dosire 已提交
261 262 263
# Faster blank
gem 'fast_blank'

R
Rémy Coutable 已提交
264 265
# Parse time & duration
gem 'chronic', '~> 0.10.2'
266 267
gem 'chronic_duration', '~> 0.10.6'

M
Mike Greiling 已提交
268
gem 'webpack-rails', '~> 0.9.10'
269 270
gem 'rack-proxy', '~> 0.6.0'

271
gem 'sassc-rails', '~> 2.1.0'
B
bogdanvlviv 已提交
272
gem 'uglifier', '~> 2.7.2'
273

274
gem 'addressable', '~> 2.5.2'
275
gem 'font-awesome-rails', '~> 4.7'
276
gem 'gemojione', '~> 3.3'
P
Pirate Praveen 已提交
277
gem 'gon', '~> 6.2'
M
Markus Koller 已提交
278 279
gem 'request_store', '~> 1.3'
gem 'base32', '~> 0.3.0'
G
gitlabhq 已提交
280

281
# Sentry integration
U
Utkarsh Gupta 已提交
282
gem 'sentry-raven', '~> 2.9'
283

284
gem 'premailer-rails', '~> 1.9.7'
D
Douwe Maan 已提交
285

286
# LabKit: Tracing and Correlation
287
gem 'gitlab-labkit', '~> 0.5'
288

R
Ruben Davila 已提交
289
# I18n
290
gem 'ruby_parser', '~> 3.8', require: false
291
gem 'rails-i18n', '~> 5.1'
R
Ruben Davila 已提交
292
gem 'gettext_i18n_rails', '~> 1.8.0'
293
gem 'gettext_i18n_rails_js', '~> 1.3'
R
Ruben Davila 已提交
294 295
gem 'gettext', '~> 3.2.2', require: false, group: :development

296
gem 'batch-loader', '~> 1.4.0'
297

298
# Perf bar
S
Sean McGivern 已提交
299 300
# https://gitlab.com/gitlab-org/gitlab-ee/issues/13996
gem 'gitlab-peek', '~> 0.0.1', require: 'peek'
301

302 303 304
# Snowplow events tracking
gem 'snowplow-tracker', '~> 0.6.1'

305 306 307
# Memory benchmarks
gem 'derailed_benchmarks', require: false

308 309
# Metrics
group :metrics do
310
  gem 'method_source', '~> 0.8', require: false
311
  gem 'influxdb', '~> 0.2', require: false
312

313
  # Prometheus
S
Stan Hu 已提交
314
  gem 'prometheus-client-mmap', '~> 0.9.8'
315
  gem 'raindrops', '~> 0.18'
316 317
end

N
Nihad Abbasov 已提交
318
group :development do
319
  gem 'foreman', '~> 0.84.0'
T
Takuya Noguchi 已提交
320
  gem 'brakeman', '~> 4.2', require: false
D
Douwe Maan 已提交
321

322
  gem 'letter_opener_web', '~> 1.3.4'
B
bogdanvlviv 已提交
323
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
D
Dmitriy Zaporozhets 已提交
324

325
  # Better errors handler
S
Stan Hu 已提交
326
  gem 'better_errors', '~> 2.5.0'
327
  gem 'binding_of_caller', '~> 0.8.0'
328

329
  # thin instead webrick
C
Connor Shea 已提交
330
  gem 'thin', '~> 1.7.0'
G
gitlabhq 已提交
331 332 333
end

group :development, :test do
334
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
335
  gem 'pry-byebug', '~> 3.5.1', platform: :mri
B
bogdanvlviv 已提交
336
  gem 'pry-rails', '~> 0.3.4'
R
Robert Speicher 已提交
337

338
  gem 'awesome_print', require: false
R
Robert Speicher 已提交
339
  gem 'fuubar', '~> 2.2.0'
D
Douwe Maan 已提交
340

J
Jan Provaznik 已提交
341
  gem 'database_cleaner', '~> 1.7.0'
342
  gem 'factory_bot_rails', '~> 4.8.2'
343
  gem 'rspec-rails', '~> 3.8.0'
344
  gem 'rspec-retry', '~> 0.6.1'
M
Markus Koller 已提交
345
  gem 'rspec_profiling', '~> 0.0.5'
346
  gem 'rspec-set', '~> 0.1.3'
347
  gem 'rspec-parameterized', require: false
R
randx 已提交
348

349
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
350
  gem 'minitest', '~> 5.11.0'
351

352
  # Generate Fake data
T
Takuya Noguchi 已提交
353
  gem 'ffaker', '~> 2.10'
354

H
Heinrich Lee Yu 已提交
355
  gem 'capybara', '~> 3.22.0'
356 357
  gem 'capybara-screenshot', '~> 1.0.22'
  gem 'selenium-webdriver', '~> 3.141'
A
Andrew8xx8 已提交
358

R
Robert Speicher 已提交
359
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
360
  gem 'spring-commands-rspec', '~> 1.0.4'
D
Douwe Maan 已提交
361

362
  gem 'gitlab-styles', '~> 2.7', require: false
R
Rémy Coutable 已提交
363
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
364
  gem 'rubocop', '~> 0.69.0'
S
Stan Hu 已提交
365
  gem 'rubocop-performance', '~> 1.1.0'
366
  gem 'rubocop-rspec', '~> 1.22.1'
R
Rémy Coutable 已提交
367

T
Takuya Noguchi 已提交
368
  gem 'scss_lint', '~> 0.56.0', require: false
369
  gem 'haml_lint', '~> 0.31.0', require: false
370
  gem 'simplecov', '~> 0.16.1', require: false
B
bogdanvlviv 已提交
371
  gem 'bundler-audit', '~> 0.5.0', require: false
372

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

375
  gem 'license_finder', '~> 5.4', require: false
376
  gem 'knapsack', '~> 1.17'
377

378
  gem 'stackprof', '~> 0.2.10', require: false
B
Bob Van Landuyt 已提交
379 380

  gem 'simple_po_parser', '~> 1.1.2', require: false
381 382

  gem 'timecop', '~> 0.8.0'
G
gitlabhq 已提交
383 384 385
end

group :test do
S
Stan Hu 已提交
386
  gem 'shoulda-matchers', '~> 4.0.1', require: false
T
Takuya Noguchi 已提交
387
  gem 'email_spec', '~> 2.2.0'
388
  gem 'json-schema', '~> 2.8.0'
S
Stan Hu 已提交
389
  gem 'webmock', '~> 3.5.1'
390
  gem 'rails-controller-testing'
391
  gem 'concurrent-ruby', '~> 1.1'
R
Rémy Coutable 已提交
392
  gem 'test-prof', '~> 0.2.5'
393
  gem 'rspec_junit_formatter'
G
gitlabhq 已提交
394
end
395

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

398
gem 'mail_room', '~> 0.9.1'
D
Douwe Maan 已提交
399

400
gem 'email_reply_trimmer', '~> 0.1'
401
gem 'html2text'
D
Douwe Maan 已提交
402

S
Stan Hu 已提交
403
gem 'ruby-prof', '~> 1.0.0'
S
Stan Hu 已提交
404
gem 'rbtrace', '~> 0.4', require: false
A
Ash McKenzie 已提交
405 406
gem 'memory_profiler', '~> 0.9', require: false
gem 'benchmark-memory', '~> 0.1', require: false
407
gem 'activerecord-explain-analyze', '~> 0.1', require: false
408

D
Douwe Maan 已提交
409
# OAuth
410
gem 'oauth2', '~> 1.4'
D
Douwe Maan 已提交
411

412
# Health check
413
gem 'health_check', '~> 2.6.0'
414 415

# System information
C
Chris Wilson 已提交
416
gem 'vmstat', '~> 2.3.0'
417
gem 'sys-filesystem', '~> 1.1.6'
418

419
# SSH host key support
P
Pirate Praveen 已提交
420
gem 'net-ssh', '~> 5.2'
N
Nick Thomas 已提交
421
gem 'sshkey', '~> 2.0'
422 423 424

# Required for ED25519 SSH host key support
group :ed25519 do
425
  gem 'ed25519', '~> 1.2'
426 427 428
  gem 'bcrypt_pbkdf', '~> 1.0'
end

429 430
# Gitaly GRPC protocol definitions
gem 'gitaly', '~> 1.58.0'
431

432
gem 'grpc', '~> 1.19.0'
Z
Zeger-Jan van de Weg 已提交
433

434
gem 'google-protobuf', '~> 3.7.1'
435

K
Ken 已提交
436
gem 'toml-rb', '~> 1.0.0', require: false
437 438

# Feature toggles
P
Pirate Praveen 已提交
439 440 441
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
J
Jason Goodman 已提交
442
gem 'unleash', '~> 0.1.5'
443 444 445

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