2011-11-28 10:34:11 +01:00
|
|
|
source "http://rubygems.org"
|
2011-10-08 23:36:38 +02:00
|
|
|
|
2012-09-10 08:41:51 +02: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-02-11 22:17:34 +01:00
|
|
|
gem "rails", "3.2.12"
|
2011-10-08 23:36:38 +02:00
|
|
|
|
2012-06-20 12:45:26 +02:00
|
|
|
# Supported DBs
|
2012-10-31 12:53:38 +01:00
|
|
|
gem "mysql2", group: :mysql
|
|
|
|
gem "pg", group: :postgres
|
2012-06-20 12:45:26 +02:00
|
|
|
|
|
|
|
# Auth
|
2012-07-06 08:50:24 +02:00
|
|
|
gem "devise", "~> 2.1.0"
|
2012-11-18 21:51:49 +01:00
|
|
|
gem 'omniauth', "~> 1.1.1"
|
2012-08-03 17:27:39 +02:00
|
|
|
gem 'omniauth-google-oauth2'
|
|
|
|
gem 'omniauth-twitter'
|
|
|
|
gem 'omniauth-github'
|
2012-06-20 12:45:26 +02:00
|
|
|
|
|
|
|
# GITLAB patched libs
|
2013-02-25 18:44:37 +01:00
|
|
|
gem "grit", git: "https://github.com/gitlabhq/grit.git", ref: '9e98418ce2d654485b967003726aa2706a10060b'
|
2012-10-31 12:53:38 +01:00
|
|
|
gem 'grack', git: "https://github.com/gitlabhq/grack.git", ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
|
2012-11-28 09:52:38 +01:00
|
|
|
gem 'grit_ext', git: "https://github.com/gitlabhq/grit_ext.git", ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
|
2012-06-20 12:45:26 +02:00
|
|
|
|
2012-12-30 14:15:56 +01:00
|
|
|
# LDAP Auth
|
|
|
|
gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
|
|
|
|
|
2012-12-30 13:54:08 +01:00
|
|
|
# Dump db to yml file. Mostly used to migrate from sqlite to mysql
|
|
|
|
gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
|
|
|
|
|
2012-10-02 15:29:03 +02:00
|
|
|
# Syntax highlighter
|
2012-12-05 02:14:08 +01:00
|
|
|
gem "pygments.rb", git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
|
2012-10-02 15:29:03 +02:00
|
|
|
|
|
|
|
# Language detection
|
2012-10-31 12:53:38 +01:00
|
|
|
gem "github-linguist", "~> 2.3.4" , require: "linguist"
|
2012-10-02 15:29:03 +02:00
|
|
|
|
2012-08-11 21:59:56 +02:00
|
|
|
# API
|
2013-02-26 21:31:45 +01:00
|
|
|
gem "grape", "~> 0.3.1"
|
|
|
|
gem "grape-entity", "~> 0.2.0"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Format dates and times
|
|
|
|
# based on human-friendly examples
|
2011-11-28 10:34:11 +01:00
|
|
|
gem "stamp"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
2013-02-08 13:47:24 +01:00
|
|
|
# Enumeration fields
|
|
|
|
gem 'enumerize'
|
|
|
|
|
2012-08-11 21:59:56 +02:00
|
|
|
# Pagination
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "kaminari", "~> 0.14.1"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# HAML
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "haml-rails", "~> 0.3.5"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Files attachments
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "carrierwave", "~> 0.7.1"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Authorization
|
2011-11-28 10:34:11 +01:00
|
|
|
gem "six"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Generate Fake data
|
2012-05-29 14:35:34 +02:00
|
|
|
gem "ffaker"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Seed data
|
2012-02-11 19:34:25 +01:00
|
|
|
gem "seed-fu"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Markdown to HTML
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "redcarpet", "~> 2.2.2"
|
2012-09-17 17:10:04 +02:00
|
|
|
gem "github-markup", "~> 0.7.4", require: 'github/markup'
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Servers
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "unicorn", "~> 4.4.0"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
2013-02-14 16:33:20 +01:00
|
|
|
# State machine
|
|
|
|
gem "state_machine"
|
|
|
|
|
2012-08-11 21:59:56 +02:00
|
|
|
# Issue tags
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "acts-as-taggable-on", "2.3.3"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Decorators
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "draper", "~> 0.18.0"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Background jobs
|
2013-01-09 06:14:05 +01:00
|
|
|
gem 'slim'
|
2013-02-21 09:00:18 +01:00
|
|
|
gem 'sinatra', require: nil
|
|
|
|
gem 'sidekiq', '2.7.3'
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# HTTP requests
|
2011-12-14 17:38:52 +01:00
|
|
|
gem "httparty"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
|
|
|
# Colored output to console
|
2012-02-29 21:38:24 +01:00
|
|
|
gem "colored"
|
2012-08-11 21:59:56 +02:00
|
|
|
|
2012-11-18 21:51:49 +01:00
|
|
|
# GitLab settings
|
2012-07-02 20:51:48 +02:00
|
|
|
gem 'settingslogic'
|
2011-11-04 08:42:36 +01:00
|
|
|
|
2012-08-11 21:59:56 +02:00
|
|
|
# Misc
|
|
|
|
gem "foreman"
|
|
|
|
gem "git"
|
|
|
|
|
2011-10-08 23:36:38 +02:00
|
|
|
group :assets do
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "sass-rails", "~> 3.2.5"
|
|
|
|
gem "coffee-rails", "~> 3.2.2"
|
|
|
|
gem "uglifier", "~> 1.3.0"
|
2012-05-29 14:22:26 +02:00
|
|
|
gem "therubyracer"
|
2012-06-22 11:00:09 +02:00
|
|
|
|
2012-11-18 21:51:49 +01:00
|
|
|
gem 'chosen-rails', "0.9.8"
|
2012-12-06 15:42:08 +01:00
|
|
|
gem 'jquery-atwho-rails', "0.1.7"
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "jquery-rails", "2.1.3"
|
|
|
|
gem "jquery-ui-rails", "2.0.2"
|
|
|
|
gem "modernizr", "2.6.2"
|
2013-01-04 13:58:58 +01:00
|
|
|
gem "raphael-rails", git: "https://github.com/gitlabhq/raphael-rails.git"
|
2012-11-20 19:01:25 +01:00
|
|
|
gem 'bootstrap-sass', "2.2.1.1"
|
2013-01-10 07:43:25 +01:00
|
|
|
gem "font-awesome-sass-rails", "~> 3.0.0"
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
|
2013-02-19 13:30:37 +01:00
|
|
|
gem "gon"
|
2011-10-08 23:36:38 +02:00
|
|
|
end
|
|
|
|
|
2011-10-27 21:37:17 +02:00
|
|
|
group :development do
|
2012-10-31 12:53:38 +01:00
|
|
|
gem "annotate", git: "https://github.com/ctran/annotate_models.git"
|
2012-11-01 21:45:31 +01:00
|
|
|
gem "letter_opener"
|
2012-11-18 21:51:49 +01:00
|
|
|
gem 'quiet_assets', '~> 1.0.1'
|
2012-08-02 08:48:24 +02:00
|
|
|
gem 'rack-mini-profiler'
|
2012-12-25 23:42:53 +01:00
|
|
|
# Better errors handler
|
|
|
|
gem 'better_errors'
|
|
|
|
gem 'binding_of_caller'
|
2012-12-30 13:43:00 +01:00
|
|
|
|
2013-01-03 20:09:18 +01:00
|
|
|
gem 'rails_best_practices'
|
|
|
|
|
2012-12-30 13:43:00 +01:00
|
|
|
# Docs generator
|
|
|
|
gem "sdoc"
|
2013-01-19 12:56:55 +01:00
|
|
|
|
|
|
|
# thin instead webrick
|
|
|
|
gem 'thin'
|
2011-10-08 23:36:38 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development, :test do
|
2012-10-13 18:13:28 +02:00
|
|
|
gem 'rails-dev-tweaks'
|
2013-02-21 09:28:13 +01:00
|
|
|
gem 'spinach-rails', '0.2.0'
|
|
|
|
gem "rspec-rails", '2.12.2'
|
|
|
|
gem "capybara", '2.0.2'
|
2012-02-13 06:43:58 +01:00
|
|
|
gem "pry"
|
2011-11-28 10:34:11 +01:00
|
|
|
gem "awesome_print"
|
2013-02-21 13:11:04 +01:00
|
|
|
gem "database_cleaner", ref: "9f898fc50d87a5d51760f9dcf374bf5ffda21baf", git: "https://github.com/bmabey/database_cleaner.git"
|
2011-11-28 10:34:11 +01:00
|
|
|
gem "launchy"
|
2012-08-28 07:28:09 +02:00
|
|
|
gem 'factory_girl_rails'
|
2012-09-10 08:26:35 +02:00
|
|
|
|
2012-09-10 08:41:51 +02:00
|
|
|
# Guard
|
2012-09-10 08:26:35 +02:00
|
|
|
gem 'guard-rspec'
|
2012-09-10 15:43:49 +02:00
|
|
|
gem 'guard-spinach'
|
2012-09-10 08:41:51 +02:00
|
|
|
|
|
|
|
# Notification
|
2012-10-31 12:53:38 +01: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 11:27:39 +01:00
|
|
|
|
|
|
|
# PhantomJS driver for Capybara
|
2013-02-21 09:28:13 +01:00
|
|
|
gem 'poltergeist', '1.1.0'
|
2011-10-08 23:36:38 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2012-10-31 12:53:38 +01:00
|
|
|
gem "simplecov", require: false
|
2012-11-18 21:51:49 +01:00
|
|
|
gem "shoulda-matchers", "1.3.0"
|
2012-05-14 20:05:32 +02:00
|
|
|
gem 'email_spec'
|
2012-07-12 14:36:33 +02:00
|
|
|
gem "webmock"
|
2012-09-03 20:46:17 +02:00
|
|
|
gem 'test_after_commit'
|
2011-10-08 23:36:38 +02:00
|
|
|
end
|
2012-08-24 01:21:20 +02:00
|
|
|
|
|
|
|
group :production do
|
2013-02-08 07:55:39 +01:00
|
|
|
gem "gitlab_meta", '5.0'
|
2012-08-24 01:21:20 +02:00
|
|
|
end
|