Gemfile 4.57 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'
31

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
32
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
33
# Provide access to Gitlab::Git library
34
gem "gitlab_git", '7.0.0.rc5'
35

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

39
# LDAP Auth
40
gem 'gitlab_omniauth-ldap', '1.1.0', require: "omniauth-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 74
gem "fog", "~> 1.14"
gem "unf"
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

# Required markup gems by github-markdown
Andrew Kumanyaev's avatar
Andrew Kumanyaev committed
86
gem 'redcarpet', '~> 3.1.2'
Robert Schilling's avatar
Robert Schilling committed
87 88
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'

160
# Keyboard shortcuts
161 162
gem 'mousetrap-rails'

Job van der Voort's avatar
Job van der Voort committed
163 164 165
# Semantic UI Sass for Sidebar
gem 'semantic-ui-sass', '~> 0.16.1.0'

166
gem "sass-rails", '~> 4.0.2'
167 168 169 170 171 172 173
gem "coffee-rails"
gem "uglifier"
gem "therubyracer"
gem 'turbolinks'
gem 'jquery-turbolinks'

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

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

193 194 195
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
196

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
197 198
  gem 'rails_best_practices'

199 200
  # Docs generator
  gem "sdoc"
201 202 203

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
204 205 206
end

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

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

221 222 223
  # Generate Fake data
  gem "ffaker"

224
  # Guard
randx's avatar
randx committed
225
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
226
  gem 'guard-spinach'
227 228

  # Notification
229 230 231
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
232 233

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

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

238
  gem "spring", '1.1.3'
239 240
  gem "spring-commands-rspec", '1.0.1'
  gem "spring-commands-spinach", '1.0.0'
gitlabhq's avatar
gitlabhq committed
241 242 243
end

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

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
252
  gem "gitlab_meta", '7.0'
253
end
Jacob Vosmaer's avatar
Jacob Vosmaer committed
254 255

gem "newrelic_rpm"