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
gem 'net-ldap'
41

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

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

randx's avatar
randx committed
48
# API
Jeroen van Baarsen's avatar
Jeroen van Baarsen committed
49
gem "grape", "~> 0.6.1"
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

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

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

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

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

# Files attachments
67
gem "carrierwave"
68

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

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

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

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

# Markdown to HTML
83
gem "github-markup"
Robert Schilling's avatar
Robert Schilling committed
84 85 86 87 88

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

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

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

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

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

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

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

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

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

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

127 128 129
# Cache
gem "redis-rails"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

218 219 220
  # Generate Fake data
  gem "ffaker"

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

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

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

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

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

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

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