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 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.0'
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 117
# Misc
gem "foreman"

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 136 137 138
# d3
gem "d3_rails", "~> 3.1.4"

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

139 140 141
# Sanitize user input
gem "sanitize"

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

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

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

gem 'select2-rails'
156
gem 'jquery-atwho-rails', "~> 0.3.3"
157 158 159 160
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
161
gem 'bootstrap-sass', '~> 3.0'
162 163
gem "font-awesome-rails", '~> 3.2'
gem "gemoji", "~> 1.3.0"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
164
gem "gon", '~> 5.0.0'
gitlabhq's avatar
gitlabhq committed
165

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

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

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

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

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

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

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

200 201 202
  # Generate Fake data
  gem "ffaker"

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

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

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

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

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

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

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