Gemfile 3.8 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.9"
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
N
Nihad Abbasov 已提交
18
gem "devise", "~> 2.1.0"
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 26 27
gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837'
gem "omniauth-ldap", git: "https://github.com/gitlabhq/omniauth-ldap.git",  ref: 'f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e'
gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
28
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
D
Dmitriy Zaporozhets 已提交
29

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

33 34 35
# Gitolite client (for work with gitolite-admin repo)
gem "gitolite", '1.1.0'

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

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

R
randx 已提交
42
# API
43
gem "grape", "~> 0.2.1"
R
randx 已提交
44 45 46

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

# Pagination
R
Riyad Preukschas 已提交
50
gem "kaminari", "~> 0.14.1"
R
randx 已提交
51 52

# HAML
R
Riyad Preukschas 已提交
53
gem "haml-rails", "~> 0.3.5"
R
randx 已提交
54 55

# Files attachments
R
Riyad Preukschas 已提交
56
gem "carrierwave", "~> 0.7.1"
R
randx 已提交
57 58

# Authorization
S
Saito 已提交
59
gem "six"
R
randx 已提交
60 61

# Generate Fake data
N
Nihad Abbasov 已提交
62
gem "ffaker"
R
randx 已提交
63 64

# Seed data
D
Dmitriy Zaporozhets 已提交
65
gem "seed-fu"
R
randx 已提交
66 67

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

# Servers
72
gem "thin", '~> 1.5.0'
R
Riyad Preukschas 已提交
73
gem "unicorn", "~> 4.4.0"
R
randx 已提交
74 75

# Issue tags
R
Riyad Preukschas 已提交
76
gem "acts-as-taggable-on", "2.3.3"
R
randx 已提交
77 78

# Decorators
R
Riyad Preukschas 已提交
79
gem "draper", "~> 0.18.0"
R
randx 已提交
80 81

# Background jobs
82
gem "resque", git: "https://github.com/gitlabhq/resque.git", ref: "9ef4700306dd946a3ac000612428967ce0c32213"
R
randx 已提交
83 84 85
gem 'resque_mailer'

# HTTP requests
A
Ariejan de Vroom 已提交
86
gem "httparty"
R
randx 已提交
87 88

# Colored output to console
89
gem "colored"
R
randx 已提交
90

R
Riyad Preukschas 已提交
91
# GitLab settings
92
gem 'settingslogic'
A
Aleksei Kvitinskii 已提交
93

R
randx 已提交
94 95 96 97
# Misc
gem "foreman"
gem "git"

G
gitlabhq 已提交
98
group :assets do
R
Riyad Preukschas 已提交
99 100 101
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
N
Nihad Abbasov 已提交
102
  gem "therubyracer"
N
Nihad Abbasov 已提交
103

R
Riyad Preukschas 已提交
104
  gem 'chosen-rails',     "0.9.8"
R
Riyad Preukschas 已提交
105
  gem 'jquery-atwho-rails', "0.1.7"
R
Riyad Preukschas 已提交
106 107 108
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
109
  gem "raphael-rails",    "1.5.2"
D
Dmitriy Zaporozhets 已提交
110
  gem 'bootstrap-sass',   "2.2.1.1"
R
Riyad Preukschas 已提交
111
  gem "font-awesome-sass-rails", "~> 2.0.0"
R
Riyad Preukschas 已提交
112
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
G
gitlabhq 已提交
113 114
end

N
Nihad Abbasov 已提交
115
group :development do
116
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
117
  gem "letter_opener"
R
Riyad Preukschas 已提交
118
  gem 'quiet_assets', '~> 1.0.1'
R
randx 已提交
119
  gem 'rack-mini-profiler'
120 121 122
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
123 124 125

  # Docs generator
  gem "sdoc"
G
gitlabhq 已提交
126 127 128
end

group :development, :test do
129
  gem 'rails-dev-tweaks'
N
Nihad Abbasov 已提交
130
  gem 'spinach-rails'
S
Saito 已提交
131 132
  gem "rspec-rails"
  gem "capybara"
S
Saito 已提交
133
  gem "pry"
S
Saito 已提交
134
  gem "awesome_print"
135
  gem "database_cleaner", ref: "f89c34300e114be99532f14c115b2799a3380ac6", git: "https://github.com/bmabey/database_cleaner.git"
S
Saito 已提交
136
  gem "launchy"
R
Robert Speicher 已提交
137
  gem 'factory_girl_rails'
R
randx 已提交
138

139
  # Guard
R
randx 已提交
140
  gem 'guard-rspec'
N
Nihad Abbasov 已提交
141
  gem 'guard-spinach'
142 143

  # Notification
144 145 146
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
147 148

  # PhantomJS driver for Capybara
149
  gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '5c2e092001074a8cf09f332d3714e9ba150bc8ca'
G
gitlabhq 已提交
150 151 152
end

group :test do
153
  gem "simplecov", require: false
R
Riyad Preukschas 已提交
154
  gem "shoulda-matchers", "1.3.0"
155
  gem 'email_spec'
156
  gem 'resque_spec'
157
  gem "webmock"
A
Alex Denisov 已提交
158
  gem 'test_after_commit'
G
gitlabhq 已提交
159
end
160 161

group :production do
D
Dmitriy Zaporozhets 已提交
162
  gem "gitlab_meta", '4.0'
163
end