Gemfile 10 KB
Newer Older
bogdanvlviv's avatar
bogdanvlviv committed
1
source 'https://rubygems.org'
gitlabhq's avatar
gitlabhq committed
2

blackst0ne's avatar
blackst0ne committed
3
gem 'rails', '5.0.7.1'
Valery Sizov's avatar
Valery Sizov committed
4
gem 'rails-deprecated_sanitizer', '~> 1.0.3'
Valery Sizov's avatar
Valery Sizov committed
5

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

Valery Sizov's avatar
Valery Sizov committed
9 10
# Responders respond_to and respond_with
gem 'responders', '~> 2.0'
11

ubudzisz's avatar
ubudzisz committed
12
gem 'sprockets', '~> 3.7.0'
13

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
14
# Default values for AR models
15
gem 'gitlab-default_value_for', '~> 3.1.1', require: 'default_value_for'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
16

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
17
# Supported DBs
18
gem 'mysql2', '~> 0.4.10', group: :mysql
Pirate Praveen's avatar
Pirate Praveen committed
19
gem 'pg', '~> 1.1', group: :postgres
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
20

21
gem 'rugged', '~> 0.28'
22
gem 'grape-path-helpers', '~> 1.0'
Robert Speicher's avatar
Robert Speicher committed
23

24
gem 'faraday', '~> 0.12'
Douglas Barbosa Alexandre's avatar
Douglas Barbosa Alexandre committed
25

karen Carias's avatar
karen Carias committed
26
# Authentication libraries
Pirate Praveen's avatar
Pirate Praveen committed
27
gem 'devise', '~> 4.4'
28
gem 'doorkeeper', '~> 4.3'
29
gem 'doorkeeper-openid_connect', '~> 1.5'
Pirate Praveen's avatar
Pirate Praveen committed
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'
Markus Koller's avatar
Markus Koller committed
34
gem 'omniauth-facebook', '~> 4.0.0'
35
gem 'omniauth-github', '~> 1.3'
Markus Koller's avatar
Markus Koller committed
36
gem 'omniauth-gitlab', '~> 1.0.2'
37
gem 'omniauth-google-oauth2', '~> 0.6.0'
Markus Koller's avatar
Markus Koller committed
38
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
39
gem 'omniauth-oauth2-generic', '~> 0.2.2'
Pirate Praveen's avatar
Pirate Praveen committed
40
gem 'omniauth-saml', '~> 1.10'
41
gem 'omniauth-shibboleth', '~> 1.3.0'
42
gem 'omniauth-twitter', '~> 1.4'
Markus Koller's avatar
Markus Koller committed
43
gem 'omniauth_crowd', '~> 2.2.0'
44
gem 'omniauth-authentiq', '~> 0.3.3'
Markus Koller's avatar
Markus Koller committed
45
gem 'rack-oauth2', '~> 1.2.1'
46
gem 'jwt', '~> 2.1.0'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
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'
Douwe Maan's avatar
Douwe Maan committed
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'
Yorick Peterse's avatar
Yorick Peterse committed
60
gem 'rubyzip', '~> 1.2.2', require: 'zip'
61

62
# Browser detection
Stan Hu's avatar
Stan Hu committed
63
gem 'browser', '~> 2.5'
64

Kevin O'Connor's avatar
Kevin O'Connor committed
65
# GPG
66
gem 'gpgme', '~> 2.0.18'
Kevin O'Connor's avatar
Kevin O'Connor committed
67

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

randx's avatar
randx committed
74
# API
75
gem 'grape', '~> 1.1.0'
76
gem 'grape-entity', '~> 0.7.1'
77
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
randx's avatar
randx committed
78

Nick Thomas's avatar
Nick Thomas committed
79
# GraphQL API
80
gem 'graphql', '~> 1.8.0'
Nick Thomas's avatar
Nick Thomas committed
81 82
gem 'graphiql-rails', '~> 1.4.10'

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

randx's avatar
randx committed
86
# Pagination
87
gem 'kaminari', '~> 1.0'
randx's avatar
randx committed
88 89

# HAML
90
gem 'hamlit', '~> 2.8.8'
randx's avatar
randx committed
91 92

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

96
# for backups
97
gem 'fog-aws', '~> 3.3'
98 99 100
# 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'
101 102 103
gem 'fog-google', '~> 1.8'
gem 'fog-local', '~> 0.6'
gem 'fog-openstack', '~> 1.0'
104
gem 'fog-rackspace', '~> 0.1.1'
105
gem 'fog-aliyun', '~> 0.3'
106

107
# for Google storage
108
gem 'google-api-client', '~> 0.23'
109

110
# for aws storage
bogdanvlviv's avatar
bogdanvlviv committed
111
gem 'unf', '~> 0.1.4'
randx's avatar
randx committed
112 113

# Seed data
114
gem 'seed-fu', '~> 2.3.7'
randx's avatar
randx committed
115

Robert Speicher's avatar
Robert Speicher committed
116
# Markdown and HTML processing
117
gem 'html-pipeline', '~> 2.8'
118
gem 'deckar01-task_list', '2.2.0'
119
gem 'gitlab-markup', '~> 1.6.5'
120
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
blackst0ne's avatar
blackst0ne committed
121
gem 'commonmarker', '~> 0.17'
Markus Koller's avatar
Markus Koller committed
122
gem 'RedCloth', '~> 4.3.2'
Takuya Noguchi's avatar
Takuya Noguchi committed
123
gem 'rdoc', '~> 6.0'
Markus Koller's avatar
Markus Koller committed
124 125 126
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
Takuya Noguchi's avatar
Takuya Noguchi committed
127
gem 'asciidoctor', '~> 1.5.8'
128
gem 'asciidoctor-plantuml', '0.0.8'
129
gem 'rouge', '~> 3.1'
Brett Walker's avatar
Brett Walker committed
130
gem 'truncato', '~> 0.7.11'
Nick Thomas's avatar
Nick Thomas committed
131
gem 'bootstrap_form', '~> 2.7.0'
Brett Walker's avatar
Brett Walker committed
132
gem 'nokogiri', '~> 1.10.1'
133
gem 'escape_utils', '~> 1.1'
134

135 136 137
# Calendar rendering
gem 'icalendar'

skv-headless's avatar
skv-headless committed
138
# Diffs
Manuel Rüger's avatar
Manuel Rüger committed
139
gem 'diffy', '~> 3.1.0'
skv-headless's avatar
skv-headless committed
140

141
# Application server
142 143 144 145
# 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'
146

147
group :unicorn do
Stan Hu's avatar
Stan Hu committed
148
  gem 'unicorn', '~> 5.4.1'
149
  gem 'unicorn-worker-killer', '~> 0.4.4'
150
end
randx's avatar
randx committed
151

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

Andrew8xx8's avatar
Andrew8xx8 committed
157
# State machine
158
gem 'state_machines-activerecord', '~> 0.5.1'
Andrew8xx8's avatar
Andrew8xx8 committed
159

randx's avatar
randx committed
160
# Issue tags
161
gem 'acts-as-taggable-on', '~> 5.0'
randx's avatar
randx committed
162 163

# Background jobs
Stan Hu's avatar
Stan Hu committed
164
gem 'sidekiq', '~> 5.2.1'
165
gem 'sidekiq-cron', '~> 1.0'
166
gem 'redis-namespace', '~> 1.6.0'
167
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
randx's avatar
randx committed
168

Shinya Maeda's avatar
Shinya Maeda committed
169
# Cron Parser
170
gem 'fugit', '~> 1.1'
Shinya Maeda's avatar
Shinya Maeda committed
171

randx's avatar
randx committed
172
# HTTP requests
bogdanvlviv's avatar
bogdanvlviv committed
173
gem 'httparty', '~> 0.13.3'
randx's avatar
randx committed
174 175

# Colored output to console
176
gem 'rainbow', '~> 3.0'
randx's avatar
randx committed
177

178 179
# Progress bar
gem 'ruby-progressbar'
randx's avatar
randx committed
180

Riyad Preukschas's avatar
Riyad Preukschas committed
181
# GitLab settings
Douwe Maan's avatar
Douwe Maan committed
182
gem 'settingslogic', '~> 2.0.9'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
183

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

randx's avatar
randx committed
187
# Misc
Douwe Maan's avatar
Douwe Maan committed
188

189
gem 'version_sorter', '~> 2.2.4'
randx's avatar
randx committed
190

191
# Export Ruby Regex to Javascript
Roger Rüttimann's avatar
Roger Rüttimann committed
192
gem 'js_regex', '~> 3.1'
193

194 195 196
# User agent parsing
gem 'device_detector'

197
# Cache
198
gem 'redis-rails', '~> 5.0.2'
199

200 201 202 203
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

blackst0ne's avatar
blackst0ne committed
204
# Discord integration
blackst0ne's avatar
blackst0ne committed
205
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
blackst0ne's avatar
blackst0ne committed
206

207 208 209
# HipChat integration
gem 'hipchat', '~> 1.5.0'

210
# JIRA integration
211
gem 'jira-ruby', '~> 1.4'
212

213
# Flowdock integration
214
gem 'flowdock', '~> 0.7'
215

216
# Slack integration
217
gem 'slack-notifier', '~> 1.5.1'
218

219 220 221
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5'

Jeremy's avatar
Jeremy committed
222
# Asana integration
Takuya Noguchi's avatar
Takuya Noguchi committed
223
gem 'asana', '~> 0.8.1'
Jeremy's avatar
Jeremy committed
224

Jared Szechy's avatar
Jared Szechy committed
225
# FogBugz integration
Jared Szechy's avatar
Jared Szechy committed
226
gem 'ruby-fogbugz', '~> 0.2.1'
Jared Szechy's avatar
Jared Szechy committed
227

228
# Kubernetes integration
229
gem 'kubeclient', '~> 4.2.2'
230

231
# Sanitize user input
232
gem 'sanitize', '~> 4.6'
233
gem 'babosa', '~> 1.0.2'
234

Stan Hu's avatar
Stan Hu committed
235
# Sanitizes SVG input
236
gem 'loofah', '~> 2.2'
Stan Hu's avatar
Stan Hu committed
237

238
# Working with license
Pirate Praveen's avatar
Pirate Praveen committed
239
gem 'licensee', '~> 8.9'
240

Marin Jankovski's avatar
Marin Jankovski committed
241
# Protect against bruteforcing
242
gem 'rack-attack', '~> 4.4.1'
Marin Jankovski's avatar
Marin Jankovski committed
243

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
244
# Ace editor
245
gem 'ace-rails-ap', '~> 4.1.0'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
246

247
# Detect and convert string character encoding
Jacob Vosmaer's avatar
Jacob Vosmaer committed
248
gem 'charlock_holmes', '~> 0.7.5'
249

250 251 252
# Detect mime content type from content
gem 'mimemagic', '~> 0.3.2'

dosire's avatar
dosire committed
253 254 255
# Faster blank
gem 'fast_blank'

256 257
# Parse time & duration
gem 'chronic', '~> 0.10.2'
258 259
gem 'chronic_duration', '~> 0.10.6'

Mike Greiling's avatar
Mike Greiling committed
260
gem 'webpack-rails', '~> 0.9.10'
261 262
gem 'rack-proxy', '~> 0.6.0'

263
gem 'sass-rails', '~> 5.0.6'
264
gem 'sass', '~> 3.5'
bogdanvlviv's avatar
bogdanvlviv committed
265
gem 'uglifier', '~> 2.7.2'
266

267
gem 'addressable', '~> 2.5.2'
268
gem 'font-awesome-rails', '~> 4.7'
269
gem 'gemojione', '~> 3.3'
Pirate Praveen's avatar
Pirate Praveen committed
270
gem 'gon', '~> 6.2'
271
gem 'jquery-atwho-rails', '~> 1.3.2'
Markus Koller's avatar
Markus Koller committed
272
gem 'request_store', '~> 1.3'
273
gem 'select2-rails', '~> 3.5.9'
Markus Koller's avatar
Markus Koller committed
274 275
gem 'virtus', '~> 1.0.1'
gem 'base32', '~> 0.3.0'
gitlabhq's avatar
gitlabhq committed
276

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

280
gem 'premailer-rails', '~> 1.9.7'
281

Ruben Davila's avatar
Ruben Davila committed
282
# I18n
283
gem 'ruby_parser', '~> 3.8', require: false
284
gem 'rails-i18n', '~> 5.1'
Ruben Davila's avatar
Ruben Davila committed
285
gem 'gettext_i18n_rails', '~> 1.8.0'
286
gem 'gettext_i18n_rails_js', '~> 1.3'
Ruben Davila's avatar
Ruben Davila committed
287 288
gem 'gettext', '~> 3.2.2', require: false, group: :development

Douwe Maan's avatar
Douwe Maan committed
289
gem 'batch-loader', '~> 1.2.2'
290

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

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

304
  # Prometheus
Stan Hu's avatar
Stan Hu committed
305
  gem 'prometheus-client-mmap', '~> 0.9.4'
306
  gem 'raindrops', '~> 0.18'
307 308
end

309 310 311 312 313 314
group :tracing do
  # OpenTracing
  gem 'opentracing', '~> 0.4.3'
  gem 'jaeger-client', '~> 0.10.0'
end

Nihad Abbasov's avatar
Nihad Abbasov committed
315
group :development do
316
  gem 'foreman', '~> 0.84.0'
317
  gem 'brakeman', '~> 4.2', require: false
Douwe Maan's avatar
Douwe Maan committed
318

Robert Speicher's avatar
Robert Speicher committed
319
  gem 'letter_opener_web', '~> 1.3.0'
bogdanvlviv's avatar
bogdanvlviv committed
320
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
321

322
  # Better errors handler
Stan Hu's avatar
Stan Hu committed
323
  gem 'better_errors', '~> 2.5.0'
324
  gem 'binding_of_caller', '~> 0.8.0'
325

326
  # thin instead webrick
327
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
328 329 330
end

group :development, :test do
Stan Hu's avatar
Stan Hu committed
331
  gem 'bootsnap', '~> 1.4'
332
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
333
  gem 'pry-byebug', '~> 3.5.1', platform: :mri
bogdanvlviv's avatar
bogdanvlviv committed
334
  gem 'pry-rails', '~> 0.3.4'
Robert Speicher's avatar
Robert Speicher committed
335

336
  gem 'awesome_print', require: false
Robert Speicher's avatar
Robert Speicher committed
337
  gem 'fuubar', '~> 2.2.0'
Douwe Maan's avatar
Douwe Maan committed
338

Jan Provaznik's avatar
Jan Provaznik committed
339
  gem 'database_cleaner', '~> 1.7.0'
340
  gem 'factory_bot_rails', '~> 4.8.2'
Robert Speicher's avatar
Robert Speicher committed
341
  gem 'rspec-rails', '~> 3.7.0'
Markus Koller's avatar
Markus Koller committed
342 343
  gem 'rspec-retry', '~> 0.4.5'
  gem 'rspec_profiling', '~> 0.0.5'
344
  gem 'rspec-set', '~> 0.1.3'
345
  gem 'rspec-parameterized', require: false
randx's avatar
randx committed
346

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

350
  # Generate Fake data
Takuya Noguchi's avatar
Takuya Noguchi committed
351
  gem 'ffaker', '~> 2.10'
352

353 354
  gem 'capybara', '~> 2.16.1'
  gem 'capybara-screenshot', '~> 1.0.18'
355
  gem 'selenium-webdriver', '~> 3.12'
Andrew8xx8's avatar
Andrew8xx8 committed
356

Robert Speicher's avatar
Robert Speicher committed
357
  gem 'spring', '~> 2.0.0'
Markus Koller's avatar
Markus Koller committed
358
  gem 'spring-commands-rspec', '~> 1.0.4'
Douwe Maan's avatar
Douwe Maan committed
359

360
  gem 'gitlab-styles', '~> 2.4', require: false
Rémy Coutable's avatar
Rémy Coutable committed
361
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
362
  gem 'rubocop', '~> 0.54.0'
363
  gem 'rubocop-rspec', '~> 1.22.1'
Rémy Coutable's avatar
Rémy Coutable committed
364

Takuya Noguchi's avatar
Takuya Noguchi committed
365
  gem 'scss_lint', '~> 0.56.0', require: false
Takuya Noguchi's avatar
Takuya Noguchi committed
366
  gem 'haml_lint', '~> 0.28.0', require: false
367
  gem 'simplecov', '~> 0.14.0', require: false
bogdanvlviv's avatar
bogdanvlviv committed
368
  gem 'bundler-audit', '~> 0.5.0', require: false
369

bogdanvlviv's avatar
bogdanvlviv committed
370
  gem 'benchmark-ips', '~> 2.3.0', require: false
Connor Shea's avatar
Connor Shea committed
371

372
  gem 'license_finder', '~> 5.4', require: false
373
  gem 'knapsack', '~> 1.17'
374

375
  gem 'activerecord_sane_schema_dumper', '1.0'
376

377
  gem 'stackprof', '~> 0.2.10', require: false
Bob Van Landuyt's avatar
Bob Van Landuyt committed
378 379

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

  gem 'timecop', '~> 0.8.0'
gitlabhq's avatar
gitlabhq committed
382 383 384
end

group :test do
385
  gem 'shoulda-matchers', '~> 3.1.2', require: false
Takuya Noguchi's avatar
Takuya Noguchi committed
386
  gem 'email_spec', '~> 2.2.0'
387
  gem 'json-schema', '~> 2.8.0'
Stan Hu's avatar
Stan Hu committed
388
  gem 'webmock', '~> 3.5.1'
389
  gem 'rails-controller-testing'
bogdanvlviv's avatar
bogdanvlviv committed
390
  gem 'sham_rack', '~> 1.3.6'
391
  gem 'concurrent-ruby', '~> 1.1'
Rémy Coutable's avatar
Rémy Coutable committed
392
  gem 'test-prof', '~> 0.2.5'
393
  gem 'rspec_junit_formatter'
gitlabhq's avatar
gitlabhq committed
394
end
395

Ash McKenzie's avatar
Ash McKenzie committed
396
gem 'octokit', '~> 4.9'
Douwe Maan's avatar
Douwe Maan committed
397

398
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
399

400
gem 'email_reply_trimmer', '~> 0.1'
401
gem 'html2text'
Douwe Maan's avatar
Douwe Maan committed
402

403
gem 'ruby-prof', '~> 0.17.0'
Stan Hu's avatar
Stan Hu committed
404
gem 'rbtrace', '~> 0.4', require: false
405

Douwe Maan's avatar
Douwe Maan committed
406
# OAuth
407
gem 'oauth2', '~> 1.4'
Douwe Maan's avatar
Douwe Maan committed
408

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

# System information
Chris Wilson's avatar
Chris Wilson committed
413
gem 'vmstat', '~> 2.3.0'
414
gem 'sys-filesystem', '~> 1.1.6'
415

416
# SSH host key support
417
gem 'net-ssh', '~> 5.0'
Nick Thomas's avatar
Nick Thomas committed
418
gem 'sshkey', '~> 2.0'
419 420 421

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

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

Alejandro Rodríguez's avatar
Alejandro Rodríguez committed
429
gem 'grpc', '~> 1.15.0'
Zeger-Jan van de Weg's avatar
Zeger-Jan van de Weg committed
430

Stan Hu's avatar
Stan Hu committed
431
gem 'google-protobuf', '~> 3.6'
432

Ken's avatar
Ken committed
433
gem 'toml-rb', '~> 1.0.0', require: false
434 435

# Feature toggles
436 437 438
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
439 440 441

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