Gemfile 4.16 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 20
gem "mysql2", group: :mysql
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.4.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 53
# Email validation
gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'

randx's avatar
randx committed
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"

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
139 140 141
# Ace editor
gem 'ace-rails-ap'

142 143 144 145 146 147 148 149
gem "sass-rails"
gem "coffee-rails"
gem "uglifier"
gem "therubyracer"
gem 'turbolinks'
gem 'jquery-turbolinks'

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

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

166 167 168
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
169

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
170 171
  gem 'rails_best_practices'

172 173
  # Docs generator
  gem "sdoc"
174 175 176

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
177 178 179
end

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

191
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
192
  gem 'minitest', '~> 4.7.0'
193

194 195 196
  # Generate Fake data
  gem "ffaker"

197
  # Guard
randx's avatar
randx committed
198
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
199
  gem 'guard-spinach'
200 201

  # Notification
202 203 204
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
205 206

  # PhantomJS driver for Capybara
207
  gem 'poltergeist', '~> 1.4.1'
Andrew8xx8's avatar
Andrew8xx8 committed
208 209

  gem 'spork', '~> 1.0rc'
210
  gem 'jasmine', '2.0.0.rc5'
gitlabhq's avatar
gitlabhq committed
211 212 213
end

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

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