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

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

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

9
gem 'sprockets', '~> 3.7.0'
10

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11
# Default values for AR models
Bogdan's avatar
Bogdan 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.5', group: :mysql
Bogdan's avatar
Bogdan 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.0.0'
Robert Speicher's avatar
Robert Speicher committed
20

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

Karen's avatar
Karen committed
23
# Authentication libraries
24 25
gem 'devise', '~> 4.2'
gem 'doorkeeper', '~> 4.2.0'
26
gem 'doorkeeper-openid_connect', '~> 1.1.0'
27 28 29 30 31 32 33
gem 'omniauth', '~> 1.4.2'
gem 'omniauth-auth0', '~> 1.4.1'
gem 'omniauth-azure-oauth2', '~> 0.0.6'
gem 'omniauth-cas3', '~> 1.1.2'
gem 'omniauth-facebook', '~> 4.0.0'
gem 'omniauth-github', '~> 1.1.1'
gem 'omniauth-gitlab', '~> 1.0.2'
34
gem 'omniauth-google-oauth2', '~> 0.4.1'
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
Bogdan's avatar
Bogdan 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
gem 'gollum-rugged_adapter', '~> 0.4.4', require: false
74

75
# Language detection
Bogdan's avatar
Bogdan committed
76
gem 'github-linguist', '~> 4.7.0', require: 'linguist'
77

78
# API
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
79
gem 'grape', '~> 0.19.2'
80
gem 'grape-entity', '~> 0.6.0'
81
gem 'rack-cors', '~> 0.4.0', require: 'rack/cors'
82

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

86
# Pagination
87
gem 'kaminari', '~> 1.0'
88 89

# HAML
Robert Speicher's avatar
Robert Speicher committed
90
gem 'hamlit', '~> 2.6.1'
91 92

# Files attachments
93
gem 'carrierwave', '~> 1.1'
94

95
# Drag and Drop UI
96
gem 'dropzonejs-rails', '~> 0.7.1'
97

98
# for backups
99
gem 'fog-aws', '~> 1.4'
100
gem 'fog-core', '~> 1.44'
101
gem 'fog-google', '~> 0.5'
102 103
gem 'fog-local', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
104
gem 'fog-rackspace', '~> 0.1.1'
105
gem 'fog-aliyun', '~> 0.1.0'
106

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

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

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

Robert Speicher's avatar
Robert Speicher committed
116
# Markdown and HTML processing
117
gem 'html-pipeline', '~> 1.11.0'
Jared Deckard's avatar
Jared Deckard committed
118
gem 'deckar01-task_list', '2.0.0'
119 120 121 122 123 124 125 126
gem 'gitlab-markup', '~> 1.5.1'
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'
127
gem 'asciidoctor-plantuml', '0.0.7'
128 129
gem 'rouge', '~> 2.0'
gem 'truncato', '~> 0.7.8'
Nick Thomas's avatar
Nick Thomas committed
130
gem 'bootstrap_form', '~> 2.7.0'
131

132
# See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
133
# and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM
134
gem 'nokogiri', '~> 1.6.7', '>= 1.6.7.2'
135

Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
136
# Diffs
137
gem 'diffy', '~> 3.1.0'
Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
138

139
# Application server
140
group :unicorn do
141 142
  gem 'unicorn', '~> 5.1.0'
  gem 'unicorn-worker-killer', '~> 0.4.4'
143
end
144

145
# State machine
Bogdan's avatar
Bogdan committed
146
gem 'state_machines-activerecord', '~> 0.4.0'
147
# Run events after state machine commits
Bogdan's avatar
Bogdan committed
148
gem 'after_commit_queue', '~> 1.3.0'
149

150
# Issue tags
151
gem 'acts-as-taggable-on', '~> 4.0'
152 153

# Background jobs
Douwe Maan's avatar
Douwe Maan committed
154
gem 'sidekiq', '~> 5.0'
155
gem 'sidekiq-cron', '~> 0.6.0'
Bogdan's avatar
Bogdan committed
156
gem 'redis-namespace', '~> 1.5.2'
157
gem 'sidekiq-limit_fetch', '~> 3.4'
158

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

162
# HTTP requests
Bogdan's avatar
Bogdan committed
163
gem 'httparty', '~> 0.13.3'
164 165

# Colored output to console
166
gem 'rainbow', '~> 2.2'
167

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

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

174
# Misc
175

176
gem 'version_sorter', '~> 2.1.0'
177

178
# Cache
179
gem 'redis-rails', '~> 5.0.1'
180

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

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

188
# JIRA integration
Felipe's avatar
Felipe committed
189
gem 'jira-ruby', '~> 1.1.2'
190

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

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

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

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

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

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

209
# d3
210
gem 'd3_rails', '~> 3.5.0'
211 212

# underscore-rails
Bogdan's avatar
Bogdan committed
213
gem 'underscore-rails', '~> 1.8.0'
214

215
# Sanitize user input
Bogdan's avatar
Bogdan committed
216
gem 'sanitize', '~> 2.0'
217
gem 'babosa', '~> 1.0.2'
218

Stan Hu's avatar
Stan Hu committed
219
# Sanitizes SVG input
Bogdan's avatar
Bogdan committed
220
gem 'loofah', '~> 2.0.3'
Stan Hu's avatar
Stan Hu committed
221

222
# Working with license
223
gem 'licensee', '~> 8.7.0'
224

Marin Jankovski's avatar
Marin Jankovski committed
225
# Protect against bruteforcing
226
gem 'rack-attack', '~> 4.4.1'
Marin Jankovski's avatar
Marin Jankovski committed
227

228
# Ace editor
229
gem 'ace-rails-ap', '~> 4.1.0'
230

231
# Keyboard shortcuts
232
gem 'mousetrap-rails', '~> 1.4.6'
233

234
# Detect and convert string character encoding
235
gem 'charlock_holmes', '~> 0.7.3'
236

237 238 239
# Faster JSON
gem 'oj', '~> 2.17.4'

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

244
gem 'webpack-rails', '~> 0.9.10'
245 246
gem 'rack-proxy', '~> 0.6.0'

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

250 251
gem 'addressable', '~> 2.3.8'
gem 'bootstrap-sass', '~> 3.3.0'
252
gem 'font-awesome-rails', '~> 4.7'
253 254
gem 'gemojione', '~> 3.0'
gem 'gon', '~> 6.1.0'
255
gem 'jquery-atwho-rails', '~> 1.3.2'
256 257 258 259 260
gem 'jquery-rails', '~> 4.1.0'
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
261

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

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

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

274 275 276 277 278
# 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
279
gem 'peek-performance_bar', '~> 1.3.0'
280
gem 'peek-pg', '~> 1.3.0', group: :postgres
281 282 283 284
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'
gem 'peek-sidekiq', '~> 1.0.3'

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

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

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

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

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

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

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

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

319
  gem 'database_cleaner', '~> 1.5.0'
320
  gem 'factory_girl_rails', '~> 4.7.0'
Robert Speicher's avatar
Robert Speicher committed
321
  gem 'rspec-rails', '~> 3.6.0'
322 323
  gem 'rspec-retry', '~> 0.4.5'
  gem 'spinach-rails', '~> 0.2.1'
Kamil Trzciński's avatar
Kamil Trzciński committed
324
  gem 'spinach-rerun-reporter', '~> 0.0.2'
325
  gem 'rspec_profiling', '~> 0.0.5'
326
  gem 'rspec-set', '~> 0.1.3'
327
  gem 'rspec-parameterized'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
328

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

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

335
  gem 'capybara', '~> 2.6.2'
Robert Speicher's avatar
Robert Speicher committed
336
  gem 'capybara-screenshot', '~> 1.0.0'
337
  gem 'poltergeist', '~> 1.9.0'
338

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

343 344
  gem 'rubocop', '~> 0.49.1', require: false
  gem 'rubocop-rspec', '~> 1.15.1', require: false
345
  gem 'rubocop-gitlab-security', '~> 0.0.6', require: false
346
  gem 'scss_lint', '~> 0.54.0', require: false
347
  gem 'haml_lint', '~> 0.26.0', require: false
348
  gem 'simplecov', '~> 0.14.0', require: false
349
  gem 'flay', '~> 2.8.0', require: false
Bogdan's avatar
Bogdan committed
350
  gem 'bundler-audit', '~> 0.5.0', require: false
351

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

Bogdan's avatar
Bogdan committed
354
  gem 'license_finder', '~> 2.1.0', require: false
355
  gem 'knapsack', '~> 1.11.0'
356 357

  gem 'activerecord_sane_schema_dumper', '0.2'
358

359
  gem 'stackprof', '~> 0.2.10', require: false
gitlabhq's avatar
gitlabhq committed
360 361 362
end

group :test do
363
  gem 'shoulda-matchers', '~> 3.1.2', require: false
Robert Speicher's avatar
Robert Speicher committed
364
  gem 'email_spec', '~> 1.6.0'
365
  gem 'json-schema', '~> 2.6.2'
366
  gem 'webmock', '~> 2.3.2'
367
  gem 'test_after_commit', '~> 1.1'
Bogdan's avatar
Bogdan committed
368
  gem 'sham_rack', '~> 1.3.6'
369
  gem 'timecop', '~> 0.8.0'
370
  gem 'concurrent-ruby', '~> 1.0.5'
gitlabhq's avatar
gitlabhq committed
371
end
372

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

375
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
376

377
gem 'email_reply_trimmer', '~> 0.1'
378
gem 'html2text'
379

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

382
# OAuth
383
gem 'oauth2', '~> 1.4'
384 385

# Soft deletion
386
gem 'paranoia', '~> 2.3.1'
387 388

# Health check
389
gem 'health_check', '~> 2.6.0'
390 391

# System information
Chris's avatar
Chris committed
392
gem 'vmstat', '~> 2.3.0'
393
gem 'sys-filesystem', '~> 1.1.6'
394

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

# Required for ED25519 SSH host key support
group :ed25519 do
  gem 'rbnacl-libsodium'
  gem 'rbnacl', '~> 3.2'
  gem 'bcrypt_pbkdf', '~> 1.0'
end

405
# Gitaly GRPC client
406
gem 'gitaly', '~> 0.27.0'
407 408

gem 'toml-rb', '~> 0.3.15', require: false
409 410 411 412

# Feature toggles
gem 'flipper', '~> 0.10.2'
gem 'flipper-active_record', '~> 0.10.2'
413 414 415

# Structured logging
gem 'lograge', '~> 0.5'