Gemfile 4.52 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
82
gem "github-markup"
Robert Schilling's avatar
Robert Schilling committed
83 84 85 86 87 88 89 90 91

# Required markup gems by github-markdown
gem 'redcarpet', '~> 2.2.2'
gem 'RedCloth'
gem 'rdoc', '~>3.6'
gem 'org-ruby', '= 0.9.1'
gem 'creole', '~>0.3.6'
gem 'wikicloth', '=0.8.1'
gem 'asciidoctor', '= 0.1.4'
randx's avatar
randx committed
92

skv-headless's avatar
skv-headless committed
93 94 95
# Diffs
gem 'diffy', '~> 3.0.3'

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

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

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

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

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

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

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

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

126 127 128
# Cache
gem "redis-rails"

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

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

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

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

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

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

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

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

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

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

Job van der Voort's avatar
Job van der Voort committed
159 160 161
# Semantic UI Sass for Sidebar
gem 'semantic-ui-sass', '~> 0.16.1.0'

162
gem "sass-rails", '~> 4.0.2'
163 164 165 166 167 168 169
gem "coffee-rails"
gem "uglifier"
gem "therubyracer"
gem 'turbolinks'
gem 'jquery-turbolinks'

gem 'select2-rails'
170
gem 'jquery-atwho-rails', "~> 0.3.3"
171 172
gem "jquery-rails"
gem "jquery-ui-rails"
173
gem "jquery-scrollto-rails"
174
gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
175
gem 'bootstrap-sass', '~> 3.0'
176
gem "font-awesome-rails", '~> 3.2'
Marin Jankovski's avatar
Marin Jankovski committed
177
gem "gitlab_emoji", "~> 0.0.1.1"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
178
gem "gon", '~> 5.0.0'
179
gem 'nprogress-rails'
180
gem 'request_store'
skv's avatar
skv committed
181
gem "virtus"
gitlabhq's avatar
gitlabhq committed
182

Nihad Abbasov's avatar
Nihad Abbasov committed
183
group :development do
184
  gem "annotate", "~> 2.6.0.beta2"
185
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
186
  gem 'quiet_assets', '~> 1.0.1'
187
  gem 'rack-mini-profiler', require: false
188

189 190 191
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
192

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
193 194
  gem 'rails_best_practices'

195 196
  # Docs generator
  gem "sdoc"
197 198 199

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
200 201 202
end

group :development, :test do
203
  gem 'coveralls', require: false
204
  # gem 'rails-dev-tweaks'
205 206
  gem 'spinach-rails'
  gem "rspec-rails"
207
  gem "capybara", '~> 2.2.1'
Saito's avatar
Saito committed
208
  gem "pry"
209
  gem "awesome_print"
210
  gem "database_cleaner"
211
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
212
  gem 'factory_girl_rails'
randx's avatar
randx committed
213

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

217 218 219
  # Generate Fake data
  gem "ffaker"

220
  # Guard
randx's avatar
randx committed
221
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
222
  gem 'guard-spinach'
223 224

  # Notification
225 226 227
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
228 229

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

Marin Jankovski's avatar
Marin Jankovski committed
232
  gem 'jasmine', '2.0.2'
233 234 235 236

  gem "spring", '1.1.1'
  gem "spring-commands-rspec", '1.0.1'
  gem "spring-commands-spinach", '1.0.0'
gitlabhq's avatar
gitlabhq committed
237 238 239
end

group :test do
240
  gem "simplecov", require: false
241
  gem "shoulda-matchers", "~> 2.1.0"
242
  gem 'email_spec'
243
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
244
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
245
end
246 247

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
248
  gem "gitlab_meta", '7.0'
249
end