Gemfile 7.94 KB
Newer Older
Jonne Haß's avatar
Jonne Haß committed
1
source "https://rubygems.org"
Raphael Sofaer's avatar
Raphael Sofaer committed
2

Dennis Schubert's avatar
Dennis Schubert committed
3
gem "rails", "5.1.3"
Jonne Haß's avatar
Jonne Haß committed
4 5

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

Jonne Haß's avatar
Jonne Haß committed
9
# Appserver
Maxwell Salzberg's avatar
Maxwell Salzberg committed
10

Benjamin Neff's avatar
Benjamin Neff committed
11
gem "unicorn", "5.3.0", require: false
Lukas Matt's avatar
Lukas Matt committed
12
gem "unicorn-worker-killer", "0.4.4"
13

14 15
# Federation

16
gem "diaspora_federation-json_schema", "0.2.1"
cmrd Senya's avatar
cmrd Senya committed
17
gem "diaspora_federation-rails", "0.2.1"
18

Jonne Haß's avatar
Jonne Haß committed
19
# API and JSON
David McMullin's avatar
David McMullin committed
20

Steffen van Bergerem's avatar
Steffen van Bergerem committed
21
gem "acts_as_api", "1.0.0"
Benjamin Neff's avatar
Benjamin Neff committed
22
gem "json",        "2.1.0"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
23
gem "json-schema", "2.8.0"
David McMullin's avatar
David McMullin committed
24

Jonne Haß's avatar
Jonne Haß committed
25
# Authentication
26

Benjamin Neff's avatar
Benjamin Neff committed
27
gem "devise", "4.3.0"
Jonne Haß's avatar
Jonne Haß committed
28
gem "devise_lastseenable", "0.0.6"
29

maruf's avatar
maruf committed
30 31
# Captcha

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

Jonne Haß's avatar
Jonne Haß committed
34
# Background processing
35

Benjamin Neff's avatar
Benjamin Neff committed
36
gem "sidekiq", "5.0.4"
37

38 39
# Scheduled processing

Benjamin Neff's avatar
Benjamin Neff committed
40
gem "sidekiq-cron", "0.6.3"
41

Jonne Haß's avatar
Jonne Haß committed
42 43
# Compression

Benjamin Neff's avatar
Benjamin Neff committed
44
gem "uglifier", "3.2.0"
Jonne Haß's avatar
Jonne Haß committed
45

Jonne Haß's avatar
Jonne Haß committed
46
# Configuration
47

48
gem "configurate", "0.3.1"
49

Jonne Haß's avatar
Jonne Haß committed
50
# Cross-origin resource sharing
51

Benjamin Neff's avatar
Benjamin Neff committed
52
gem "rack-cors", "1.0.1", require: "rack/cors"
Raphael Sofaer's avatar
Raphael Sofaer committed
53

Jonne Haß's avatar
Jonne Haß committed
54 55
# CSS

Benjamin Neff's avatar
Benjamin Neff committed
56
gem "autoprefixer-rails",     "7.1.2.3"
57
gem "bootstrap-sass",         "3.3.7"
58
gem "bootstrap-switch-rails", "3.3.3"
Benjamin Neff's avatar
Benjamin Neff committed
59
gem "compass-rails",          "3.0.2"
60
gem "sass-rails",             "5.0.6"
Benjamin Neff's avatar
Benjamin Neff committed
61
gem "sprockets-rails",        "3.2.0"
Jonne Haß's avatar
Jonne Haß committed
62

Jonne Haß's avatar
Jonne Haß committed
63
# Database
maxwell's avatar
maxwell committed
64

65
group :mysql, optional: true do
Benjamin Neff's avatar
Benjamin Neff committed
66
  gem "mysql2", "0.4.8"
67 68
end
group :postgresql, optional: true do
Benjamin Neff's avatar
Bump pg  
Benjamin Neff committed
69
  gem "pg",     "0.21.0"
70
end
71 72


Benjamin Neff's avatar
Benjamin Neff committed
73
gem "activerecord-import", "0.19.1"
Raphael Sofaer's avatar
Raphael Sofaer committed
74

Jonne Haß's avatar
Jonne Haß committed
75
# File uploading
76

Benjamin Neff's avatar
Benjamin Neff committed
77
gem "carrierwave", "1.1.0"
Benjamin Neff's avatar
Benjamin Neff committed
78
gem "fog-aws",     "1.4.0"
Benjamin Neff's avatar
Benjamin Neff committed
79
gem "mini_magick", "4.8.0"
80

Jonne Haß's avatar
Jonne Haß committed
81
# GUID generation
Jonne Haß's avatar
Jonne Haß committed
82
gem "uuid", "2.3.8"
Jonne Haß's avatar
Jonne Haß committed
83

Jonne Haß's avatar
Jonne Haß committed
84 85
# Icons

Steffen van Bergerem's avatar
Steffen van Bergerem committed
86
gem "entypo-rails", "3.0.0"
Jonne Haß's avatar
Jonne Haß committed
87 88 89

# JavaScript

Benjamin Neff's avatar
Benjamin Neff committed
90
gem "handlebars_assets", "0.23.2"
Benjamin Neff's avatar
Benjamin Neff committed
91
gem "jquery-rails",      "4.3.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
92
gem "js-routes",         "1.3.3"
Dennis Schubert's avatar
Dennis Schubert committed
93
gem "js_image_paths",    "0.1.1"
94 95

source "https://rails-assets.org" do
Benjamin Neff's avatar
Benjamin Neff committed
96
  gem "rails-assets-jquery",                              "3.2.1" # Should be kept in sync with jquery-rails
97
  gem "rails-assets-jquery.ui",                           "1.11.4"
98

Benjamin Neff's avatar
Benjamin Neff committed
99
  gem "rails-assets-highlightjs",                         "9.12.0"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
100
  gem "rails-assets-markdown-it",                         "8.3.2"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
101
  gem "rails-assets-markdown-it-hashtag",                 "0.4.0"
102
  gem "rails-assets-markdown-it-diaspora-mention",        "1.2.0"
103
  gem "rails-assets-markdown-it-sanitizer",               "0.4.3"
104
  gem "rails-assets-markdown-it--markdown-it-for-inline", "0.1.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
105 106
  gem "rails-assets-markdown-it-sub",                     "1.0.0"
  gem "rails-assets-markdown-it-sup",                     "1.0.0"
107 108

  gem "rails-assets-backbone",                            "1.3.3"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
109
  gem "rails-assets-bootstrap-markdown",                  "2.10.0"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
110
  gem "rails-assets-corejs-typeahead",                    "1.1.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
111
  gem "rails-assets-fine-uploader",                       "5.13.0"
112 113 114

  # jQuery plugins

Benjamin Neff's avatar
Benjamin Neff committed
115
  gem "rails-assets-autosize",                            "4.0.0"
116
  gem "rails-assets-blueimp-gallery",                     "2.25.2"
117
  gem "rails-assets-jquery.are-you-sure",                 "1.9.0"
118 119 120
  gem "rails-assets-jquery-placeholder",                  "2.3.1"
  gem "rails-assets-jquery-textchange",                   "0.2.3"
  gem "rails-assets-perfect-scrollbar",                   "0.6.16"
121
end
122

Jonne Haß's avatar
Jonne Haß committed
123
# Localization
124

Benjamin Neff's avatar
Benjamin Neff committed
125
gem "http_accept_language", "2.1.1"
Jonne Haß's avatar
Jonne Haß committed
126
gem "i18n-inflector-rails", "1.0.7"
Dennis Schubert's avatar
Dennis Schubert committed
127
gem "rails-i18n",           "5.0.4"
buddhamagnet's avatar
buddhamagnet committed
128

Jonne Haß's avatar
Jonne Haß committed
129
# Mail
buddhamagnet's avatar
buddhamagnet committed
130

Jonne Haß's avatar
Jonne Haß committed
131
gem "markerb",             "1.1.0"
buddhamagnet's avatar
buddhamagnet committed
132

zaziemo's avatar
zaziemo committed
133
# Map
Benjamin Neff's avatar
Benjamin Neff committed
134
gem "leaflet-rails",       "1.1.0"
zaziemo's avatar
zaziemo committed
135

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

Benjamin Neff's avatar
Benjamin Neff committed
138
gem "nokogiri",          "1.8.0"
139
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
140
gem "redcarpet",         "3.4.0"
Benjamin Neff's avatar
Benjamin Neff committed
141
gem "ruby-oembed",       "0.12.0"
Benjamin Neff's avatar
Benjamin Neff committed
142
gem "twitter-text",      "1.14.7"
143

144 145 146 147
# RTL support

gem "string-direction", "1.2.0"

148 149
# Security Headers

Benjamin Neff's avatar
Benjamin Neff committed
150
gem "secure_headers", "3.6.7"
151

Jonne Haß's avatar
Jonne Haß committed
152
# Services
zhitomirskiyi's avatar
zhitomirskiyi committed
153

Benjamin Neff's avatar
Benjamin Neff committed
154
gem "omniauth",           "1.6.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
155
gem "omniauth-facebook",  "4.0.0"
Jonne Haß's avatar
Jonne Haß committed
156
gem "omniauth-tumblr",    "1.2"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
157
gem "omniauth-twitter",   "1.4.0"
158
gem "twitter",            "6.1.0"
Jonne Haß's avatar
Jonne Haß committed
159
gem "omniauth-wordpress", "0.2.2"
160

augier's avatar
augier committed
161
# OpenID Connect
Benjamin Neff's avatar
Benjamin Neff committed
162
gem "openid_connect", "1.1.2"
augier's avatar
augier committed
163

Jonne Haß's avatar
Jonne Haß committed
164 165
# Serializers

Benjamin Neff's avatar
Benjamin Neff committed
166
gem "active_model_serializers", "0.9.7"
Jonne Haß's avatar
Jonne Haß committed
167

168
# XMPP chat dependencies
169
gem "diaspora-prosody-config",    "0.0.7"
170
gem "rails-assets-diaspora_jsxc", "0.1.5.develop.7", source: "https://rails-assets.org"
171

Jonne Haß's avatar
Jonne Haß committed
172
# Tags
buddhamagnet's avatar
buddhamagnet committed
173

Benjamin Neff's avatar
Benjamin Neff committed
174
gem "acts-as-taggable-on", "5.0.0"
buddhamagnet's avatar
buddhamagnet committed
175 176 177

# URIs and HTTP

Benjamin Neff's avatar
Benjamin Neff committed
178
gem "addressable",        "2.5.1", require: "addressable/uri"
179
gem "faraday",            "0.11.0" # also update User-Agent in OpenID specs
Steffen van Bergerem's avatar
Steffen van Bergerem committed
180
gem "faraday_middleware", "0.11.0.1"
Jonne Haß's avatar
Jonne Haß committed
181
gem "faraday-cookie_jar", "0.0.6"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
182
gem "typhoeus",           "1.1.2"
buddhamagnet's avatar
buddhamagnet committed
183

Jonne Haß's avatar
Jonne Haß committed
184
# Views
185

Steffen van Bergerem's avatar
Steffen van Bergerem committed
186
gem "gon",                     "6.1.0"
Benjamin Neff's avatar
Benjamin Neff committed
187
gem "hamlit",                  "2.8.4"
Dennis Schubert's avatar
Dennis Schubert committed
188
gem "mobile_fu",               "1.4.0"
cmrd Senya's avatar
cmrd Senya committed
189
gem "rails-timeago",           "2.16.0"
Benjamin Neff's avatar
Benjamin Neff committed
190
gem "will_paginate",           "3.1.6"
buddhamagnet's avatar
buddhamagnet committed
191

192 193
# Logging

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

196 197
# Reading and writing zip files

Steffen van Bergerem's avatar
Steffen van Bergerem committed
198
gem "rubyzip", "1.2.1", require: "zip"
Jonne Haß's avatar
Jonne Haß committed
199

200 201 202 203 204
# 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
205
gem "minitest"
206

Dennis Schubert's avatar
Dennis Schubert committed
207
gem "versionist", "1.5.0"
theworldbright's avatar
theworldbright committed
208

209 210 211 212 213 214
# Prevent accidental upgrades of thor
# TODO: remove this when either all gems depending on thor have fixed the warnings
#       or thor released a version where they are clearly marked as warnings
# see: https://github.com/erikhuda/thor/issues/538
gem "thor", "0.19.1"

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.9.2"
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.2.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
Steffen van Bergerem's avatar
Steffen van Bergerem committed
244
  gem "guard",          "2.14.1", require: false
Dennis Schubert's avatar
Dennis Schubert committed
245
  gem "guard-cucumber", "2.1.2", require: false
Jonne Haß's avatar
Jonne Haß committed
246
  gem "guard-rspec",    "4.7.3", require: false
Benjamin Neff's avatar
Benjamin Neff committed
247
  gem "guard-rubocop",  "1.3.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
248
  gem "rb-fsevent",     "0.10.2", require: false
Benjamin Neff's avatar
Benjamin Neff committed
249
  gem "rb-inotify",     "0.9.10", require: false
Jonne Haß's avatar
Jonne Haß committed
250

251
  # Linters
Benjamin Neff's avatar
Benjamin Neff committed
252
  gem "haml_lint",      "0.26.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
253
  gem "pronto",         "0.9.4", require: false
254 255 256 257
  gem "pronto-eslint",  "0.9.1", require: false
  gem "pronto-haml",    "0.9.0", require: false
  gem "pronto-rubocop", "0.9.0", require: false
  gem "pronto-scss",    "0.9.1", require: false
Benjamin Neff's avatar
Benjamin Neff committed
258
  gem "rubocop",        "0.49.1", require: false
259

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

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

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

  # test coverage
Jonne Haß's avatar
Jonne Haß committed
271
  gem "simplecov", "0.12.0", require: false
272 273

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

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

Benjamin Neff's avatar
Benjamin Neff committed
279
  gem "fixture_builder",   "0.5.0"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
280
  gem "fuubar",            "2.2.0"
281 282
  gem "json-schema-rspec", "0.0.4"
  gem "rspec-json_expectations", "~> 2.1"
283

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

Benjamin Neff's avatar
Benjamin Neff committed
286
  gem "capybara",           "2.14.4"
Benjamin Neff's avatar
Benjamin Neff committed
287
  gem "database_cleaner",   "1.6.1"
Benjamin Neff's avatar
Benjamin Neff committed
288
  gem "poltergeist",        "1.15.0"
289

290 291
  gem "cucumber-api-steps", "0.13", require: false

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

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

cmrd Senya's avatar
cmrd Senya committed
299
  gem "diaspora_federation-test", "0.2.1"
Jonne Haß's avatar
Jonne Haß committed
300 301 302

  # Coverage
  gem 'coveralls', require: false
303
end
304 305 306

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

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

312
  # Jasmine (client side application tests (JS))
Steffen van Bergerem's avatar
Steffen van Bergerem committed
313
  gem "jasmine",                   "2.6.0"
Jonne Haß's avatar
Jonne Haß committed
314
  gem "jasmine-jquery-rails",      "2.0.3"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
315
  gem "rails-assets-jasmine-ajax", "3.3.1", source: "https://rails-assets.org"
Jonne Haß's avatar
Jonne Haß committed
316
  gem "sinon-rails",               "1.15.0"
317 318 319

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