Gemfile 7.4 KB
Newer Older
S
Sytse Sijbrandij 已提交
1
source "https://rubygems.org"
G
gitlabhq 已提交
2

D
Douwe Maan 已提交
3 4 5 6 7 8 9 10 11
def darwin_only(require_as)
  RUBY_PLATFORM.include?('darwin') && require_as
end

def linux_only(require_as)
  RUBY_PLATFORM.include?('linux') && require_as
end

gem 'rails', '4.1.12'
12

13 14 15 16
# Specify a sprockets version due to security issue
# See https://groups.google.com/forum/#!topic/rubyonrails-security/doAVp0YaTqY
gem 'sprockets', '~> 2.12.3'

D
Dmitriy Zaporozhets 已提交
17 18 19
# Default values for AR models
gem "default_value_for", "~> 3.0.0"

D
Dmitriy Zaporozhets 已提交
20
# Supported DBs
D
Douwe Maan 已提交
21 22
gem "mysql2", '~> 0.3.16', group: :mysql
gem "pg", '~> 0.18.2', group: :postgres
D
Dmitriy Zaporozhets 已提交
23

K
karen Carias 已提交
24
# Authentication libraries
25 26 27 28 29 30
gem 'devise',                 '~> 3.5.2'
gem 'devise-async',           '~> 0.9.0'
gem 'omniauth',               '~> 1.2.2'
gem 'omniauth-bitbucket',     '~> 0.0.2'
gem 'omniauth-github',        '~> 1.1.1'
gem 'omniauth-gitlab',        '~> 1.0.0'
31
gem 'omniauth-google-oauth2', '~> 0.2.0'
32
gem 'omniauth-kerberos',      '~> 0.3.0', group: :kerberos
33 34 35
gem 'omniauth-saml',          '~> 1.4.0'
gem 'omniauth-shibboleth',    '~> 1.1.1'
gem 'omniauth-twitter',       '~> 1.2.0'
V
Valery Sizov 已提交
36
gem 'omniauth_crowd'
37 38
gem 'doorkeeper',             '~> 2.1.3'
gem 'rack-oauth2',            '~> 1.0.5'
D
Dmitriy Zaporozhets 已提交
39

40
# Two-factor authentication
41
gem 'devise-two-factor', '~> 2.0.0'
D
Douwe Maan 已提交
42 43
gem 'rqrcode-rails3', '~> 0.1.7'
gem 'attr_encrypted', '~> 1.3.4'
44

45
# Browser detection
46
gem "browser", '~> 1.0.0'
47

D
Dmitriy Zaporozhets 已提交
48
# Extracting information from a git repository
D
Dmitriy Zaporozhets 已提交
49
# Provide access to Gitlab::Git library
D
Douwe Maan 已提交
50
gem "gitlab_git", '~> 7.2.17'
51

52
# LDAP Auth
Y
Yorick Peterse 已提交
53
# GitLab fork with several improvements to original library. For full list of changes
54
# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
D
Douwe Maan 已提交
55
gem 'gitlab_omniauth-ldap', '~> 1.2.1', require: "omniauth-ldap"
56

57
# Git Wiki
V
Valery Sizov 已提交
58
gem 'gollum-lib', '~> 4.0.2'
59

V
Valeriy Sizov 已提交
60
# Language detection
Y
Yorick Peterse 已提交
61 62 63
# GitLab fork of linguist does not require pygments/python dependency.
# New version of original gem also dropped pygments support but it has strict
# dependency to unstable rugged version. We have internal issue for replacing
64
# fork with original gem when we meet on same rugged version - https://dev.gitlab.org/gitlab/gitlabhq/issues/2052.
V
Valery Sizov 已提交
65
gem "gitlab-linguist", "~> 3.0.1", require: "linguist"
V
Valeriy Sizov 已提交
66

R
randx 已提交
67
# API
J
Jeroen van Baarsen 已提交
68
gem "grape", "~> 0.6.1"
D
Dmitriy Zaporozhets 已提交
69
gem "grape-entity", "~> 0.4.2"
D
Douwe Maan 已提交
70
gem 'rack-cors', '~> 0.2.9', require: 'rack/cors'
R
randx 已提交
71 72 73

# Format dates and times
# based on human-friendly examples
D
Douwe Maan 已提交
74
gem "stamp", '~> 0.5.0'
R
randx 已提交
75

A
Andrew8xx8 已提交
76
# Enumeration fields
D
Douwe Maan 已提交
77
gem 'enumerize', '~> 0.7.0'
A
Andrew8xx8 已提交
78

R
randx 已提交
79
# Pagination
80
gem "kaminari", "~> 0.16.3"
R
randx 已提交
81 82

# HAML
D
Douwe Maan 已提交
83
gem "haml-rails", '~> 0.5.3'
R
randx 已提交
84 85

# Files attachments
D
Douwe Maan 已提交
86
gem "carrierwave", '~> 0.9.0'
87

88
# Drag and Drop UI
D
Douwe Maan 已提交
89
gem 'dropzonejs-rails', '~> 0.7.1'
90

91
# for aws storage
92
gem "fog", "~> 1.25.0"
D
Douwe Maan 已提交
93
gem "unf", '~> 0.1.4'
R
randx 已提交
94 95

# Authorization
D
Douwe Maan 已提交
96
gem "six", '~> 0.2.0'
R
randx 已提交
97 98

# Seed data
D
Douwe Maan 已提交
99
gem "seed-fu", '~> 2.3.5'
R
randx 已提交
100

R
Robert Speicher 已提交
101
# Markdown and HTML processing
102
gem 'html-pipeline', '~> 1.11.0'
D
Douwe Maan 已提交
103 104
gem 'task_list',     '~> 1.0.2', require: 'task_list/railtie'
gem 'github-markup', '~> 1.3.1'
R
Robert Speicher 已提交
105
gem 'redcarpet',     '~> 3.3.2'
D
Douwe Maan 已提交
106
gem 'RedCloth',      '~> 4.2.9'
R
Robert Speicher 已提交
107
gem 'rdoc',          '~>3.6'
D
Douwe Maan 已提交
108
gem 'org-ruby',      '~> 0.9.12'
R
Robert Speicher 已提交
109
gem 'creole',        '~>0.3.6'
V
Valery Sizov 已提交
110
gem 'wikicloth',     '0.8.1'
111
gem 'asciidoctor',   '~> 1.5.2'
R
randx 已提交
112

S
skv-headless 已提交
113 114 115
# Diffs
gem 'diffy', '~> 3.0.3'

116
# Application server
J
Jacob Vosmaer 已提交
117
group :unicorn do
D
Douwe Maan 已提交
118 119
  gem "unicorn", '~> 4.8.2'
  gem 'unicorn-worker-killer', '~> 0.4.2'
J
Jacob Vosmaer 已提交
120
end
R
randx 已提交
121

A
Andrew8xx8 已提交
122
# State machine
D
Douwe Maan 已提交
123
gem "state_machine", '~> 1.2.0'
124 125
# Run events after state machine commits
gem 'after_commit_queue'
A
Andrew8xx8 已提交
126

R
randx 已提交
127
# Issue tags
N
Nihad Abbasov 已提交
128
gem 'acts-as-taggable-on', '~> 3.4'
R
randx 已提交
129 130

# Background jobs
D
Douwe Maan 已提交
131 132
gem 'slim', '~> 2.0.2'
gem 'sinatra', '~> 1.4.4', require: nil
133
gem 'sidekiq', '3.3.0'
D
Douwe Maan 已提交
134
gem 'sidetiq', '~> 0.6.3'
R
randx 已提交
135 136

# HTTP requests
D
Douwe Maan 已提交
137
gem "httparty", '~> 0.13.3'
R
randx 已提交
138 139

# Colored output to console
D
Douwe Maan 已提交
140
gem "colored", '~> 1.2'
D
Dmitriy Zaporozhets 已提交
141
gem "colorize", '~> 0.5.8'
R
randx 已提交
142

R
Riyad Preukschas 已提交
143
# GitLab settings
D
Douwe Maan 已提交
144
gem 'settingslogic', '~> 2.0.9'
A
Aleksei Kvitinskii 已提交
145

R
randx 已提交
146
# Misc
D
Douwe Maan 已提交
147 148

gem 'version_sorter', '~> 2.0.0'
R
randx 已提交
149

150
# Cache
D
Douwe Maan 已提交
151
gem "redis-rails", '~> 4.0.0'
152

153 154 155
# Campfire integration
gem 'tinder', '~> 1.9.2'

R
Ronald van Eede 已提交
156
# HipChat integration
C
Chulki Lee 已提交
157
gem 'hipchat', '~> 1.5.0'
R
Ronald van Eede 已提交
158

159
# Flowdock integration
160
gem "gitlab-flowdock-git-hook", "~> 1.0.1"
161

162 163 164
# Gemnasium integration
gem "gemnasium-gitlab-service", "~> 0.2"

165
# Slack integration
166
gem "slack-notifier", "~> 1.0.0"
167

J
Jeremy 已提交
168 169 170
# Asana integration
gem 'asana', '~> 0.0.6'

J
Jared Szechy 已提交
171
# FogBugz integration
J
Jared Szechy 已提交
172
gem 'ruby-fogbugz', '~> 0.2.1'
J
Jared Szechy 已提交
173

174
# d3
R
Robert Speicher 已提交
175
gem 'd3_rails', '~> 3.5.5'
176

177 178 179
#cal-heatmap
gem "cal-heatmap-rails", "~> 0.0.1"

180 181 182
# underscore-rails
gem "underscore-rails", "~> 1.4.4"

183
# Sanitize user input
184
gem "sanitize", '~> 2.0'
185

M
Marin Jankovski 已提交
186
# Protect against bruteforcing
187
gem "rack-attack", '~> 4.3.0'
M
Marin Jankovski 已提交
188

D
Dmitriy Zaporozhets 已提交
189
# Ace editor
D
Douwe Maan 已提交
190
gem 'ace-rails-ap', '~> 2.0.1'
D
Dmitriy Zaporozhets 已提交
191

192
# Keyboard shortcuts
D
Douwe Maan 已提交
193
gem 'mousetrap-rails', '~> 1.4.6'
R
Robert Schilling 已提交
194

195
# Detect and convert string character encoding
D
Douwe Maan 已提交
196
gem 'charlock_holmes', '~> 0.6.9.4'
197

198
gem "sass-rails", '~> 4.0.5'
D
Douwe Maan 已提交
199 200
gem "coffee-rails", '~> 4.1.0'
gem "uglifier", '~> 2.3.2'
R
Robert Speicher 已提交
201
gem 'turbolinks', '~> 2.5.0'
D
Douwe Maan 已提交
202
gem 'jquery-turbolinks', '~> 2.0.1'
203

D
Douwe Maan 已提交
204
gem 'addressable',        '~> 2.3.8'
R
Robert Speicher 已提交
205 206 207 208
gem 'bootstrap-sass',     '~> 3.0'
gem 'font-awesome-rails', '~> 4.2'
gem 'gitlab_emoji',       '~> 0.1'
gem 'gon',                '~> 5.0.0'
R
Robert Speicher 已提交
209
gem 'jquery-atwho-rails', '~> 1.0.0'
D
Douwe Maan 已提交
210 211 212 213
gem 'jquery-rails',       '~> 3.1.3'
gem 'jquery-scrollto-rails', '~> 1.4.3'
gem 'jquery-ui-rails',    '~> 4.2.1'
gem 'nprogress-rails',    '~> 0.1.2.3'
R
Robert Speicher 已提交
214
gem 'raphael-rails',      '~> 2.1.2'
D
Douwe Maan 已提交
215
gem 'request_store',      '~> 1.2.0'
R
Robert Speicher 已提交
216
gem 'select2-rails',      '~> 3.5.9'
D
Douwe Maan 已提交
217
gem 'virtus',             '~> 1.0.1'
G
gitlabhq 已提交
218

N
Nihad Abbasov 已提交
219
group :development do
D
Douwe Maan 已提交
220
  gem "foreman"
D
Dmitriy Zaporozhets 已提交
221
  gem 'brakeman', '3.0.1', require: false
D
Douwe Maan 已提交
222 223 224 225 226

  gem "annotate", "~> 2.6.0"
  gem "letter_opener", '~> 1.1.2'
  gem 'quiet_assets', '~> 1.0.2'
  gem 'rack-mini-profiler', '~> 0.9.0', require: false
227
  gem 'rerun', '~> 0.10.0'
D
Dmitriy Zaporozhets 已提交
228

229
  # Better errors handler
D
Douwe Maan 已提交
230 231
  gem 'better_errors', '~> 1.0.1'
  gem 'binding_of_caller', '~> 0.7.2'
232 233

  # Docs generator
D
Douwe Maan 已提交
234
  gem "sdoc", '~> 0.3.20'
235 236

  # thin instead webrick
D
Douwe Maan 已提交
237
  gem 'thin', '~> 1.6.1'
G
gitlabhq 已提交
238 239 240
end

group :development, :test do
Y
Yorick Peterse 已提交
241
  gem 'byebug', platform: :mri
R
Robert Speicher 已提交
242 243
  gem 'pry-rails'

D
Douwe Maan 已提交
244 245 246
  gem 'awesome_print', '~> 1.2.0'
  gem 'fuubar', '~> 2.0.0'

247
  gem 'database_cleaner', '~> 1.4.0'
D
Douwe Maan 已提交
248
  gem 'factory_girl_rails', '~> 4.3.0'
249
  gem 'rspec-rails',      '~> 3.3.0'
D
Douwe Maan 已提交
250
  gem 'spinach-rails', '~> 0.2.1'
R
randx 已提交
251

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

255
  # Generate Fake data
R
Robert Speicher 已提交
256
  gem 'ffaker', '~> 2.0.0'
257

R
Robert Speicher 已提交
258
  gem 'capybara',            '~> 2.4.0'
R
Robert Speicher 已提交
259 260
  gem 'capybara-screenshot', '~> 1.0.0'
  gem 'poltergeist',         '~> 1.6.0'
A
Andrew8xx8 已提交
261

262
  gem 'teaspoon', '~> 1.0.0'
D
Douwe Maan 已提交
263
  gem 'teaspoon-jasmine', '~> 2.2.0'
J
Jeroen van Baarsen 已提交
264

D
Douwe Maan 已提交
265 266
  gem 'spring', '~> 1.3.6'
  gem 'spring-commands-rspec',    '~> 1.0.4'
267 268
  gem 'spring-commands-spinach',  '~> 1.0.0'
  gem 'spring-commands-teaspoon', '~> 0.0.2'
D
Douwe Maan 已提交
269 270 271 272

  gem 'rubocop',  '~> 0.28.0',  require: false
  gem 'coveralls',  '~> 0.8.2', require: false
  gem 'simplecov', '~> 0.10.0', require: false
273 274

  gem 'benchmark-ips', require: false
G
gitlabhq 已提交
275 276 277
end

group :test do
R
Robert Speicher 已提交
278
  gem 'shoulda-matchers', '~> 2.8.0', require: false
R
Robert Speicher 已提交
279
  gem 'email_spec', '~> 1.6.0'
280
  gem 'webmock', '~> 1.21.0'
D
Douwe Maan 已提交
281
  gem 'test_after_commit', '~> 0.2.2'
J
Jared Szechy 已提交
282
  gem 'sham_rack'
G
gitlabhq 已提交
283
end
284 285

group :production do
D
Dmitriy Zaporozhets 已提交
286
  gem "gitlab_meta", '7.0'
287
end
J
Jacob Vosmaer 已提交
288

D
Douwe Maan 已提交
289
gem "newrelic_rpm", '~> 3.9.4.245'
J
Jacob Vosmaer 已提交
290
gem 'newrelic-grape'
V
Valery Sizov 已提交
291

D
Douwe Maan 已提交
292
gem 'octokit', '~> 3.7.0'
D
Douwe Maan 已提交
293

D
Douwe Maan 已提交
294
gem "mail_room", "~> 0.5.2"
D
Douwe Maan 已提交
295

D
Douwe Maan 已提交
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
gem 'email_reply_parser', '~> 0.5.8'

## CI
gem 'activerecord-deprecated_finders', '~> 1.0.3'
gem 'activerecord-session_store', '~> 0.1.0'
gem "nested_form", '~> 0.3.2'

# Scheduled
gem 'whenever', '~> 0.8.4', require: false

# OAuth
gem 'oauth2', '~> 1.0.0'

# Soft deletion
gem "paranoia", "~> 2.0"

group :development, :test do
  gem 'guard-rspec', '~> 4.2.0'

  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
end