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

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

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

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

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

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

D
Dmitriy Zaporozhets 已提交
16
# Supported DBs
17
gem 'mysql2', '~> 0.4.10', group: :mysql
P
Pirate Praveen 已提交
18
gem 'pg', '~> 1.1', group: :postgres
D
Dmitriy Zaporozhets 已提交
19

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

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

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

50
# Spam and anti-bot protection
P
Pirate Praveen 已提交
51
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
52
gem 'akismet', '~> 2.0'
53

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

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

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

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

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

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

N
Nick Thomas 已提交
83
# GraphQL API
84
gem 'graphql', '~> 1.8.0'
N
Nick Thomas 已提交
85
gem 'graphiql-rails', '~> 1.4.10'
86
gem 'apollo_upload_server', '~> 2.0.0.beta3'
N
Nick Thomas 已提交
87

88 89 90
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

R
randx 已提交
91
# Pagination
92
gem 'kaminari', '~> 1.0'
R
randx 已提交
93 94

# HAML
95
gem 'hamlit', '~> 2.8.8'
R
randx 已提交
96 97

# Files attachments
98
gem 'carrierwave', '~> 1.3'
99
gem 'mini_magick'
100

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

112
# for Google storage
113
gem 'google-api-client', '~> 0.23'
114

115
# for aws storage
B
bogdanvlviv 已提交
116
gem 'unf', '~> 0.1.4'
R
randx 已提交
117 118

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

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

140 141 142
# Calendar rendering
gem 'icalendar'

S
skv-headless 已提交
143
# Diffs
M
Manuel Rüger 已提交
144
gem 'diffy', '~> 3.1.0'
S
skv-headless 已提交
145

146
# Application server
S
Stan Hu 已提交
147
gem 'rack', '~> 2.0.7'
148

J
Jacob Vosmaer 已提交
149
group :unicorn do
S
Stan Hu 已提交
150
  gem 'unicorn', '~> 5.4.1'
151
  gem 'unicorn-worker-killer', '~> 0.4.4'
J
Jacob Vosmaer 已提交
152
end
R
randx 已提交
153

154 155 156 157 158
group :puma do
  gem 'puma', '~> 3.12', require: false
  gem 'puma_worker_killer', require: false
end

A
Andrew8xx8 已提交
159
# State machine
160
gem 'state_machines-activerecord', '~> 0.5.1'
A
Andrew8xx8 已提交
161

R
randx 已提交
162
# Issue tags
163
gem 'acts-as-taggable-on', '~> 6.0'
R
randx 已提交
164 165

# Background jobs
S
Stan Hu 已提交
166
gem 'sidekiq', '~> 5.2.7'
167
gem 'sidekiq-cron', '~> 1.0'
T
Takuya Noguchi 已提交
168
gem 'redis-namespace', '~> 1.6.0'
V
Valery Sizov 已提交
169
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
R
randx 已提交
170

S
Shinya Maeda 已提交
171
# Cron Parser
172
gem 'fugit', '~> 1.2.1'
S
Shinya Maeda 已提交
173

R
randx 已提交
174
# HTTP requests
175
gem 'httparty', '~> 0.16.4'
R
randx 已提交
176 177

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

180 181
# Progress bar
gem 'ruby-progressbar'
R
randx 已提交
182

R
Riyad Preukschas 已提交
183
# GitLab settings
D
Douwe Maan 已提交
184
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
185

186
# Linear-time regex library for untrusted regular expressions
187
gem 're2', '~> 1.1.1'
188

R
randx 已提交
189
# Misc
D
Douwe Maan 已提交
190

191
gem 'version_sorter', '~> 2.2.4'
R
randx 已提交
192

193
# Export Ruby Regex to Javascript
R
Roger Rüttimann 已提交
194
gem 'js_regex', '~> 3.1'
195

196 197 198
# User agent parsing
gem 'device_detector'

199
# Cache
200
gem 'redis-rails', '~> 5.0.2'
201

202 203 204 205
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

B
blackst0ne 已提交
206
# Discord integration
B
blackst0ne 已提交
207
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
B
blackst0ne 已提交
208

209 210 211
# HipChat integration
gem 'hipchat', '~> 1.5.0'

D
Drew Blessing 已提交
212
# JIRA integration
213
gem 'jira-ruby', '~> 1.4'
D
Drew Blessing 已提交
214

215
# Flowdock integration
216
gem 'flowdock', '~> 0.7'
217

218
# Slack integration
219
gem 'slack-notifier', '~> 1.5.1'
220

221 222 223
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

J
Jeremy 已提交
224
# Asana integration
T
Takuya Noguchi 已提交
225
gem 'asana', '~> 0.8.1'
J
Jeremy 已提交
226

J
Jared Szechy 已提交
227
# FogBugz integration
J
Jared Szechy 已提交
228
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
229

230
# Kubernetes integration
231
gem 'kubeclient', '~> 4.2.2'
232

233
# Sanitize user input
234
gem 'sanitize', '~> 4.6'
235
gem 'babosa', '~> 1.0.2'
236

S
Stan Hu 已提交
237
# Sanitizes SVG input
238
gem 'loofah', '~> 2.2'
S
Stan Hu 已提交
239

240
# Working with license
P
Pirate Praveen 已提交
241
gem 'licensee', '~> 8.9'
242

M
Marin Jankovski 已提交
243
# Protect against bruteforcing
M
Manuel Rüger 已提交
244
gem 'rack-attack', '~> 4.4.1'
M
Marin Jankovski 已提交
245

D
Dmitriy Zaporozhets 已提交
246
# Ace editor
247
gem 'ace-rails-ap', '~> 4.1.0'
D
Dmitriy Zaporozhets 已提交
248

249
# Detect and convert string character encoding
J
Jacob Vosmaer 已提交
250
gem 'charlock_holmes', '~> 0.7.5'
251

252 253 254
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

D
dosire 已提交
255 256 257
# Faster blank
gem 'fast_blank'

R
Rémy Coutable 已提交
258 259
# Parse time & duration
gem 'chronic', '~> 0.10.2'
260 261
gem 'chronic_duration', '~> 0.10.6'

M
Mike Greiling 已提交
262
gem 'webpack-rails', '~> 0.9.10'
263 264
gem 'rack-proxy', '~> 0.6.0'

265
gem 'sassc-rails', '~> 2.1.0'
B
bogdanvlviv 已提交
266
gem 'uglifier', '~> 2.7.2'
267

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

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

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

281
# LabKit: Tracing and Correlation
282
gem 'gitlab-labkit', '~> 0.2.0'
283

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

291
gem 'batch-loader', '~> 1.4.0'
292

293 294 295
# Perf bar
gem 'peek', '~> 1.0.1'
gem 'peek-gc', '~> 0.0.2'
296
gem 'peek-mysql2', '~> 1.2.0', group: :mysql
297
gem 'peek-pg', '~> 1.3.0', group: :postgres
298 299 300
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'

301 302
# Metrics
group :metrics do
303
  gem 'method_source', '~> 0.8', require: false
304
  gem 'influxdb', '~> 0.2', require: false
305

306
  # Prometheus
S
Stan Hu 已提交
307
  gem 'prometheus-client-mmap', '~> 0.9.4'
308
  gem 'raindrops', '~> 0.18'
309 310
end

N
Nihad Abbasov 已提交
311
group :development do
312
  gem 'foreman', '~> 0.84.0'
T
Takuya Noguchi 已提交
313
  gem 'brakeman', '~> 4.2', require: false
D
Douwe Maan 已提交
314

315
  gem 'letter_opener_web', '~> 1.3.4'
B
bogdanvlviv 已提交
316
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
D
Dmitriy Zaporozhets 已提交
317

318
  # Better errors handler
S
Stan Hu 已提交
319
  gem 'better_errors', '~> 2.5.0'
320
  gem 'binding_of_caller', '~> 0.8.0'
321

322
  # thin instead webrick
C
Connor Shea 已提交
323
  gem 'thin', '~> 1.7.0'
G
gitlabhq 已提交
324 325 326
end

group :development, :test do
S
Stan Hu 已提交
327
  gem 'bootsnap', '~> 1.4'
328
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
329
  gem 'pry-byebug', '~> 3.5.1', platform: :mri
B
bogdanvlviv 已提交
330
  gem 'pry-rails', '~> 0.3.4'
R
Robert Speicher 已提交
331

332
  gem 'awesome_print', require: false
R
Robert Speicher 已提交
333
  gem 'fuubar', '~> 2.2.0'
D
Douwe Maan 已提交
334

J
Jan Provaznik 已提交
335
  gem 'database_cleaner', '~> 1.7.0'
336
  gem 'factory_bot_rails', '~> 4.8.2'
R
Robert Speicher 已提交
337
  gem 'rspec-rails', '~> 3.7.0'
M
Markus Koller 已提交
338 339
  gem 'rspec-retry', '~> 0.4.5'
  gem 'rspec_profiling', '~> 0.0.5'
340
  gem 'rspec-set', '~> 0.1.3'
341
  gem 'rspec-parameterized', require: false
R
randx 已提交
342

343
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
344
  gem 'minitest', '~> 5.11.0'
345

346
  # Generate Fake data
T
Takuya Noguchi 已提交
347
  gem 'ffaker', '~> 2.10'
348

349 350 351
  gem 'capybara', '~> 2.18.0'
  gem 'capybara-screenshot', '~> 1.0.22'
  gem 'selenium-webdriver', '~> 3.141'
A
Andrew8xx8 已提交
352

R
Robert Speicher 已提交
353
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
354
  gem 'spring-commands-rspec', '~> 1.0.4'
D
Douwe Maan 已提交
355

356
  gem 'gitlab-styles', '~> 2.7', require: false
R
Rémy Coutable 已提交
357
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
358
  gem 'rubocop', '~> 0.69.0'
S
Stan Hu 已提交
359
  gem 'rubocop-performance', '~> 1.1.0'
360
  gem 'rubocop-rspec', '~> 1.22.1'
R
Rémy Coutable 已提交
361

T
Takuya Noguchi 已提交
362
  gem 'scss_lint', '~> 0.56.0', require: false
363
  gem 'haml_lint', '~> 0.31.0', require: false
364
  gem 'simplecov', '~> 0.16.1', require: false
B
bogdanvlviv 已提交
365
  gem 'bundler-audit', '~> 0.5.0', require: false
366

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

369
  gem 'license_finder', '~> 5.4', require: false
370
  gem 'knapsack', '~> 1.17'
371

372
  gem 'activerecord_sane_schema_dumper', '1.0'
373

374
  gem 'stackprof', '~> 0.2.10', require: false
375
  gem 'derailed_benchmarks', require: false
B
Bob Van Landuyt 已提交
376 377

  gem 'simple_po_parser', '~> 1.1.2', require: false
378 379

  gem 'timecop', '~> 0.8.0'
G
gitlabhq 已提交
380 381 382
end

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

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

396
gem 'mail_room', '~> 0.9.1'
D
Douwe Maan 已提交
397

398
gem 'email_reply_trimmer', '~> 0.1'
399
gem 'html2text'
D
Douwe Maan 已提交
400

401
gem 'ruby-prof', '~> 0.17.0'
S
Stan Hu 已提交
402
gem 'rbtrace', '~> 0.4', require: false
403
gem 'memory_profiler', require: false
404

D
Douwe Maan 已提交
405
# OAuth
406
gem 'oauth2', '~> 1.4'
D
Douwe Maan 已提交
407

408
# Health check
409
gem 'health_check', '~> 2.6.0'
410 411

# System information
C
Chris Wilson 已提交
412
gem 'vmstat', '~> 2.3.0'
413
gem 'sys-filesystem', '~> 1.1.6'
414

415
# SSH host key support
416
gem 'net-ssh', '~> 5.0'
N
Nick Thomas 已提交
417
gem 'sshkey', '~> 2.0'
418 419 420

# Required for ED25519 SSH host key support
group :ed25519 do
421
  gem 'ed25519', '~> 1.2'
422 423 424
  gem 'bcrypt_pbkdf', '~> 1.0'
end

425
# Gitaly GRPC client
426
gem 'gitaly-proto', '~> 1.27.0', require: 'gitaly'
427

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

430
gem 'google-protobuf', '~> 3.7.1'
431

K
Ken 已提交
432
gem 'toml-rb', '~> 1.0.0', require: false
433 434

# Feature toggles
P
Pirate Praveen 已提交
435 436 437
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
438 439 440

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