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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11
gem "rails", "3.2.13"
gitlabhq's avatar
gitlabhq committed
12

13
# Supported DBs
14 15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
16 17

# Auth
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
18
gem "devise", '~> 2.2'
19
gem 'omniauth', "~> 1.1.3"
Florian Unglaub's avatar
Florian Unglaub committed
20 21 22
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
23

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
24
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
25
# Provide access to Gitlab::Git library
26
gem "gitlab_git", "~> 3.0.0.beta1"
27

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
28
# Ruby/Rack Git Smart-HTTP Server Handler
29
gem 'gitlab-grack', '~> 1.0.1', require: 'grack'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
30

31
# LDAP Auth
32
gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap"
33

34
# Syntax highlighter
35
gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
36

37
# Git Wiki
38
gem "gitlab-gollum-lib", "~> 1.0.1", require: 'gollum-lib'
39

40
# Language detection
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
41
gem "github-linguist", require: "linguist"
42

randx's avatar
randx committed
43
# API
44 45
gem "grape", "~> 0.4.1"
gem "grape-entity", "~> 0.3.0"
randx's avatar
randx committed
46 47 48

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

Andrew8xx8's avatar
Andrew8xx8 committed
51 52 53
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
54
# Pagination
Riyad Preukschas's avatar
Riyad Preukschas committed
55
gem "kaminari", "~> 0.14.1"
randx's avatar
randx committed
56 57

# HAML
58
gem "haml-rails"
randx's avatar
randx committed
59 60

# Files attachments
61
gem "carrierwave"
62

63
# for aws storage
64
gem "fog", "~> 1.3.1", group: :aws
randx's avatar
randx committed
65 66

# Authorization
67
gem "six"
randx's avatar
randx committed
68 69

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
70
gem "seed-fu"
randx's avatar
randx committed
71 72

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
73
gem "redcarpet",     "~> 2.2.2"
74
gem "github-markup", "~> 0.7.4", require: 'github/markup'
randx's avatar
randx committed
75

Manuel Mendez's avatar
Manuel Mendez committed
76 77 78
# Asciidoc to HTML
gem  "asciidoctor"

79
# Application server
80
gem "unicorn", '~> 4.6.3', group: :unicorn
randx's avatar
randx committed
81

Andrew8xx8's avatar
Andrew8xx8 committed
82 83 84
# State machine
gem "state_machine"

randx's avatar
randx committed
85
# Issue tags
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
86
gem "acts-as-taggable-on"
randx's avatar
randx committed
87 88

# Background jobs
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
89
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
90
gem 'sinatra', require: nil
91
gem 'sidekiq'
randx's avatar
randx committed
92 93

# HTTP requests
94
gem "httparty"
randx's avatar
randx committed
95 96

# Colored output to console
97
gem "colored"
randx's avatar
randx committed
98

Riyad Preukschas's avatar
Riyad Preukschas committed
99
# GitLab settings
100
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
101

randx's avatar
randx committed
102 103 104
# Misc
gem "foreman"

105 106 107
# Cache
gem "redis-rails"

108 109 110
# Campfire integration
gem 'tinder', '~> 1.9.2'

111 112 113
# HipChat integration
gem "hipchat", "~> 0.9.0"

114
# Flowdock integration
115
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
116

117 118 119 120 121 122
# d3
gem "d3_rails", "~> 3.1.4"

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

123 124 125
# Sanitize user input
gem "sanitize"

Marin Jankovski's avatar
Marin Jankovski committed
126 127 128
# Protect against bruteforcing
gem "rack-attack"

gitlabhq's avatar
gitlabhq committed
129
group :assets do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
130 131 132
  gem "sass-rails"
  gem "coffee-rails"
  gem "uglifier"
Nihad Abbasov's avatar
Nihad Abbasov committed
133
  gem "therubyracer"
134 135
  gem 'turbolinks'
  gem 'jquery-turbolinks'
136

137
  gem 'chosen-rails',     "1.0.0"
138
  gem 'select2-rails'
139
  gem 'jquery-atwho-rails', "0.3.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
140 141 142
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
143
  gem "raphael-rails", "~> 2.1.2"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
144
  gem 'bootstrap-sass'
145
  gem "font-awesome-rails"
Riyad Preukschas's avatar
Riyad Preukschas committed
146
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
147
  gem "gon"
gitlabhq's avatar
gitlabhq committed
148 149
end

Nihad Abbasov's avatar
Nihad Abbasov committed
150
group :development do
151
  gem "annotate", "~> 2.6.0.beta2"
152
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
153
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
154
  gem 'rack-mini-profiler'
155

156 157 158
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
159

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
160 161
  gem 'rails_best_practices'

162 163
  # Docs generator
  gem "sdoc"
164 165 166

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
167 168 169
end

group :development, :test do
170
  gem 'coveralls', require: false
171
  gem 'rails-dev-tweaks'
172 173 174
  gem 'spinach-rails'
  gem "rspec-rails"
  gem "capybara"
Saito's avatar
Saito committed
175
  gem "pry"
176
  gem "awesome_print"
177
  gem "database_cleaner"
178
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
179
  gem 'factory_girl_rails'
randx's avatar
randx committed
180

181
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
182
  gem 'minitest', '~> 4.7.0'
183

184 185 186
  # Generate Fake data
  gem "ffaker"

187
  # Guard
randx's avatar
randx committed
188
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
189
  gem 'guard-spinach'
190 191

  # Notification
192 193 194
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
195 196

  # PhantomJS driver for Capybara
197
  gem 'poltergeist', '~> 1.4.1'
Andrew8xx8's avatar
Andrew8xx8 committed
198 199

  gem 'spork', '~> 1.0rc'
200
  gem 'jasmine'
gitlabhq's avatar
gitlabhq committed
201 202 203
end

group :test do
204
  gem "simplecov", require: false
205
  gem "shoulda-matchers", "~> 2.1.0"
206
  gem 'email_spec'
207
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
208
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
209
end
210 211

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