Gemfile 7.86 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.2"
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.1"
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.5.0", require: false
zauberstuhl's avatar
zauberstuhl committed
14
gem "unicorn-worker-killer", "0.4.4"
15

16 17
# Federation

cmrd Senya's avatar
cmrd Senya committed
18 19
gem "diaspora_federation-json_schema", "0.2.6"
gem "diaspora_federation-rails", "0.2.6"
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.2.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.6.1"
lislis's avatar
lislis committed
30
gem "devise-two-factor", "3.0.3"
Jonne Haß's avatar
Jonne Haß committed
31
gem "devise_lastseenable", "0.0.6"
lislis's avatar
lislis committed
32
gem "rqrcode", "0.10.1"
33

maruf's avatar
maruf committed
34 35
# Captcha

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

Jonne Haß's avatar
Jonne Haß committed
38
# Background processing
39

Benjamin Neff's avatar
Benjamin Neff committed
40
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
41
gem "sidekiq", "5.2.5"
42

43 44
# Scheduled processing

Benjamin Neff's avatar
Benjamin Neff committed
45
gem "sidekiq-cron", "1.1.0"
46

Jonne Haß's avatar
Jonne Haß committed
47 48
# Compression

Benjamin Neff's avatar
Benjamin Neff committed
49
gem "uglifier", "4.1.20"
Jonne Haß's avatar
Jonne Haß committed
50

Jonne Haß's avatar
Jonne Haß committed
51
# Configuration
52

53
gem "configurate", "0.3.1"
54

Jonne Haß's avatar
Jonne Haß committed
55
# Cross-origin resource sharing
56

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

Jonne Haß's avatar
Jonne Haß committed
59 60
# CSS

Benjamin Neff's avatar
Benjamin Neff committed
61
gem "autoprefixer-rails",     "8.6.5"
Benjamin Neff's avatar
Benjamin Neff committed
62
gem "bootstrap-sass",         "3.4.1"
63
gem "bootstrap-switch-rails", "3.3.3" # 3.3.4 is broken, see https://github.com/Bttstrp/bootstrap-switch/issues/691
Benjamin Neff's avatar
Benjamin Neff committed
64
gem "compass-rails",          "3.1.0"
Benjamin Neff's avatar
Benjamin Neff committed
65
gem "sass-rails",             "5.0.7"
Benjamin Neff's avatar
Benjamin Neff committed
66
gem "sprockets-rails",        "3.2.1"
Jonne Haß's avatar
Jonne Haß committed
67

Jonne Haß's avatar
Jonne Haß committed
68
# Database
maxwell's avatar
maxwell committed
69

70
group :mysql, optional: true do
Benjamin Neff's avatar
Benjamin Neff committed
71
  gem "mysql2", "0.5.2"
72 73
end
group :postgresql, optional: true do
Benjamin Neff's avatar
Bump pg  
Benjamin Neff committed
74
  gem "pg",     "1.1.4"
75
end
76 77


Benjamin Neff's avatar
Benjamin Neff committed
78
gem "activerecord-import", "1.0.1"
Raphael Sofaer's avatar
Raphael Sofaer committed
79

Jonne Haß's avatar
Jonne Haß committed
80
# File uploading
81

Benjamin Neff's avatar
Benjamin Neff committed
82
gem "carrierwave", "1.3.1"
Benjamin Neff's avatar
Benjamin Neff committed
83
gem "fog-aws",     "3.4.0"
Benjamin Neff's avatar
Benjamin Neff committed
84
gem "mini_magick", "4.9.3"
85

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

Jonne Haß's avatar
Jonne Haß committed
89 90
# Icons

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

# JavaScript

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

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

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

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

  # jQuery plugins

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

128 129
gem "markdown-it-html5-embed", "1.0.0"

Jonne Haß's avatar
Jonne Haß committed
130
# Localization
131

Benjamin Neff's avatar
Benjamin Neff committed
132
gem "http_accept_language", "2.1.1"
Jonne Haß's avatar
Jonne Haß committed
133
gem "i18n-inflector-rails", "1.0.7"
Benjamin Neff's avatar
Benjamin Neff committed
134
gem "rails-i18n",           "5.1.3"
buddhamagnet's avatar
buddhamagnet committed
135

Jonne Haß's avatar
Jonne Haß committed
136
# Mail
buddhamagnet's avatar
buddhamagnet committed
137

Jonne Haß's avatar
Jonne Haß committed
138
gem "markerb",             "1.1.0"
buddhamagnet's avatar
buddhamagnet committed
139

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

Jonne Haß's avatar
Jonne Haß committed
143
# Parsing
buddhamagnet's avatar
buddhamagnet committed
144

Benjamin Neff's avatar
Benjamin Neff committed
145
gem "nokogiri",          "1.10.1"
146
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
147
gem "redcarpet",         "3.4.0"
Benjamin Neff's avatar
Benjamin Neff committed
148
gem "ruby-oembed",       "0.12.0"
Benjamin Neff's avatar
Benjamin Neff committed
149
gem "twitter-text",      "1.14.7"
150

151 152
# RTL support

Benjamin Neff's avatar
Benjamin Neff committed
153
gem "string-direction", "1.2.1"
154

155 156
# Security Headers

Benjamin Neff's avatar
Benjamin Neff committed
157
gem "secure_headers", "6.1.0"
158

Jonne Haß's avatar
Jonne Haß committed
159
# Services
zhitomirskiyi's avatar
zhitomirskiyi committed
160

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

augier's avatar
augier committed
167
# OpenID Connect
168
gem "openid_connect", "1.1.6"
augier's avatar
augier committed
169

Jonne Haß's avatar
Jonne Haß committed
170 171
# Serializers

Benjamin Neff's avatar
Benjamin Neff committed
172
gem "active_model_serializers", "0.9.7"
Jonne Haß's avatar
Jonne Haß committed
173

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

Jonne Haß's avatar
Jonne Haß committed
178
# Tags
buddhamagnet's avatar
buddhamagnet committed
179

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

# URIs and HTTP

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

Jonne Haß's avatar
Jonne Haß committed
190
# Views
191

Benjamin Neff's avatar
Benjamin Neff committed
192
gem "gon",                     "6.2.1"
Benjamin Neff's avatar
Benjamin Neff committed
193
gem "hamlit",                  "2.9.2"
Benjamin Neff's avatar
Benjamin Neff committed
194
gem "mobile-fu",               "1.4.0"
Benjamin Neff's avatar
Benjamin Neff committed
195
gem "rails-timeago",           "2.17.1"
Benjamin Neff's avatar
Benjamin Neff committed
196
gem "will_paginate",           "3.1.7"
buddhamagnet's avatar
buddhamagnet committed
197

198 199
# Logging

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

202 203
# Reading and writing zip files

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

206 207 208 209 210
# 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
211
gem "minitest"
212

Benjamin Neff's avatar
Benjamin Neff committed
213
gem "versionist", "1.7.0"
theworldbright's avatar
theworldbright committed
214

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

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

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

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

Jonne Haß's avatar
Jonne Haß committed
228
  # Process management
229

Benjamin Neff's avatar
Benjamin Neff committed
230
  gem "eye", "0.10.0"
231

Jonne Haß's avatar
Jonne Haß committed
232
  # Redirects
233

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

Jonne Haß's avatar
Jonne Haß committed
237
  # Third party asset hosting
buddhamagnet's avatar
buddhamagnet committed
238

Benjamin Neff's avatar
Benjamin Neff committed
239
  gem "asset_sync", "2.7.0", require: false
240 241
end

buddhamagnet's avatar
buddhamagnet committed
242
group :development do
Jonne Haß's avatar
Jonne Haß committed
243
  # Automatic test runs
Benjamin Neff's avatar
Benjamin Neff committed
244
  gem "guard",          "2.15.0", require: false
Jonne Haß's avatar
Jonne Haß committed
245
  gem "guard-rspec",    "4.7.3", require: false
Benjamin Neff's avatar
Benjamin Neff committed
246
  gem "guard-rubocop",  "1.3.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
247
  gem "rb-fsevent",     "0.10.3", require: false
Benjamin Neff's avatar
Benjamin Neff committed
248
  gem "rb-inotify",     "0.10.0", require: false
Jonne Haß's avatar
Jonne Haß committed
249

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

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

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

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

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

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

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

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

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

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

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

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

Steffen van Bergerem's avatar
Steffen van Bergerem committed
293
  gem "factory_girl_rails", "4.8.0"
Benjamin Neff's avatar
Benjamin Neff committed
294
  gem "shoulda-matchers",   "4.0.1"
Benjamin Neff's avatar
Benjamin Neff committed
295
  gem "timecop",            "0.9.1"
Benjamin Neff's avatar
Benjamin Neff committed
296
  gem "webmock",            "3.5.1", require: false
cmrd Senya's avatar
cmrd Senya committed
297

cmrd Senya's avatar
cmrd Senya committed
298
  gem "diaspora_federation-test", "0.2.6"
Jonne Haß's avatar
Jonne Haß committed
299 300

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

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

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

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

  # For `assigns` in controller specs
Benjamin Neff's avatar
Benjamin Neff committed
318
  gem "rails-controller-testing", "1.0.4"
319
end