Gemfile 4.12 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

18
# Supported DBs
19
gem "mysql2", group: :mysql
Devaroop Bhattacharya's avatar
Devaroop Bhattacharya committed
20
gem "pg", group: :postgres
21 22

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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
30
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
31
# Provide access to Gitlab::Git library
32
gem "gitlab_git", '~> 5.1.0'
33

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

37
# LDAP Auth
38
gem 'gitlab_omniauth-ldap', '1.0.4', require: "omniauth-ldap"
39

40
# Git Wiki
41
gem "gitlab-gollum-lib", "~> 1.1.0", require: 'gollum-lib'
42

43
# Language detection
44
gem "gitlab-linguist", "~> 3.0.0", require: "linguist"
45

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

51 52
# Email validation
gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'
randx's avatar
randx committed
53 54 55

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

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

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

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

# Files attachments
68
gem "carrierwave"
69

70
# for aws storage
71
gem "fog", "~> 1.3.1", group: :aws
randx's avatar
randx committed
72 73

# Authorization
74
gem "six"
randx's avatar
randx committed
75 76

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
77
gem "seed-fu"
randx's avatar
randx committed
78 79

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
80
gem "redcarpet",     "~> 2.2.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
81
gem "github-markup", "~> 0.7.4", require: 'github/markup', git: 'https://github.com/gitlabhq/markup.git', ref: '61ade389c1e1c159359338f570d18464a44ddbc4' 
randx's avatar
randx committed
82

Manuel Mendez's avatar
Manuel Mendez committed
83 84 85
# Asciidoc to HTML
gem  "asciidoctor"

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

Andrew8xx8's avatar
Andrew8xx8 committed
92 93 94
# State machine
gem "state_machine"

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

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

# HTTP requests
104
gem "httparty"
randx's avatar
randx committed
105 106

# Colored output to console
107
gem "colored"
randx's avatar
randx committed
108

Riyad Preukschas's avatar
Riyad Preukschas committed
109
# GitLab settings
110
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
111

randx's avatar
randx committed
112 113 114
# Misc
gem "foreman"

115 116 117
# Cache
gem "redis-rails"

118 119 120
# Campfire integration
gem 'tinder', '~> 1.9.2'

121
# HipChat integration
122
gem "hipchat", "~> 0.14.0"
123

124
# Flowdock integration
125
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
126

127 128 129 130 131 132
# d3
gem "d3_rails", "~> 3.1.4"

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

133 134 135
# Sanitize user input
gem "sanitize"

Marin Jankovski's avatar
Marin Jankovski committed
136 137 138
# Protect against bruteforcing
gem "rack-attack"

139 140 141 142 143 144 145 146
gem "sass-rails"
gem "coffee-rails"
gem "uglifier"
gem "therubyracer"
gem 'turbolinks'
gem 'jquery-turbolinks'

gem 'select2-rails'
147
gem 'jquery-atwho-rails', "~> 0.3.3"
148 149 150 151
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
152
gem 'bootstrap-sass', '~> 3.0'
153 154
gem "font-awesome-rails", '~> 3.2'
gem "gemoji", "~> 1.3.0"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
155
gem "gon", '~> 5.0.0'
gitlabhq's avatar
gitlabhq committed
156

Nihad Abbasov's avatar
Nihad Abbasov committed
157
group :development do
158
  gem "annotate", "~> 2.6.0.beta2"
159
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
160
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
161
  gem 'rack-mini-profiler'
162

163 164 165
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
166

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
167 168
  gem 'rails_best_practices'

169 170
  # Docs generator
  gem "sdoc"
171 172 173

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
174 175 176
end

group :development, :test do
177
  gem 'coveralls', require: false
178
  # gem 'rails-dev-tweaks'
179 180 181
  gem 'spinach-rails'
  gem "rspec-rails"
  gem "capybara"
Saito's avatar
Saito committed
182
  gem "pry"
183
  gem "awesome_print"
184
  gem "database_cleaner"
185
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
186
  gem 'factory_girl_rails'
randx's avatar
randx committed
187

188
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
189
  gem 'minitest', '~> 4.7.0'
190

191 192 193
  # Generate Fake data
  gem "ffaker"

194
  # Guard
randx's avatar
randx committed
195
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
196
  gem 'guard-spinach'
197 198

  # Notification
199 200 201
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
202 203

  # PhantomJS driver for Capybara
204
  gem 'poltergeist', '~> 1.4.1'
Andrew8xx8's avatar
Andrew8xx8 committed
205 206

  gem 'spork', '~> 1.0rc'
207
  gem 'jasmine', '2.0.0.rc5'
gitlabhq's avatar
gitlabhq committed
208 209 210
end

group :test do
211
  gem "simplecov", require: false
212
  gem "shoulda-matchers", "~> 2.1.0"
213
  gem 'email_spec'
214
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
215
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
216
end
217 218

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