Gemfile 4.41 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"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
19
# Supported DBs
20 21
gem "mysql2", group: :mysql
gem "pg", group: :postgres
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
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'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
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 50
# Replace with rubygems when nesteted entities get released
gem "grape-entity", "~> 0.4.1", ref: 'd904381c951e86250c3f44213b349a3dd8e83fb1', git: 'https://github.com/intridea/grape-entity.git' 
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
# for aws storage
73
gem "fog", "~> 1.14", 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"
randx's avatar
randx committed
84

Manuel Mendez's avatar
Manuel Mendez committed
85 86 87
# Asciidoc to HTML
gem  "asciidoctor"

88
# Application server
89 90 91 92
group :unicorn do
  gem "unicorn", '~> 4.6.3'
  gem 'unicorn-worker-killer'
end
randx's avatar
randx committed
93

Andrew8xx8's avatar
Andrew8xx8 committed
94 95 96
# State machine
gem "state_machine"

randx's avatar
randx committed
97
# Issue tags
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
98
gem "acts-as-taggable-on"
randx's avatar
randx committed
99 100

# Background jobs
Dmitriy Zaporozhets's avatar
sidekiq  
Dmitriy Zaporozhets committed
101
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
102
gem 'sinatra', require: nil
103
gem 'sidekiq', '2.17.0'
randx's avatar
randx committed
104 105

# HTTP requests
106
gem "httparty"
randx's avatar
randx committed
107 108

# Colored output to console
109
gem "colored"
randx's avatar
randx committed
110

Riyad Preukschas's avatar
Riyad Preukschas committed
111
# GitLab settings
112
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
113

randx's avatar
randx committed
114 115
# Misc
gem "foreman"
Robert Speicher's avatar
Robert Speicher committed
116
gem 'version_sorter'
randx's avatar
randx committed
117

118 119 120
# Cache
gem "redis-rails"

121 122 123
# Campfire integration
gem 'tinder', '~> 1.9.2'

124
# HipChat integration
125
gem "hipchat", "~> 0.14.0"
126

127
# Flowdock integration
128
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
129

130 131 132
# Gemnasium integration
gem "gemnasium-gitlab-service", "~> 0.2"

133 134 135
# Slack integration
gem "slack-notifier", "~> 0.2.0"

136 137 138 139 140 141
# d3
gem "d3_rails", "~> 3.1.4"

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

142
# Sanitize user input
143
gem "sanitize", '~> 2.0'
144

Marin Jankovski's avatar
Marin Jankovski committed
145 146 147
# Protect against bruteforcing
gem "rack-attack"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
148 149 150
# Ace editor
gem 'ace-rails-ap'

151 152 153 154 155 156 157 158
gem "sass-rails"
gem "coffee-rails"
gem "uglifier"
gem "therubyracer"
gem 'turbolinks'
gem 'jquery-turbolinks'

gem 'select2-rails'
159
gem 'jquery-atwho-rails', "~> 0.3.3"
160 161 162
gem "jquery-rails",     "2.1.3"
gem "jquery-ui-rails",  "2.0.2"
gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
163
gem 'bootstrap-sass', '~> 3.0'
164
gem "font-awesome-rails", '~> 3.2'
Marin Jankovski's avatar
Marin Jankovski committed
165
gem "gitlab_emoji", "~> 0.0.1.1"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
166
gem "gon", '~> 5.0.0'
167
gem 'nprogress-rails'
gitlabhq's avatar
gitlabhq committed
168

Nihad Abbasov's avatar
Nihad Abbasov committed
169
group :development do
170
  gem "annotate", "~> 2.6.0.beta2"
171
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
172
  gem 'quiet_assets', '~> 1.0.1'
173
  gem 'rack-mini-profiler', require: false
174

175 176 177
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
178

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
179 180
  gem 'rails_best_practices'

181 182
  # Docs generator
  gem "sdoc"
183 184 185

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
186 187 188
end

group :development, :test do
189
  gem 'coveralls', require: false
190
  # gem 'rails-dev-tweaks'
191 192 193
  gem 'spinach-rails'
  gem "rspec-rails"
  gem "capybara"
Saito's avatar
Saito committed
194
  gem "pry"
195
  gem "awesome_print"
196
  gem "database_cleaner"
197
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
198
  gem 'factory_girl_rails'
randx's avatar
randx committed
199

200
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
201
  gem 'minitest', '~> 4.7.0'
202

203 204 205
  # Generate Fake data
  gem "ffaker"

206
  # Guard
randx's avatar
randx committed
207
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
208
  gem 'guard-spinach'
209 210

  # Notification
211 212 213
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
214 215

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

218
  gem 'jasmine', '2.0.0.rc5'
219 220 221 222

  gem "spring", '1.1.1'
  gem "spring-commands-rspec", '1.0.1'
  gem "spring-commands-spinach", '1.0.0'
gitlabhq's avatar
gitlabhq committed
223 224 225
end

group :test do
226
  gem "simplecov", require: false
227
  gem "shoulda-matchers", "~> 2.1.0"
228
  gem 'email_spec'
229
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
230
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
231
end
232 233

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