Gemfile 7.72 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

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

16 17
# Federation

18
gem "diaspora_federation-json_schema", "0.2.1"
cmrd Senya's avatar
cmrd Senya committed
19
gem "diaspora_federation-rails", "0.2.1"
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"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
25
gem "json-schema", "2.8.0"
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.3.0"
Jonne Haß's avatar
Jonne Haß committed
30
gem "devise_lastseenable", "0.0.6"
31

maruf's avatar
maruf committed
32 33
# Captcha

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 "sidekiq", "5.0.4"
39

40 41
# Scheduled processing

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

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

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

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

50
gem "configurate", "0.3.1"
51

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

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

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

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

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

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


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

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

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

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

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

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

# JavaScript

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

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

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

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

  # jQuery plugins

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

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

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

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

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

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

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

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

146 147 148 149
# RTL support

gem "string-direction", "1.2.0"

150 151
# Security Headers

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

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

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

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

166 167
# Serializers

168
gem "active_model_serializers", "0.9.7"
169

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

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

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

# URIs and HTTP

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

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

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

194 195
# Logging

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

198 199
# Reading and writing zip files

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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