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

Rémy Coutable's avatar
Rémy Coutable committed
3
gem 'rails', '4.2.10'
4
gem 'rails-deprecated_sanitizer', '~> 1.0.3'
Valery Sizov's avatar
Valery Sizov committed
5 6 7

# Responders respond_to and respond_with
gem 'responders', '~> 2.0'
8

ubudzisz's avatar
ubudzisz committed
9
gem 'sprockets', '~> 3.7.0'
10

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11
# Default values for AR models
bogdanvlviv's avatar
bogdanvlviv committed
12
gem 'default_value_for', '~> 3.0.0'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
13

14
# Supported DBs
15
gem 'mysql2', '~> 0.4.10', group: :mysql
bogdanvlviv's avatar
bogdanvlviv committed
16
gem 'pg', '~> 0.18.2', group: :postgres
17

Alexis Reigel's avatar
Alexis Reigel committed
18
gem 'rugged', '~> 0.26.0'
19
gem 'grape-route-helpers', '~> 2.1.0'
Robert Speicher's avatar
Robert Speicher committed
20

21
gem 'faraday', '~> 0.12'
22

karen Carias's avatar
karen Carias committed
23
# Authentication libraries
24 25
gem 'devise', '~> 4.2'
gem 'doorkeeper', '~> 4.2.0'
26
gem 'doorkeeper-openid_connect', '~> 1.2.0'
27 28
gem 'omniauth', '~> 1.4.2'
gem 'omniauth-auth0', '~> 1.4.1'
29
gem 'omniauth-azure-oauth2', '~> 0.0.9'
30
gem 'omniauth-cas3', '~> 1.1.4'
31 32 33
gem 'omniauth-facebook', '~> 4.0.0'
gem 'omniauth-github', '~> 1.1.1'
gem 'omniauth-gitlab', '~> 1.0.2'
34
gem 'omniauth-google-oauth2', '~> 0.5.2'
35
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
36
gem 'omniauth-oauth2-generic', '~> 0.2.2'
37 38 39 40
gem 'omniauth-saml', '~> 1.7.0'
gem 'omniauth-shibboleth', '~> 1.2.0'
gem 'omniauth-twitter', '~> 1.2.0'
gem 'omniauth_crowd', '~> 2.2.0'
41
gem 'omniauth-authentiq', '~> 0.3.1'
42 43
gem 'rack-oauth2', '~> 1.2.1'
gem 'jwt', '~> 1.5.6'
44

45
# Spam and anti-bot protection
46
gem 'recaptcha', '~> 3.0', require: 'recaptcha/rails'
47
gem 'akismet', '~> 2.0'
48

49
# Two-factor authentication
50
gem 'devise-two-factor', '~> 3.0.0'
51
gem 'rqrcode-rails3', '~> 0.1.7'
52
gem 'attr_encrypted', '~> 3.0.0'
53
gem 'u2f', '~> 0.2.1'
54

55
# GitLab Pages
56
gem 'validates_hostname', '~> 1.0.6'
57

58
# Browser detection
bogdanvlviv's avatar
bogdanvlviv committed
59
gem 'browser', '~> 2.2'
60

61 62 63
# GPG
gem 'gpgme'

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

70
# Git Wiki
71
# Required manually in config/initializers/gollum.rb to control load order
72
gem 'gollum-lib', '~> 4.2', require: false
73 74 75 76

# Before updating this gem, check if
# https://github.com/gollum/rugged_adapter/pull/28 has been merged.
# If it has, then remove the monkey patch for tree_entry in config/initializers/gollum.rb
Elan Ruusamäe's avatar
Elan Ruusamäe committed
77
gem 'gollum-rugged_adapter', '~> 0.4.4', require: false
78

79
# Language detection
bogdanvlviv's avatar
bogdanvlviv committed
80
gem 'github-linguist', '~> 4.7.0', require: 'linguist'
81

randx's avatar
randx committed
82
# API
83
gem 'grape', '~> 1.0'
84
gem 'grape-entity', '~> 0.6.0'
85
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
randx's avatar
randx committed
86

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

randx's avatar
randx committed
90
# Pagination
91
gem 'kaminari', '~> 1.0'
randx's avatar
randx committed
92 93

# HAML
Robert Speicher's avatar
Robert Speicher committed
94
gem 'hamlit', '~> 2.6.1'
randx's avatar
randx committed
95 96

# Files attachments
Takuya Noguchi's avatar
Takuya Noguchi committed
97
gem 'carrierwave', '~> 1.2'
98

99
# Drag and Drop UI
100
gem 'dropzonejs-rails', '~> 0.7.1'
101

102
# for backups
103
gem 'fog-aws', '~> 1.4'
104
gem 'fog-core', '~> 1.44'
105
gem 'fog-google', '~> 0.5'
106 107
gem 'fog-local', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
108
gem 'fog-rackspace', '~> 0.1.1'
109
gem 'fog-aliyun', '~> 0.2.0'
110

111
# for Google storage
112
gem 'google-api-client', '~> 0.13.6'
113

114
# for aws storage
bogdanvlviv's avatar
bogdanvlviv committed
115
gem 'unf', '~> 0.1.4'
randx's avatar
randx committed
116 117

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

Robert Speicher's avatar
Robert Speicher committed
120
# Markdown and HTML processing
121
gem 'html-pipeline', '~> 1.11.0'
Jared Deckard's avatar
Jared Deckard committed
122
gem 'deckar01-task_list', '2.0.0'
Markus Koller's avatar
Markus Koller committed
123
gem 'gitlab-markup', '~> 1.6.2'
124 125 126 127 128 129 130
gem 'redcarpet', '~> 3.4'
gem 'RedCloth', '~> 4.3.2'
gem 'rdoc', '~> 4.2'
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
gem 'asciidoctor', '~> 1.5.2'
131
gem 'asciidoctor-plantuml', '0.0.7'
132
gem 'rouge', '~> 2.0'
133
gem 'truncato', '~> 0.7.9'
Nick Thomas's avatar
Nick Thomas committed
134
gem 'bootstrap_form', '~> 2.7.0'
135
gem 'nokogiri', '~> 1.8.1'
136

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

140
# Application server
141
group :unicorn do
142 143
  gem 'unicorn', '~> 5.1.0'
  gem 'unicorn-worker-killer', '~> 0.4.4'
144
end
randx's avatar
randx committed
145

Andrew8xx8's avatar
Andrew8xx8 committed
146
# State machine
bogdanvlviv's avatar
bogdanvlviv committed
147
gem 'state_machines-activerecord', '~> 0.4.0'
Andrew8xx8's avatar
Andrew8xx8 committed
148

randx's avatar
randx committed
149
# Issue tags
150
gem 'acts-as-taggable-on', '~> 4.0'
randx's avatar
randx committed
151 152

# Background jobs
Douwe Maan's avatar
Douwe Maan committed
153
gem 'sidekiq', '~> 5.0'
154
gem 'sidekiq-cron', '~> 0.6.0'
bogdanvlviv's avatar
bogdanvlviv committed
155
gem 'redis-namespace', '~> 1.5.2'
156
gem 'sidekiq-limit_fetch', '~> 3.4', require: false
randx's avatar
randx committed
157

158
# Cron Parser
159
gem 'rufus-scheduler', '~> 3.4'
160

randx's avatar
randx committed
161
# HTTP requests
bogdanvlviv's avatar
bogdanvlviv committed
162
gem 'httparty', '~> 0.13.3'
randx's avatar
randx committed
163 164

# Colored output to console
165
gem 'rainbow', '~> 2.2'
randx's avatar
randx committed
166

Riyad Preukschas's avatar
Riyad Preukschas committed
167
# GitLab settings
168
gem 'settingslogic', '~> 2.0.9'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
169

170
# Linear-time regex library for untrusted regular expressions
171
gem 're2', '~> 1.1.1'
172

randx's avatar
randx committed
173
# Misc
174

175
gem 'version_sorter', '~> 2.1.0'
randx's avatar
randx committed
176

177
# Cache
178
gem 'redis-rails', '~> 5.0.2'
179

180 181 182 183
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

184
# HipChat integration
Chulki Lee's avatar
Chulki Lee committed
185
gem 'hipchat', '~> 1.5.0'
186

187
# JIRA integration
188
gem 'jira-ruby', '~> 1.4'
189

190
# Flowdock integration
bogdanvlviv's avatar
bogdanvlviv committed
191
gem 'gitlab-flowdock-git-hook', '~> 1.0.1'
192

193
# Gemnasium integration
bogdanvlviv's avatar
bogdanvlviv committed
194
gem 'gemnasium-gitlab-service', '~> 0.2'
195

196
# Slack integration
197
gem 'slack-notifier', '~> 1.5.1'
198

Jeremy's avatar
Jeremy committed
199
# Asana integration
200
gem 'asana', '~> 0.6.0'
Jeremy's avatar
Jeremy committed
201

Jared Szechy's avatar
Jared Szechy committed
202
# FogBugz integration
Jared Szechy's avatar
Jared Szechy committed
203
gem 'ruby-fogbugz', '~> 0.2.1'
Jared Szechy's avatar
Jared Szechy committed
204

205 206 207
# Kubernetes integration
gem 'kubeclient', '~> 2.2.0'

208
# d3
209
gem 'd3_rails', '~> 3.5.0'
210

211
# Sanitize user input
bogdanvlviv's avatar
bogdanvlviv committed
212
gem 'sanitize', '~> 2.0'
213
gem 'babosa', '~> 1.0.2'
214

Stan Hu's avatar
Stan Hu committed
215
# Sanitizes SVG input
bogdanvlviv's avatar
bogdanvlviv committed
216
gem 'loofah', '~> 2.0.3'
Stan Hu's avatar
Stan Hu committed
217

218
# Working with license
219
gem 'licensee', '~> 8.7.0'
220

Marin Jankovski's avatar
Marin Jankovski committed
221
# Protect against bruteforcing
222
gem 'rack-attack', '~> 4.4.1'
Marin Jankovski's avatar
Marin Jankovski committed
223

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
224
# Ace editor
225
gem 'ace-rails-ap', '~> 4.1.0'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
226

227
# Keyboard shortcuts
228
gem 'mousetrap-rails', '~> 1.4.6'
229

230
# Detect and convert string character encoding
Jacob Vosmaer's avatar
Jacob Vosmaer committed
231
gem 'charlock_holmes', '~> 0.7.5'
232

233 234 235
# Faster JSON
gem 'oj', '~> 2.17.4'

dosire's avatar
dosire committed
236 237 238
# Faster blank
gem 'fast_blank'

239 240
# Parse time & duration
gem 'chronic', '~> 0.10.2'
241 242
gem 'chronic_duration', '~> 0.10.6'

Mike Greiling's avatar
Mike Greiling committed
243
gem 'webpack-rails', '~> 0.9.10'
244 245
gem 'rack-proxy', '~> 0.6.0'

246
gem 'sass-rails', '~> 5.0.6'
bogdanvlviv's avatar
bogdanvlviv committed
247
gem 'uglifier', '~> 2.7.2'
248

249
gem 'addressable', '~> 2.5.2'
250
gem 'bootstrap-sass', '~> 3.3.0'
251
gem 'font-awesome-rails', '~> 4.7'
252
gem 'gemojione', '~> 3.3'
253
gem 'gon', '~> 6.1.0'
254
gem 'jquery-atwho-rails', '~> 1.3.2'
Takuya Noguchi's avatar
Takuya Noguchi committed
255
gem 'jquery-rails', '~> 4.3.1'
256 257 258 259
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
260

261
# Sentry integration
262
gem 'sentry-raven', '~> 2.5.3'
263

264
gem 'premailer-rails', '~> 1.9.7'
265

Ruben Davila's avatar
Ruben Davila committed
266
# I18n
267
gem 'ruby_parser', '~> 3.8', require: false
268
gem 'rails-i18n', '~> 4.0.9'
Ruben Davila's avatar
Ruben Davila committed
269
gem 'gettext_i18n_rails', '~> 1.8.0'
270
gem 'gettext_i18n_rails_js', '~> 1.2.0'
Ruben Davila's avatar
Ruben Davila committed
271 272
gem 'gettext', '~> 3.2.2', require: false, group: :development

273
gem 'batch-loader', '~> 1.2.1'
274

275 276 277 278 279
# Perf bar
gem 'peek', '~> 1.0.1'
gem 'peek-gc', '~> 0.0.2'
gem 'peek-host', '~> 1.0.0'
gem 'peek-mysql2', '~> 1.1.0', group: :mysql
280
gem 'peek-performance_bar', '~> 1.3.0'
281
gem 'peek-pg', '~> 1.3.0', group: :postgres
282 283 284 285
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'
gem 'peek-sidekiq', '~> 1.0.3'

286 287
# Metrics
group :metrics do
288
  gem 'allocations', '~> 1.0', require: false, platform: :mri
289
  gem 'method_source', '~> 0.8', require: false
290
  gem 'influxdb', '~> 0.2', require: false
291

292
  # Prometheus
293
  gem 'prometheus-client-mmap', '~> 0.7.0.beta44'
294
  gem 'raindrops', '~> 0.18'
295 296
end

Nihad Abbasov's avatar
Nihad Abbasov committed
297
group :development do
bogdanvlviv's avatar
bogdanvlviv committed
298
  gem 'foreman', '~> 0.78.0'
299
  gem 'brakeman', '~> 3.6.0', require: false
300

301
  gem 'letter_opener_web', '~> 1.3.0'
bogdanvlviv's avatar
bogdanvlviv committed
302
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
303

304
  # Better errors handler
305
  gem 'better_errors', '~> 2.1.0'
306
  gem 'binding_of_caller', '~> 0.7.2'
307

308
  # thin instead webrick
309
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
310 311 312
end

group :development, :test do
313
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
314
  gem 'pry-byebug', '~> 3.4.1', platform: :mri
bogdanvlviv's avatar
bogdanvlviv committed
315
  gem 'pry-rails', '~> 0.3.4'
Robert Speicher's avatar
Robert Speicher committed
316

317
  gem 'awesome_print', '~> 1.2.0', require: false
Robert Speicher's avatar
Robert Speicher committed
318
  gem 'fuubar', '~> 2.2.0'
319

320
  gem 'database_cleaner', '~> 1.5.0'
321
  gem 'factory_bot_rails', '~> 4.8.2'
Robert Speicher's avatar
Robert Speicher committed
322
  gem 'rspec-rails', '~> 3.6.0'
323 324
  gem 'rspec-retry', '~> 0.4.5'
  gem 'spinach-rails', '~> 0.2.1'
Kamil Trzcinski's avatar
Kamil Trzcinski committed
325
  gem 'spinach-rerun-reporter', '~> 0.0.2'
326
  gem 'rspec_profiling', '~> 0.0.5'
327
  gem 'rspec-set', '~> 0.1.3'
328
  gem 'rspec-parameterized', require: false
randx's avatar
randx committed
329

330
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
331
  gem 'minitest', '~> 5.7.0'
332

333
  # Generate Fake data
334
  gem 'ffaker', '~> 2.4'
335

336
  gem 'capybara', '~> 2.15'
Robert Speicher's avatar
Robert Speicher committed
337
  gem 'capybara-screenshot', '~> 1.0.0'
338
  gem 'selenium-webdriver', '~> 3.5'
Andrew8xx8's avatar
Andrew8xx8 committed
339

340
  gem 'spring', '~> 2.0.0'
341 342
  gem 'spring-commands-rspec', '~> 1.0.4'
  gem 'spring-commands-spinach', '~> 1.1.0'
343

344
  gem 'gitlab-styles', '~> 2.3', require: false
Rémy Coutable's avatar
Rémy Coutable committed
345
  # Pin these dependencies, otherwise a new rule could break the CI pipelines
346 347
  gem 'rubocop', '~> 0.52.1'
  gem 'rubocop-rspec', '~> 1.22.1'
Rémy Coutable's avatar
Rémy Coutable committed
348

349
  gem 'scss_lint', '~> 0.56.0', require: false
350
  gem 'haml_lint', '~> 0.26.0', require: false
351
  gem 'simplecov', '~> 0.14.0', require: false
352
  gem 'flay', '~> 2.10.0', require: false
bogdanvlviv's avatar
bogdanvlviv committed
353
  gem 'bundler-audit', '~> 0.5.0', require: false
354

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

357
  gem 'license_finder', '~> 3.1', require: false
bogdanvlviv's avatar
bogdanvlviv committed
358
  gem 'knapsack', '~> 1.11.0'
359 360

  gem 'activerecord_sane_schema_dumper', '0.2'
361

362
  gem 'stackprof', '~> 0.2.10', require: false
363 364

  gem 'simple_po_parser', '~> 1.1.2', require: false
gitlabhq's avatar
gitlabhq committed
365 366 367
end

group :test do
368
  gem 'shoulda-matchers', '~> 3.1.2', require: false
Robert Speicher's avatar
Robert Speicher committed
369
  gem 'email_spec', '~> 1.6.0'
370
  gem 'json-schema', '~> 2.8.0'
371
  gem 'webmock', '~> 2.3.2'
372
  gem 'test_after_commit', '~> 1.1'
bogdanvlviv's avatar
bogdanvlviv committed
373
  gem 'sham_rack', '~> 1.3.6'
374
  gem 'timecop', '~> 0.8.0'
375
  gem 'concurrent-ruby', '~> 1.0.5'
Rémy Coutable's avatar
Rémy Coutable committed
376
  gem 'test-prof', '~> 0.2.5'
gitlabhq's avatar
gitlabhq committed
377
end
378

Manuel Rüger's avatar
Manuel Rüger committed
379
gem 'octokit', '~> 4.6.2'
Douwe Maan's avatar
Douwe Maan committed
380

381
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
382

383
gem 'email_reply_trimmer', '~> 0.1'
384
gem 'html2text'
385

Elan Ruusamäe's avatar
Elan Ruusamäe committed
386
gem 'ruby-prof', '~> 0.16.2'
387

388
# OAuth
389
gem 'oauth2', '~> 1.4'
390

391
# Health check
392
gem 'health_check', '~> 2.6.0'
393 394

# System information
395
gem 'vmstat', '~> 2.3.0'
396
gem 'sys-filesystem', '~> 1.1.6'
397

398 399 400 401 402 403
# SSH host key support
gem 'net-ssh', '~> 4.1.0'

# Required for ED25519 SSH host key support
group :ed25519 do
  gem 'rbnacl-libsodium'
404
  gem 'rbnacl', '~> 4.0'
405 406 407
  gem 'bcrypt_pbkdf', '~> 1.0'
end

408
# Gitaly GRPC client
409
gem 'gitaly-proto', '~> 0.78.0', require: 'gitaly'
410 411

gem 'toml-rb', '~> 0.3.15', require: false
412 413

# Feature toggles
414 415 416
gem 'flipper', '~> 0.11.0'
gem 'flipper-active_record', '~> 0.11.0'
gem 'flipper-active_support_cache_store', '~> 0.11.0'
417 418 419

# Structured logging
gem 'lograge', '~> 0.5'
420
gem 'grape_logging', '~> 1.7'
421 422 423

# Asset synchronization
gem 'asset_sync', '~> 2.2.0'