OSDN Git Service

Add highlight.js support to markdown, snippets etc
[wvm/gitlab.git] / Gemfile
1 source "https://rubygems.org"
2
3 def darwin_only(require_as)
4   RUBY_PLATFORM.include?('darwin') && require_as
5 end
6
7 def linux_only(require_as)
8   RUBY_PLATFORM.include?('linux') && require_as
9 end
10
11 gem "rails", "~> 4.0.0"
12
13 gem "protected_attributes"
14 gem 'rails-observers'
15 gem 'actionpack-page_caching'
16 gem 'actionpack-action_caching'
17
18 # Supported DBs
19 gem "mysql2", group: :mysql
20 gem "pg", group: :postgres
21
22 # Auth
23 gem "devise", '3.0.4'
24 gem "devise-async", '0.8.0'
25 gem 'omniauth', "~> 1.1.3"
26 gem 'omniauth-google-oauth2'
27 gem 'omniauth-twitter'
28 gem 'omniauth-github'
29
30 # Extracting information from a git repository
31 # Provide access to Gitlab::Git library
32 gem "gitlab_git", "~> 4.0.0"
33
34 # Ruby/Rack Git Smart-HTTP Server Handler
35 gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack'
36
37 # LDAP Auth
38 gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap"
39
40 # Syntax highlighter
41 gem "gitlab-pygments.rb", '~> 0.5.4', require: 'pygments.rb'
42
43 # Git Wiki
44 gem "gitlab-gollum-lib", "~> 1.0.2", require: 'gollum-lib'
45
46 # Language detection
47 gem "gitlab-linguist", "~> 2.9.6", require: "linguist"
48
49 # API
50 gem "grape", "~> 0.6.1"
51 gem "grape-entity", "~> 0.3.0"
52 gem 'rack-cors', require: 'rack/cors'
53
54 # Email validation
55 gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'
56
57 # Format dates and times
58 # based on human-friendly examples
59 gem "stamp"
60
61 # Enumeration fields
62 gem 'enumerize'
63
64 # Pagination
65 gem "kaminari", "~> 0.15.1"
66
67 # HAML
68 gem "haml-rails"
69
70 # Files attachments
71 gem "carrierwave"
72
73 # for aws storage
74 gem "fog", "~> 1.3.1", group: :aws
75
76 # Authorization
77 gem "six"
78
79 # Seed data
80 gem "seed-fu"
81
82 # Markdown to HTML
83 gem "redcarpet",     "~> 2.2.2"
84 gem "github-markup", "~> 0.7.4", require: 'github/markup', git: 'https://github.com/gitlabhq/markup.git', ref: '61ade389c1e1c159359338f570d18464a44ddbc4' 
85
86 # Asciidoc to HTML
87 gem  "asciidoctor"
88
89 # Application server
90 group :unicorn do
91   gem "unicorn", '~> 4.6.3'
92   gem 'unicorn-worker-killer'
93 end
94
95 # State machine
96 gem "state_machine"
97
98 # Issue tags
99 gem "acts-as-taggable-on"
100
101 # Background jobs
102 gem 'slim'
103 gem 'sinatra', require: nil
104 gem 'sidekiq'
105
106 # HTTP requests
107 gem "httparty"
108
109 # Colored output to console
110 gem "colored"
111
112 # GitLab settings
113 gem 'settingslogic'
114
115 # Misc
116 gem "foreman"
117
118 # Cache
119 gem "redis-rails"
120
121 # Campfire integration
122 gem 'tinder', '~> 1.9.2'
123
124 # HipChat integration
125 gem "hipchat", "~> 0.14.0"
126
127 # Flowdock integration
128 gem "gitlab-flowdock-git-hook", "~> 0.4.2"
129
130 # d3
131 gem "d3_rails", "~> 3.1.4"
132
133 # underscore-rails
134 gem "underscore-rails", "~> 1.4.4"
135
136 # Sanitize user input
137 gem "sanitize"
138
139 # Protect against bruteforcing
140 gem "rack-attack"
141
142 gem "sass-rails"
143 gem "coffee-rails"
144 gem "uglifier"
145 gem "therubyracer"
146 gem 'turbolinks'
147 gem 'jquery-turbolinks'
148
149 gem 'select2-rails'
150 gem 'jquery-atwho-rails', "~> 0.3.3"
151 gem "jquery-rails",     "2.1.3"
152 gem "jquery-ui-rails",  "2.0.2"
153 gem "modernizr",        "2.6.2"
154 gem "raphael-rails", "~> 2.1.2"
155 gem 'bootstrap-sass', '~> 3.0'
156 gem "font-awesome-rails", '~> 3.2'
157 gem "gemoji", "~> 1.3.0"
158 gem "gon", '~> 5.0.0'
159
160 group :development do
161   gem "annotate", "~> 2.6.0.beta2"
162   gem "letter_opener"
163   gem 'quiet_assets', '~> 1.0.1'
164   gem 'rack-mini-profiler'
165
166   # Better errors handler
167   gem 'better_errors'
168   gem 'binding_of_caller'
169
170   gem 'rails_best_practices'
171
172   # Docs generator
173   gem "sdoc"
174
175   # thin instead webrick
176   gem 'thin'
177 end
178
179 group :development, :test do
180   gem 'coveralls', require: false
181   # gem 'rails-dev-tweaks'
182   gem 'spinach-rails'
183   gem "rspec-rails"
184   gem "capybara"
185   gem "pry"
186   gem "awesome_print"
187   gem "database_cleaner"
188   gem "launchy"
189   gem 'factory_girl_rails'
190
191   # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
192   gem 'minitest', '~> 4.7.0'
193
194   # Generate Fake data
195   gem "ffaker"
196
197   # Guard
198   gem 'guard-rspec'
199   gem 'guard-spinach'
200
201   # Notification
202   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
203   gem 'growl',      require: darwin_only('growl')
204   gem 'rb-inotify', require: linux_only('rb-inotify')
205
206   # PhantomJS driver for Capybara
207   gem 'poltergeist', '~> 1.4.1'
208
209   gem 'spork', '~> 1.0rc'
210   gem 'jasmine', '2.0.0.rc5'
211 end
212
213 group :test do
214   gem "simplecov", require: false
215   gem "shoulda-matchers", "~> 2.1.0"
216   gem 'email_spec'
217   gem "webmock"
218   gem 'test_after_commit'
219 end
220
221 group :production do
222   gem "gitlab_meta", '6.0'
223 end