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", "~> 4.0.0.pre"
35 # Ruby/Rack Git Smart-HTTP Server Handler
36 gem 'gitlab-grack', '~> 2.0.0.pre', require: '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.6.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'
89 gem "unicorn", '~> 4.6.3'
90 gem 'unicorn-worker-killer'
97 gem "acts-as-taggable-on"
101 gem 'sinatra', require: nil
107 # Colored output to console
119 # Campfire integration
120 gem 'tinder', '~> 1.9.2'
122 # HipChat integration
123 gem "hipchat", "~> 0.9.0"
125 # Flowdock integration
126 gem "gitlab-flowdock-git-hook", "~> 0.4.2"
129 gem "d3_rails", "~> 3.1.4"
132 gem "underscore-rails", "~> 1.4.4"
134 # Sanitize user input
137 # Protect against bruteforcing
145 gem 'jquery-turbolinks'
147 gem 'chosen-rails', "1.0.1"
149 gem 'jquery-atwho-rails', "~> 0.3.3"
150 gem "jquery-rails", "2.1.3"
151 gem "jquery-ui-rails", "2.0.2"
152 gem "modernizr", "2.6.2"
153 gem "raphael-rails", "~> 2.1.2"
154 gem 'bootstrap-sass', '~> 2.3'
155 gem "font-awesome-rails", '~> 3.2'
156 gem "gemoji", "~> 1.3.0"
157 gem "gon", git: "https://github.com/gitlabhq/gon.git", ref: '58ca8e17273051cb370182cabd3602d1da6783ab'
159 group :development do
160 gem "annotate", "~> 2.6.0.beta2"
162 gem 'quiet_assets', '~> 1.0.1'
163 gem 'rack-mini-profiler'
165 # Better errors handler
167 gem 'binding_of_caller'
169 gem 'rails_best_practices'
174 # thin instead webrick
178 group :development, :test do
179 gem 'coveralls', require: false
180 # gem 'rails-dev-tweaks'
186 gem "database_cleaner"
188 gem 'factory_girl_rails'
190 # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
191 gem 'minitest', '~> 4.7.0'
201 gem 'rb-fsevent', require: darwin_only('rb-fsevent')
202 gem 'growl', require: darwin_only('growl')
203 gem 'rb-inotify', require: linux_only('rb-inotify')
205 # PhantomJS driver for Capybara
206 gem 'poltergeist', '~> 1.4.1'
208 gem 'spork', '~> 1.0rc'
209 gem 'jasmine', '2.0.0.rc5'
213 gem "simplecov", require: false
214 gem "shoulda-matchers", "~> 2.1.0"
217 gem 'test_after_commit'
221 gem "gitlab_meta", '6.0'