Gemfile 3.6 KB
Newer Older
S
Saito 已提交
1
source "http://rubygems.org"
G
gitlabhq 已提交
2

3 4 5 6 7 8 9 10
def darwin_only(require_as)
  RUBY_PLATFORM.include?('darwin') && require_as
end

def linux_only(require_as)
  RUBY_PLATFORM.include?('linux') && require_as
end

D
Dmitriy Zaporozhets 已提交
11
gem "rails", "3.2.12"
G
gitlabhq 已提交
12

D
Dmitriy Zaporozhets 已提交
13
# Supported DBs
14 15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
D
Dmitriy Zaporozhets 已提交
16 17

# Auth
18
gem "devise"
R
Riyad Preukschas 已提交
19
gem 'omniauth', "~> 1.1.1"
F
Florian Unglaub 已提交
20 21 22
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
D
Dmitriy Zaporozhets 已提交
23 24

# GITLAB patched libs
25
gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '9e98418ce2d654485b967003726aa2706a10060b'
26
gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
D
Dmitriy Zaporozhets 已提交
27
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '2d1b2f13cabc02520405985fccb2a0abfcba9907'
D
Dmitriy Zaporozhets 已提交
28

29 30 31
# LDAP Auth
gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"

32 33 34
# Dump db to yml file. Mostly used to migrate from sqlite to mysql
gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"

V
Valeriy Sizov 已提交
35
# Syntax highlighter
R
Riyad Preukschas 已提交
36
gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
V
Valeriy Sizov 已提交
37 38

# Language detection
39
gem "github-linguist", "~> 2.3.4" , require: "linguist"
V
Valeriy Sizov 已提交
40

R
randx 已提交
41
# API
42 43
gem "grape", "~> 0.3.1"
gem "grape-entity", "~> 0.2.0"
R
randx 已提交
44 45 46

# Format dates and times
# based on human-friendly examples
S
Saito 已提交
47
gem "stamp"
R
randx 已提交
48

A
Andrew8xx8 已提交
49 50 51
# Enumeration fields
gem 'enumerize'

R
randx 已提交
52
# Pagination
R
Riyad Preukschas 已提交
53
gem "kaminari", "~> 0.14.1"
R
randx 已提交
54 55

# HAML
R
Riyad Preukschas 已提交
56
gem "haml-rails", "~> 0.3.5"
R
randx 已提交
57 58

# Files attachments
R
Riyad Preukschas 已提交
59
gem "carrierwave", "~> 0.7.1"
R
randx 已提交
60 61

# Authorization
S
Saito 已提交
62
gem "six"
R
randx 已提交
63 64

# Generate Fake data
N
Nihad Abbasov 已提交
65
gem "ffaker"
R
randx 已提交
66 67

# Seed data
D
Dmitriy Zaporozhets 已提交
68
gem "seed-fu"
R
randx 已提交
69 70

# Markdown to HTML
R
Riyad Preukschas 已提交
71
gem "redcarpet",     "~> 2.2.2"
72
gem "github-markup", "~> 0.7.4", require: 'github/markup'
R
randx 已提交
73 74

# Servers
R
Riyad Preukschas 已提交
75
gem "unicorn", "~> 4.4.0"
R
randx 已提交
76

A
Andrew8xx8 已提交
77 78 79
# State machine
gem "state_machine"

R
randx 已提交
80
# Issue tags
R
Riyad Preukschas 已提交
81
gem "acts-as-taggable-on", "2.3.3"
R
randx 已提交
82 83

# Decorators
R
Riyad Preukschas 已提交
84
gem "draper", "~> 0.18.0"
R
randx 已提交
85 86

# Background jobs
D
sidekiq  
Dmitriy Zaporozhets 已提交
87
gem 'slim'
D
Dmitriy Zaporozhets 已提交
88
gem 'sinatra', require: nil
89
gem 'sidekiq'
R
randx 已提交
90 91

# HTTP requests
A
Ariejan de Vroom 已提交
92
gem "httparty"
R
randx 已提交
93 94

# Colored output to console
95
gem "colored"
R
randx 已提交
96

R
Riyad Preukschas 已提交
97
# GitLab settings
98
gem 'settingslogic'
A
Aleksei Kvitinskii 已提交
99

R
randx 已提交
100 101 102 103
# Misc
gem "foreman"
gem "git"

G
gitlabhq 已提交
104
group :assets do
R
Riyad Preukschas 已提交
105 106 107
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
N
Nihad Abbasov 已提交
108
  gem "therubyracer"
N
Nihad Abbasov 已提交
109

R
Riyad Preukschas 已提交
110
  gem 'chosen-rails',     "0.9.8"
R
Riyad Preukschas 已提交
111
  gem 'jquery-atwho-rails', "0.1.7"
R
Riyad Preukschas 已提交
112 113 114
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
K
Koen Punt 已提交
115
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
D
Dmitriy Zaporozhets 已提交
116
  gem 'bootstrap-sass',   "2.2.1.1"
117
  gem "font-awesome-sass-rails", "~> 3.0.0"
R
Riyad Preukschas 已提交
118
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
119
  gem "gon"
G
gitlabhq 已提交
120 121
end

N
Nihad Abbasov 已提交
122
group :development do
123
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
124
  gem "letter_opener"
R
Riyad Preukschas 已提交
125
  gem 'quiet_assets', '~> 1.0.1'
R
randx 已提交
126
  gem 'rack-mini-profiler'
127 128 129
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
130

D
Dmitriy Zaporozhets 已提交
131 132
  gem 'rails_best_practices'

133 134
  # Docs generator
  gem "sdoc"
135 136 137

  # thin instead webrick
  gem 'thin'
G
gitlabhq 已提交
138 139 140
end

group :development, :test do
141
  gem 'rails-dev-tweaks'
142 143 144
  gem 'spinach-rails', '0.2.0'
  gem "rspec-rails", '2.12.2'
  gem "capybara", '2.0.2'
S
Saito 已提交
145
  gem "pry"
S
Saito 已提交
146
  gem "awesome_print"
147
  gem "database_cleaner"
S
Saito 已提交
148
  gem "launchy"
R
Robert Speicher 已提交
149
  gem 'factory_girl_rails'
R
randx 已提交
150

151
  # Guard
R
randx 已提交
152
  gem 'guard-rspec'
N
Nihad Abbasov 已提交
153
  gem 'guard-spinach'
154 155

  # Notification
156 157 158
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
159 160

  # PhantomJS driver for Capybara
161
  gem 'poltergeist', '1.1.0'
G
gitlabhq 已提交
162 163 164
end

group :test do
165
  gem "simplecov", require: false
R
Riyad Preukschas 已提交
166
  gem "shoulda-matchers", "1.3.0"
167
  gem 'email_spec'
168
  gem "webmock"
A
Alex Denisov 已提交
169
  gem 'test_after_commit'
G
gitlabhq 已提交
170
end
171 172

group :production do
D
Dmitriy Zaporozhets 已提交
173
  gem "gitlab_meta", '5.0'
174
end