Gemfile 7.65 KB
Newer Older
1 2
# frozen_string_literal: true

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

Dennis Schubert's avatar
Dennis Schubert committed
5
gem "rails", "5.1.3"
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
12

Milan's avatar
Milan committed
13
gem 'puma'
14

15 16
# Federation

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

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

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

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

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

maruf's avatar
maruf committed
31 32
# Captcha

33
gem "simple_captcha2", "0.4.3", require: "simple_captcha"
maruf's avatar
maruf committed
34

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

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

39 40
# Scheduled processing

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

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

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

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

49
gem "configurate", "0.3.1"
50

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

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

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

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

Jonne Haß's avatar
Jonne Haß committed
64
# Database
65

66
group :mysql, optional: true do
Steffen van Bergerem's avatar
Steffen van Bergerem committed
67
  gem "mysql2", "0.4.9"
68 69
end
group :postgresql, optional: true do
Benjamin Neff's avatar
Benjamin Neff committed
70
  gem "pg",     "0.21.0"
71
end
72 73


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

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

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

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

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

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

# JavaScript

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

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

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

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

  # jQuery plugins

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

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

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

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

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

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

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

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

145 146 147 148
# RTL support

gem "string-direction", "1.2.0"

149 150
# Security Headers

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

Jonne Haß's avatar
Jonne Haß committed
153
# Services
154

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

augier's avatar
augier committed
162
# OpenID Connect
163
gem "openid_connect", "1.1.3"
augier's avatar
augier committed
164

165 166
# Serializers

167
gem "active_model_serializers", "0.9.7"
168

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

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

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

# URIs and HTTP

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

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

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

193 194
# Logging

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

197 198
# Reading and writing zip files

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

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

Steffen van Bergerem's avatar
Steffen van Bergerem committed
208
gem "versionist", "1.6.0"
209

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

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

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

Jonne Haß's avatar
Jonne Haß committed
220 221
  gem "rack-google-analytics", "1.2.0"
  gem "rack-piwik",            "0.3.0",  require: "rack/piwik"
222

Jonne Haß's avatar
Jonne Haß committed
223
  # Process management
224

Benjamin Neff's avatar
Benjamin Neff committed
225
  gem "eye", "0.9.2"
226

Jonne Haß's avatar
Jonne Haß committed
227
  # Redirects
228

Jonne Haß's avatar
Jonne Haß committed
229 230
  gem "rack-rewrite", "1.5.1", require: false
  gem "rack-ssl",     "1.4.1", require: "rack/ssl"
231

Jonne Haß's avatar
Jonne Haß committed
232
  # Third party asset hosting
buddhamagnet's avatar
buddhamagnet committed
233

Benjamin Neff's avatar
Benjamin Neff committed
234
  gem "asset_sync", "2.2.0", require: false
235 236
end

buddhamagnet's avatar
buddhamagnet committed
237
group :development do
Jonne Haß's avatar
Jonne Haß committed
238
  # Automatic test runs
Steffen van Bergerem's avatar
Steffen van Bergerem committed
239
  gem "guard",          "2.14.1", require: false
240
  gem "guard-cucumber", "2.1.2", require: false
241
  gem "guard-rspec",    "4.7.3", require: false
Benjamin Neff's avatar
Benjamin Neff committed
242
  gem "guard-rubocop",  "1.3.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
243
  gem "rb-fsevent",     "0.10.2", require: false
Benjamin Neff's avatar
Benjamin Neff committed
244
  gem "rb-inotify",     "0.9.10", require: false
Jonne Haß's avatar
Jonne Haß committed
245

246
  # Linters
Benjamin Neff's avatar
Benjamin Neff committed
247
  gem "haml_lint",      "0.26.0", require: false
Benjamin Neff's avatar
Benjamin Neff committed
248
  gem "pronto",         "0.9.4", require: false
249 250 251 252
  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
253
  gem "rubocop",        "0.49.1", require: false
254

Jonne Haß's avatar
Jonne Haß committed
255 256
  # Preloading environment

Benjamin Neff's avatar
Benjamin Neff committed
257
  gem "spring", "2.0.2"
Jonne Haß's avatar
Jonne Haß committed
258 259
  gem "spring-commands-rspec", "1.0.4"
  gem "spring-commands-cucumber", "1.0.1"
260 261

  # Debugging
Jonne Haß's avatar
Jonne Haß committed
262 263
  gem "pry"
  gem "pry-byebug"
264 265

  # test coverage
266
  gem "simplecov", "0.14.1", require: false
267 268

  gem "turbo_dev_assets", "0.0.2"
Jonne Haß's avatar
Jonne Haß committed
269 270 271 272 273
end

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

Benjamin Neff's avatar
Benjamin Neff committed
274
  gem "fixture_builder",   "0.5.0"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
275
  gem "fuubar",            "2.2.0"
276 277
  gem "json-schema-rspec", "0.0.4"
  gem "rspec-json_expectations", "~> 2.1"
278

Jonne Haß's avatar
Jonne Haß committed
279 280
  # Cucumber (integration tests)

Steffen van Bergerem's avatar
Steffen van Bergerem committed
281
  gem "capybara",           "2.15.1"
Benjamin Neff's avatar
Benjamin Neff committed
282
  gem "database_cleaner",   "1.6.1"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
283
  gem "poltergeist",        "1.16.0"
284

285 286
  gem "cucumber-api-steps", "0.13", require: false

Jonne Haß's avatar
Jonne Haß committed
287 288
  # General helpers

289
  gem "factory_girl_rails", "4.8.0"
Benjamin Neff's avatar
Benjamin Neff committed
290
  gem "shoulda-matchers",   "3.1.2"
Benjamin Neff's avatar
Benjamin Neff committed
291
  gem "timecop",            "0.9.1"
Benjamin Neff's avatar
Benjamin Neff committed
292
  gem "webmock",            "3.0.1", require: false
cmrd Senya's avatar
cmrd Senya committed
293

cmrd Senya's avatar
cmrd Senya committed
294
  gem "diaspora_federation-test", "0.2.1"
Jonne Haß's avatar
Jonne Haß committed
295 296

  # Coverage
297
  gem "coveralls", "0.8.21", require: false
298
end
299 300 301

group :development, :test do
  # RSpec (unit tests, some integration tests)
Steffen van Bergerem's avatar
Steffen van Bergerem committed
302
  gem "rspec-rails", "3.6.1"
303

304
  # Cucumber (integration tests)
Benjamin Neff's avatar
Benjamin Neff committed
305
  gem "cucumber-rails", "1.5.0", require: false
306

307
  # Jasmine (client side application tests (JS))
Steffen van Bergerem's avatar
Steffen van Bergerem committed
308
  gem "jasmine",                   "2.7.0"
Jonne Haß's avatar
Jonne Haß committed
309
  gem "jasmine-jquery-rails",      "2.0.3"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
310
  gem "rails-assets-jasmine-ajax", "3.3.1", source: "https://rails-assets.org"
Jonne Haß's avatar
Jonne Haß committed
311
  gem "sinon-rails",               "1.15.0"
312

313 314
  # For `assigns` in controller specs
  gem "rails-controller-testing", "1.0.2"
315
end