Gemfile 4.42 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

11 12 13 14
gem "rails", "~> 4.0.0"

gem "protected_attributes"
gem 'rails-observers'
gitlabhq's avatar
gitlabhq committed
15

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
24 25
gem "devise", '3.0.4'
gem "devise-async", '0.8.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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
31
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
32
# Provide access to Gitlab::Git library
33
gem "gitlab_git", '~> 5.8'
34

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

38
# LDAP Auth
39
gem 'gitlab_omniauth-ldap', '1.0.4', require: "omniauth-ldap"
40

41
# Git Wiki
42
gem 'gollum-lib', '~> 3.0.0'
43

44
# Language detection
45
gem "gitlab-linguist", "~> 3.0.0", require: "linguist"
46

randx's avatar
randx committed
47
# API
Jeroen van Baarsen's avatar
Jeroen van Baarsen committed
48
gem "grape", "~> 0.6.1"
49
# Replace with rubygems when nesteted entities get released
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
50
gem "grape-entity", "~> 0.4.2"
51
gem 'rack-cors', require: 'rack/cors'
randx's avatar
randx committed
52

53 54 55
# Email validation
gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'

randx's avatar
randx committed
56 57
# Format dates and times
# based on human-friendly examples
58
gem "stamp"
randx's avatar
randx committed
59

Andrew8xx8's avatar
Andrew8xx8 committed
60 61 62
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
63
# Pagination
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
64
gem "kaminari", "~> 0.15.1"
randx's avatar
randx committed
65 66

# HAML
67
gem "haml-rails"
randx's avatar
randx committed
68 69

# Files attachments
70
gem "carrierwave"
71

72 73 74
# Drag and Drop UI
gem 'dropzonejs-rails'

75
# for aws storage
76
gem "fog", "~> 1.14", group: :aws
77
gem "unf", group: :aws
randx's avatar
randx committed
78 79

# Authorization
80
gem "six"
randx's avatar
randx committed
81 82

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
83
gem "seed-fu"
randx's avatar
randx committed
84 85

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
86
gem "redcarpet",     "~> 2.2.2"
87
gem "github-markup"
randx's avatar
randx committed
88

skv-headless's avatar
skv-headless committed
89 90 91
# Diffs
gem 'diffy', '~> 3.0.3'

Manuel Mendez's avatar
Manuel Mendez committed
92 93 94
# Asciidoc to HTML
gem  "asciidoctor"

95
# Application server
96 97 98 99
group :unicorn do
  gem "unicorn", '~> 4.6.3'
  gem 'unicorn-worker-killer'
end
randx's avatar
randx committed
100

Andrew8xx8's avatar
Andrew8xx8 committed
101 102 103
# State machine
gem "state_machine"

randx's avatar
randx committed
104
# Issue tags
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
105
gem "acts-as-taggable-on"
randx's avatar
randx committed
106 107

# Background jobs
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
108
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
109
gem 'sinatra', require: nil
110
gem 'sidekiq', '2.17.0'
randx's avatar
randx committed
111 112

# HTTP requests
113
gem "httparty"
randx's avatar
randx committed
114 115

# Colored output to console
116
gem "colored"
randx's avatar
randx committed
117

Riyad Preukschas's avatar
Riyad Preukschas committed
118
# GitLab settings
119
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
120

randx's avatar
randx committed
121 122
# Misc
gem "foreman"
Robert Speicher's avatar
Robert Speicher committed
123
gem 'version_sorter'
randx's avatar
randx committed
124

125 126 127
# Cache
gem "redis-rails"

128 129 130
# Campfire integration
gem 'tinder', '~> 1.9.2'

131
# HipChat integration
132
gem "hipchat", "~> 0.14.0"
133

134
# Flowdock integration
135
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
136

137 138 139
# Gemnasium integration
gem "gemnasium-gitlab-service", "~> 0.2"

140
# Slack integration
141
gem "slack-notifier", "~> 0.3.2"
142

143 144 145 146 147 148
# d3
gem "d3_rails", "~> 3.1.4"

# underscore-rails
gem "underscore-rails", "~> 1.4.4"

149
# Sanitize user input
150
gem "sanitize", '~> 2.0'
151

Marin Jankovski's avatar
Marin Jankovski committed
152 153 154
# Protect against bruteforcing
gem "rack-attack"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
155 156 157
# Ace editor
gem 'ace-rails-ap'

158
gem "sass-rails", '~> 4.0.2'
159 160 161 162 163 164 165
gem "coffee-rails"
gem "uglifier"
gem "therubyracer"
gem 'turbolinks'
gem 'jquery-turbolinks'

gem 'select2-rails'
166
gem 'jquery-atwho-rails', "~> 0.3.3"
167 168
gem "jquery-rails"
gem "jquery-ui-rails"
169
gem "jquery-scrollto-rails"
170
gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
171
gem 'bootstrap-sass', '~> 3.0'
172
gem "font-awesome-rails", '~> 3.2'
Marin Jankovski's avatar
Marin Jankovski committed
173
gem "gitlab_emoji", "~> 0.0.1.1"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
174
gem "gon", '~> 5.0.0'
175
gem 'nprogress-rails'
gitlabhq's avatar
gitlabhq committed
176

Nihad Abbasov's avatar
Nihad Abbasov committed
177
group :development do
178
  gem "annotate", "~> 2.6.0.beta2"
179
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
180
  gem 'quiet_assets', '~> 1.0.1'
181
  gem 'rack-mini-profiler', require: false
182

183 184 185
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
186

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
187 188
  gem 'rails_best_practices'

189 190
  # Docs generator
  gem "sdoc"
191 192 193

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
194 195 196
end

group :development, :test do
197
  gem 'coveralls', require: false
198
  # gem 'rails-dev-tweaks'
199 200 201
  gem 'spinach-rails'
  gem "rspec-rails"
  gem "capybara"
Saito's avatar
Saito committed
202
  gem "pry"
203
  gem "awesome_print"
204
  gem "database_cleaner"
205
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
206
  gem 'factory_girl_rails'
randx's avatar
randx committed
207

208
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
209
  gem 'minitest', '~> 4.7.0'
210

211 212 213
  # Generate Fake data
  gem "ffaker"

214
  # Guard
randx's avatar
randx committed
215
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
216
  gem 'guard-spinach'
217 218

  # Notification
219 220 221
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
222 223

  # PhantomJS driver for Capybara
224
  gem 'poltergeist', '~> 1.4.1'
Andrew8xx8's avatar
Andrew8xx8 committed
225

226
  gem 'jasmine', '2.0.0.rc5'
227 228 229 230

  gem "spring", '1.1.1'
  gem "spring-commands-rspec", '1.0.1'
  gem "spring-commands-spinach", '1.0.0'
gitlabhq's avatar
gitlabhq committed
231 232 233
end

group :test do
234
  gem "simplecov", require: false
235
  gem "shoulda-matchers", "~> 2.1.0"
236
  gem 'email_spec'
237
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
238
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
239
end
240 241

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
242
  gem "gitlab_meta", '6.0'
243
end