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

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", '~> 6.0'
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"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
49
gem "grape-entity", "~> 0.4.2"
50
gem 'rack-cors', require: 'rack/cors'
randx's avatar
randx committed
51 52 53

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

Andrew8xx8's avatar
Andrew8xx8 committed
56 57 58
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
59
# Pagination
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
60
gem "kaminari", "~> 0.15.1"
randx's avatar
randx committed
61 62

# HAML
63
gem "haml-rails"
randx's avatar
randx committed
64 65

# Files attachments
66
gem "carrierwave"
67

68 69 70
# Drag and Drop UI
gem 'dropzonejs-rails'

71
# for aws storage
72
gem "fog", "~> 1.14", group: :aws
73
gem "unf", group: :aws
randx's avatar
randx committed
74 75

# Authorization
76
gem "six"
randx's avatar
randx committed
77 78

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
79
gem "seed-fu"
randx's avatar
randx committed
80 81

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
82
gem "redcarpet",     "~> 2.2.2"
83
gem "github-markup"
84
gem "org-ruby" # For rendering .org files
randx's avatar
randx committed
85

skv-headless's avatar
skv-headless committed
86 87 88
# Diffs
gem 'diffy', '~> 3.0.3'

Manuel Mendez's avatar
Manuel Mendez committed
89 90 91
# Asciidoc to HTML
gem  "asciidoctor"

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

Andrew8xx8's avatar
Andrew8xx8 committed
98 99 100
# State machine
gem "state_machine"

randx's avatar
randx committed
101
# Issue tags
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
102
gem "acts-as-taggable-on"
randx's avatar
randx committed
103 104

# Background jobs
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
105
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
106
gem 'sinatra', require: nil
107
gem 'sidekiq', '2.17.0'
randx's avatar
randx committed
108 109

# HTTP requests
110
gem "httparty"
randx's avatar
randx committed
111 112

# Colored output to console
113
gem "colored"
randx's avatar
randx committed
114

Riyad Preukschas's avatar
Riyad Preukschas committed
115
# GitLab settings
116
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
117

randx's avatar
randx committed
118 119
# Misc
gem "foreman"
Robert Speicher's avatar
Robert Speicher committed
120
gem 'version_sorter'
randx's avatar
randx committed
121

122 123 124
# Cache
gem "redis-rails"

125 126 127
# Campfire integration
gem 'tinder', '~> 1.9.2'

128
# HipChat integration
129
gem "hipchat", "~> 0.14.0"
130

131
# Flowdock integration
132
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
133

134 135 136
# Gemnasium integration
gem "gemnasium-gitlab-service", "~> 0.2"

137
# Slack integration
138
gem "slack-notifier", "~> 0.3.2"
139

140 141 142 143 144 145
# d3
gem "d3_rails", "~> 3.1.4"

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

146
# Sanitize user input
147
gem "sanitize", '~> 2.0'
148

Marin Jankovski's avatar
Marin Jankovski committed
149 150 151
# Protect against bruteforcing
gem "rack-attack"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
152 153 154
# Ace editor
gem 'ace-rails-ap'

Job van der Voort's avatar
Job van der Voort committed
155 156 157
# Semantic UI Sass for Sidebar
gem 'semantic-ui-sass', '~> 0.16.1.0'

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
  gem 'spinach-rails'
  gem "rspec-rails"
201
  gem "capybara", '~> 2.2.1'
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)
Marin Jankovski's avatar
Marin Jankovski committed
209
  gem 'minitest', '~> 5.3.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.5.1'
Andrew8xx8's avatar
Andrew8xx8 committed
225

Marin Jankovski's avatar
Marin Jankovski committed
226
  gem 'jasmine', '2.0.2'
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", '7.0'
243
end