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

35 36 37
# Browser detection
gem "browser"

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

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

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

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

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

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

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

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

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

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

# Files attachments
73
gem "carrierwave"
74

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

136 137 138
# Cache
gem "redis-rails"

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

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

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

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

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

154 155 156
# d3
gem "d3_rails", "~> 3.1.4"

157 158 159
#cal-heatmap
gem "cal-heatmap-rails", "~> 0.0.1"

160 161 162
# underscore-rails
gem "underscore-rails", "~> 1.4.4"

163
# Sanitize user input
164
gem "sanitize", '~> 2.0'
165

Marin Jankovski's avatar
Marin Jankovski committed
166 167 168
# Protect against bruteforcing
gem "rack-attack"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
169 170 171
# Ace editor
gem 'ace-rails-ap'

172
# Keyboard shortcuts
173 174
gem 'mousetrap-rails'

Job van der Voort's avatar
Job van der Voort committed
175
# Semantic UI Sass for Sidebar
yglukhov's avatar
yglukhov committed
176
gem 'semantic-ui-sass', '~> 1.8.0'
Job van der Voort's avatar
Job van der Voort committed
177

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

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

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

205 206 207
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
208

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
209 210
  gem 'rails_best_practices'

211 212
  # Docs generator
  gem "sdoc"
213 214 215

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

group :development, :test do
219
  gem 'coveralls', require: false
220
  # gem 'rails-dev-tweaks'
221 222
  gem 'spinach-rails'
  gem "rspec-rails"
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"