Gemfile 4.43 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 15 16
gem "rails", "~> 4.0.0"

gem "protected_attributes"
gem 'rails-observers'
gem 'actionpack-page_caching'
gem 'actionpack-action_caching'
gitlabhq's avatar
gitlabhq committed
17

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
18 19 20
# Default values for AR models
gem "default_value_for", "~> 3.0.0"

21
# Supported DBs
22 23
gem "mysql2", group: :mysql
gem "pg", group: :postgres
24 25

# Auth
26 27
gem "devise", '3.0.4'
gem "devise-async", '0.8.0'
28
gem 'omniauth', "~> 1.1.3"
Florian Unglaub's avatar
Florian Unglaub committed
29 30 31
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
32

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
33
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
34
# Provide access to Gitlab::Git library
35
gem "gitlab_git", '~> 5.7.1'
36

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

40
# LDAP Auth
41
gem 'gitlab_omniauth-ldap', '1.0.4', require: "omniauth-ldap"
42

43
# Git Wiki
44
gem "gitlab-gollum-lib", "~> 1.1.0", require: 'gollum-lib'
45

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

randx's avatar
randx committed
49
# API
Jeroen van Baarsen's avatar
Jeroen van Baarsen committed
50
gem "grape", "~> 0.6.1"
51
gem "grape-entity", "~> 0.3.0"
52
gem 'rack-cors', require: 'rack/cors'
randx's avatar
randx committed
53

54 55 56
# Email validation
gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'

randx's avatar
randx committed
57 58
# Format dates and times
# based on human-friendly examples
59
gem "stamp"
randx's avatar
randx committed
60

Andrew8xx8's avatar
Andrew8xx8 committed
61 62 63
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
64
# Pagination
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
65
gem "kaminari", "~> 0.15.1"
randx's avatar
randx committed
66 67

# HAML
68
gem "haml-rails"
randx's avatar
randx committed
69 70

# Files attachments
71
gem "carrierwave"
72

73
# for aws storage
74
gem "fog", "~> 1.3.1", 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
Riyad Preukschas's avatar
Riyad Preukschas committed
83
gem "redcarpet",     "~> 2.2.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
84
gem "github-markup", "~> 0.7.4", require: 'github/markup', git: 'https://github.com/gitlabhq/markup.git', ref: '61ade389c1e1c159359338f570d18464a44ddbc4' 
randx's avatar
randx committed
85

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

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

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

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

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

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

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

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

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

119 120 121
# Cache
gem "redis-rails"

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

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

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

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

134 135 136 137 138 139
# d3
gem "d3_rails", "~> 3.1.4"

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

140 141 142
# Sanitize user input
gem "sanitize"

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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
146 147 148
# Ace editor
gem 'ace-rails-ap'

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

gem 'select2-rails'
157
gem 'jquery-atwho-rails', "~> 0.3.3"
158 159 160 161
gem "jquery-rails",     "2.1.3"
gem "jquery-ui-rails",  "2.0.2"
gem "modernizr",        "2.6.2"
gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
162
gem 'bootstrap-sass', '~> 3.0'
163 164
gem "font-awesome-rails", '~> 3.2'
gem "gemoji", "~> 1.3.0"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
165
gem "gon", '~> 5.0.0'
gitlabhq's avatar
gitlabhq committed
166

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

173 174 175
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
176

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
177 178
  gem 'rails_best_practices'

179 180
  # Docs generator
  gem "sdoc"
181 182 183

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
184 185 186
end

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

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

201 202 203
  # Generate Fake data
  gem "ffaker"

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

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

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

  gem 'spork', '~> 1.0rc'
217
  gem 'jasmine', '2.0.0.rc5'
218 219 220 221

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

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

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