Gemfile 5.02 KB
Newer Older
Sytse Sijbrandij's avatar
Sytse Sijbrandij committed
1
source "https://rubygems.org"
gitlabhq's avatar
gitlabhq committed
2

3 4 5 6 7 8 9 10
def darwin_only(require_as)
  RUBY_PLATFORM.include?('darwin') && require_as
end

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

Marin Jankovski's avatar
Marin Jankovski committed
11
gem "rails", "~> 4.1.0"
12

13 14 15
# Make links from text
gem 'rails_autolink', '~> 1.1'

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
16 17 18
# Default values for AR models
gem "default_value_for", "~> 3.0.0"

19
# Supported DBs
20 21
gem "mysql2", group: :mysql
gem "pg", group: :postgres
22 23

# Auth
Marin Jankovski's avatar
Marin Jankovski committed
24 25
gem "devise", '3.2.4'
gem "devise-async", '0.9.0'
26
gem 'omniauth', "~> 1.1.3"
Florian Unglaub's avatar
Florian Unglaub committed
27 28 29
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
30
gem 'omniauth-shibboleth'
Valery Sizov's avatar
Valery Sizov committed
31
gem 'omniauth-kerberos'
32
gem 'omniauth-gitlab'
Douwe Maan's avatar
Douwe Maan committed
33
gem 'omniauth-bitbucket'
Valery Sizov's avatar
Valery Sizov committed
34
gem 'doorkeeper', '2.1.0'
Valery Sizov's avatar
Valery Sizov committed
35
gem "rack-oauth2", "~> 1.0.5"
36

37 38 39
# Browser detection
gem "browser"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
40
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
41
# Provide access to Gitlab::Git library
42
gem "gitlab_git", '~> 7.1.0'
43

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
44
# Ruby/Rack Git Smart-HTTP Server Handler
45
gem 'gitlab-grack', '~> 2.0.0.rc2', require: 'grack'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
46

47
# LDAP Auth
48
gem 'gitlab_omniauth-ldap', '1.2.0', require: "omniauth-ldap"
49

50
# Git Wiki
Stefan Tatschner's avatar
Stefan Tatschner committed
51
gem 'gollum-lib', '~> 4.0.0'
52

53
# Language detection
Valery Sizov's avatar
Valery Sizov committed
54
gem "gitlab-linguist", "~> 3.0.1", require: "linguist"
55

randx's avatar
randx committed
56
# API
Jeroen van Baarsen's avatar
Jeroen van Baarsen committed
57
gem "grape", "~> 0.6.1"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
58
gem "grape-entity", "~> 0.4.2"
59
gem 'rack-cors', require: 'rack/cors'
randx's avatar
randx committed
60 61 62

# Format dates and times
# based on human-friendly examples
63
gem "stamp"
randx's avatar
randx committed
64

Andrew8xx8's avatar
Andrew8xx8 committed
65 66 67
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
68
# Pagination
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
69
gem "kaminari", "~> 0.15.1"
randx's avatar
randx committed
70 71

# HAML
72
gem "haml-rails"
randx's avatar
randx committed
73 74

# Files attachments
75
gem "carrierwave"
76

77 78 79
# Drag and Drop UI
gem 'dropzonejs-rails'

80
# for aws storage
81 82
gem "fog", "~> 1.14"
gem "unf"
randx's avatar
randx committed
83 84

# Authorization
85
gem "six"
randx's avatar
randx committed
86 87

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
88
gem "seed-fu"
randx's avatar
randx committed
89

90
# Markup pipeline for GitLab
91
gem 'html-pipeline-gitlab', '~> 0.1'
92

randx's avatar
randx committed
93
# Markdown to HTML
94
gem "github-markup"
Robert Schilling's avatar
Robert Schilling committed
95 96

# Required markup gems by github-markdown
Andrew Kumanyaev's avatar
Andrew Kumanyaev committed
97
gem 'redcarpet', '~> 3.1.2'
Robert Schilling's avatar
Robert Schilling committed
98 99
gem 'RedCloth'
gem 'rdoc', '~>3.6'
Chulki Lee's avatar
Chulki Lee committed
100
gem 'org-ruby', '= 0.9.12'
Robert Schilling's avatar
Robert Schilling committed
101 102 103
gem 'creole', '~>0.3.6'
gem 'wikicloth', '=0.8.1'
gem 'asciidoctor', '= 0.1.4'
randx's avatar
randx committed
104

skv-headless's avatar
skv-headless committed
105 106 107
# Diffs
gem 'diffy', '~> 3.0.3'

108
# Application server
109 110 111 112
group :unicorn do
  gem "unicorn", '~> 4.6.3'
  gem 'unicorn-worker-killer'
end
randx's avatar
randx committed
113

Andrew8xx8's avatar
Andrew8xx8 committed
114 115 116
# State machine
gem "state_machine"

randx's avatar
randx committed
117
# Issue tags
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
118
gem "acts-as-taggable-on"
randx's avatar
randx committed
119 120

# Background jobs
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
121
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
122
gem 'sinatra', require: nil
Vinnie Okada's avatar
Vinnie Okada committed
123
gem 'sidekiq', '~> 3.3'
randx's avatar
randx committed
124 125

# HTTP requests
126
gem "httparty"
randx's avatar
randx committed
127 128

# Colored output to console
129
gem "colored"
randx's avatar
randx committed
130

Riyad Preukschas's avatar
Riyad Preukschas committed
131
# GitLab settings
132
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
133

randx's avatar
randx committed
134 135
# Misc
gem "foreman"
Robert Speicher's avatar
Robert Speicher committed
136
gem 'version_sorter'
randx's avatar
randx committed
137

138 139 140
# Cache
gem "redis-rails"

141 142 143
# Campfire integration
gem 'tinder', '~> 1.9.2'

144
# HipChat integration
145
gem "hipchat", "~> 1.4.0"
146

147
# Flowdock integration
148
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
149

150 151 152
# Gemnasium integration
gem "gemnasium-gitlab-service", "~> 0.2"

153
# Slack integration
154
gem "slack-notifier", "~> 1.0.0"
155

Jeremy's avatar
Jeremy committed
156 157 158
# Asana integration
gem 'asana', '~> 0.0.6'

159 160 161
# d3
gem "d3_rails", "~> 3.1.4"

162 163 164
#cal-heatmap
gem "cal-heatmap-rails", "~> 0.0.1"

165 166 167
# underscore-rails
gem "underscore-rails", "~> 1.4.4"

168
# Sanitize user input
169
gem "sanitize", '~> 2.0'
170

Marin Jankovski's avatar
Marin Jankovski committed
171 172 173
# Protect against bruteforcing
gem "rack-attack"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
174 175 176
# Ace editor
gem 'ace-rails-ap'

177
# Keyboard shortcuts
178 179
gem 'mousetrap-rails'

180 181 182
# Shutting down requests that take too long
gem "slowpoke"

183
gem "sass-rails", '~> 4.0.2'
184 185 186 187 188 189
gem "coffee-rails"
gem "uglifier"
gem 'turbolinks'
gem 'jquery-turbolinks'

gem 'select2-rails'
190
gem 'jquery-atwho-rails', "~> 0.3.3"
191 192
gem "jquery-rails"
gem "jquery-ui-rails"
193
gem "jquery-scrollto-rails"
194
gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
195
gem 'bootstrap-sass', '~> 3.0'
196
gem "font-awesome-rails", '~> 4.2'
197
gem "gitlab_emoji", "~> 0.1"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
198
gem "gon", '~> 5.0.0'
199
gem 'nprogress-rails'
200
gem 'request_store'
skv's avatar
skv committed
201
gem "virtus"
202
gem 'addressable'
gitlabhq's avatar
gitlabhq committed
203

Nihad Abbasov's avatar
Nihad Abbasov committed
204
group :development do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
205
  gem 'brakeman', require: false
206
  gem "annotate", "~> 2.6.0.beta2"
207
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
208
  gem 'quiet_assets', '~> 1.0.1'
209
  gem 'rack-mini-profiler', require: false
Douwe Maan's avatar
Douwe Maan committed
210
  gem "byebug"
211

212 213 214
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
215 216 217

  # Docs generator
  gem "sdoc"
218 219 220

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
221 222 223
end

group :development, :test do
224
  gem 'coveralls', require: false
225
  gem 'rubocop', '0.28.0', require: false
226
  # gem 'rails-dev-tweaks'
227
  gem 'spinach-rails'
228
  gem "rspec-rails", '2.99'
229
  gem "capybara", '~> 2.2.1'
230
  gem "pry-rails"
231
  gem "awesome_print"
232
  gem "database_cleaner"
233
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
234
  gem 'factory_girl_rails'
randx's avatar
randx committed
235

236
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
Marin Jankovski's avatar
Marin Jankovski committed
237
  gem 'minitest', '~> 5.3.0'
238

239 240 241
  # Generate Fake data
  gem "ffaker"

242
  # Guard
randx's avatar
randx committed
243
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
244
  gem 'guard-spinach'
245 246

  # Notification
247 248 249
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
250 251

  # PhantomJS driver for Capybara
252
  gem 'poltergeist', '~> 1.5.1'
Andrew8xx8's avatar
Andrew8xx8 committed
253

Marin Jankovski's avatar
Marin Jankovski committed
254
  gem 'jasmine', '2.0.2'
255

256
  gem "spring", '~> 1.3.1'
Jeroen van Baarsen's avatar
Jeroen van Baarsen committed
257
  gem "spring-commands-rspec", '1.0.4'
258
  gem "spring-commands-spinach", '1.0.0'
gitlabhq's avatar
gitlabhq committed
259 260 261
end

group :test do
262
  gem "simplecov", require: false
Robert Speicher's avatar
Robert Speicher committed
263
  gem "shoulda-matchers", "~> 2.7.0"
264
  gem 'email_spec'
265
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
266
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
267
end
268 269

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
270
  gem "gitlab_meta", '7.0'
271
  gem "therubyracer"
272
end
Jacob Vosmaer's avatar
Jacob Vosmaer committed
273 274

gem "newrelic_rpm"
Valery Sizov's avatar
Valery Sizov committed
275 276

gem 'octokit', '3.7.0'
277
gem "rugments"