169 lines
3.7 KiB
Ruby
169 lines
3.7 KiB
Ruby
source "http://rubygems.org"
|
|
|
|
def darwin_only(require_as)
|
|
RUBY_PLATFORM.include?('darwin') && require_as
|
|
end
|
|
|
|
def linux_only(require_as)
|
|
RUBY_PLATFORM.include?('linux') && require_as
|
|
end
|
|
|
|
gem "rails", "3.2.12"
|
|
|
|
# Supported DBs
|
|
gem "mysql2", group: :mysql
|
|
gem "pg", group: :postgres
|
|
|
|
# Auth
|
|
gem "devise", "~> 2.1.0"
|
|
gem 'omniauth', "~> 1.1.1"
|
|
gem 'omniauth-google-oauth2'
|
|
gem 'omniauth-twitter'
|
|
gem 'omniauth-github'
|
|
|
|
# GITLAB patched libs
|
|
gem "grit", git: "https://github.com/gitlabhq/grit.git", ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837'
|
|
gem 'grack', git: "https://github.com/gitlabhq/grack.git", ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
|
|
gem 'grit_ext', git: "https://github.com/gitlabhq/grit_ext.git", ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
|
|
|
|
# LDAP Auth
|
|
gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
|
|
|
|
# Dump db to yml file. Mostly used to migrate from sqlite to mysql
|
|
gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
|
|
|
|
# Syntax highlighter
|
|
gem "pygments.rb", git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
|
|
|
|
# Language detection
|
|
gem "github-linguist", "~> 2.3.4" , require: "linguist"
|
|
|
|
# API
|
|
gem "grape", "~> 0.2.1"
|
|
|
|
# Format dates and times
|
|
# based on human-friendly examples
|
|
gem "stamp"
|
|
|
|
# Pagination
|
|
gem "kaminari", "~> 0.14.1"
|
|
|
|
# HAML
|
|
gem "haml-rails", "~> 0.3.5"
|
|
|
|
# Files attachments
|
|
gem "carrierwave", "~> 0.7.1"
|
|
|
|
# Authorization
|
|
gem "six"
|
|
|
|
# Generate Fake data
|
|
gem "ffaker"
|
|
|
|
# Seed data
|
|
gem "seed-fu"
|
|
|
|
# Markdown to HTML
|
|
gem "redcarpet", "~> 2.2.2"
|
|
gem "github-markup", "~> 0.7.4", require: 'github/markup'
|
|
|
|
# Servers
|
|
gem "unicorn", "~> 4.4.0"
|
|
|
|
# State machine
|
|
gem "state_machine"
|
|
|
|
# Issue tags
|
|
gem "acts-as-taggable-on", "2.3.3"
|
|
|
|
# Decorators
|
|
gem "draper", "~> 0.18.0"
|
|
|
|
# Background jobs
|
|
gem 'slim'
|
|
gem 'sinatra', :require => nil
|
|
gem 'sidekiq', '2.6.4'
|
|
|
|
# HTTP requests
|
|
gem "httparty"
|
|
|
|
# Colored output to console
|
|
gem "colored"
|
|
|
|
# GitLab settings
|
|
gem 'settingslogic'
|
|
|
|
# Misc
|
|
gem "foreman"
|
|
gem "git"
|
|
|
|
group :assets do
|
|
gem "sass-rails", "~> 3.2.5"
|
|
gem "coffee-rails", "~> 3.2.2"
|
|
gem "uglifier", "~> 1.3.0"
|
|
gem "therubyracer"
|
|
|
|
gem 'chosen-rails', "0.9.8"
|
|
gem 'jquery-atwho-rails', "0.1.7"
|
|
gem "jquery-rails", "2.1.3"
|
|
gem "jquery-ui-rails", "2.0.2"
|
|
gem "modernizr", "2.6.2"
|
|
gem "raphael-rails", git: "https://github.com/gitlabhq/raphael-rails.git"
|
|
gem 'bootstrap-sass', "2.2.1.1"
|
|
gem "font-awesome-sass-rails", "~> 3.0.0"
|
|
gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
|
|
end
|
|
|
|
group :development do
|
|
gem "annotate", git: "https://github.com/ctran/annotate_models.git"
|
|
gem "letter_opener"
|
|
gem 'quiet_assets', '~> 1.0.1'
|
|
gem 'rack-mini-profiler'
|
|
# Better errors handler
|
|
gem 'better_errors'
|
|
gem 'binding_of_caller'
|
|
|
|
gem 'rails_best_practices'
|
|
|
|
# Docs generator
|
|
gem "sdoc"
|
|
|
|
# thin instead webrick
|
|
gem 'thin'
|
|
end
|
|
|
|
group :development, :test do
|
|
gem 'rails-dev-tweaks'
|
|
gem 'spinach-rails'
|
|
gem "rspec-rails"
|
|
gem "capybara"
|
|
gem "pry"
|
|
gem "awesome_print"
|
|
gem "database_cleaner", ref: "f89c34300e114be99532f14c115b2799a3380ac6", git: "https://github.com/bmabey/database_cleaner.git"
|
|
gem "launchy"
|
|
gem 'factory_girl_rails'
|
|
|
|
# Guard
|
|
gem 'guard-rspec'
|
|
gem 'guard-spinach'
|
|
|
|
# Notification
|
|
gem 'rb-fsevent', require: darwin_only('rb-fsevent')
|
|
gem 'growl', require: darwin_only('growl')
|
|
gem 'rb-inotify', require: linux_only('rb-inotify')
|
|
|
|
# PhantomJS driver for Capybara
|
|
gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '5c2e092001074a8cf09f332d3714e9ba150bc8ca'
|
|
end
|
|
|
|
group :test do
|
|
gem "simplecov", require: false
|
|
gem "shoulda-matchers", "1.3.0"
|
|
gem 'email_spec'
|
|
gem "webmock"
|
|
gem 'test_after_commit'
|
|
end
|
|
|
|
group :production do
|
|
gem "gitlab_meta", '5.0'
|
|
end
|