Gemfile 4.89 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'
Valery Sizov's avatar
Valery Sizov committed
33
gem 'doorkeeper', '2.1.0'
Valery Sizov's avatar
Valery Sizov committed
34
gem "rack-oauth2", "~> 1.0.5"
35

36 37 38
# Browser detection
gem "browser"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
39
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
40
# Provide access to Gitlab::Git library
41
gem "gitlab_git", '7.0.0.rc14'
42

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

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

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

52
# Language detection
53
gem "gitlab-linguist", "~> 3.0.0", require: "linguist"
54

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

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

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

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

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

# Files attachments
74
gem "carrierwave"
75

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

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

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

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

89 90 91
# Markup pipeline for GitLab
gem 'html-pipeline-gitlab', '~> 0.1.0'

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

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

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

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

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

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

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

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

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

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

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

137 138 139
# Cache
gem "redis-rails"

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

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

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

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

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

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

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

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

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

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

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

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

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

179
gem "sass-rails", '~> 4.0.2'
180 181 182 183 184 185
gem "coffee-rails"
gem "uglifier"
gem 'turbolinks'
gem 'jquery-turbolinks'

gem 'select2-rails'
186
gem 'jquery-atwho-rails', "~> 0.3.3"
187 188
gem "jquery-rails"
gem "jquery-ui-rails"
189
gem "jquery-scrollto-rails"
190
gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
191
gem 'bootstrap-sass', '~> 3.0'
192
gem "font-awesome-rails", '~> 4.2'
Marin Jankovski's avatar
Marin Jankovski committed
193
gem "gitlab_emoji", "~> 0.0.1.1"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
194
gem "gon", '~> 5.0.0'
195
gem 'nprogress-rails'
196
gem 'request_store'
skv's avatar
skv committed
197
gem "virtus"
198
gem 'addressable'
gitlabhq's avatar
gitlabhq committed
199

Nihad Abbasov's avatar
Nihad Abbasov committed
200
group :development do
201
  gem "annotate", "~> 2.6.0.beta2"
202
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
203
  gem 'quiet_assets', '~> 1.0.1'
204
  gem 'rack-mini-profiler', require: false
205

206 207 208
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
209 210 211

  # Docs generator
  gem "sdoc"
212 213 214

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
215 216 217
end

group :development, :test do
218
  gem 'coveralls', require: false
219
  gem 'rubocop', '0.28.0', require: false
220
  # gem 'rails-dev-tweaks'
221
  gem 'spinach-rails'
222
  gem "rspec-rails", '2.99'
223
  gem "capybara", '~> 2.2.1'
224
  gem "pry-rails"
225
  gem "awesome_print"
226
  gem "database_cleaner"
227
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
228
  gem 'factory_girl_rails'
randx's avatar
randx committed
229

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

233 234 235
  # Generate Fake data
  gem "ffaker"

236
  # Guard
randx's avatar
randx committed
237
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
238
  gem 'guard-spinach'
239 240

  # Notification
241 242 243
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
244 245

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

Marin Jankovski's avatar
Marin Jankovski committed
248
  gem 'jasmine', '2.0.2'
249

250
  gem "spring", '1.1.3'
251 252
  gem "spring-commands-rspec", '1.0.1'
  gem "spring-commands-spinach", '1.0.0'
gitlabhq's avatar
gitlabhq committed
253 254 255
end

group :test do
256
  gem "simplecov", require: false
Robert Speicher's avatar
Robert Speicher committed
257
  gem "shoulda-matchers", "~> 2.7.0"
258
  gem 'email_spec'
259
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
260
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
261
end
262 263

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
264
  gem "gitlab_meta", '7.0'
265
  gem "therubyracer"
266
end
Jacob Vosmaer's avatar
Jacob Vosmaer committed
267 268

gem "newrelic_rpm"
Valery Sizov's avatar
Valery Sizov committed
269 270

gem 'octokit', '3.7.0'
271
gem "rugments"