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

3
gem 'rails', '5.0.7'
V
Valery Sizov 已提交
4
gem 'rails-deprecated_sanitizer', '~> 1.0.3'
V
Valery Sizov 已提交
5

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

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

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

D
Dmitriy Zaporozhets 已提交
14
# Default values for AR models
15
gem 'gitlab-default_value_for', '~> 3.1.1', require: 'default_value_for'
D
Dmitriy Zaporozhets 已提交
16

D
Dmitriy Zaporozhets 已提交
17
# Supported DBs
18
gem 'mysql2', '~> 0.4.10', group: :mysql
B
bogdanvlviv 已提交
19
gem 'pg', '~> 0.18.2', group: :postgres
D
Dmitriy Zaporozhets 已提交
20

S
Stan Hu 已提交
21
gem 'rugged', '~> 0.27'
22
gem 'grape-path-helpers', '~> 1.0'
R
Robert Speicher 已提交
23

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

K
karen Carias 已提交
26
# Authentication libraries
P
Pirate Praveen 已提交
27
gem 'devise', '~> 4.4'
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.5.3'
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'
M
Markus Koller 已提交
45 46
gem 'rack-oauth2', '~> 1.2.1'
gem 'jwt', '~> 1.5.6'
D
Dmitriy Zaporozhets 已提交
47

48
# Spam and anti-bot protection
49
gem 'recaptcha', '~> 3.0', require: 'recaptcha/rails'
50
gem 'akismet', '~> 2.0'
51

52
# Two-factor authentication
53
gem 'devise-two-factor', '~> 3.0.0'
D
Douwe Maan 已提交
54
gem 'rqrcode-rails3', '~> 0.1.7'
55
gem 'attr_encrypted', '~> 3.1.0'
56
gem 'u2f', '~> 0.2.1'
57

58
# GitLab Pages
59
gem 'validates_hostname', '~> 1.0.6'
60

61
# Browser detection
S
Stan Hu 已提交
62
gem 'browser', '~> 2.5'
63

K
Kevin O'Connor 已提交
64
# GPG
65
gem 'gpgme', '~> 2.0.18'
K
Kevin O'Connor 已提交
66

67
# LDAP Auth
Y
Yorick Peterse 已提交
68
# GitLab fork with several improvements to original library. For full list of changes
69
# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
70
gem 'gitlab_omniauth-ldap', '~> 2.0.4', require: 'omniauth-ldap'
71
gem 'net-ldap'
72

R
randx 已提交
73
# API
74
gem 'grape', '~> 1.1.0'
75
gem 'grape-entity', '~> 0.7.1'
76
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
R
randx 已提交
77

N
Nick Thomas 已提交
78
# GraphQL API
79
gem 'graphql', '~> 1.8.0'
N
Nick Thomas 已提交
80 81
gem 'graphiql-rails', '~> 1.4.10'

82 83 84
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

R
randx 已提交
85
# Pagination
86
gem 'kaminari', '~> 1.0'
R
randx 已提交
87 88

# HAML
89
gem 'hamlit', '~> 2.8.8'
R
randx 已提交
90 91

# Files attachments
92
gem 'carrierwave', '~> 1.3'
93
gem 'mini_magick'
94

S
Stan Hu 已提交
95
# for backups
A
Alessio Caiazza 已提交
96
gem 'fog-aws', '~> 2.0.1'
97
gem 'fog-core', '~> 1.44'
98
gem 'fog-google', '~> 1.7.1'
S
Stan Hu 已提交
99 100
gem 'fog-local', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
101
gem 'fog-rackspace', '~> 0.1.1'
102
gem 'fog-aliyun', '~> 0.2.0'
S
Stan Hu 已提交
103

104
# for Google storage
105
gem 'google-api-client', '~> 0.23'
106

107
# for aws storage
B
bogdanvlviv 已提交
108
gem 'unf', '~> 0.1.4'
R
randx 已提交
109 110

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

R
Robert Speicher 已提交
113
# Markdown and HTML processing
114
gem 'html-pipeline', '~> 2.8'
J
Jared Deckard 已提交
115
gem 'deckar01-task_list', '2.0.0'
116
gem 'gitlab-markup', '~> 1.6.5'
117
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
M
Markus Koller 已提交
118
gem 'redcarpet', '~> 3.4'
B
blackst0ne 已提交
119
gem 'commonmarker', '~> 0.17'
M
Markus Koller 已提交
120
gem 'RedCloth', '~> 4.3.2'
T
Takuya Noguchi 已提交
121
gem 'rdoc', '~> 6.0'
M
Markus Koller 已提交
122 123 124
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
T
Takuya Noguchi 已提交
125
gem 'asciidoctor', '~> 1.5.8'
126
gem 'asciidoctor-plantuml', '0.0.8'
127
gem 'rouge', '~> 3.1'
128
gem 'truncato', '~> 0.7.9'
N
Nick Thomas 已提交
129
gem 'bootstrap_form', '~> 2.7.0'
130
gem 'nokogiri', '~> 1.8.4'
131
gem 'escape_utils', '~> 1.1'
132

133 134 135
# Calendar rendering
gem 'icalendar'

S
skv-headless 已提交
136
# Diffs
M
Manuel Rüger 已提交
137
gem 'diffy', '~> 3.1.0'
S
skv-headless 已提交
138

139
# Application server
140 141 142 143
# The 2.0.6 version of rack requires monkeypatch to be present in
# `config.ru`. This can be removed once a new update for Rack
# is available that contains https://github.com/rack/rack/pull/1201.
gem 'rack', '2.0.6'
144

J
Jacob Vosmaer 已提交
145
group :unicorn do
146 147
  gem 'unicorn', '~> 5.1.0'
  gem 'unicorn-worker-killer', '~> 0.4.4'
J
Jacob Vosmaer 已提交
148
end
R
randx 已提交
149

150 151 152 153 154
group :puma do
  gem 'puma', '~> 3.12', require: false
  gem 'puma_worker_killer', require: false
end

A
Andrew8xx8 已提交
155
# State machine
156
gem 'state_machines-activerecord', '~> 0.5.1'
A
Andrew8xx8 已提交
157

R
randx 已提交
158
# Issue tags
159
gem 'acts-as-taggable-on', '~> 5.0'
R
randx 已提交
160 161

# Background jobs
S
Stan Hu 已提交
162
gem 'sidekiq', '~> 5.2.1'
163
gem 'sidekiq-cron', '~> 0.6.0'
T
Takuya Noguchi 已提交
164
gem 'redis-namespace', '~> 1.6.0'
V
Valery Sizov 已提交
165
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
R
randx 已提交
166

S
Shinya Maeda 已提交
167
# Cron Parser
168
gem 'rufus-scheduler', '~> 3.4'
S
Shinya Maeda 已提交
169

R
randx 已提交
170
# HTTP requests
B
bogdanvlviv 已提交
171
gem 'httparty', '~> 0.13.3'
R
randx 已提交
172 173

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

176 177
# Progress bar
gem 'ruby-progressbar'
R
randx 已提交
178

R
Riyad Preukschas 已提交
179
# GitLab settings
D
Douwe Maan 已提交
180
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
181

182
# Linear-time regex library for untrusted regular expressions
183
gem 're2', '~> 1.1.1'
184

R
randx 已提交
185
# Misc
D
Douwe Maan 已提交
186

187
gem 'version_sorter', '~> 2.1.0'
R
randx 已提交
188

189 190 191
# Export Ruby Regex to Javascript
gem 'js_regex', '~> 2.2.1'

192 193 194
# User agent parsing
gem 'device_detector'

195
# Cache
196
gem 'redis-rails', '~> 5.0.2'
197

198 199 200 201
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

B
blackst0ne 已提交
202
# Discord integration
B
blackst0ne 已提交
203
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
B
blackst0ne 已提交
204

R
Ronald van Eede 已提交
205
# HipChat integration
C
Chulki Lee 已提交
206
gem 'hipchat', '~> 1.5.0'
R
Ronald van Eede 已提交
207

D
Drew Blessing 已提交
208
# JIRA integration
209
gem 'jira-ruby', '~> 1.4'
D
Drew Blessing 已提交
210

211
# Flowdock integration
212
gem 'flowdock', '~> 0.7'
213

214
# Slack integration
215
gem 'slack-notifier', '~> 1.5.1'
216

217 218 219
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

J
Jeremy 已提交
220
# Asana integration
T
Takuya Noguchi 已提交
221
gem 'asana', '~> 0.8.1'
J
Jeremy 已提交
222

J
Jared Szechy 已提交
223
# FogBugz integration
J
Jared Szechy 已提交
224
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
225

226
# Kubernetes integration
T
Thong Kuah 已提交
227
gem 'kubeclient', '~> 4.0.0'
228

229
# Sanitize user input
230
gem 'sanitize', '~> 4.6'
231
gem 'babosa', '~> 1.0.2'
232

S
Stan Hu 已提交
233
# Sanitizes SVG input
234
gem 'loofah', '~> 2.2'
S
Stan Hu 已提交
235

236
# Working with license
P
Pirate Praveen 已提交
237
gem 'licensee', '~> 8.9'
238

M
Marin Jankovski 已提交
239
# Protect against bruteforcing
M
Manuel Rüger 已提交
240
gem 'rack-attack', '~> 4.4.1'
M
Marin Jankovski 已提交
241

D
Dmitriy Zaporozhets 已提交
242
# Ace editor
243
gem 'ace-rails-ap', '~> 4.1.0'
D
Dmitriy Zaporozhets 已提交
244

245
# Detect and convert string character encoding
J
Jacob Vosmaer 已提交
246
gem 'charlock_holmes', '~> 0.7.5'
247

248 249 250
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

D
dosire 已提交
251 252 253
# Faster blank
gem 'fast_blank'

R
Rémy Coutable 已提交
254 255
# Parse time & duration
gem 'chronic', '~> 0.10.2'
256 257
gem 'chronic_duration', '~> 0.10.6'

M
Mike Greiling 已提交
258
gem 'webpack-rails', '~> 0.9.10'
259 260
gem 'rack-proxy', '~> 0.6.0'

261
gem 'sass-rails', '~> 5.0.6'
P
Pirate Praveen 已提交
262
gem 'sass', '~> 3.5'
B
bogdanvlviv 已提交
263
gem 'uglifier', '~> 2.7.2'
264

265
gem 'addressable', '~> 2.5.2'
266
gem 'font-awesome-rails', '~> 4.7'
267
gem 'gemojione', '~> 3.3'
P
Pirate Praveen 已提交
268
gem 'gon', '~> 6.2'
269
gem 'jquery-atwho-rails', '~> 1.3.2'
M
Markus Koller 已提交
270 271 272 273
gem 'request_store', '~> 1.3'
gem 'select2-rails', '~> 3.5.9'
gem 'virtus', '~> 1.0.1'
gem 'base32', '~> 0.3.0'
G
gitlabhq 已提交
274

275
# Sentry integration
276
gem 'sentry-raven', '~> 2.7'
277

278
gem 'premailer-rails', '~> 1.9.7'
D
Douwe Maan 已提交
279

R
Ruben Davila 已提交
280
# I18n
281
gem 'ruby_parser', '~> 3.8', require: false
282
gem 'rails-i18n', '~> 5.1'
R
Ruben Davila 已提交
283
gem 'gettext_i18n_rails', '~> 1.8.0'
284
gem 'gettext_i18n_rails_js', '~> 1.3'
R
Ruben Davila 已提交
285 286
gem 'gettext', '~> 3.2.2', require: false, group: :development

D
Douwe Maan 已提交
287
gem 'batch-loader', '~> 1.2.2'
288

289 290 291
# Perf bar
gem 'peek', '~> 1.0.1'
gem 'peek-gc', '~> 0.0.2'
292
gem 'peek-mysql2', '~> 1.2.0', group: :mysql
293
gem 'peek-pg', '~> 1.3.0', group: :postgres
294 295 296
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'

297 298
# Metrics
group :metrics do
299
  gem 'method_source', '~> 0.8', require: false
300
  gem 'influxdb', '~> 0.2', require: false
301

302
  # Prometheus
S
Stan Hu 已提交
303
  gem 'prometheus-client-mmap', '~> 0.9.4'
304
  gem 'raindrops', '~> 0.18'
305 306
end

N
Nihad Abbasov 已提交
307
group :development do
308
  gem 'foreman', '~> 0.84.0'
T
Takuya Noguchi 已提交
309
  gem 'brakeman', '~> 4.2', require: false
D
Douwe Maan 已提交
310

R
Robert Speicher 已提交
311
  gem 'letter_opener_web', '~> 1.3.0'
B
bogdanvlviv 已提交
312
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
D
Dmitriy Zaporozhets 已提交
313

314
  # Better errors handler
S
Stan Hu 已提交
315
  gem 'better_errors', '~> 2.5.0'
316
  gem 'binding_of_caller', '~> 0.8.0'
317

318
  # thin instead webrick
C
Connor Shea 已提交
319
  gem 'thin', '~> 1.7.0'
G
gitlabhq 已提交
320 321 322
end

group :development, :test do
323
  gem 'bootsnap', '~> 1.3'
324
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
S
Semyon Pupkov 已提交
325
  gem 'pry-byebug', '~> 3.4.1', platform: :mri
B
bogdanvlviv 已提交
326
  gem 'pry-rails', '~> 0.3.4'
R
Robert Speicher 已提交
327

328
  gem 'awesome_print', require: false
R
Robert Speicher 已提交
329
  gem 'fuubar', '~> 2.2.0'
D
Douwe Maan 已提交
330

M
Markus Koller 已提交
331
  gem 'database_cleaner', '~> 1.5.0'
332
  gem 'factory_bot_rails', '~> 4.8.2'
R
Robert Speicher 已提交
333
  gem 'rspec-rails', '~> 3.7.0'
M
Markus Koller 已提交
334 335
  gem 'rspec-retry', '~> 0.4.5'
  gem 'rspec_profiling', '~> 0.0.5'
336
  gem 'rspec-set', '~> 0.1.3'
337
  gem 'rspec-parameterized', require: false
R
randx 已提交
338

339
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
D
Douwe Maan 已提交
340
  gem 'minitest', '~> 5.7.0'
341

342
  # Generate Fake data
T
Takuya Noguchi 已提交
343
  gem 'ffaker', '~> 2.10'
344

345
  gem 'capybara', '~> 2.15'
R
Robert Speicher 已提交
346
  gem 'capybara-screenshot', '~> 1.0.0'
347
  gem 'selenium-webdriver', '~> 3.12'
A
Andrew8xx8 已提交
348

R
Robert Speicher 已提交
349
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
350
  gem 'spring-commands-rspec', '~> 1.0.4'
D
Douwe Maan 已提交
351

352
  gem 'gitlab-styles', '~> 2.4', require: false
R
Rémy Coutable 已提交
353
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
354
  gem 'rubocop', '~> 0.54.0'
355
  gem 'rubocop-rspec', '~> 1.22.1'
R
Rémy Coutable 已提交
356

T
Takuya Noguchi 已提交
357
  gem 'scss_lint', '~> 0.56.0', require: false
T
Takuya Noguchi 已提交
358
  gem 'haml_lint', '~> 0.28.0', require: false
359
  gem 'simplecov', '~> 0.14.0', require: false
B
bogdanvlviv 已提交
360
  gem 'bundler-audit', '~> 0.5.0', require: false
361

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

364
  gem 'license_finder', '~> 5.4', require: false
365
  gem 'knapsack', '~> 1.17'
366

367
  gem 'activerecord_sane_schema_dumper', '1.0'
368

369
  gem 'stackprof', '~> 0.2.10', require: false
B
Bob Van Landuyt 已提交
370 371

  gem 'simple_po_parser', '~> 1.1.2', require: false
372 373

  gem 'timecop', '~> 0.8.0'
G
gitlabhq 已提交
374 375 376
end

group :test do
377
  gem 'shoulda-matchers', '~> 3.1.2', require: false
T
Takuya Noguchi 已提交
378
  gem 'email_spec', '~> 2.2.0'
379
  gem 'json-schema', '~> 2.8.0'
380
  gem 'webmock', '~> 2.3.2'
381
  gem 'rails-controller-testing'
B
bogdanvlviv 已提交
382
  gem 'sham_rack', '~> 1.3.6'
383
  gem 'concurrent-ruby', '~> 1.1'
R
Rémy Coutable 已提交
384
  gem 'test-prof', '~> 0.2.5'
385
  gem 'rspec_junit_formatter'
G
gitlabhq 已提交
386
end
387

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

390
gem 'mail_room', '~> 0.9.1'
D
Douwe Maan 已提交
391

392
gem 'email_reply_trimmer', '~> 0.1'
393
gem 'html2text'
D
Douwe Maan 已提交
394

395
gem 'ruby-prof', '~> 0.17.0'
S
Stan Hu 已提交
396
gem 'rbtrace', '~> 0.4', require: false
397

D
Douwe Maan 已提交
398
# OAuth
399
gem 'oauth2', '~> 1.4'
D
Douwe Maan 已提交
400

401
# Health check
402
gem 'health_check', '~> 2.6.0'
403 404

# System information
C
Chris Wilson 已提交
405
gem 'vmstat', '~> 2.3.0'
406
gem 'sys-filesystem', '~> 1.1.6'
407

408
# SSH host key support
409
gem 'net-ssh', '~> 5.0'
410
gem 'sshkey', '~> 1.9.0'
411 412 413

# Required for ED25519 SSH host key support
group :ed25519 do
414
  gem 'ed25519', '~> 1.2'
415 416 417
  gem 'bcrypt_pbkdf', '~> 1.0'
end

418
# Gitaly GRPC client
419
gem 'gitaly-proto', '~> 1.5.0', require: 'gitaly'
A
Alejandro Rodríguez 已提交
420
gem 'grpc', '~> 1.15.0'
Z
Zeger-Jan van de Weg 已提交
421

S
Stan Hu 已提交
422
gem 'google-protobuf', '~> 3.6'
423

K
Ken 已提交
424
gem 'toml-rb', '~> 1.0.0', require: false
425 426

# Feature toggles
P
Pirate Praveen 已提交
427 428 429
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
430 431 432

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