Gemfile 7.78 KB
Newer Older
1 2
# frozen_string_literal: true

Jonne Haß's avatar
Jonne Haß committed
3
source "https://rubygems.org"
Raphael Sofaer's avatar
Raphael Sofaer committed
4

Benjamin Neff's avatar
Benjamin Neff committed
5
gem "rails", "5.1.6"
Jonne Haß's avatar
Jonne Haß committed
6 7

# Legacy Rails features, remove me!
Jonne Haß's avatar
Jonne Haß committed
8
# responders (class level)
Benjamin Neff's avatar
Benjamin Neff committed
9
gem "responders", "2.4.0"
Jonne Haß's avatar
Jonne Haß committed
10

Jonne Haß's avatar
Jonne Haß committed
11
# Appserver
Maxwell Salzberg's avatar
Maxwell Salzberg committed
12

Benjamin Neff's avatar
Benjamin Neff committed
13
gem "unicorn", "5.4.1", require: false
Lukas Matt's avatar
Lukas Matt committed
14
gem "unicorn-worker-killer", "0.4.4"
15

16 17
# Federation

Benjamin Neff's avatar
Benjamin Neff committed
18 19
gem "diaspora_federation-json_schema", "0.2.5"
gem "diaspora_federation-rails", "0.2.5"
20

Jonne Haß's avatar
Jonne Haß committed
21
# API and JSON
David McMullin's avatar
David McMullin committed
22

Steffen van Bergerem's avatar
Steffen van Bergerem committed
23
gem "acts_as_api", "1.0.1"
Benjamin Neff's avatar
Benjamin Neff committed
24
gem "json",        "2.1.0"
Benjamin Neff's avatar
Benjamin Neff committed
25
gem "json-schema", "2.8.1"
David McMullin's avatar
David McMullin committed
26

Jonne Haß's avatar
Jonne Haß committed
27
# Authentication
28

Benjamin Neff's avatar
Benjamin Neff committed
29
gem "devise", "4.5.0"
Jonne Haß's avatar
Jonne Haß committed
30
gem "devise_lastseenable", "0.0.6"
31

maruf's avatar
maruf committed
32 33
# Captcha

Steffen van Bergerem's avatar
Steffen van Bergerem committed
34
gem "simple_captcha2", "0.4.3", require: "simple_captcha"
maruf's avatar
maruf committed
35

Jonne Haß's avatar
Jonne Haß committed
36
# Background processing
37

Benjamin Neff's avatar
Benjamin Neff committed
38
gem "redis", "3.3.5" # Pinned to 3.3.x because of https://github.com/antirez/redis/issues/4272
Benjamin Neff's avatar
Benjamin Neff committed
39
gem "sidekiq", "5.2.3"
40

41 42
# Scheduled processing

Benjamin Neff's avatar
Benjamin Neff committed
43
gem "sidekiq-cron", "1.0.4"
44

Jonne Haß's avatar
Jonne Haß committed
45 46
# Compression

Benjamin Neff's avatar
Benjamin Neff committed
47
gem "uglifier", "4.1.19"
Jonne Haß's avatar
Jonne Haß committed
48

Jonne Haß's avatar
Jonne Haß committed
49
# Configuration
50

51
gem "configurate", "0.3.1"
52

Jonne Haß's avatar
Jonne Haß committed
53
# Cross-origin resource sharing
54

Benjamin Neff's avatar
Benjamin Neff committed
55
gem "rack-cors", "1.0.2", require: "rack/cors"
Raphael Sofaer's avatar
Raphael Sofaer committed
56

Jonne Haß's avatar
Jonne Haß committed
57 58
# CSS

Benjamin Neff's avatar
Benjamin Neff committed
59
gem "autoprefixer-rails",     "8.6.5"
60
gem "bootstrap-sass",         "3.3.7"
Benjamin Neff's avatar
Benjamin Neff committed
61
gem "bootstrap-switch-rails", "3.3.4"
Benjamin Neff's avatar
Benjamin Neff committed
62
gem "compass-rails",          "3.1.0"
Benjamin Neff's avatar
Benjamin Neff committed
63
gem "sass-rails",             "5.0.7"
Benjamin Neff's avatar
Benjamin Neff committed
64
gem "sprockets-rails",        "3.2.1"
Jonne Haß's avatar
Jonne Haß committed
65

Jonne Haß's avatar
Jonne Haß committed
66
# Database
maxwell's avatar
maxwell committed
67

68
group :mysql, optional: true do
Benjamin Neff's avatar
Benjamin Neff committed
69
  gem "mysql2", "0.5.2"
70 71
end
group :postgresql, optional: true do
Benjamin Neff's avatar
Benjamin Neff committed
72
  gem "pg",     "1.1.3"
73
end
74 75


Benjamin Neff's avatar
Benjamin Neff committed
76
gem "activerecord-import", "0.27.0"
Raphael Sofaer's avatar
Raphael Sofaer committed
77

Jonne Haß's avatar
Jonne Haß committed
78
# File uploading
79

Benjamin Neff's avatar
Benjamin Neff committed
80
gem "carrierwave", "1.2.3"
Benjamin Neff's avatar
Benjamin Neff committed
81
gem "fog-aws",     "3.3.0"
Benjamin Neff's avatar
Benjamin Neff committed
82
gem "mini_magick", "4.9.2"
83

Jonne Haß's avatar
Jonne Haß committed
84
# GUID generation
Benjamin Neff's avatar
Benjamin Neff committed
85
gem "uuid", "2.3.9"
Jonne Haß's avatar
Jonne Haß committed
86

Jonne Haß's avatar
Jonne Haß committed
87 88
# Icons

Steffen van Bergerem's avatar
Steffen van Bergerem committed
89
gem "entypo-rails", "3.0.0"
Jonne Haß's avatar
Jonne Haß committed
90 91 92

# JavaScript

Benjamin Neff's avatar
Benjamin Neff committed
93
gem "handlebars_assets", "0.23.2"
94
gem "jquery-rails",      "4.3.3"
Benjamin Neff's avatar
Benjamin Neff committed
95
gem "js-routes",         "1.4.4"
Dennis Schubert's avatar
Dennis Schubert committed
96
gem "js_image_paths",    "0.1.1"
97 98

source "https://rails-assets.org" do
99
  gem "rails-assets-jquery",                              "3.3.1" # Should be kept in sync with jquery-rails
100
  gem "rails-assets-jquery.ui",                           "1.11.4"
101

102
  gem "rails-assets-highlightjs",                         "9.12.0"
103
  gem "rails-assets-markdown-it",                         "8.4.2"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
104
  gem "rails-assets-markdown-it-hashtag",                 "0.4.0"
105
  gem "rails-assets-markdown-it-diaspora-mention",        "1.2.0"
106
  gem "rails-assets-markdown-it-sanitizer",               "0.4.3"
107
  gem "rails-assets-markdown-it--markdown-it-for-inline", "0.1.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
108 109
  gem "rails-assets-markdown-it-sub",                     "1.0.0"
  gem "rails-assets-markdown-it-sup",                     "1.0.0"
110 111

  gem "rails-assets-backbone",                            "1.3.3"
112
  gem "rails-assets-bootstrap-markdown",                  "2.10.0"
113
  gem "rails-assets-corejs-typeahead",                    "1.2.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
114
  gem "rails-assets-fine-uploader",                       "5.13.0"
115 116 117

  # jQuery plugins

Benjamin Neff's avatar
Benjamin Neff committed
118
  gem "rails-assets-autosize",                            "4.0.2"
119
  gem "rails-assets-blueimp-gallery",                     "2.33.0"
120
  gem "rails-assets-jquery.are-you-sure",                 "1.9.0"
121 122
  gem "rails-assets-jquery-placeholder",                  "2.3.1"
  gem "rails-assets-jquery-textchange",                   "0.2.3"
123
  gem "rails-assets-utatti-perfect-scrollbar",            "1.4.0"
124
end
125

126 127
gem "markdown-it-html5-embed", "1.0.0"

Jonne Haß's avatar
Jonne Haß committed
128
# Localization
129

Benjamin Neff's avatar
Benjamin Neff committed
130
gem "http_accept_language", "2.1.1"
Jonne Haß's avatar
Jonne Haß committed
131
gem "i18n-inflector-rails", "1.0.7"
Benjamin Neff's avatar
Benjamin Neff committed
132
gem "rails-i18n",           "5.1.2"
buddhamagnet's avatar
buddhamagnet committed
133

Jonne Haß's avatar
Jonne Haß committed
134
# Mail
buddhamagnet's avatar
buddhamagnet committed
135

Jonne Haß's avatar
Jonne Haß committed
136
gem "markerb",             "1.1.0"
buddhamagnet's avatar
buddhamagnet committed
137

zaziemo's avatar
zaziemo committed
138
# Map
Benjamin Neff's avatar
Benjamin Neff committed
139
gem "leaflet-rails",       "1.3.1"
zaziemo's avatar
zaziemo committed
140

Jonne Haß's avatar
Jonne Haß committed
141
# Parsing
buddhamagnet's avatar
buddhamagnet committed
142

Benjamin Neff's avatar
Benjamin Neff committed
143
gem "nokogiri",          "1.8.5"
144
gem "open_graph_reader", "0.6.2" # also update User-Agent in features/support/webmock.rb
Steffen van Bergerem's avatar
Steffen van Bergerem committed
145
gem "redcarpet",         "3.4.0"
Benjamin Neff's avatar
Benjamin Neff committed
146
gem "ruby-oembed",       "0.12.0"
Benjamin Neff's avatar
Benjamin Neff committed
147
gem "twitter-text",      "1.14.7"
148

149 150
# RTL support

Benjamin Neff's avatar
Benjamin Neff committed
151
gem "string-direction", "1.2.1"
152

153 154
# Security Headers

Benjamin Neff's avatar
Benjamin Neff committed
155
gem "secure_headers", "6.0.0"
156

Jonne Haß's avatar
Jonne Haß committed
157
# Services
zhitomirskiyi's avatar
zhitomirskiyi committed
158

Benjamin Neff's avatar
Benjamin Neff committed
159
gem "omniauth",           "1.8.1"
Jonne Haß's avatar
Jonne Haß committed
160
gem "omniauth-tumblr",    "1.2"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
161
gem "omniauth-twitter",   "1.4.0"
Jonne Haß's avatar
Jonne Haß committed
162
gem "omniauth-wordpress", "0.2.2"
Benjamin Neff's avatar
Benjamin Neff committed
163
gem "twitter",            "6.2.0"
164

augier's avatar
augier committed
165
# OpenID Connect
166
gem "openid_connect", "1.1.6"
augier's avatar
augier committed
167

Jonne Haß's avatar
Jonne Haß committed
168 169
# Serializers

170
gem "active_model_serializers", "0.9.7"
Jonne Haß's avatar
Jonne Haß committed
171

172
# XMPP chat dependencies
173
gem "diaspora-prosody-config",    "0.0.7"
174
gem "rails-assets-diaspora_jsxc", "0.1.5.develop.7", source: "https://rails-assets.org"
175

Jonne Haß's avatar
Jonne Haß committed
176
# Tags
buddhamagnet's avatar
buddhamagnet committed
177

Benjamin Neff's avatar
Benjamin Neff committed
178
gem "acts-as-taggable-on", "6.0.0"
buddhamagnet's avatar
buddhamagnet committed
179 180 181

# URIs and HTTP

Benjamin Neff's avatar
Benjamin Neff committed
182
gem "addressable",        "2.5.2", require: "addressable/uri"
Benjamin Neff's avatar
Benjamin Neff committed
183
gem "faraday",            "0.15.3"
Benjamin Neff's avatar
Benjamin Neff committed
184
gem "faraday_middleware", "0.12.2"
Jonne Haß's avatar
Jonne Haß committed
185
gem "faraday-cookie_jar", "0.0.6"
Benjamin Neff's avatar
Benjamin Neff committed
186
gem "typhoeus",           "1.3.1"
buddhamagnet's avatar
buddhamagnet committed
187

Jonne Haß's avatar
Jonne Haß committed
188
# Views
189

Benjamin Neff's avatar
Benjamin Neff committed
190
gem "gon",                     "6.2.1"
Benjamin Neff's avatar
Benjamin Neff committed
191
gem "hamlit",                  "2.9.1"
Benjamin Neff's avatar
Benjamin Neff committed
192
gem "mobile-fu",               "1.4.0"
cmrd Senya's avatar
cmrd Senya committed
193
gem "rails-timeago",           "2.16.0"
Benjamin Neff's avatar
Benjamin Neff committed
194
gem "will_paginate",           "3.1.6"
buddhamagnet's avatar
buddhamagnet committed
195

196 197
# Logging

Benjamin Neff's avatar
Benjamin Neff committed
198
gem "logging-rails", "0.6.0", require: "logging/rails"
199

200 201
# Reading and writing zip files

Benjamin Neff's avatar
Benjamin Neff committed
202
gem "rubyzip", "1.2.2", require: "zip"
Jonne Haß's avatar
Jonne Haß committed
203

204 205 206 207 208
# Prevent occasions where minitest is not bundled in
# packaged versions of ruby. See following issues/prs:
# https://github.com/gitlabhq/gitlabhq/issues/3826
# https://github.com/gitlabhq/gitlabhq/pull/3852
# https://github.com/discourse/discourse/pull/238
Jonne Haß's avatar
Jonne Haß committed
209
gem "minitest"
210

Benjamin Neff's avatar
Benjamin Neff committed
211
gem "versionist", "1.7.0"
theworldbright's avatar
theworldbright committed
212

Jonne Haß's avatar
Jonne Haß committed
213
# Windows and OSX have an execjs compatible runtime built-in, Linux users should
Jonne Haß's avatar
Jonne Haß committed
214
# install Node.js or use "therubyracer".
Jonne Haß's avatar
Jonne Haß committed
215 216
#
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
Jonne Haß's avatar
Jonne Haß committed
217

Jonne Haß's avatar
Jonne Haß committed
218
# gem "therubyracer", :platform => :ruby
219

Jonne Haß's avatar
Jonne Haß committed
220
group :production do # we don"t install these on travis to speed up test runs
Jonne Haß's avatar
Jonne Haß committed
221
  # Analytics
222

Jonne Haß's avatar
Jonne Haß committed
223 224
  gem "rack-google-analytics", "1.2.0"
  gem "rack-piwik",            "0.3.0",  require: "rack/piwik"
225

Jonne Haß's avatar
Jonne Haß committed
226
  # Process management
227

Benjamin Neff's avatar
Benjamin Neff committed
228
  gem "eye", "0.10.0"
229

Jonne Haß's avatar
Jonne Haß committed
230
  # Redirects
231

Jonne Haß's avatar
Jonne Haß committed
232 233
  gem "rack-rewrite", "1.5.1", require: false
  gem "rack-ssl",     "1.4.1", require: "rack/ssl"
234

Jonne Haß's avatar
Jonne Haß committed
235
  # Third party asset hosting
buddhamagnet's avatar
buddhamagnet committed
236

Benjamin Neff's avatar
Benjamin Neff committed
237
  gem "asset_sync", "2.5.0", require: false
238 239
end

buddhamagnet's avatar
buddhamagnet committed
240
group :development do
Jonne Haß's avatar
Jonne Haß committed
241
  # Automatic test runs
Benjamin Neff's avatar
Benjamin Neff committed
242
  gem "guard",          "2.14.2", require: false
Dennis Schubert's avatar
Dennis Schubert committed
243
  gem "guard-cucumber", "2.1.2", require: false
Jonne Haß's avatar
Jonne Haß committed
244
  gem "guard-rspec",    "4.7.3", require: false
Benjamin Neff's avatar
Benjamin Neff committed
245
  gem "guard-rubocop",  "1.3.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
246
  gem "rb-fsevent",     "0.10.3", require: false
Benjamin Neff's avatar
Benjamin Neff committed
247
  gem "rb-inotify",     "0.9.10", require: false
Jonne Haß's avatar
Jonne Haß committed
248

249
  # Linters
Benjamin Neff's avatar
Benjamin Neff committed
250
  gem "haml_lint",      "0.28.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
251
  gem "pronto",         "0.9.5", require: false
252 253
  gem "pronto-eslint",  "0.9.1", require: false
  gem "pronto-haml",    "0.9.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
254
  gem "pronto-rubocop", "0.9.1", require: false
255
  gem "pronto-scss",    "0.9.1", require: false
Benjamin Neff's avatar
Benjamin Neff committed
256
  gem "rubocop",        "0.60.0", require: false
257

Jonne Haß's avatar
Jonne Haß committed
258 259
  # Preloading environment

Benjamin Neff's avatar
Benjamin Neff committed
260
  gem "spring", "2.0.2"
Jonne Haß's avatar
Jonne Haß committed
261 262
  gem "spring-commands-rspec", "1.0.4"
  gem "spring-commands-cucumber", "1.0.1"
263 264

  # Debugging
Jonne Haß's avatar
Jonne Haß committed
265 266
  gem "pry"
  gem "pry-byebug"
267 268

  # test coverage
Benjamin Neff's avatar
Benjamin Neff committed
269
  gem "simplecov", "0.16.1", require: false
270 271

  gem "turbo_dev_assets", "0.0.2"
Jonne Haß's avatar
Jonne Haß committed
272 273 274 275 276
end

group :test do
  # RSpec (unit tests, some integration tests)

lislis's avatar
lislis committed
277
  gem "fixture_builder",   "0.5.2.rc3"
Benjamin Neff's avatar
Benjamin Neff committed
278
  gem "fuubar",            "2.3.2"
279 280
  gem "json-schema-rspec", "0.0.4"
  gem "rspec-json_expectations", "~> 2.1"
281

Jonne Haß's avatar
Jonne Haß committed
282 283
  # Cucumber (integration tests)

Benjamin Neff's avatar
Benjamin Neff committed
284
  gem "capybara",           "2.18.0"
Benjamin Neff's avatar
Benjamin Neff committed
285
  gem "database_cleaner",   "1.7.0"
Benjamin Neff's avatar
Benjamin Neff committed
286
  gem "poltergeist",        "1.18.1"
287

Benjamin Neff's avatar
Benjamin Neff committed
288
  gem "cucumber-api-steps", "0.14", require: false
289

Jonne Haß's avatar
Jonne Haß committed
290 291
  # General helpers

292
  gem "factory_girl_rails", "4.8.0"
Benjamin Neff's avatar
Benjamin Neff committed
293
  gem "shoulda-matchers",   "3.1.2"
Benjamin Neff's avatar
Benjamin Neff committed
294
  gem "timecop",            "0.9.1"
Benjamin Neff's avatar
Benjamin Neff committed
295
  gem "webmock",            "3.4.2", require: false
cmrd Senya's avatar
cmrd Senya committed
296

Benjamin Neff's avatar
Benjamin Neff committed
297
  gem "diaspora_federation-test", "0.2.5"
Jonne Haß's avatar
Jonne Haß committed
298 299

  # Coverage
Benjamin Neff's avatar
Benjamin Neff committed
300
  gem "coveralls", "0.8.22", require: false
301
end
302 303 304

group :development, :test do
  # RSpec (unit tests, some integration tests)
Benjamin Neff's avatar
Benjamin Neff committed
305
  gem "rspec-rails", "3.8.1"
306

307
  # Cucumber (integration tests)
Benjamin Neff's avatar
Benjamin Neff committed
308
  gem "cucumber-rails", "1.5.0", require: false
309

310
  # Jasmine (client side application tests (JS))
Benjamin Neff's avatar
Benjamin Neff committed
311
  gem "jasmine",                   "3.3.0"
Jonne Haß's avatar
Jonne Haß committed
312
  gem "jasmine-jquery-rails",      "2.0.3"
313
  gem "rails-assets-jasmine-ajax", "3.4.0", source: "https://rails-assets.org"
Jonne Haß's avatar
Jonne Haß committed
314
  gem "sinon-rails",               "1.15.0"
315 316 317

  # For `assigns` in controller specs
  gem "rails-controller-testing", "1.0.2"
318
end