2013-03-06 16:55:11 +00:00
|
|
|
source "https://rubygems.org"
|
2011-10-08 21:36:38 +00:00
|
|
|
|
2012-09-10 06:41:51 +00: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-10-24 15:17:53 +00:00
|
|
|
gem "rails", "3.2.15"
|
2011-10-08 21:36:38 +00:00
|
|
|
|
2012-06-20 10:45:26 +00:00
|
|
|
# Supported DBs
|
2012-10-31 11:53:38 +00:00
|
|
|
gem "mysql2", group: :mysql
|
|
|
|
gem "pg", group: :postgres
|
2012-06-20 10:45:26 +00:00
|
|
|
|
|
|
|
# Auth
|
2013-08-08 16:45:03 +00:00
|
|
|
gem "devise", '~> 2.2'
|
2013-10-09 12:25:31 +00:00
|
|
|
gem "devise-async"
|
2013-03-02 10:58:47 +00:00
|
|
|
gem 'omniauth', "~> 1.1.3"
|
2012-08-03 15:27:39 +00:00
|
|
|
gem 'omniauth-google-oauth2'
|
|
|
|
gem 'omniauth-twitter'
|
|
|
|
gem 'omniauth-github'
|
2012-06-20 10:45:26 +00:00
|
|
|
|
2013-03-03 20:08:04 +00:00
|
|
|
# Extracting information from a git repository
|
2013-05-14 10:07:39 +00:00
|
|
|
# Provide access to Gitlab::Git library
|
2013-11-25 10:32:47 +00:00
|
|
|
gem "gitlab_git", "~> 3.1.0"
|
2013-04-27 20:50:17 +00:00
|
|
|
|
2013-03-03 20:08:04 +00:00
|
|
|
# Ruby/Rack Git Smart-HTTP Server Handler
|
2013-06-10 09:36:22 +00:00
|
|
|
gem 'gitlab-grack', '~> 1.0.1', require: 'grack'
|
2013-03-03 20:08:04 +00:00
|
|
|
|
2012-12-30 13:15:56 +00:00
|
|
|
# LDAP Auth
|
2013-06-13 07:07:06 +00:00
|
|
|
gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap"
|
2012-12-30 13:15:56 +00:00
|
|
|
|
2012-10-02 13:29:03 +00:00
|
|
|
# Syntax highlighter
|
2013-11-25 10:32:47 +00:00
|
|
|
gem "gitlab-pygments.rb", '~> 0.5.4', require: 'pygments.rb'
|
2012-10-02 13:29:03 +00:00
|
|
|
|
2013-05-13 19:54:23 +00:00
|
|
|
# Git Wiki
|
2013-11-25 10:32:47 +00:00
|
|
|
gem "gitlab-gollum-lib", "~> 1.0.2", require: 'gollum-lib'
|
2013-05-13 19:54:23 +00:00
|
|
|
|
2012-10-02 13:29:03 +00:00
|
|
|
# Language detection
|
2013-11-25 14:53:44 +00:00
|
|
|
gem "gitlab-linguist", "~> 2.9.6", require: "linguist"
|
2012-10-02 13:29:03 +00:00
|
|
|
|
2012-08-11 19:59:56 +00:00
|
|
|
# API
|
2013-05-27 14:14:47 +00:00
|
|
|
gem "grape", "~> 0.4.1"
|
|
|
|
gem "grape-entity", "~> 0.3.0"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Format dates and times
|
|
|
|
# based on human-friendly examples
|
2011-11-28 09:34:11 +00:00
|
|
|
gem "stamp"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
2013-02-08 12:47:24 +00:00
|
|
|
# Enumeration fields
|
|
|
|
gem 'enumerize'
|
|
|
|
|
2012-08-11 19:59:56 +00:00
|
|
|
# Pagination
|
2012-11-18 20:51:49 +00:00
|
|
|
gem "kaminari", "~> 0.14.1"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# HAML
|
2013-03-01 13:09:11 +00:00
|
|
|
gem "haml-rails"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Files attachments
|
2013-03-01 13:09:11 +00:00
|
|
|
gem "carrierwave"
|
2013-07-08 06:47:31 +00:00
|
|
|
|
2013-05-01 09:41:37 +00:00
|
|
|
# for aws storage
|
2013-07-08 06:47:31 +00:00
|
|
|
gem "fog", "~> 1.3.1", group: :aws
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Authorization
|
2011-11-28 09:34:11 +00:00
|
|
|
gem "six"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Seed data
|
2012-02-11 18:34:25 +00:00
|
|
|
gem "seed-fu"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Markdown to HTML
|
2012-11-18 20:51:49 +00:00
|
|
|
gem "redcarpet", "~> 2.2.2"
|
2012-09-17 15:10:04 +00:00
|
|
|
gem "github-markup", "~> 0.7.4", require: 'github/markup'
|
2012-08-11 19:59:56 +00:00
|
|
|
|
2013-05-02 13:22:19 +00:00
|
|
|
# Asciidoc to HTML
|
|
|
|
gem "asciidoctor"
|
|
|
|
|
2013-08-19 19:54:12 +00:00
|
|
|
# Application server
|
2013-07-08 06:47:31 +00:00
|
|
|
gem "unicorn", '~> 4.6.3', group: :unicorn
|
2012-08-11 19:59:56 +00:00
|
|
|
|
2013-02-14 15:33:20 +00:00
|
|
|
# State machine
|
|
|
|
gem "state_machine"
|
|
|
|
|
2012-08-11 19:59:56 +00:00
|
|
|
# Issue tags
|
2013-05-01 10:29:29 +00:00
|
|
|
gem "acts-as-taggable-on"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Background jobs
|
2013-01-09 05:14:05 +00:00
|
|
|
gem 'slim'
|
2013-02-21 08:00:18 +00:00
|
|
|
gem 'sinatra', require: nil
|
2013-03-01 12:36:12 +00:00
|
|
|
gem 'sidekiq'
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# HTTP requests
|
2011-12-14 16:38:52 +00:00
|
|
|
gem "httparty"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
|
|
|
# Colored output to console
|
2012-02-29 20:38:24 +00:00
|
|
|
gem "colored"
|
2012-08-11 19:59:56 +00:00
|
|
|
|
2012-11-18 20:51:49 +00:00
|
|
|
# GitLab settings
|
2012-07-02 18:51:48 +00:00
|
|
|
gem 'settingslogic'
|
2011-11-04 07:42:36 +00:00
|
|
|
|
2012-08-11 19:59:56 +00:00
|
|
|
# Misc
|
|
|
|
gem "foreman"
|
|
|
|
|
2013-03-06 15:30:48 +00:00
|
|
|
# Cache
|
|
|
|
gem "redis-rails"
|
|
|
|
|
2013-05-22 14:59:15 +00:00
|
|
|
# Campfire integration
|
|
|
|
gem 'tinder', '~> 1.9.2'
|
|
|
|
|
2013-05-23 18:10:32 +00:00
|
|
|
# HipChat integration
|
|
|
|
gem "hipchat", "~> 0.9.0"
|
|
|
|
|
2013-08-19 09:11:36 +00:00
|
|
|
# Flowdock integration
|
2013-10-03 13:29:13 +00:00
|
|
|
gem "gitlab-flowdock-git-hook", "~> 0.4.2"
|
2013-08-19 09:11:36 +00:00
|
|
|
|
2013-05-09 05:00:56 +00:00
|
|
|
# d3
|
|
|
|
gem "d3_rails", "~> 3.1.4"
|
|
|
|
|
|
|
|
# underscore-rails
|
|
|
|
gem "underscore-rails", "~> 1.4.4"
|
|
|
|
|
2013-07-10 10:48:03 +00:00
|
|
|
# Sanitize user input
|
|
|
|
gem "sanitize"
|
|
|
|
|
2013-09-24 18:13:25 +00:00
|
|
|
# Protect against bruteforcing
|
|
|
|
gem "rack-attack"
|
|
|
|
|
2011-10-08 21:36:38 +00:00
|
|
|
group :assets do
|
2013-05-01 10:29:29 +00:00
|
|
|
gem "sass-rails"
|
|
|
|
gem "coffee-rails"
|
|
|
|
gem "uglifier"
|
2012-05-29 12:22:26 +00:00
|
|
|
gem "therubyracer"
|
2013-04-29 07:10:45 +00:00
|
|
|
gem 'turbolinks'
|
|
|
|
gem 'jquery-turbolinks'
|
2012-06-22 09:00:09 +00:00
|
|
|
|
2013-11-25 16:57:08 +00:00
|
|
|
gem 'chosen-rails', "1.0.1"
|
2013-03-13 19:36:26 +00:00
|
|
|
gem 'select2-rails'
|
2013-05-03 15:39:18 +00:00
|
|
|
gem 'jquery-atwho-rails', "0.3.0"
|
2012-11-18 20:51:49 +00:00
|
|
|
gem "jquery-rails", "2.1.3"
|
|
|
|
gem "jquery-ui-rails", "2.0.2"
|
|
|
|
gem "modernizr", "2.6.2"
|
2013-08-31 22:04:22 +00:00
|
|
|
gem "raphael-rails", "~> 2.1.2"
|
2013-05-23 07:05:07 +00:00
|
|
|
gem 'bootstrap-sass'
|
2013-07-17 15:35:28 +00:00
|
|
|
gem "font-awesome-rails"
|
2012-11-18 20:51:49 +00:00
|
|
|
gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
|
2013-02-19 12:30:37 +00:00
|
|
|
gem "gon"
|
2011-10-08 21:36:38 +00:00
|
|
|
end
|
|
|
|
|
2011-10-27 19:37:17 +00:00
|
|
|
group :development do
|
2013-10-01 12:15:14 +00:00
|
|
|
gem "annotate", "~> 2.6.0.beta2"
|
2012-11-01 20:45:31 +00:00
|
|
|
gem "letter_opener"
|
2012-11-18 20:51:49 +00:00
|
|
|
gem 'quiet_assets', '~> 1.0.1'
|
2012-08-02 06:48:24 +00:00
|
|
|
gem 'rack-mini-profiler'
|
2013-10-01 12:15:14 +00:00
|
|
|
|
2012-12-25 22:42:53 +00:00
|
|
|
# Better errors handler
|
|
|
|
gem 'better_errors'
|
|
|
|
gem 'binding_of_caller'
|
2012-12-30 12:43:00 +00:00
|
|
|
|
2013-01-03 19:09:18 +00:00
|
|
|
gem 'rails_best_practices'
|
|
|
|
|
2012-12-30 12:43:00 +00:00
|
|
|
# Docs generator
|
|
|
|
gem "sdoc"
|
2013-01-19 11:56:55 +00:00
|
|
|
|
|
|
|
# thin instead webrick
|
|
|
|
gem 'thin'
|
2011-10-08 21:36:38 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development, :test do
|
2013-03-10 18:26:27 +00:00
|
|
|
gem 'coveralls', require: false
|
2012-10-13 16:13:28 +00:00
|
|
|
gem 'rails-dev-tweaks'
|
2013-03-27 20:21:32 +00:00
|
|
|
gem 'spinach-rails'
|
|
|
|
gem "rspec-rails"
|
|
|
|
gem "capybara"
|
2012-02-13 05:43:58 +00:00
|
|
|
gem "pry"
|
2011-11-28 09:34:11 +00:00
|
|
|
gem "awesome_print"
|
2013-02-28 19:02:41 +00:00
|
|
|
gem "database_cleaner"
|
2011-11-28 09:34:11 +00:00
|
|
|
gem "launchy"
|
2012-08-28 05:28:09 +00:00
|
|
|
gem 'factory_girl_rails'
|
2012-09-10 06:26:35 +00:00
|
|
|
|
2013-05-06 16:53:19 +00:00
|
|
|
# Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
|
2013-06-24 19:03:32 +00:00
|
|
|
gem 'minitest', '~> 4.7.0'
|
2013-05-09 08:02:48 +00:00
|
|
|
|
2013-04-04 07:55:43 +00:00
|
|
|
# Generate Fake data
|
|
|
|
gem "ffaker"
|
|
|
|
|
2012-09-10 06:41:51 +00:00
|
|
|
# Guard
|
2012-09-10 06:26:35 +00:00
|
|
|
gem 'guard-rspec'
|
2012-09-10 13:43:49 +00:00
|
|
|
gem 'guard-spinach'
|
2012-09-10 06:41:51 +00:00
|
|
|
|
|
|
|
# Notification
|
2012-10-31 11:53:38 +00: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 10:27:39 +00:00
|
|
|
|
|
|
|
# PhantomJS driver for Capybara
|
2013-09-11 18:12:33 +00:00
|
|
|
gem 'poltergeist', '~> 1.4.1'
|
2013-03-26 09:13:30 +00:00
|
|
|
|
|
|
|
gem 'spork', '~> 1.0rc'
|
2013-06-05 12:50:11 +00:00
|
|
|
gem 'jasmine'
|
2011-10-08 21:36:38 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2012-10-31 11:53:38 +00:00
|
|
|
gem "simplecov", require: false
|
2013-05-23 08:54:44 +00:00
|
|
|
gem "shoulda-matchers", "~> 2.1.0"
|
2012-05-14 18:05:32 +00:00
|
|
|
gem 'email_spec'
|
2012-07-12 12:36:33 +00:00
|
|
|
gem "webmock"
|
2012-09-03 18:46:17 +00:00
|
|
|
gem 'test_after_commit'
|
2011-10-08 21:36:38 +00:00
|
|
|
end
|
2012-08-23 23:21:20 +00:00
|
|
|
|
|
|
|
group :production do
|
2013-06-22 13:48:34 +00:00
|
|
|
gem "gitlab_meta", '6.0'
|
2012-08-23 23:21:20 +00:00
|
|
|
end
|