Gemfile 10.0 KB
Newer Older
B
bogdanvlviv 已提交
1
source 'https://rubygems.org'
G
gitlabhq 已提交
2

R
Rémy Coutable 已提交
3
gem 'rails', '4.2.10'
V
Valery Sizov 已提交
4
gem 'rails-deprecated_sanitizer', '~> 1.0.3'
V
Valery Sizov 已提交
5 6 7

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

U
ubudzisz 已提交
9
gem 'sprockets', '~> 3.7.0'
10

D
Dmitriy Zaporozhets 已提交
11
# Default values for AR models
B
bogdanvlviv 已提交
12
gem 'default_value_for', '~> 3.0.0'
D
Dmitriy Zaporozhets 已提交
13

D
Dmitriy Zaporozhets 已提交
14
# Supported DBs
15
gem 'mysql2', '~> 0.4.10', group: :mysql
B
bogdanvlviv 已提交
16
gem 'pg', '~> 0.18.2', group: :postgres
D
Dmitriy Zaporozhets 已提交
17

A
Alexis Reigel 已提交
18
gem 'rugged', '~> 0.26.0'
Z
Zeger-Jan van de Weg 已提交
19
gem 'grape-route-helpers', '~> 2.1.0'
R
Robert Speicher 已提交
20

21
gem 'faraday', '~> 0.12'
D
Douglas Barbosa Alexandre 已提交
22

K
karen Carias 已提交
23
# Authentication libraries
M
Markus Koller 已提交
24
gem 'devise', '~> 4.2'
25 26
gem 'doorkeeper', '~> 4.3'
gem 'doorkeeper-openid_connect', '~> 1.3'
M
Markus Koller 已提交
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'
M
Markus Koller 已提交
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'
M
Markus Koller 已提交
35
gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos
J
Joe Marty 已提交
36
gem 'omniauth-oauth2-generic', '~> 0.2.2'
P
Pirate Praveen 已提交
37
gem 'omniauth-saml', '~> 1.10'
M
Markus Koller 已提交
38 39 40
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'
M
Markus Koller 已提交
42 43
gem 'rack-oauth2', '~> 1.2.1'
gem 'jwt', '~> 1.5.6'
D
Dmitriy Zaporozhets 已提交
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'
D
Douwe Maan 已提交
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
B
bogdanvlviv 已提交
59
gem 'browser', '~> 2.2'
60

K
Kevin O'Connor 已提交
61 62 63
# GPG
gem 'gpgme'

64
# LDAP Auth
Y
Yorick Peterse 已提交
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 73 74 75
# Before updating this gem, check if
# https://github.com/gollum/gollum-lib/pull/292 has been merged.
# If it has, then remove the monkey patch for update_page, rename_page and raw_data_in_committer
# in config/initializers/gollum.rb
76
gem 'gollum-lib', '~> 4.2', require: false
77 78 79 80

# 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
E
Elan Ruusamäe 已提交
81
gem 'gollum-rugged_adapter', '~> 0.4.4', require: false
82

V
Valeriy Sizov 已提交
83
# Language detection
84
gem 'github-linguist', '~> 5.3.3', require: 'linguist'
V
Valeriy Sizov 已提交
85

R
randx 已提交
86
# API
Z
Zeger-Jan van de Weg 已提交
87
gem 'grape', '~> 1.0'
Z
Z.J. van de Weg 已提交
88
gem 'grape-entity', '~> 0.6.0'
89
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
R
randx 已提交
90

91 92 93
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'

R
randx 已提交
94
# Pagination
95
gem 'kaminari', '~> 1.0'
R
randx 已提交
96 97

# HAML
R
Robert Speicher 已提交
98
gem 'hamlit', '~> 2.6.1'
R
randx 已提交
99 100

# Files attachments
T
Takuya Noguchi 已提交
101
gem 'carrierwave', '~> 1.2'
102

103
# Drag and Drop UI
D
Douwe Maan 已提交
104
gem 'dropzonejs-rails', '~> 0.7.1'
105

S
Stan Hu 已提交
106
# for backups
P
Pirate Praveen 已提交
107
gem 'fog-aws', '~> 2.0'
108
gem 'fog-core', '~> 1.44'
109
gem 'fog-google', '~> 0.5'
S
Stan Hu 已提交
110 111
gem 'fog-local', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
112
gem 'fog-rackspace', '~> 0.1.1'
113
gem 'fog-aliyun', '~> 0.2.0'
S
Stan Hu 已提交
114

115
# for Google storage
P
Pirate Praveen 已提交
116
gem 'google-api-client', '~> 0.19.8'
117

118
# for aws storage
B
bogdanvlviv 已提交
119
gem 'unf', '~> 0.1.4'
R
randx 已提交
120 121

# Seed data
122
gem 'seed-fu', '~> 2.3.7'
R
randx 已提交
123

R
Robert Speicher 已提交
124
# Markdown and HTML processing
M
Markus Koller 已提交
125
gem 'html-pipeline', '~> 1.11.0'
J
Jared Deckard 已提交
126
gem 'deckar01-task_list', '2.0.0'
M
Markus Koller 已提交
127
gem 'gitlab-markup', '~> 1.6.2'
M
Markus Koller 已提交
128
gem 'redcarpet', '~> 3.4'
B
blackst0ne 已提交
129
gem 'commonmarker', '~> 0.17'
M
Markus Koller 已提交
130 131 132 133 134 135
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'
H
Horacio Sanson 已提交
136
gem 'asciidoctor-plantuml', '0.0.7'
M
Markus Koller 已提交
137
gem 'rouge', '~> 2.0'
138
gem 'truncato', '~> 0.7.9'
N
Nick Thomas 已提交
139
gem 'bootstrap_form', '~> 2.7.0'
R
Rémy Coutable 已提交
140
gem 'nokogiri', '~> 1.8.2'
141

S
skv-headless 已提交
142
# Diffs
M
Manuel Rüger 已提交
143
gem 'diffy', '~> 3.1.0'
S
skv-headless 已提交
144

145
# Application server
J
Jacob Vosmaer 已提交
146
group :unicorn do
147 148
  gem 'unicorn', '~> 5.1.0'
  gem 'unicorn-worker-killer', '~> 0.4.4'
J
Jacob Vosmaer 已提交
149
end
R
randx 已提交
150

A
Andrew8xx8 已提交
151
# State machine
B
bogdanvlviv 已提交
152
gem 'state_machines-activerecord', '~> 0.4.0'
A
Andrew8xx8 已提交
153

R
randx 已提交
154
# Issue tags
155
gem 'acts-as-taggable-on', '~> 5.0'
R
randx 已提交
156 157

# Background jobs
D
Douwe Maan 已提交
158
gem 'sidekiq', '~> 5.0'
159
gem 'sidekiq-cron', '~> 0.6.0'
B
bogdanvlviv 已提交
160
gem 'redis-namespace', '~> 1.5.2'
161
gem 'sidekiq-limit_fetch', '~> 3.4', require: false
R
randx 已提交
162

S
Shinya Maeda 已提交
163
# Cron Parser
164
gem 'rufus-scheduler', '~> 3.4'
S
Shinya Maeda 已提交
165

R
randx 已提交
166
# HTTP requests
B
bogdanvlviv 已提交
167
gem 'httparty', '~> 0.13.3'
R
randx 已提交
168 169

# Colored output to console
170
gem 'rainbow', '~> 2.2'
R
randx 已提交
171

R
Riyad Preukschas 已提交
172
# GitLab settings
D
Douwe Maan 已提交
173
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
174

175
# Linear-time regex library for untrusted regular expressions
176
gem 're2', '~> 1.1.1'
177

R
randx 已提交
178
# Misc
D
Douwe Maan 已提交
179

180
gem 'version_sorter', '~> 2.1.0'
R
randx 已提交
181

182
# Cache
183
gem 'redis-rails', '~> 5.0.2'
184

185 186 187 188
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

R
Ronald van Eede 已提交
189
# HipChat integration
C
Chulki Lee 已提交
190
gem 'hipchat', '~> 1.5.0'
R
Ronald van Eede 已提交
191

D
Drew Blessing 已提交
192
# JIRA integration
193
gem 'jira-ruby', '~> 1.4'
D
Drew Blessing 已提交
194

195
# Flowdock integration
B
bogdanvlviv 已提交
196
gem 'gitlab-flowdock-git-hook', '~> 1.0.1'
197

198
# Gemnasium integration
B
bogdanvlviv 已提交
199
gem 'gemnasium-gitlab-service', '~> 0.2'
200

201
# Slack integration
202
gem 'slack-notifier', '~> 1.5.1'
203

J
Jeremy 已提交
204
# Asana integration
D
Douglas Barbosa Alexandre 已提交
205
gem 'asana', '~> 0.6.0'
J
Jeremy 已提交
206

J
Jared Szechy 已提交
207
# FogBugz integration
J
Jared Szechy 已提交
208
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
209

210
# Kubernetes integration
P
Pirate Praveen 已提交
211
gem 'kubeclient', '~> 3.0'
212

213
# d3
R
Robert Speicher 已提交
214
gem 'd3_rails', '~> 3.5.0'
215

216
# Sanitize user input
B
bogdanvlviv 已提交
217
gem 'sanitize', '~> 2.0'
218
gem 'babosa', '~> 1.0.2'
219

S
Stan Hu 已提交
220
# Sanitizes SVG input
B
bogdanvlviv 已提交
221
gem 'loofah', '~> 2.0.3'
S
Stan Hu 已提交
222

223
# Working with license
P
Pirate Praveen 已提交
224
gem 'licensee', '~> 8.9'
225

M
Marin Jankovski 已提交
226
# Protect against bruteforcing
M
Manuel Rüger 已提交
227
gem 'rack-attack', '~> 4.4.1'
M
Marin Jankovski 已提交
228

D
Dmitriy Zaporozhets 已提交
229
# Ace editor
230
gem 'ace-rails-ap', '~> 4.1.0'
D
Dmitriy Zaporozhets 已提交
231

232
# Keyboard shortcuts
D
Douwe Maan 已提交
233
gem 'mousetrap-rails', '~> 1.4.6'
R
Robert Schilling 已提交
234

235
# Detect and convert string character encoding
J
Jacob Vosmaer 已提交
236
gem 'charlock_holmes', '~> 0.7.5'
237

D
dosire 已提交
238 239 240
# Faster blank
gem 'fast_blank'

R
Rémy Coutable 已提交
241 242
# Parse time & duration
gem 'chronic', '~> 0.10.2'
243 244
gem 'chronic_duration', '~> 0.10.6'

M
Mike Greiling 已提交
245
gem 'webpack-rails', '~> 0.9.10'
246 247
gem 'rack-proxy', '~> 0.6.0'

248
gem 'sass-rails', '~> 5.0.6'
B
bogdanvlviv 已提交
249
gem 'uglifier', '~> 2.7.2'
250

251
gem 'addressable', '~> 2.5.2'
M
Markus Koller 已提交
252
gem 'bootstrap-sass', '~> 3.3.0'
253
gem 'font-awesome-rails', '~> 4.7'
254
gem 'gemojione', '~> 3.3'
M
Markus Koller 已提交
255
gem 'gon', '~> 6.1.0'
256
gem 'jquery-atwho-rails', '~> 1.3.2'
M
Markus Koller 已提交
257 258 259 260
gem 'request_store', '~> 1.3'
gem 'select2-rails', '~> 3.5.9'
gem 'virtus', '~> 1.0.1'
gem 'base32', '~> 0.3.0'
G
gitlabhq 已提交
261

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

265
gem 'premailer-rails', '~> 1.9.7'
D
Douwe Maan 已提交
266

R
Ruben Davila 已提交
267
# I18n
268
gem 'ruby_parser', '~> 3.8', require: false
269
gem 'rails-i18n', '~> 4.0.9'
R
Ruben Davila 已提交
270
gem 'gettext_i18n_rails', '~> 1.8.0'
271
gem 'gettext_i18n_rails_js', '~> 1.3'
R
Ruben Davila 已提交
272 273
gem 'gettext', '~> 3.2.2', require: false, group: :development

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

276 277 278 279
# Perf bar
gem 'peek', '~> 1.0.1'
gem 'peek-gc', '~> 0.0.2'
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.9.1'
294
  gem 'raindrops', '~> 0.18'
295 296
end

N
Nihad Abbasov 已提交
297
group :development do
298
  gem 'foreman', '~> 0.84.0'
R
Robert Speicher 已提交
299
  gem 'brakeman', '~> 3.6.0', require: false
D
Douwe Maan 已提交
300

R
Robert Speicher 已提交
301
  gem 'letter_opener_web', '~> 1.3.0'
B
bogdanvlviv 已提交
302
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
D
Dmitriy Zaporozhets 已提交
303

304
  # Better errors handler
305
  gem 'better_errors', '~> 2.1.0'
D
Douwe Maan 已提交
306
  gem 'binding_of_caller', '~> 0.7.2'
307

308
  # thin instead webrick
C
Connor Shea 已提交
309
  gem 'thin', '~> 1.7.0'
G
gitlabhq 已提交
310 311 312
end

group :development, :test do
313
  gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
S
Semyon Pupkov 已提交
314
  gem 'pry-byebug', '~> 3.4.1', platform: :mri
B
bogdanvlviv 已提交
315
  gem 'pry-rails', '~> 0.3.4'
R
Robert Speicher 已提交
316

317
  gem 'awesome_print', '~> 1.2.0', require: false
R
Robert Speicher 已提交
318
  gem 'fuubar', '~> 2.2.0'
D
Douwe Maan 已提交
319

M
Markus Koller 已提交
320
  gem 'database_cleaner', '~> 1.5.0'
321
  gem 'factory_bot_rails', '~> 4.8.2'
R
Robert Speicher 已提交
322
  gem 'rspec-rails', '~> 3.6.0'
M
Markus Koller 已提交
323 324
  gem 'rspec-retry', '~> 0.4.5'
  gem 'spinach-rails', '~> 0.2.1'
K
Kamil Trzcinski 已提交
325
  gem 'spinach-rerun-reporter', '~> 0.0.2'
M
Markus Koller 已提交
326
  gem 'rspec_profiling', '~> 0.0.5'
327
  gem 'rspec-set', '~> 0.1.3'
328
  gem 'rspec-parameterized', require: false
R
randx 已提交
329

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

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

336
  gem 'capybara', '~> 2.15'
R
Robert Speicher 已提交
337
  gem 'capybara-screenshot', '~> 1.0.0'
338
  gem 'selenium-webdriver', '~> 3.5'
A
Andrew8xx8 已提交
339

R
Robert Speicher 已提交
340
  gem 'spring', '~> 2.0.0'
M
Markus Koller 已提交
341 342
  gem 'spring-commands-rspec', '~> 1.0.4'
  gem 'spring-commands-spinach', '~> 1.1.0'
D
Douwe Maan 已提交
343

344
  gem 'gitlab-styles', '~> 2.3', require: false
R
Rémy Coutable 已提交
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
Rémy Coutable 已提交
348

T
Takuya Noguchi 已提交
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
B
bogdanvlviv 已提交
353
  gem 'bundler-audit', '~> 0.5.0', require: false
354

B
bogdanvlviv 已提交
355
  gem 'benchmark-ips', '~> 2.3.0', require: false
C
Connor Shea 已提交
356

W
Winnie Hellmann 已提交
357
  gem 'license_finder', '~> 3.1', require: false
T
Takuya Noguchi 已提交
358
  gem 'knapsack', '~> 1.16'
359 360

  gem 'activerecord_sane_schema_dumper', '0.2'
361

362
  gem 'stackprof', '~> 0.2.10', require: false
B
Bob Van Landuyt 已提交
363 364

  gem 'simple_po_parser', '~> 1.1.2', require: false
G
gitlabhq 已提交
365 366 367
end

group :test do
368
  gem 'shoulda-matchers', '~> 3.1.2', require: false
R
Robert Speicher 已提交
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'
B
bogdanvlviv 已提交
373
  gem 'sham_rack', '~> 1.3.6'
374
  gem 'timecop', '~> 0.8.0'
375
  gem 'concurrent-ruby', '~> 1.0.5'
R
Rémy Coutable 已提交
376
  gem 'test-prof', '~> 0.2.5'
G
gitlabhq 已提交
377
end
378

P
Pirate Praveen 已提交
379
gem 'octokit', '~> 4.8'
D
Douwe Maan 已提交
380

381
gem 'mail_room', '~> 0.9.1'
D
Douwe Maan 已提交
382

383
gem 'email_reply_trimmer', '~> 0.1'
384
gem 'html2text'
D
Douwe Maan 已提交
385

386
gem 'ruby-prof', '~> 0.17.0'
387

D
Douwe Maan 已提交
388
# OAuth
389
gem 'oauth2', '~> 1.4'
D
Douwe Maan 已提交
390

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

# System information
C
Chris Wilson 已提交
395
gem 'vmstat', '~> 2.3.0'
396
gem 'sys-filesystem', '~> 1.1.6'
397

398
# SSH host key support
399
gem 'net-ssh', '~> 4.2.0'
400
gem 'sshkey', '~> 1.9.0'
401 402 403 404

# Required for ED25519 SSH host key support
group :ed25519 do
  gem 'rbnacl-libsodium'
N
Nick Thomas 已提交
405
  gem 'rbnacl', '~> 4.0'
406 407 408
  gem 'bcrypt_pbkdf', '~> 1.0'
end

409
# Gitaly GRPC client
410
gem 'gitaly-proto', '~> 0.88.0', require: 'gitaly'
A
Ahmad Sherif 已提交
411
gem 'grpc', '~> 1.10.0'
Z
Zeger-Jan van de Weg 已提交
412

Z
Zeger-Jan van de Weg 已提交
413 414
# Locked until https://github.com/google/protobuf/issues/4210 is closed
gem 'google-protobuf', '= 3.5.1'
415

K
Ken 已提交
416
gem 'toml-rb', '~> 1.0.0', require: false
417 418

# Feature toggles
P
Pirate Praveen 已提交
419 420 421
gem 'flipper', '~> 0.13.0'
gem 'flipper-active_record', '~> 0.13.0'
gem 'flipper-active_support_cache_store', '~> 0.13.0'
422 423 424

# Structured logging
gem 'lograge', '~> 0.5'
425
gem 'grape_logging', '~> 1.7'
I
Ian Baum 已提交
426 427 428

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