1 source "https://rubygems.org"
3 def darwin_only(require_as)
4 RUBY_PLATFORM.include?('darwin') && require_as
7 def linux_only(require_as)
8 RUBY_PLATFORM.include?('linux') && require_as
11 gem "rails", "~> 4.0.0"
13 gem "protected_attributes"
15 gem 'actionpack-page_caching'
16 gem 'actionpack-action_caching'
17 gem 'activerecord-deprecated_finders'
20 gem "mysql2", group: :mysql
21 gem "pg", group: :postgres
25 gem "devise-async", '0.8.0'
26 gem 'omniauth', "~> 1.1.3"
27 gem 'omniauth-google-oauth2'
28 gem 'omniauth-twitter'
31 # Extracting information from a git repository
32 # Provide access to Gitlab::Git library
33 gem "gitlab_git", "~> 3.1.0", path: '../gitlab_git'
35 # Ruby/Rack Git Smart-HTTP Server Handler
36 gem 'gitlab-grack', '~> 1.1.0', require: 'grack', path: '../grack'
39 gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap"
42 gem "gitlab-pygments.rb", '~> 0.5.4', require: 'pygments.rb'
45 gem "gitlab-gollum-lib", "~> 1.0.2", require: 'gollum-lib'
48 gem "gitlab-linguist", "~> 2.9.6", require: "linguist"
51 gem "grape", "~> 0.4.1"
52 gem "grape-entity", "~> 0.3.0"
53 gem 'rack-cors', require: 'rack/cors'
55 # Format dates and times
56 # based on human-friendly examples
63 gem "kaminari", "~> 0.14.1"
72 gem "fog", "~> 1.3.1", group: :aws
81 gem "redcarpet", "~> 2.2.2"
82 gem "github-markup", "~> 0.7.4", require: 'github/markup'
88 gem "unicorn", '~> 4.6.3', group: :unicorn
94 gem "acts-as-taggable-on"
98 gem 'sinatra', require: nil
104 # Colored output to console
116 # Campfire integration
117 gem 'tinder', '~> 1.9.2'
119 # HipChat integration
120 gem "hipchat", "~> 0.9.0"
122 # Flowdock integration
123 gem "gitlab-flowdock-git-hook", "~> 0.4.2"
126 gem "d3_rails", "~> 3.1.4"
129 gem "underscore-rails", "~> 1.4.4"
131 # Sanitize user input
134 # Protect against bruteforcing
143 gem 'jquery-turbolinks'
145 gem 'chosen-rails', "1.0.1"
147 gem 'jquery-atwho-rails', "0.3.0"
148 gem "jquery-rails", "2.1.3"
149 gem "jquery-ui-rails", "2.0.2"
150 gem "modernizr", "2.6.2"
151 gem "raphael-rails", "~> 2.1.2"
152 gem 'bootstrap-sass', '~> 2.3'
153 gem "font-awesome-rails", '~> 3.2'
154 gem "gemoji", "~> 1.3.0"
158 group :development do
159 gem "annotate", "~> 2.6.0.beta2"
161 gem 'quiet_assets', '~> 1.0.1'
162 gem 'rack-mini-profiler'
164 # Better errors handler
166 gem 'binding_of_caller'
168 gem 'rails_best_practices'
173 # thin instead webrick
177 group :development, :test do
178 gem 'coveralls', require: false
179 # gem 'rails-dev-tweaks'
185 gem "database_cleaner"
187 gem 'factory_girl_rails'
189 # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
190 gem 'minitest', '~> 4.7.0'
200 gem 'rb-fsevent', require: darwin_only('rb-fsevent')
201 gem 'growl', require: darwin_only('growl')
202 gem 'rb-inotify', require: linux_only('rb-inotify')
204 # PhantomJS driver for Capybara
205 gem 'poltergeist', '~> 1.4.1'
207 gem 'spork', '~> 1.0rc'
212 gem "simplecov", require: false
213 gem "shoulda-matchers", "~> 2.1.0"
216 gem 'test_after_commit'
220 gem "gitlab_meta", '6.0'