Gemfile 7.2 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
R
Robert Speicher 已提交
25
gem "devise", '~> 3.5.2'
D
Douwe Maan 已提交
26
gem "devise-async", '~> 0.9.0'
27
gem 'omniauth', "~> 1.2.2"
D
Douwe Maan 已提交
28 29 30 31 32 33 34
gem 'omniauth-google-oauth2', '~> 0.2.5'
gem 'omniauth-twitter', '~> 1.0.1'
gem 'omniauth-github', '~> 1.1.1'
gem 'omniauth-shibboleth', '~> 1.1.1'
gem 'omniauth-kerberos', '~> 0.2.0', group: :kerberos
gem 'omniauth-gitlab', '~> 1.0.0'
gem 'omniauth-bitbucket', '~> 0.0.2'
R
Robert Speicher 已提交
35
gem 'omniauth-saml', '~> 1.4.0'
D
Douwe Maan 已提交
36
gem 'doorkeeper', '~> 2.1.3'
V
Valery Sizov 已提交
37
gem 'omniauth_crowd'
V
Valery Sizov 已提交
38
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
50
gem "gitlab_git", '~> 7.2.15'
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'
A
Andrew8xx8 已提交
124

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

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

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

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

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

R
randx 已提交
144
# Misc
D
Douwe Maan 已提交
145 146

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

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

151 152 153
# Campfire integration
gem 'tinder', '~> 1.9.2'

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

157
# Flowdock integration
158
gem "gitlab-flowdock-git-hook", "~> 1.0.1"
159

160 161 162
# Gemnasium integration
gem "gemnasium-gitlab-service", "~> 0.2"

163
# Slack integration
164
gem "slack-notifier", "~> 1.0.0"
165

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

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

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

175 176 177
#cal-heatmap
gem "cal-heatmap-rails", "~> 0.0.1"

178 179 180
# underscore-rails
gem "underscore-rails", "~> 1.4.4"

181
# Sanitize user input
182
gem "sanitize", '~> 2.0'
183

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

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

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

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

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

D
Douwe Maan 已提交
202
gem 'addressable',        '~> 2.3.8'
R
Robert Speicher 已提交
203 204 205 206
gem 'bootstrap-sass',     '~> 3.0'
gem 'font-awesome-rails', '~> 4.2'
gem 'gitlab_emoji',       '~> 0.1'
gem 'gon',                '~> 5.0.0'
R
Robert Speicher 已提交
207
gem 'jquery-atwho-rails', '~> 1.0.0'
D
Douwe Maan 已提交
208 209 210 211
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 已提交
212
gem 'raphael-rails',      '~> 2.1.2'
D
Douwe Maan 已提交
213
gem 'request_store',      '~> 1.2.0'
R
Robert Speicher 已提交
214
gem 'select2-rails',      '~> 3.5.9'
D
Douwe Maan 已提交
215
gem 'virtus',             '~> 1.0.1'
G
gitlabhq 已提交
216

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

  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
225
  gem 'rerun', '~> 0.10.0'
D
Dmitriy Zaporozhets 已提交
226

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

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

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

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

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

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

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

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

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

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

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

  gem 'rubocop',  '~> 0.28.0',  require: false
  gem 'coveralls',  '~> 0.8.2', require: false
  gem 'simplecov', '~> 0.10.0', require: false
G
gitlabhq 已提交
271 272 273
end

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

group :production do
D
Dmitriy Zaporozhets 已提交
282
  gem "gitlab_meta", '7.0'
283
end
J
Jacob Vosmaer 已提交
284

D
Douwe Maan 已提交
285
gem "newrelic_rpm", '~> 3.9.4.245'
J
Jacob Vosmaer 已提交
286
gem 'newrelic-grape'
V
Valery Sizov 已提交
287

D
Douwe Maan 已提交
288
gem 'octokit', '~> 3.7.0'
D
Douwe Maan 已提交
289

D
Douwe Maan 已提交
290
gem "mail_room", "~> 0.5.2"
D
Douwe Maan 已提交
291

D
Douwe Maan 已提交
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
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