Gemfile 3.82 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", '2.3.1'
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 115 116 117 118 119
# d3
gem "d3_rails", "~> 3.1.4"

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

120 121 122
# Sanitize user input
gem "sanitize"

Marin Jankovski's avatar
Marin Jankovski committed
123 124 125
# Protect against bruteforcing
gem "rack-attack"

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

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

Nihad Abbasov's avatar
Nihad Abbasov committed
147
group :development do
148
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
149
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
150
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
151
  gem 'rack-mini-profiler'
152 153 154
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
155

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
156 157
  gem 'rails_best_practices'

158 159
  # Docs generator
  gem "sdoc"
160 161 162

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
163 164 165
end

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

177
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
178
  gem 'minitest', '~> 4.7.0'
179

180 181 182
  # Generate Fake data
  gem "ffaker"

183
  # Guard
randx's avatar
randx committed
184
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
185
  gem 'guard-spinach'
186 187

  # Notification
188 189 190
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
191 192

  # PhantomJS driver for Capybara
193
  gem 'poltergeist', '~> 1.4.1'
Andrew8xx8's avatar
Andrew8xx8 committed
194 195

  gem 'spork', '~> 1.0rc'
196
  gem 'jasmine'
gitlabhq's avatar
gitlabhq committed
197 198 199
end

group :test do
200
  gem "simplecov", require: false
201
  gem "shoulda-matchers", "~> 2.1.0"
202
  gem 'email_spec'
203
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
204
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
205
end
206 207

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