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

3
gem 'rails', '5.0.7'
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

17
# Supported DBs
18
gem 'mysql2', '~> 0.4.10', group: :mysql
bogdanvlviv's avatar
bogdanvlviv committed
19
gem 'pg', '~> 0.18.2', group: :postgres
20

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

24
gem 'faraday', '~> 0.12'
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'
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'
34
gem 'omniauth-facebook', '~> 4.0.0'
35
gem 'omniauth-github', '~> 1.3'
36
gem 'omniauth-gitlab', '~> 1.0.2'
37
gem 'omniauth-google-oauth2', '~> 0.5.3'
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'
43
gem 'omniauth_crowd', '~> 2.2.0'
44
gem 'omniauth-authentiq', '~> 0.3.3'
45 46
gem 'rack-oauth2', '~> 1.2.1'
gem 'jwt', '~> 1.5.6'
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'
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
Stan Hu's avatar
Stan Hu committed
62
gem 'browser', '~> 2.5'
63

64
# GPG
65
gem 'gpgme', '~> 2.0.18'
66

67
# LDAP Auth
Yorick Peterse's avatar
Yorick Peterse committed
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

randx's avatar
randx committed
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'
randx's avatar
randx committed
77

Nick Thomas's avatar
Nick Thomas committed
78
# GraphQL API
79
gem 'graphql', '~> 1.8.0'
Nick Thomas's avatar
Nick Thomas committed
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'

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

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

# Files attachments
92 93 94
# Locked until https://github.com/carrierwaveuploader/carrierwave/pull/2332 and
# https://github.com/carrierwaveuploader/carrierwave/pull/2356 are merged.
# config/initializers/carrierwave_patch.rb can be removed once both changes are released.
95
gem 'carrierwave', '= 1.2.3'
96
gem 'mini_magick'
97

98
# for backups
99
gem 'fog-aws', '~> 2.0.1'
100
gem 'fog-core', '~> 1.44'
101
gem 'fog-google', '~> 1.7.1'
102 103
gem 'fog-local', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
104
gem 'fog-rackspace', '~> 0.1.1'
105
gem 'fog-aliyun', '~> 0.2.0'
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'
Jared Deckard's avatar
Jared Deckard committed
118
gem 'deckar01-task_list', '2.0.0'
119
gem 'gitlab-markup', '~> 1.6.5'
120
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
121
gem 'redcarpet', '~> 3.4'
122
gem 'commonmarker', '~> 0.17'
123
gem 'RedCloth', '~> 4.3.2'
Takuya Noguchi's avatar
Takuya Noguchi committed
124
gem 'rdoc', '~> 6.0'
125 126 127
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
128
gem 'asciidoctor', '~> 1.5.8'
129
gem 'asciidoctor-plantuml', '0.0.8'
130
gem 'rouge', '~> 3.1'
131
gem 'truncato', '~> 0.7.9'
Nick Thomas's avatar
Nick Thomas committed
132
gem 'bootstrap_form', '~> 2.7.0'
133
gem 'nokogiri', '~> 1.8.4'
134
gem 'escape_utils', '~> 1.1'
135

136 137 138
# Calendar rendering
gem 'icalendar'

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

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

148
group :unicorn do
149 150
  gem 'unicorn', '~> 5.1.0'
  gem 'unicorn-worker-killer', '~> 0.4.4'
151
end
randx's avatar
randx committed
152

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

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

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

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

170
# Cron Parser
171
gem 'rufus-scheduler', '~> 3.4'
172

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

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

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

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

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

randx's avatar
randx committed
188
# Misc
189

190
gem 'version_sorter', '~> 2.1.0'
randx's avatar
randx committed
191

192 193 194
# Export Ruby Regex to Javascript
gem 'js_regex', '~> 2.2.1'

195 196 197
# User agent parsing
gem 'device_detector'

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

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

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

208
# HipChat integration
Chulki Lee's avatar
Chulki Lee committed
209
gem 'hipchat', '~> 1.5.0'
210

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

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

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

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

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

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

229
# Kubernetes integration
Thong Kuah's avatar
Thong Kuah committed
230
gem 'kubeclient', '~> 4.0.0'
231

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

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

239
# Working with license
240
gem 'licensee', '~> 8.9'
241

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

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

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

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

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

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

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

264
gem 'sass-rails', '~> 5.0.6'
265
gem 'sass', '~> 3.5'
bogdanvlviv's avatar
bogdanvlviv committed
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'
271
gem 'gon', '~> 6.2'
272
gem 'jquery-atwho-rails', '~> 1.3.2'
273 274 275 276
gem 'request_store', '~> 1.3'
gem 'select2-rails', '~> 3.5.9'
gem 'virtus', '~> 1.0.1'
gem 'base32', '~> 0.3.0'
gitlabhq's avatar
gitlabhq committed
277

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

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

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

290
gem 'batch-loader', '~> 1.2.2'
291

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

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

305
  # Prometheus
306
  gem 'prometheus-client-mmap', '~> 0.9.4'
307
  gem 'raindrops', '~> 0.18'
308 309
end

Nihad Abbasov's avatar
Nihad Abbasov committed
310
group :development do
311
  gem 'foreman', '~> 0.84.0'
312
  gem 'brakeman', '~> 4.2', require: false
313

314
  gem 'letter_opener_web', '~> 1.3.0'
bogdanvlviv's avatar
bogdanvlviv committed
315
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
316

317
  # Better errors handler
318
  gem 'better_errors', '~> 2.5.0'
319
  gem 'binding_of_caller', '~> 0.8.0'
320

321
  # thin instead webrick
322
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
323 324 325
end

group :development, :test do
326
  gem 'bootsnap', '~> 1.3'
327
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
328
  gem 'pry-byebug', '~> 3.4.1', platform: :mri
bogdanvlviv's avatar
bogdanvlviv committed
329
  gem 'pry-rails', '~> 0.3.4'
Robert Speicher's avatar
Robert Speicher committed
330

331
  gem 'awesome_print', require: false
Robert Speicher's avatar
Robert Speicher committed
332
  gem 'fuubar', '~> 2.2.0'
333

334
  gem 'database_cleaner', '~> 1.7.0'
335
  gem 'factory_bot_rails', '~> 4.8.2'
Robert Speicher's avatar
Robert Speicher committed
336
  gem 'rspec-rails', '~> 3.7.0'
337 338
  gem 'rspec-retry', '~> 0.4.5'
  gem 'rspec_profiling', '~> 0.0.5'
339
  gem 'rspec-set', '~> 0.1.3'
340
  gem 'rspec-parameterized', require: false
randx's avatar
randx committed
341

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

345
  # Generate Fake data
Takuya Noguchi's avatar
Takuya Noguchi committed
346
  gem 'ffaker', '~> 2.10'
347

348
  gem 'capybara', '~> 2.15'
Robert Speicher's avatar
Robert Speicher committed
349
  gem 'capybara-screenshot', '~> 1.0.0'
350
  gem 'selenium-webdriver', '~> 3.12'
Andrew8xx8's avatar
Andrew8xx8 committed
351

352
  gem 'spring', '~> 2.0.0'
353
  gem 'spring-commands-rspec', '~> 1.0.4'
354

355
  gem 'gitlab-styles', '~> 2.4', require: false
Rémy Coutable's avatar
Rémy Coutable committed
356
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
357
  gem 'rubocop', '~> 0.54.0'
358
  gem 'rubocop-rspec', '~> 1.22.1'
Rémy Coutable's avatar
Rémy Coutable committed
359

360
  gem 'scss_lint', '~> 0.56.0', require: false
361
  gem 'haml_lint', '~> 0.28.0', require: false
362
  gem 'simplecov', '~> 0.14.0', require: false
bogdanvlviv's avatar
bogdanvlviv committed
363
  gem 'bundler-audit', '~> 0.5.0', require: false
364

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

367
  gem 'license_finder', '~> 5.4', require: false
368
  gem 'knapsack', '~> 1.17'
369

370
  gem 'activerecord_sane_schema_dumper', '1.0'
371

372
  gem 'stackprof', '~> 0.2.10', require: false
373 374

  gem 'simple_po_parser', '~> 1.1.2', require: false
375 376

  gem 'timecop', '~> 0.8.0'
gitlabhq's avatar
gitlabhq committed
377 378 379
end

group :test do
380
  gem 'shoulda-matchers', '~> 3.1.2', require: false
381
  gem 'email_spec', '~> 2.2.0'
382
  gem 'json-schema', '~> 2.8.0'
383
  gem 'webmock', '~> 2.3.2'
384
  gem 'rails-controller-testing'
bogdanvlviv's avatar
bogdanvlviv committed
385
  gem 'sham_rack', '~> 1.3.6'
386
  gem 'concurrent-ruby', '~> 1.1'
Rémy Coutable's avatar
Rémy Coutable committed
387
  gem 'test-prof', '~> 0.2.5'
388
  gem 'rspec_junit_formatter'
gitlabhq's avatar
gitlabhq committed
389
end
390

Ash McKenzie's avatar
Ash McKenzie committed
391
gem 'octokit', '~> 4.9'
Douwe Maan's avatar
Douwe Maan committed
392

393
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
394

395
gem 'email_reply_trimmer', '~> 0.1'
396
gem 'html2text'
397

398
gem 'ruby-prof', '~> 0.17.0'
Stan Hu's avatar
Stan Hu committed
399
gem 'rbtrace', '~> 0.4', require: false
400

401
# OAuth
402
gem 'oauth2', '~> 1.4'
403

404
# Health check
405
gem 'health_check', '~> 2.6.0'
406 407

# System information
408
gem 'vmstat', '~> 2.3.0'
409
gem 'sys-filesystem', '~> 1.1.6'
410

411
# SSH host key support
412
gem 'net-ssh', '~> 5.0'
413
gem 'sshkey', '~> 1.9.0'
414 415 416

# Required for ED25519 SSH host key support
group :ed25519 do
417
  gem 'ed25519', '~> 1.2'
418 419 420
  gem 'bcrypt_pbkdf', '~> 1.0'
end

421
# Gitaly GRPC client
422
gem 'gitaly-proto', '~> 1.5.0', require: 'gitaly'
Alejandro Rodríguez's avatar
Alejandro Rodríguez committed
423
gem 'grpc', '~> 1.15.0'
424

Stan Hu's avatar
Stan Hu committed
425
gem 'google-protobuf', '~> 3.6'
426

Ken's avatar
Ken committed
427
gem 'toml-rb', '~> 1.0.0', require: false
428 429

# Feature toggles
430 431 432
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
433 434 435

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