Gemfile 3.69 KB
Newer Older
1
source "http://rubygems.org"
gitlabhq's avatar
gitlabhq committed
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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11
gem "rails", "3.2.12"
gitlabhq's avatar
gitlabhq committed
12

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
13
# Supported DBs
14
15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
16
17

# Auth
Nihad Abbasov's avatar
Nihad Abbasov committed
18
gem "devise", "~> 2.1.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
19
gem 'omniauth', "~> 1.1.1"
Florian Unglaub's avatar
Florian Unglaub committed
20
21
22
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
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'
27
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
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"

35
# Syntax highlighter
Riyad Preukschas's avatar
Riyad Preukschas committed
36
gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
37
38

# Language detection
39
gem "github-linguist", "~> 2.3.4" , require: "linguist"
40

randx's avatar
randx committed
41
# API
42
43
gem "grape", "~> 0.3.1"
gem "grape-entity", "~> 0.2.0"
randx's avatar
randx committed
44
45
46

# Format dates and times
# based on human-friendly examples
47
gem "stamp"
randx's avatar
randx committed
48
49

# Pagination
Riyad Preukschas's avatar
Riyad Preukschas committed
50
gem "kaminari", "~> 0.14.1"
randx's avatar
randx committed
51
52

# HAML
Riyad Preukschas's avatar
Riyad Preukschas committed
53
gem "haml-rails", "~> 0.3.5"
randx's avatar
randx committed
54
55

# Files attachments
Riyad Preukschas's avatar
Riyad Preukschas committed
56
gem "carrierwave", "~> 0.7.1"
randx's avatar
randx committed
57
58

# Authorization
59
gem "six"
randx's avatar
randx committed
60
61

# Generate Fake data
Nihad Abbasov's avatar
Nihad Abbasov committed
62
gem "ffaker"
randx's avatar
randx committed
63
64

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
65
gem "seed-fu"
randx's avatar
randx committed
66
67

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
68
gem "redcarpet",     "~> 2.2.2"
69
gem "github-markup", "~> 0.7.4", require: 'github/markup'
randx's avatar
randx committed
70
71

# Servers
Riyad Preukschas's avatar
Riyad Preukschas committed
72
gem "unicorn", "~> 4.4.0"
randx's avatar
randx committed
73

Andrew8xx8's avatar
Andrew8xx8 committed
74
75
76
# State machine
gem "state_machine"

randx's avatar
randx committed
77
# Issue tags
Riyad Preukschas's avatar
Riyad Preukschas committed
78
gem "acts-as-taggable-on", "2.3.3"
randx's avatar
randx committed
79
80

# Decorators
Riyad Preukschas's avatar
Riyad Preukschas committed
81
gem "draper", "~> 0.18.0"
randx's avatar
randx committed
82
83

# Background jobs
Dmitriy Zaporozhets's avatar
sidekiq    
Dmitriy Zaporozhets committed
84
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
85
86
gem 'sinatra', require: nil
gem 'sidekiq', '2.7.3'
randx's avatar
randx committed
87
88

# HTTP requests
89
gem "httparty"
randx's avatar
randx committed
90
91

# Colored output to console
92
gem "colored"
randx's avatar
randx committed
93

Riyad Preukschas's avatar
Riyad Preukschas committed
94
# GitLab settings
95
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
96

randx's avatar
randx committed
97
98
99
100
# Misc
gem "foreman"
gem "git"

gitlabhq's avatar
gitlabhq committed
101
group :assets do
Riyad Preukschas's avatar
Riyad Preukschas committed
102
103
104
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
Nihad Abbasov's avatar
Nihad Abbasov committed
105
  gem "therubyracer"
106

Riyad Preukschas's avatar
Riyad Preukschas committed
107
  gem 'chosen-rails',     "0.9.8"
108
  gem 'jquery-atwho-rails', "0.1.7"
Riyad Preukschas's avatar
Riyad Preukschas committed
109
110
111
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
Koen Punt's avatar
Koen Punt committed
112
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
113
  gem 'bootstrap-sass',   "2.2.1.1"
114
  gem "font-awesome-sass-rails", "~> 3.0.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
115
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
gitlabhq's avatar
gitlabhq committed
116
117
end

Nihad Abbasov's avatar
Nihad Abbasov committed
118
group :development do
119
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
120
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
121
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
122
  gem 'rack-mini-profiler'
123
124
125
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
126

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
127
128
  gem 'rails_best_practices'

129
130
  # Docs generator
  gem "sdoc"
131
132
133

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
134
135
136
end

group :development, :test do
137
  gem 'rails-dev-tweaks'
138
139
140
  gem 'spinach-rails', '0.2.0'
  gem "rspec-rails", '2.12.2'
  gem "capybara", '2.0.2'
Saito's avatar
Saito committed
141
  gem "pry"
142
  gem "awesome_print"
143
  gem "database_cleaner", ref: "9f898fc50d87a5d51760f9dcf374bf5ffda21baf", git: "https://github.com/bmabey/database_cleaner.git"
144
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
145
  gem 'factory_girl_rails'
randx's avatar
randx committed
146

147
  # Guard
randx's avatar
randx committed
148
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
149
  gem 'guard-spinach'
150
151

  # Notification
152
153
154
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
155
156

  # PhantomJS driver for Capybara
157
  gem 'poltergeist', '1.1.0'
gitlabhq's avatar
gitlabhq committed
158
159
160
end

group :test do
161
  gem "simplecov", require: false
Riyad Preukschas's avatar
Riyad Preukschas committed
162
  gem "shoulda-matchers", "1.3.0"
163
  gem 'email_spec'
164
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
165
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
166
end
167
168

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
169
  gem "gitlab_meta", '5.0'
170
end