Gemfile 9.15 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

18
gem 'rugged', '~> 0.25.1.1'
Robert Speicher's avatar
Robert Speicher committed
19

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

Karen's avatar
Karen committed
22
# Authentication libraries
23 24
gem 'devise', '~> 4.2'
gem 'doorkeeper', '~> 4.2.0'
25
gem 'doorkeeper-openid_connect', '~> 1.1.0'
26 27 28 29 30 31 32
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'
33
gem 'omniauth-google-oauth2', '~> 0.4.1'
34
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
35
gem 'omniauth-oauth2-generic', '~> 0.2.2'
36 37 38 39
gem 'omniauth-saml', '~> 1.7.0'
gem 'omniauth-shibboleth', '~> 1.2.0'
gem 'omniauth-twitter', '~> 1.2.0'
gem 'omniauth_crowd', '~> 2.2.0'
40
gem 'omniauth-authentiq', '~> 0.3.1'
41 42
gem 'rack-oauth2', '~> 1.2.1'
gem 'jwt', '~> 1.5.6'
43

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

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

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

57
# Browser detection
Bogdan's avatar
Bogdan committed
58
gem 'browser', '~> 2.2'
59

60
# LDAP Auth
Yorick Peterse's avatar
Yorick Peterse committed
61
# GitLab fork with several improvements to original library. For full list of changes
62
# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
63
gem 'gitlab_omniauth-ldap', '~> 2.0.3', require: 'omniauth-ldap'
64

65
# Git Wiki
66
# Required manually in config/initializers/gollum.rb to control load order
67
gem 'gollum-lib', '~> 4.2', require: false
68
gem 'gollum-rugged_adapter', '~> 0.4.4', require: false
69

70
# Language detection
Bogdan's avatar
Bogdan committed
71
gem 'github-linguist', '~> 4.7.0', require: 'linguist'
72

73
# API
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
74
gem 'grape', '~> 0.19.2'
75
gem 'grape-entity', '~> 0.6.0'
76
gem 'rack-cors', '~> 0.4.0', require: 'rack/cors'
77

78 79 80
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

81
# Pagination
Bogdan's avatar
Bogdan committed
82
gem 'kaminari', '~> 0.17.0'
83 84

# HAML
Robert Speicher's avatar
Robert Speicher committed
85
gem 'hamlit', '~> 2.6.1'
86 87

# Files attachments
88
gem 'carrierwave', '~> 1.1'
89

90
# Drag and Drop UI
91
gem 'dropzonejs-rails', '~> 0.7.1'
92

93
# for backups
94
gem 'fog-aws', '~> 1.4'
95
gem 'fog-core', '~> 1.44'
96
gem 'fog-google', '~> 0.5'
97 98
gem 'fog-local', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
99
gem 'fog-rackspace', '~> 0.1.1'
100
gem 'fog-aliyun', '~> 0.1.0'
101

102 103 104
# for Google storage
gem 'google-api-client', '~> 0.8.6'

105
# for aws storage
Bogdan's avatar
Bogdan committed
106
gem 'unf', '~> 0.1.4'
107 108

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

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

127
# See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
128
# and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM
129
gem 'nokogiri', '~> 1.6.7', '>= 1.6.7.2'
130

Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
131
# Diffs
132
gem 'diffy', '~> 3.1.0'
Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
133

134
# Application server
135
group :unicorn do
136 137
  gem 'unicorn', '~> 5.1.0'
  gem 'unicorn-worker-killer', '~> 0.4.4'
138
end
139

140
# State machine
Bogdan's avatar
Bogdan committed
141
gem 'state_machines-activerecord', '~> 0.4.0'
142
# Run events after state machine commits
Bogdan's avatar
Bogdan committed
143
gem 'after_commit_queue', '~> 1.3.0'
144

145
# Issue tags
146
gem 'acts-as-taggable-on', '~> 4.0'
147 148

# Background jobs
Douwe Maan's avatar
Douwe Maan committed
149
gem 'sidekiq', '~> 5.0'
150
gem 'sidekiq-cron', '~> 0.6.0'
Bogdan's avatar
Bogdan committed
151
gem 'redis-namespace', '~> 1.5.2'
152
gem 'sidekiq-limit_fetch', '~> 3.4'
153

154
# Cron Parser
155
gem 'rufus-scheduler', '~> 3.4'
156

157
# HTTP requests
Bogdan's avatar
Bogdan committed
158
gem 'httparty', '~> 0.13.3'
159 160

# Colored output to console
161
gem 'rainbow', '~> 2.2'
162

Riyad Preukschas's avatar
Riyad Preukschas committed
163
# GitLab settings
164
gem 'settingslogic', '~> 2.0.9'
Aleksei's avatar
Aleksei committed
165

166
# Linear-time regex library for untrusted regular expressions
167
gem 're2', '~> 1.1.0'
168

169
# Misc
170

171
gem 'version_sorter', '~> 2.1.0'
172

173
# Cache
174
gem 'redis-rails', '~> 5.0.1'
175

176 177 178 179
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

180
# HipChat integration
Chulki Lee's avatar
Chulki Lee committed
181
gem 'hipchat', '~> 1.5.0'
182

183
# JIRA integration
Felipe's avatar
Felipe committed
184
gem 'jira-ruby', '~> 1.1.2'
185

186
# Flowdock integration
Bogdan's avatar
Bogdan committed
187
gem 'gitlab-flowdock-git-hook', '~> 1.0.1'
188

189
# Gemnasium integration
Bogdan's avatar
Bogdan committed
190
gem 'gemnasium-gitlab-service', '~> 0.2'
191

192
# Slack integration
193
gem 'slack-notifier', '~> 1.5.1'
194

Jeremy's avatar
Jeremy committed
195
# Asana integration
196
gem 'asana', '~> 0.6.0'
Jeremy's avatar
Jeremy committed
197

Jared Szechy's avatar
Jared Szechy committed
198
# FogBugz integration
Jared's avatar
Jared committed
199
gem 'ruby-fogbugz', '~> 0.2.1'
Jared Szechy's avatar
Jared Szechy committed
200

201 202 203
# Kubernetes integration
gem 'kubeclient', '~> 2.2.0'

204
# d3
205
gem 'd3_rails', '~> 3.5.0'
206 207

# underscore-rails
Bogdan's avatar
Bogdan committed
208
gem 'underscore-rails', '~> 1.8.0'
209

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

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

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

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

223
# Ace editor
224
gem 'ace-rails-ap', '~> 4.1.0'
225

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

229
# Detect and convert string character encoding
230
gem 'charlock_holmes', '~> 0.7.3'
231

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

235 236
# Parse time & duration
gem 'chronic', '~> 0.10.2'
237 238
gem 'chronic_duration', '~> 0.10.6'

239
gem 'webpack-rails', '~> 0.9.10'
240 241
gem 'rack-proxy', '~> 0.6.0'

242
gem 'sass-rails', '~> 5.0.6'
Bogdan's avatar
Bogdan committed
243
gem 'uglifier', '~> 2.7.2'
244

245 246
gem 'addressable', '~> 2.3.8'
gem 'bootstrap-sass', '~> 3.3.0'
247
gem 'font-awesome-rails', '~> 4.7'
248 249
gem 'gemojione', '~> 3.0'
gem 'gon', '~> 6.1.0'
250
gem 'jquery-atwho-rails', '~> 1.3.2'
251 252 253 254 255
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
256

257
# Sentry integration
258
gem 'sentry-raven', '~> 2.5.3'
259

260
gem 'premailer-rails', '~> 1.9.7'
261

Ruben Alexis's avatar
Ruben Alexis committed
262
# I18n
263
gem 'ruby_parser', '~> 3.8', require: false
264
gem 'rails-i18n', '~> 4.0.9'
Ruben Alexis's avatar
Ruben Alexis committed
265
gem 'gettext_i18n_rails', '~> 1.8.0'
266
gem 'gettext_i18n_rails_js', '~> 1.2.0'
Ruben Alexis's avatar
Ruben Alexis committed
267 268
gem 'gettext', '~> 3.2.2', require: false, group: :development

269 270 271 272 273
# 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
274
gem 'peek-performance_bar', '~> 1.3.0'
275
gem 'peek-pg', '~> 1.3.0', group: :postgres
276 277 278 279
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'
gem 'peek-sidekiq', '~> 1.0.3'

280 281
# Metrics
group :metrics do
282
  gem 'allocations', '~> 1.0', require: false, platform: :mri
283
  gem 'method_source', '~> 0.8', require: false
284
  gem 'influxdb', '~> 0.2', require: false
285

286
  # Prometheus
287
  gem 'prometheus-client-mmap', '~>0.7.0.beta9'
288
  gem 'raindrops', '~> 0.18'
289 290
end

Nihad Abbasov's avatar
Nihad Abbasov committed
291
group :development do
Bogdan's avatar
Bogdan committed
292
  gem 'foreman', '~> 0.78.0'
293
  gem 'brakeman', '~> 3.6.0', require: false
294

295
  gem 'letter_opener_web', '~> 1.3.0'
Bogdan's avatar
Bogdan committed
296
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
297

298
  # Better errors handler
299
  gem 'better_errors', '~> 2.1.0'
300
  gem 'binding_of_caller', '~> 0.7.2'
301

302
  # thin instead webrick
303
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
304 305 306
end

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

311
  gem 'awesome_print', '~> 1.2.0', require: false
312 313
  gem 'fuubar', '~> 2.0.0'

314
  gem 'database_cleaner', '~> 1.5.0'
315
  gem 'factory_girl_rails', '~> 4.7.0'
316 317 318
  gem 'rspec-rails', '~> 3.5.0'
  gem 'rspec-retry', '~> 0.4.5'
  gem 'spinach-rails', '~> 0.2.1'
Kamil Trzciński's avatar
Kamil Trzciński committed
319
  gem 'spinach-rerun-reporter', '~> 0.0.2'
320
  gem 'rspec_profiling', '~> 0.0.5'
321
  gem 'rspec-set', '~> 0.1.3'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
322

323
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
324
  gem 'minitest', '~> 5.7.0'
325

326
  # Generate Fake data
327
  gem 'ffaker', '~> 2.4'
328

329
  gem 'capybara', '~> 2.6.2'
Robert Speicher's avatar
Robert Speicher committed
330
  gem 'capybara-screenshot', '~> 1.0.0'
331
  gem 'poltergeist', '~> 1.9.0'
332

333
  gem 'spring', '~> 2.0.0'
334 335
  gem 'spring-commands-rspec', '~> 1.0.4'
  gem 'spring-commands-spinach', '~> 1.1.0'
336

337
  gem 'rubocop', '~> 0.47.1', require: false
338
  gem 'rubocop-rspec', '~> 1.15.0', require: false
339
  gem 'scss_lint', '~> 0.54.0', require: false
340
  gem 'haml_lint', '~> 0.21.0', require: false
341
  gem 'simplecov', '~> 0.14.0', require: false
342
  gem 'flay', '~> 2.8.0', require: false
Bogdan's avatar
Bogdan committed
343
  gem 'bundler-audit', '~> 0.5.0', require: false
344

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

Bogdan's avatar
Bogdan committed
347
  gem 'license_finder', '~> 2.1.0', require: false
348
  gem 'knapsack', '~> 1.11.0'
349 350

  gem 'activerecord_sane_schema_dumper', '0.2'
351 352

  gem 'stackprof', '~> 0.2.10'
gitlabhq's avatar
gitlabhq committed
353 354 355
end

group :test do
356
  gem 'shoulda-matchers', '~> 2.8.0', require: false
Robert Speicher's avatar
Robert Speicher committed
357
  gem 'email_spec', '~> 1.6.0'
358
  gem 'json-schema', '~> 2.6.2'
359
  gem 'webmock', '~> 2.3.2'
360
  gem 'test_after_commit', '~> 1.1'
Bogdan's avatar
Bogdan committed
361
  gem 'sham_rack', '~> 1.3.6'
362
  gem 'timecop', '~> 0.8.0'
363
  gem 'concurrent-ruby', '~> 1.0.5'
gitlabhq's avatar
gitlabhq committed
364
end
365

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

368
gem 'mail_room', '~> 0.9.1'
Douwe Maan's avatar
Douwe Maan committed
369

370
gem 'email_reply_trimmer', '~> 0.1'
371
gem 'html2text'
372

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

375
# OAuth
376
gem 'oauth2', '~> 1.4'
377 378

# Soft deletion
379
gem 'paranoia', '~> 2.3.1'
380 381

# Health check
382
gem 'health_check', '~> 2.6.0'
383 384

# System information
Chris's avatar
Chris committed
385
gem 'vmstat', '~> 2.3.0'
386
gem 'sys-filesystem', '~> 1.1.6'
387 388

# Gitaly GRPC client
389
gem 'gitaly', '~> 0.18.0'
390 391

gem 'toml-rb', '~> 0.3.15', require: false
392 393 394 395

# Feature toggles
gem 'flipper', '~> 0.10.2'
gem 'flipper-active_record', '~> 0.10.2'
396 397 398

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