2013-03-06 11:55:11 -05:00
|
|
|
source "https://rubygems.org"
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2012-09-10 02:41:51 -04:00
|
|
|
def darwin_only(require_as)
|
|
|
|
RUBY_PLATFORM.include?('darwin') && require_as
|
|
|
|
end
|
|
|
|
|
|
|
|
def linux_only(require_as)
|
|
|
|
RUBY_PLATFORM.include?('linux') && require_as
|
|
|
|
end
|
|
|
|
|
2013-12-05 09:26:11 -05:00
|
|
|
gem "rails", "~> 4.0.0"
|
|
|
|
|
|
|
|
gem "protected_attributes"
|
|
|
|
gem 'rails-observers'
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2014-02-26 03:41:44 -05:00
|
|
|
# Default values for AR models
|
|
|
|
gem "default_value_for", "~> 3.0.0"
|
|
|
|
|
2012-06-20 06:45:26 -04:00
|
|
|
# Supported DBs
|
2012-10-31 07:53:38 -04:00
|
|
|
gem "mysql2", group: :mysql
|
|
|
|
gem "pg", group: :postgres
|
2012-06-20 06:45:26 -04:00
|
|
|
|
|
|
|
# Auth
|
2013-12-05 09:26:11 -05:00
|
|
|
gem "devise", '3.0.4'
|
|
|
|
gem "devise-async", '0.8.0'
|
2013-03-02 05:58:47 -05:00
|
|
|
gem 'omniauth', "~> 1.1.3"
|
2012-08-03 11:27:39 -04:00
|
|
|
gem 'omniauth-google-oauth2'
|
|
|
|
gem 'omniauth-twitter'
|
|
|
|
gem 'omniauth-github'
|
2012-06-20 06:45:26 -04:00
|
|
|
|
2013-03-03 15:08:04 -05:00
|
|
|
# Extracting information from a git repository
|
2013-05-14 06:07:39 -04:00
|
|
|
# Provide access to Gitlab::Git library
|
2014-04-04 08:22:03 -04:00
|
|
|
gem "gitlab_git", '~> 5.8'
|
2013-04-27 16:50:17 -04:00
|
|
|
|
2013-03-03 15:08:04 -05:00
|
|
|
# Ruby/Rack Git Smart-HTTP Server Handler
|
2013-12-06 03:08:44 -05:00
|
|
|
gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack'
|
2013-03-03 15:08:04 -05:00
|
|
|
|
2012-12-30 08:15:56 -05:00
|
|
|
# LDAP Auth
|
2014-02-03 02:45:42 -05:00
|
|
|
gem 'gitlab_omniauth-ldap', '1.0.4', require: "omniauth-ldap"
|
2012-12-30 08:15:56 -05:00
|
|
|
|
2013-05-13 15:54:23 -04:00
|
|
|
# Git Wiki
|
2014-04-08 04:20:39 -04:00
|
|
|
gem 'gollum-lib', '~> 3.0.0'
|
2013-05-13 15:54:23 -04:00
|
|
|
|
2012-10-02 09:29:03 -04:00
|
|
|
# Language detection
|
2014-01-30 14:31:10 -05:00
|
|
|
gem "gitlab-linguist", "~> 3.0.0", require: "linguist"
|
2012-10-02 09:29:03 -04:00
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# API
|
2013-12-09 14:50:36 -05:00
|
|
|
gem "grape", "~> 0.6.1"
|
2014-03-17 08:33:21 -04:00
|
|
|
# Replace with rubygems when nesteted entities get released
|
2014-04-08 09:02:53 -04:00
|
|
|
gem "grape-entity", "~> 0.4.2"
|
2013-12-05 03:29:45 -05:00
|
|
|
gem 'rack-cors', require: 'rack/cors'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2014-01-16 06:14:47 -05:00
|
|
|
# Email validation
|
|
|
|
gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'
|
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# Format dates and times
|
|
|
|
# based on human-friendly examples
|
2011-11-28 04:34:11 -05:00
|
|
|
gem "stamp"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2013-02-08 07:47:24 -05:00
|
|
|
# Enumeration fields
|
|
|
|
gem 'enumerize'
|
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# Pagination
|
2014-01-20 07:00:50 -05:00
|
|
|
gem "kaminari", "~> 0.15.1"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# HAML
|
2013-03-01 08:09:11 -05:00
|
|
|
gem "haml-rails"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Files attachments
|
2013-03-01 08:09:11 -05:00
|
|
|
gem "carrierwave"
|
2013-07-08 02:47:31 -04:00
|
|
|
|
2013-05-01 05:41:37 -04:00
|
|
|
# for aws storage
|
2014-04-08 04:20:39 -04:00
|
|
|
gem "fog", "~> 1.14", group: :aws
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Authorization
|
2011-11-28 04:34:11 -05:00
|
|
|
gem "six"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Seed data
|
2012-02-11 13:34:25 -05:00
|
|
|
gem "seed-fu"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Markdown to HTML
|
2012-11-18 15:51:49 -05:00
|
|
|
gem "redcarpet", "~> 2.2.2"
|
2014-04-08 04:20:39 -04:00
|
|
|
gem "github-markup"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2013-05-02 09:22:19 -04:00
|
|
|
# Asciidoc to HTML
|
|
|
|
gem "asciidoctor"
|
|
|
|
|
2013-08-19 15:54:12 -04:00
|
|
|
# Application server
|
2013-12-18 11:06:49 -05:00
|
|
|
group :unicorn do
|
|
|
|
gem "unicorn", '~> 4.6.3'
|
|
|
|
gem 'unicorn-worker-killer'
|
|
|
|
end
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2013-02-14 10:33:20 -05:00
|
|
|
# State machine
|
|
|
|
gem "state_machine"
|
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# Issue tags
|
2013-05-01 06:29:29 -04:00
|
|
|
gem "acts-as-taggable-on"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Background jobs
|
2013-01-09 00:14:05 -05:00
|
|
|
gem 'slim'
|
2013-02-21 03:00:18 -05:00
|
|
|
gem 'sinatra', require: nil
|
2014-04-01 12:37:45 -04:00
|
|
|
gem 'sidekiq', '2.17.0'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# HTTP requests
|
2011-12-14 11:38:52 -05:00
|
|
|
gem "httparty"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
|
|
|
# Colored output to console
|
2012-02-29 15:38:24 -05:00
|
|
|
gem "colored"
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2012-11-18 15:51:49 -05:00
|
|
|
# GitLab settings
|
2012-07-02 14:51:48 -04:00
|
|
|
gem 'settingslogic'
|
2011-11-04 03:42:36 -04:00
|
|
|
|
2012-08-11 15:59:56 -04:00
|
|
|
# Misc
|
|
|
|
gem "foreman"
|
2014-03-08 23:58:56 -05:00
|
|
|
gem 'version_sorter'
|
2012-08-11 15:59:56 -04:00
|
|
|
|
2013-03-06 10:30:48 -05:00
|
|
|
# Cache
|
|
|
|
gem "redis-rails"
|
|
|
|
|
2013-05-22 10:59:15 -04:00
|
|
|
# Campfire integration
|
|
|
|
gem 'tinder', '~> 1.9.2'
|
|
|
|
|
2013-05-23 14:10:32 -04:00
|
|
|
# HipChat integration
|
2013-11-30 06:31:26 -05:00
|
|
|
gem "hipchat", "~> 0.14.0"
|
2013-05-23 14:10:32 -04:00
|
|
|
|
2013-08-19 05:11:36 -04:00
|
|
|
# Flowdock integration
|
2013-10-03 09:29:13 -04:00
|
|
|
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
|
2013-08-19 05:11:36 -04:00
|
|
|
|
2014-02-18 18:09:16 -05:00
|
|
|
# Gemnasium integration
|
|
|
|
gem "gemnasium-gitlab-service", "~> 0.2"
|
|
|
|
|
2014-03-18 13:27:03 -04:00
|
|
|
# Slack integration
|
|
|
|
gem "slack-notifier", "~> 0.2.0"
|
|
|
|
|
2013-05-09 01:00:56 -04:00
|
|
|
# d3
|
|
|
|
gem "d3_rails", "~> 3.1.4"
|
|
|
|
|
|
|
|
# underscore-rails
|
|
|
|
gem "underscore-rails", "~> 1.4.4"
|
|
|
|
|
2013-07-10 06:48:03 -04:00
|
|
|
# Sanitize user input
|
2014-04-08 04:20:39 -04:00
|
|
|
gem "sanitize", '~> 2.0'
|
2013-07-10 06:48:03 -04:00
|
|
|
|
2013-09-24 14:13:25 -04:00
|
|
|
# Protect against bruteforcing
|
|
|
|
gem "rack-attack"
|
|
|
|
|
2014-02-10 09:18:46 -05:00
|
|
|
# Ace editor
|
|
|
|
gem 'ace-rails-ap'
|
|
|
|
|
2013-12-06 10:04:50 -05:00
|
|
|
gem "sass-rails"
|
|
|
|
gem "coffee-rails"
|
|
|
|
gem "uglifier"
|
|
|
|
gem "therubyracer"
|
|
|
|
gem 'turbolinks'
|
|
|
|
gem 'jquery-turbolinks'
|
|
|
|
|
|
|
|
gem 'select2-rails'
|
2013-12-11 11:17:08 -05:00
|
|
|
gem 'jquery-atwho-rails', "~> 0.3.3"
|
2013-12-06 10:04:50 -05:00
|
|
|
gem "jquery-rails", "2.1.3"
|
|
|
|
gem "jquery-ui-rails", "2.0.2"
|
|
|
|
gem "raphael-rails", "~> 2.1.2"
|
2013-12-30 16:53:01 -05:00
|
|
|
gem 'bootstrap-sass', '~> 3.0'
|
2013-12-06 10:04:50 -05:00
|
|
|
gem "font-awesome-rails", '~> 3.2'
|
2014-03-20 08:46:31 -04:00
|
|
|
gem "gitlab_emoji", "~> 0.0.1.1"
|
2014-01-05 06:29:21 -05:00
|
|
|
gem "gon", '~> 5.0.0'
|
2014-03-19 06:59:23 -04:00
|
|
|
gem 'nprogress-rails'
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2011-10-27 15:37:17 -04:00
|
|
|
group :development do
|
2013-10-01 08:15:14 -04:00
|
|
|
gem "annotate", "~> 2.6.0.beta2"
|
2012-11-01 16:45:31 -04:00
|
|
|
gem "letter_opener"
|
2012-11-18 15:51:49 -05:00
|
|
|
gem 'quiet_assets', '~> 1.0.1'
|
2014-02-26 04:50:02 -05:00
|
|
|
gem 'rack-mini-profiler', require: false
|
2013-10-01 08:15:14 -04:00
|
|
|
|
2012-12-25 17:42:53 -05:00
|
|
|
# Better errors handler
|
|
|
|
gem 'better_errors'
|
|
|
|
gem 'binding_of_caller'
|
2012-12-30 07:43:00 -05:00
|
|
|
|
2013-01-03 14:09:18 -05:00
|
|
|
gem 'rails_best_practices'
|
|
|
|
|
2012-12-30 07:43:00 -05:00
|
|
|
# Docs generator
|
|
|
|
gem "sdoc"
|
2013-01-19 06:56:55 -05:00
|
|
|
|
|
|
|
# thin instead webrick
|
|
|
|
gem 'thin'
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development, :test do
|
2013-03-10 14:26:27 -04:00
|
|
|
gem 'coveralls', require: false
|
2013-12-05 09:26:11 -05:00
|
|
|
# gem 'rails-dev-tweaks'
|
2013-03-27 16:21:32 -04:00
|
|
|
gem 'spinach-rails'
|
|
|
|
gem "rspec-rails"
|
|
|
|
gem "capybara"
|
2012-02-13 00:43:58 -05:00
|
|
|
gem "pry"
|
2011-11-28 04:34:11 -05:00
|
|
|
gem "awesome_print"
|
2013-02-28 14:02:41 -05:00
|
|
|
gem "database_cleaner"
|
2011-11-28 04:34:11 -05:00
|
|
|
gem "launchy"
|
2012-08-28 01:28:09 -04:00
|
|
|
gem 'factory_girl_rails'
|
2012-09-10 02:26:35 -04:00
|
|
|
|
2013-05-06 12:53:19 -04:00
|
|
|
# Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
|
2013-06-24 15:03:32 -04:00
|
|
|
gem 'minitest', '~> 4.7.0'
|
2013-05-09 04:02:48 -04:00
|
|
|
|
2013-04-04 03:55:43 -04:00
|
|
|
# Generate Fake data
|
|
|
|
gem "ffaker"
|
|
|
|
|
2012-09-10 02:41:51 -04:00
|
|
|
# Guard
|
2012-09-10 02:26:35 -04:00
|
|
|
gem 'guard-rspec'
|
2012-09-10 09:43:49 -04:00
|
|
|
gem 'guard-spinach'
|
2012-09-10 02:41:51 -04:00
|
|
|
|
|
|
|
# Notification
|
2012-10-31 07:53:38 -04:00
|
|
|
gem 'rb-fsevent', require: darwin_only('rb-fsevent')
|
|
|
|
gem 'growl', require: darwin_only('growl')
|
|
|
|
gem 'rb-inotify', require: linux_only('rb-inotify')
|
2012-11-16 05:27:39 -05:00
|
|
|
|
|
|
|
# PhantomJS driver for Capybara
|
2013-09-11 14:12:33 -04:00
|
|
|
gem 'poltergeist', '~> 1.4.1'
|
2013-03-26 05:13:30 -04:00
|
|
|
|
2013-12-10 09:03:24 -05:00
|
|
|
gem 'jasmine', '2.0.0.rc5'
|
2014-02-15 14:46:15 -05:00
|
|
|
|
|
|
|
gem "spring", '1.1.1'
|
|
|
|
gem "spring-commands-rspec", '1.0.1'
|
|
|
|
gem "spring-commands-spinach", '1.0.0'
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2012-10-31 07:53:38 -04:00
|
|
|
gem "simplecov", require: false
|
2013-05-23 04:54:44 -04:00
|
|
|
gem "shoulda-matchers", "~> 2.1.0"
|
2012-05-14 14:05:32 -04:00
|
|
|
gem 'email_spec'
|
2012-07-12 08:36:33 -04:00
|
|
|
gem "webmock"
|
2012-09-03 14:46:17 -04:00
|
|
|
gem 'test_after_commit'
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
2012-08-23 19:21:20 -04:00
|
|
|
|
|
|
|
group :production do
|
2013-06-22 09:48:34 -04:00
|
|
|
gem "gitlab_meta", '6.0'
|
2012-08-23 19:21:20 -04:00
|
|
|
end
|