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

3
gem 'rails', '4.2.7.1'
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

Robert Speicher's avatar
Robert Speicher committed
9
10
# Specify a sprockets version due to increased performance
# See https://gitlab.com/gitlab-org/gitlab-ce/issues/6069
11
gem 'sprockets', '~> 3.6.0'
Jacob Schatz's avatar
Jacob Schatz committed
12
gem 'sprockets-es6'
13

Dmitriy Zaporozhets (DZ)'s avatar
Dmitriy Zaporozhets (DZ) committed
14
# Default values for AR models
Bogdan's avatar
Bogdan committed
15
gem 'default_value_for', '~> 3.0.0'
Dmitriy Zaporozhets (DZ)'s avatar
Dmitriy Zaporozhets (DZ) committed
16

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
17
# Supported DBs
Bogdan's avatar
Bogdan committed
18
19
gem 'mysql2', '~> 0.3.16', group: :mysql
gem 'pg', '~> 0.18.2', group: :postgres
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
20

Karen's avatar
Karen committed
21
# Authentication libraries
22
gem 'devise',                 '~> 4.0'
23
gem 'doorkeeper',             '~> 4.0'
24
gem 'omniauth',               '~> 1.3.1'
25
gem 'omniauth-auth0',         '~> 1.4.1'
26
gem 'omniauth-azure-oauth2',  '~> 0.0.6'
27
gem 'omniauth-bitbucket',     '~> 0.0.2'
tduehr's avatar
tduehr committed
28
gem 'omniauth-cas3',          '~> 1.1.2'
Douwe Maan's avatar
Douwe Maan committed
29
gem 'omniauth-facebook',      '~> 3.0.0'
30
31
gem 'omniauth-github',        '~> 1.1.1'
gem 'omniauth-gitlab',        '~> 1.0.0'
32
gem 'omniauth-google-oauth2', '~> 0.4.1'
33
gem 'omniauth-kerberos',      '~> 0.3.0', group: :kerberos
34
gem 'omniauth-saml',          '~> 1.6.0'
35
gem 'omniauth-shibboleth',    '~> 1.2.0'
36
gem 'omniauth-twitter',       '~> 1.2.0'
37
gem 'omniauth_crowd',         '~> 2.2.0'
Robert Speicher's avatar
Robert Speicher committed
38
gem 'rack-oauth2',            '~> 1.2.1'
39
gem 'jwt'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
40

41
# Spam and anti-bot protection
42
gem 'recaptcha', '~> 3.0', require: 'recaptcha/rails'
43
gem 'akismet', '~> 2.0'
44

45
# Two-factor authentication
46
gem 'devise-two-factor', '~> 3.0.0'
Douwe Maan's avatar
Douwe Maan committed
47
gem 'rqrcode-rails3', '~> 0.1.7'
48
gem 'attr_encrypted', '~> 3.0.0'
49
gem 'u2f', '~> 0.2.1'
50

51
# Browser detection
Bogdan's avatar
Bogdan committed
52
gem 'browser', '~> 2.2'
53

54
# Extracting information from a git repository
55
# Provide access to Gitlab::Git library
56
gem 'gitlab_git', '~> 10.4.5'
57

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

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

Valeriy's avatar
Valeriy committed
68
# Language detection
Bogdan's avatar
Bogdan committed
69
gem 'github-linguist', '~> 4.7.0', require: 'linguist'
Valeriy's avatar
Valeriy committed
70

71
# API
72
gem 'grape',        '~> 0.15.0'
Robert Speicher's avatar
Robert Speicher committed
73
74
gem 'grape-entity', '~> 0.4.2'
gem 'rack-cors',    '~> 0.4.0', require: 'rack/cors'
75
76

# Pagination
Bogdan's avatar
Bogdan committed
77
gem 'kaminari', '~> 0.17.0'
78
79

# HAML
80
gem 'hamlit', '~> 2.5'
81
82

# Files attachments
Bogdan's avatar
Bogdan committed
83
gem 'carrierwave', '~> 0.10.0'
84

85
# Drag and Drop UI
Douwe Maan's avatar
Douwe Maan committed
86
gem 'dropzonejs-rails', '~> 0.7.1'
87

88
89
# for backups
gem 'fog-aws', '~> 0.9'
90
gem 'fog-azure', '~> 0.0'
91
92
93
94
gem 'fog-core', '~> 1.40'
gem 'fog-local', '~> 0.3'
gem 'fog-google', '~> 0.3'
gem 'fog-openstack', '~> 0.1'
95
gem 'fog-rackspace', '~> 0.1.1'
96

97
# for aws storage
Bogdan's avatar
Bogdan committed
98
gem 'unf', '~> 0.1.4'
99
100

# Authorization
Bogdan's avatar
Bogdan committed
101
gem 'six', '~> 0.2.0'
102
103

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

Robert Speicher's avatar
Robert Speicher committed
106
# Markdown and HTML processing
107
gem 'html-pipeline', '~> 1.11.0'
Douwe Maan's avatar
Douwe Maan committed
108
gem 'task_list',     '~> 1.0.2', require: 'task_list/railtie'
109
gem 'github-markup', '~> 1.4'
110
gem 'redcarpet',     '~> 3.3.3'
111
gem 'RedCloth',      '~> 4.3.2'
Robert Speicher's avatar
Robert Speicher committed
112
gem 'rdoc',          '~>3.6'
Douwe Maan's avatar
Douwe Maan committed
113
gem 'org-ruby',      '~> 0.9.12'
Robert Speicher's avatar
Robert Speicher committed
114
gem 'creole',        '~> 0.5.0'
Valeriy's avatar
Valeriy committed
115
gem 'wikicloth',     '0.8.1'
116
gem 'asciidoctor',   '~> 1.5.2'
117
gem 'rouge',         '~> 2.0'
118

119
# See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
120
# and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM
121
gem 'nokogiri', '~> 1.6.7', '>= 1.6.7.2'
122

Evgeniy Sokovikov's avatar
Evgeniy Sokovikov committed
123
124
125
# Diffs
gem 'diffy', '~> 3.0.3'

126
# Application server
127
group :unicorn do
Bogdan's avatar
Bogdan committed
128
  gem 'unicorn', '~> 4.9.0'
Douwe Maan's avatar
Douwe Maan committed
129
  gem 'unicorn-worker-killer', '~> 0.4.2'
130
end
131

132
# State machine
Bogdan's avatar
Bogdan committed
133
gem 'state_machines-activerecord', '~> 0.4.0'
134
# Run events after state machine commits
Bogdan's avatar
Bogdan committed
135
gem 'after_commit_queue', '~> 1.3.0'
136

137
# Issue tags
Nihad Abbasov's avatar
Nihad Abbasov committed
138
gem 'acts-as-taggable-on', '~> 3.4'
139
140

# Background jobs
141
gem 'sinatra', '~> 1.4.4', require: false
Gabriel Mazetto's avatar
Gabriel Mazetto committed
142
143
gem 'sidekiq', '~> 4.0'
gem 'sidekiq-cron', '~> 0.4.0'
Bogdan's avatar
Bogdan committed
144
gem 'redis-namespace', '~> 1.5.2'
145
146

# HTTP requests
Bogdan's avatar
Bogdan committed
147
gem 'httparty', '~> 0.13.3'
148
149

# Colored output to console
Bogdan's avatar
Bogdan committed
150
gem 'rainbow', '~> 2.1.0'
151

Riyad Preukschas's avatar
Riyad Preukschas committed
152
# GitLab settings
Douwe Maan's avatar
Douwe Maan committed
153
gem 'settingslogic', '~> 2.0.9'
Aleksei's avatar
Aleksei committed
154

155
# Misc
Douwe Maan's avatar
Douwe Maan committed
156

157
gem 'version_sorter', '~> 2.1.0'
158

159
# Cache
Bogdan's avatar
Bogdan committed
160
gem 'redis-rails', '~> 4.0.0'
161

162
163
164
165
# Redis
gem 'redis', '~> 3.2'
gem 'connection_pool', '~> 2.0'

166
# HipChat integration
Chulki Lee's avatar
Chulki Lee committed
167
gem 'hipchat', '~> 1.5.0'
168

169
# Flowdock integration
Bogdan's avatar
Bogdan committed
170
gem 'gitlab-flowdock-git-hook', '~> 1.0.1'
171

Binsztock's avatar
Binsztock committed
172
# Gemnasium integration
Bogdan's avatar
Bogdan committed
173
gem 'gemnasium-gitlab-service', '~> 0.2'
Binsztock's avatar
Binsztock committed
174

175
# Slack integration
Bogdan's avatar
Bogdan committed
176
gem 'slack-notifier', '~> 1.2.0'
177

Jeremy's avatar
Jeremy committed
178
# Asana integration
Robert Speicher's avatar
Robert Speicher committed
179
gem 'asana', '~> 0.4.0'
Jeremy's avatar
Jeremy committed
180

Jared Szechy's avatar
Jared Szechy committed
181
# FogBugz integration
Jared's avatar
Jared committed
182
gem 'ruby-fogbugz', '~> 0.2.1'
Jared Szechy's avatar
Jared Szechy committed
183

184
# d3
Robert Speicher's avatar
Robert Speicher committed
185
gem 'd3_rails', '~> 3.5.0'
186
187

# underscore-rails
Bogdan's avatar
Bogdan committed
188
gem 'underscore-rails', '~> 1.8.0'
189

190
# Sanitize user input
Bogdan's avatar
Bogdan committed
191
gem 'sanitize', '~> 2.0'
192
gem 'babosa', '~> 1.0.2'
193

Stan Hu's avatar
Stan Hu committed
194
# Sanitizes SVG input
Bogdan's avatar
Bogdan committed
195
gem 'loofah', '~> 2.0.3'
Stan Hu's avatar
Stan Hu committed
196

197
# Working with license
198
gem 'licensee', '~> 8.0.0'
199

Marin Jankovski's avatar
Marin Jankovski committed
200
# Protect against bruteforcing
Bogdan's avatar
Bogdan committed
201
gem 'rack-attack', '~> 4.3.1'
Marin Jankovski's avatar
Marin Jankovski committed
202

203
# Ace editor
Alfredo Sumaran's avatar
Alfredo Sumaran committed
204
gem 'ace-rails-ap', '~> 4.0.2'
205

206
# Keyboard shortcuts
Douwe Maan's avatar
Douwe Maan committed
207
gem 'mousetrap-rails', '~> 1.4.6'
208

209
# Detect and convert string character encoding
210
gem 'charlock_holmes', '~> 0.7.3'
211

212
213
214
# Parse duration
gem 'chronic_duration', '~> 0.10.6'

Bogdan's avatar
Bogdan committed
215
216
217
gem 'sass-rails', '~> 5.0.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'uglifier', '~> 2.7.2'
Robert Speicher's avatar
Robert Speicher committed
218
gem 'turbolinks', '~> 2.5.0'
219
gem 'jquery-turbolinks', '~> 2.1.0'
220

Douwe Maan's avatar
Douwe Maan committed
221
gem 'addressable',        '~> 2.3.8'
222
gem 'bootstrap-sass',     '~> 3.3.0'
223
gem 'font-awesome-rails', '~> 4.6.1'
224
gem 'gemojione',          '~> 3.0'
Connor Shea's avatar
Connor Shea committed
225
gem 'gon',                '~> 6.1.0'
226
gem 'jquery-atwho-rails', '~> 1.3.2'
227
gem 'jquery-rails',       '~> 4.1.0'
228
gem 'jquery-ui-rails',    '~> 5.0.0'
229
gem 'request_store',      '~> 1.3.0'
Robert Speicher's avatar
Robert Speicher committed
230
gem 'select2-rails',      '~> 3.5.9'
Douwe Maan's avatar
Douwe Maan committed
231
gem 'virtus',             '~> 1.0.1'
232
gem 'net-ssh',            '~> 3.0.1'
Kamil Trzciński's avatar
Kamil Trzciński committed
233
gem 'base32',             '~> 0.3.0'
gitlabhq's avatar
gitlabhq committed
234

235
# Sentry integration
236
gem 'sentry-raven', '~> 1.1.0'
237

238
239
gem 'premailer-rails', '~> 1.9.0'

240
241
# Metrics
group :metrics do
242
  gem 'allocations', '~> 1.0', require: false, platform: :mri
243
  gem 'method_source', '~> 0.8', require: false
244
245
246
  gem 'influxdb', '~> 0.2', require: false
end

Nihad Abbasov's avatar
Nihad Abbasov committed
247
group :development do
Bogdan's avatar
Bogdan committed
248
  gem 'foreman', '~> 0.78.0'
249
  gem 'brakeman', '~> 3.3.0', require: false
Douwe Maan's avatar
Douwe Maan committed
250

Robert Speicher's avatar
Robert Speicher committed
251
  gem 'letter_opener_web', '~> 1.3.0'
252
  gem 'rerun', '~> 0.11.0'
253
  gem 'bullet', '~> 5.2.0', require: false
Bogdan's avatar
Bogdan committed
254
  gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
Valeriy's avatar
Valeriy committed
255
  gem 'web-console', '~> 2.0'
256

257
  # Better errors handler
Douwe Maan's avatar
Douwe Maan committed
258
259
  gem 'better_errors', '~> 1.0.1'
  gem 'binding_of_caller', '~> 0.7.2'
260
261

  # Docs generator
Bogdan's avatar
Bogdan committed
262
  gem 'sdoc', '~> 0.3.20'
263
264

  # thin instead webrick
265
  gem 'thin', '~> 1.7.0'
gitlabhq's avatar
gitlabhq committed
266
267
268
end

group :development, :test do
Bogdan's avatar
Bogdan committed
269
270
  gem 'byebug', '~> 8.2.1', platform: :mri
  gem 'pry-rails', '~> 0.3.4'
Robert Speicher's avatar
Robert Speicher committed
271

272
  gem 'awesome_print', '~> 1.2.0', require: false
Douwe Maan's avatar
Douwe Maan committed
273
274
  gem 'fuubar', '~> 2.0.0'

275
  gem 'database_cleaner',   '~> 1.5.0'
276
  gem 'factory_girl_rails', '~> 4.6.0'
277
  gem 'rspec-rails',        '~> 3.5.0'
Bogdan's avatar
Bogdan committed
278
  gem 'rspec-retry',        '~> 0.4.5'
279
  gem 'spinach-rails',      '~> 0.2.1'
Kamil Trzciński's avatar
Kamil Trzciński committed
280
  gem 'spinach-rerun-reporter', '~> 0.0.2'
Dmitriy Zaporozhets (DZ)'s avatar
Dmitriy Zaporozhets (DZ) committed
281

282
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
Douwe Maan's avatar
Douwe Maan committed
283
  gem 'minitest', '~> 5.7.0'
284

285
  # Generate Fake data
Robert Speicher's avatar
Robert Speicher committed
286
  gem 'ffaker', '~> 2.0.0'
287

Stan Hu's avatar
Stan Hu committed
288
  gem 'capybara',            '~> 2.6.2'
Robert Speicher's avatar
Robert Speicher committed
289
  gem 'capybara-screenshot', '~> 1.0.0'
290
  gem 'poltergeist',         '~> 1.9.0'
291

292
  gem 'teaspoon', '~> 1.1.0'
Douwe Maan's avatar
Douwe Maan committed
293
  gem 'teaspoon-jasmine', '~> 2.2.0'
294

295
  gem 'spring',                   '~> 1.7.0'
Douwe Maan's avatar
Douwe Maan committed
296
  gem 'spring-commands-rspec',    '~> 1.0.4'
297
  gem 'spring-commands-spinach',  '~> 1.1.0'
298
  gem 'spring-commands-teaspoon', '~> 0.0.2'
Douwe Maan's avatar
Douwe Maan committed
299

Connor Shea's avatar
Connor Shea committed
300
  gem 'rubocop', '~> 0.41.2', require: false
Robert Speicher's avatar
Robert Speicher committed
301
  gem 'rubocop-rspec', '~> 1.5.0', require: false
302
  gem 'scss_lint', '~> 0.47.0', require: false
303
  gem 'simplecov', '0.12.0', require: false
Bogdan's avatar
Bogdan committed
304
305
306
  gem 'flog', '~> 4.3.2', require: false
  gem 'flay', '~> 2.6.1', require: false
  gem 'bundler-audit', '~> 0.5.0', require: false
307

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

Bogdan's avatar
Bogdan committed
310
311
  gem 'license_finder', '~> 2.1.0', require: false
  gem 'knapsack', '~> 1.11.0'
gitlabhq's avatar
gitlabhq committed
312
313
314
end

group :test do
Robert Speicher's avatar
Robert Speicher committed
315
  gem 'shoulda-matchers', '~> 2.8.0', require: false
Robert Speicher's avatar
Robert Speicher committed
316
  gem 'email_spec', '~> 1.6.0'
317
  gem 'webmock', '~> 1.21.0'
318
  gem 'test_after_commit', '~> 0.4.2'
Bogdan's avatar
Bogdan committed
319
  gem 'sham_rack', '~> 1.3.6'
gitlabhq's avatar
gitlabhq committed
320
end
321
322

group :production do
Bogdan's avatar
Bogdan committed
323
  gem 'gitlab_meta', '7.0'
324
end
Jacob Vosmaer's avatar
Jacob Vosmaer committed
325

326
gem 'newrelic_rpm', '~> 3.16'
327

328
gem 'octokit', '~> 4.3.0'
Douwe Maan's avatar
Douwe Maan committed
329

Bogdan's avatar
Bogdan committed
330
gem 'mail_room', '~> 0.8'
Douwe Maan's avatar
Douwe Maan committed
331

Douwe Maan's avatar
Douwe Maan committed
332
333
gem 'email_reply_parser', '~> 0.5.8'

334
335
gem 'ruby-prof', '~> 0.15.9'

Douwe Maan's avatar
Douwe Maan committed
336
## CI
337
gem 'activerecord-session_store', '~> 1.0.0'
Bogdan's avatar
Bogdan committed
338
gem 'nested_form', '~> 0.3.2'
Douwe Maan's avatar
Douwe Maan committed
339
340

# OAuth
341
gem 'oauth2', '~> 1.2.0'
Douwe Maan's avatar
Douwe Maan committed
342
343

# Soft deletion
Bogdan's avatar
Bogdan committed
344
gem 'paranoia', '~> 2.0'
345
346

# Health check
347
gem 'health_check', '~> 2.1.0'
348
349

# System information
350
gem 'vmstat', '~> 2.1.1'
351
gem 'sys-filesystem', '~> 1.1.6'