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

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

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

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

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
19
gem 'pg', '~> 1.1', group: :postgres
20

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

24
gem 'faraday', '~> 0.12'
25

Karen's avatar
Karen committed
26
# Authentication libraries
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.6.0'
38
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
39
gem 'omniauth-oauth2-generic', '~> 0.2.2'
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
gem 'rack-oauth2', '~> 1.9.3'
46
gem 'jwt', '~> 2.1.0'
Nick Thomas's avatar
Nick Thomas committed
47 48 49

# Kerberos authentication. EE-only
gem 'gssapi', group: :kerberos
50

51
# Spam and anti-bot protection
52
gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
53
gem 'akismet', '~> 2.0'
54

55
# Two-factor authentication
56
gem 'devise-two-factor', '~> 3.0.0'
57
gem 'rqrcode-rails3', '~> 0.1.7'
58
gem 'attr_encrypted', '~> 3.1.0'
59
gem 'u2f', '~> 0.2.1'
60

61
# GitLab Pages
62
gem 'validates_hostname', '~> 1.0.6'
63
gem 'rubyzip', '~> 1.2.2', require: 'zip'
64

65
# Browser detection
Stan Hu's avatar
Stan Hu committed
66
gem 'browser', '~> 2.5'
67

68
# GPG
69
gem 'gpgme', '~> 2.0.18'
70

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

77
# API
78
gem 'grape', '~> 1.1.0'
79
gem 'grape-entity', '~> 0.7.1'
80
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
81

Nick Thomas's avatar
Nick Thomas committed
82
# GraphQL API
83
gem 'graphql', '~> 1.8.0'
Nick Thomas's avatar
Nick Thomas committed
84 85
gem 'graphiql-rails', '~> 1.4.10'

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

89
# Pagination
90
gem 'kaminari', '~> 1.0'
91 92

# HAML
93
gem 'hamlit', '~> 2.8.8'
94 95

# Files attachments
96
gem 'carrierwave', '~> 1.3'
97
gem 'mini_magick'
98

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

110
# for Google storage
111
gem 'google-api-client', '~> 0.23'
112

113
# for aws storage
Bogdan's avatar
Bogdan committed
114
gem 'unf', '~> 0.1.4'
115 116

# Seed data
117
gem 'seed-fu', '~> 2.3.7'
118

119
# Search
120 121
gem 'elasticsearch-model', '~> 0.1.9'
gem 'elasticsearch-rails', '~> 0.1.9'
122
gem 'elasticsearch-api',   '5.0.3'
123 124
gem 'aws-sdk'
gem 'faraday_middleware-aws-signers-v4'
125

Robert Speicher's avatar
Robert Speicher committed
126
# Markdown and HTML processing
127
gem 'html-pipeline', '~> 2.8'
128
gem 'deckar01-task_list', '2.2.0'
129
gem 'gitlab-markup', '~> 1.6.5'
130
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
131
gem 'commonmarker', '~> 0.17'
132
gem 'RedCloth', '~> 4.3.2'
Takuya Noguchi's avatar
Takuya Noguchi committed
133
gem 'rdoc', '~> 6.0'
134 135 136
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
137
gem 'asciidoctor', '~> 1.5.8'
138
gem 'asciidoctor-plantuml', '0.0.8'
139
gem 'rouge', '~> 3.1'
Brett Walker's avatar
Brett Walker committed
140
gem 'truncato', '~> 0.7.11'
Nick Thomas's avatar
Nick Thomas committed
141
gem 'bootstrap_form', '~> 2.7.0'
Brett Walker's avatar
Brett Walker committed
142
gem 'nokogiri', '~> 1.10.1'
143
gem 'escape_utils', '~> 1.1'
144

145 146 147
# Calendar rendering
gem 'icalendar'

Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
148
# Diffs
149
gem 'diffy', '~> 3.1.0'
Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
150

151
# Application server
152 153 154 155
# 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'
156

157
group :unicorn do
158
  gem 'unicorn', '~> 5.4.1'
159
  gem 'unicorn-worker-killer', '~> 0.4.4'
160
end
161

162 163 164 165 166
group :puma do
  gem 'puma', '~> 3.12', require: false
  gem 'puma_worker_killer', require: false
end

167
# State machine
168
gem 'state_machines-activerecord', '~> 0.5.1'
169

170
# Issue tags
171
gem 'acts-as-taggable-on', '~> 5.0'
172 173

# Background jobs
Stan Hu's avatar
Stan Hu committed
174
gem 'sidekiq', '~> 5.2.1'
175
gem 'sidekiq-cron', '~> 1.0'
176
gem 'redis-namespace', '~> 1.6.0'
177
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
178

179
# Cron Parser
180
gem 'fugit', '~> 1.1'
181

182
# HTTP requests
183
gem 'httparty', '~> 0.13.3'
184 185

# Colored output to console
186
gem 'rainbow', '~> 3.0'
187

188 189 190
# Progress bar
gem 'ruby-progressbar'

Riyad Preukschas's avatar
Riyad Preukschas committed
191
# GitLab settings
192
gem 'settingslogic', '~> 2.0.9'
Aleksei's avatar
Aleksei committed
193

194
# Linear-time regex library for untrusted regular expressions
195
gem 're2', '~> 1.1.1'
196

197
# Misc
198

199
gem 'version_sorter', '~> 2.2.4'
200

201
# Export Ruby Regex to Javascript
202
gem 'js_regex', '~> 3.1'
203

204 205 206
# User agent parsing
gem 'device_detector'

207
# Cache
208
gem 'redis-rails', '~> 5.0.2'
209

210 211 212 213
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

blackst0ne's avatar
blackst0ne committed
214
# Discord integration
blackst0ne's avatar
blackst0ne committed
215
gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
blackst0ne's avatar
blackst0ne committed
216

217
# JIRA integration
218
gem 'jira-ruby', '~> 1.4'
219

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

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

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

Jeremy's avatar
Jeremy committed
229
# Asana integration
Takuya Noguchi's avatar
Takuya Noguchi committed
230
gem 'asana', '~> 0.8.1'
Jeremy's avatar
Jeremy committed
231

Jared Szechy's avatar
Jared Szechy committed
232
# FogBugz integration
Jared's avatar
Jared committed
233
gem 'ruby-fogbugz', '~> 0.2.1'
Jared Szechy's avatar
Jared Szechy committed
234

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

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

Stan Hu's avatar
Stan Hu committed
242
# Sanitizes SVG input
243
gem 'loofah', '~> 2.2'
Stan Hu's avatar
Stan Hu committed
244

245
# Working with license
246
gem 'licensee', '~> 8.9'
247

Marin Jankovski's avatar
Marin Jankovski committed
248
# Protect against bruteforcing
249
gem 'rack-attack', '~> 4.4.1'
Marin Jankovski's avatar
Marin Jankovski committed
250

251
# Ace editor
252
gem 'ace-rails-ap', '~> 4.1.0'
253

254
# Detect and convert string character encoding
255
gem 'charlock_holmes', '~> 0.7.5'
256

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

260 261 262
# Faster blank
gem 'fast_blank'

263 264
# Parse time & duration
gem 'chronic', '~> 0.10.2'
265 266
gem 'chronic_duration', '~> 0.10.6'

267
gem 'webpack-rails', '~> 0.9.10'
268 269
gem 'rack-proxy', '~> 0.6.0'

270
gem 'sass-rails', '~> 5.0.6'
271
gem 'sass', '~> 3.5'
Bogdan's avatar
Bogdan committed
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'
277
gem 'gon', '~> 6.2'
278 279 280
gem 'request_store', '~> 1.3'
gem 'virtus', '~> 1.0.1'
gem 'base32', '~> 0.3.0'
Nick Thomas's avatar
Nick Thomas committed
281 282

gem "gitlab-license", "~> 1.0"
gitlabhq's avatar
gitlabhq committed
283

284
# Sentry integration
285
gem 'sentry-raven', '~> 2.7'
286

287
gem 'premailer-rails', '~> 1.9.7'
288

Ruben Alexis's avatar
Ruben Alexis committed
289
# I18n
290
gem 'ruby_parser', '~> 3.8', require: false
291
gem 'rails-i18n', '~> 5.1'
Ruben Alexis's avatar
Ruben Alexis committed
292
gem 'gettext_i18n_rails', '~> 1.8.0'
293
gem 'gettext_i18n_rails_js', '~> 1.3'
Ruben Alexis's avatar
Ruben Alexis committed
294 295
gem 'gettext', '~> 3.2.2', require: false, group: :development

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

298 299 300
# Perf bar
gem 'peek', '~> 1.0.1'
gem 'peek-gc', '~> 0.0.2'
301
gem 'peek-mysql2', '~> 1.2.0', group: :mysql
302 303 304 305
gem 'peek-pg', '~> 1.3.0', group: :postgres
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'

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

311
  # Prometheus
312
  gem 'prometheus-client-mmap', '~> 0.9.4'
313
  gem 'raindrops', '~> 0.18'
314 315
end

316 317 318 319 320 321
group :tracing do
  # OpenTracing
  gem 'opentracing', '~> 0.4.3'
  gem 'jaeger-client', '~> 0.10.0'
end

Nihad Abbasov's avatar
Nihad Abbasov committed
322
group :development do
323
  gem 'foreman', '~> 0.84.0'
324
  gem 'brakeman', '~> 4.2', require: false
325

326
  gem 'letter_opener_web', '~> 1.3.0'
Bogdan's avatar
Bogdan committed
327
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
328

329
  # Better errors handler
330
  gem 'better_errors', '~> 2.5.0'
331
  gem 'binding_of_caller', '~> 0.8.0'
332

333
  # thin instead webrick
334
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
335 336 337
end

group :development, :test do
Stan Hu's avatar
Stan Hu committed
338
  gem 'bootsnap', '~> 1.4'
339
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
340
  gem 'pry-byebug', '~> 3.5.1', platform: :mri
Bogdan's avatar
Bogdan committed
341
  gem 'pry-rails', '~> 0.3.4'
Robert Speicher's avatar
Robert Speicher committed
342

343
  gem 'awesome_print', require: false
Robert Speicher's avatar
Robert Speicher committed
344
  gem 'fuubar', '~> 2.2.0'
345

346
  gem 'database_cleaner', '~> 1.7.0'
347
  gem 'factory_bot_rails', '~> 4.8.2'
348
  gem 'rspec-rails', '~> 3.7.0'
349 350
  gem 'rspec-retry', '~> 0.4.5'
  gem 'rspec_profiling', '~> 0.0.5'
351
  gem 'rspec-set', '~> 0.1.3'
352
  gem 'rspec-parameterized', require: false
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
353

354
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
355
  gem 'minitest', '~> 5.11.0'
356

357
  # Generate Fake data
Takuya Noguchi's avatar
Takuya Noguchi committed
358
  gem 'ffaker', '~> 2.10'
359

360 361
  gem 'capybara', '~> 2.16.1'
  gem 'capybara-screenshot', '~> 1.0.18'
362
  gem 'selenium-webdriver', '~> 3.12'
363

364
  gem 'spring', '~> 2.0.0'
365
  gem 'spring-commands-rspec', '~> 1.0.4'
366

Lin Jen-Shin's avatar
Lin Jen-Shin committed
367
  gem 'gitlab-styles', '~> 2.4', require: false
Rémy Coutable's avatar
Rémy Coutable committed
368
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
369
  gem 'rubocop', '~> 0.54.0'
370
  gem 'rubocop-rspec', '~> 1.22.1'
Rémy Coutable's avatar
Rémy Coutable committed
371

372
  gem 'scss_lint', '~> 0.56.0', require: false
373
  gem 'haml_lint', '~> 0.28.0', require: false
374
  gem 'simplecov', '~> 0.14.0', require: false
Bogdan's avatar
Bogdan committed
375
  gem 'bundler-audit', '~> 0.5.0', require: false
376

Bogdan's avatar
Bogdan committed
377
  gem 'benchmark-ips', '~> 2.3.0', require: false
Connor Shea's avatar
Connor Shea committed
378

379
  gem 'license_finder', '~> 5.4', require: false
380
  gem 'knapsack', '~> 1.17'
381

382
  gem 'activerecord_sane_schema_dumper', '1.0'
383

384
  gem 'stackprof', '~> 0.2.10', require: false
385 386

  gem 'simple_po_parser', '~> 1.1.2', require: false
387 388

  gem 'timecop', '~> 0.8.0'
gitlabhq's avatar
gitlabhq committed
389 390 391
end

group :test do
392
  gem 'shoulda-matchers', '~> 3.1.2', require: false
393
  gem 'email_spec', '~> 2.2.0'
394
  gem 'json-schema', '~> 2.8.0'
Stan Hu's avatar
Stan Hu committed
395
  gem 'webmock', '~> 3.5.1'
396
  gem 'rails-controller-testing'
Bogdan's avatar
Bogdan committed
397
  gem 'sham_rack', '~> 1.3.6'
398
  gem 'concurrent-ruby', '~> 1.1'
Rémy Coutable's avatar
Rémy Coutable committed
399
  gem 'test-prof', '~> 0.2.5'
400
  gem 'rspec_junit_formatter'
gitlabhq's avatar
gitlabhq committed
401
end
402

Ash McKenzie's avatar
Ash McKenzie committed
403
gem 'octokit', '~> 4.9'
Douwe Maan's avatar
Douwe Maan committed
404

405
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
406

407
gem 'email_reply_trimmer', '~> 0.1'
408
gem 'html2text'
409

410
gem 'ruby-prof', '~> 0.17.0'
Stan Hu's avatar
Stan Hu committed
411
gem 'rbtrace', '~> 0.4', require: false
412

413
# OAuth
414
gem 'oauth2', '~> 1.4'
Douwe Maan's avatar
Douwe Maan committed
415

416
# Health check
417
gem 'health_check', '~> 2.6.0'
418 419

# System information
Chris's avatar
Chris committed
420
gem 'vmstat', '~> 2.3.0'
421
gem 'sys-filesystem', '~> 1.1.6'
422

423 424 425
# NTP client
gem 'net-ntp'

426
# SSH host key support
427
gem 'net-ssh', '~> 5.0'
Nick Thomas's avatar
Nick Thomas committed
428
gem 'sshkey', '~> 2.0'
429 430 431

# Required for ED25519 SSH host key support
group :ed25519 do
432
  gem 'ed25519', '~> 1.2'
433 434 435
  gem 'bcrypt_pbkdf', '~> 1.0'
end

436
# Gitaly GRPC client
437
gem 'gitaly-proto', '~> 1.13.0', require: 'gitaly'
438

Alejandro Rodríguez's avatar
Alejandro Rodríguez committed
439
gem 'grpc', '~> 1.15.0'
440

Stan Hu's avatar
Stan Hu committed
441
gem 'google-protobuf', '~> 3.6'
442

Ken's avatar
Ken committed
443
gem 'toml-rb', '~> 1.0.0', require: false
444 445

# Feature toggles
446 447 448
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
449 450 451

# Structured logging
gem 'lograge', '~> 0.5'
452
gem 'grape_logging', '~> 1.7'
453 454 455

# DNS Lookup
gem 'net-dns', '~> 0.9.0'