Skip to content

Commit 1037438

Browse files
chore(deps): update dependency omniauth-rails_csrf_protection to v2 (#1186)
* chore(deps): update dependency omniauth-rails_csrf_protection to v2 * chore(deps): update dependency omniauth-rails_csrf_protection to v2 * update to connection pool 3 settings * fix lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lodewiges <jamestreeg@gmail.com>
1 parent 761e87c commit 1037438

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ gem 'net-pop', '~> 0.1.2'
2121
gem 'net-smtp', '~> 0.5.1'
2222
gem 'omniauth', '~> 2.1.4'
2323
gem 'omniauth-identity', '~> 3.1', '>= 3.1.5'
24-
gem 'omniauth-oauth2', '~> 1.8.0'
25-
gem 'omniauth-rails_csrf_protection', '~> 1.0', '>= 1.0.2'
24+
gem 'omniauth-oauth2', '~> 1.9.0'
25+
gem 'omniauth-rails_csrf_protection', '~> 2.0', '>= 2.0.1'
2626
gem 'paper_trail', '~> 17.0.0'
2727
gem 'paranoia', '~> 3.1.0'
2828
gem 'pg', '~> 1.6.2'

Gemfile.lock

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ GEM
113113
capistrano (>= 3.9.0)
114114
capistrano-bundler
115115
sidekiq (>= 7.0)
116-
cgi (0.5.0)
116+
cgi (0.5.1)
117117
chunky_png (1.4.0)
118118
coderay (1.1.3)
119119
colorize (1.1.0)
120-
concurrent-ruby (1.3.5)
121-
connection_pool (2.5.5)
120+
concurrent-ruby (1.3.6)
121+
connection_pool (3.0.2)
122122
crass (1.0.6)
123123
cssbundling-rails (1.4.3)
124124
railties (>= 6.0.0)
@@ -215,7 +215,7 @@ GEM
215215
domain_name (~> 0.5)
216216
http-form_data (2.3.0)
217217
http_parser.rb (0.8.0)
218-
i18n (1.14.7)
218+
i18n (1.14.8)
219219
concurrent-ruby (~> 1.0)
220220
io-console (0.8.1)
221221
irb (1.15.3)
@@ -255,7 +255,7 @@ GEM
255255
ffi-compiler (~> 1.0)
256256
rake (~> 13.0)
257257
logger (1.7.0)
258-
loofah (2.24.1)
258+
loofah (2.25.0)
259259
crass (~> 1.0.2)
260260
nokogiri (>= 1.12.0)
261261
lumberjack (1.4.2)
@@ -274,7 +274,8 @@ GEM
274274
mina (1.2.5)
275275
rake
276276
mini_mime (1.1.5)
277-
minitest (5.26.2)
277+
minitest (6.0.0)
278+
prism (~> 1.5)
278279
mollie-api-ruby (4.18.0)
279280
bigdecimal (~> 3.1, >= 3.1.8)
280281
ostruct (~> 0.6.0)
@@ -325,10 +326,10 @@ GEM
325326
mutex_m (~> 0.1)
326327
omniauth (>= 1)
327328
version_gem (~> 1.1, >= 1.1.9)
328-
omniauth-oauth2 (1.8.0)
329-
oauth2 (>= 1.4, < 3)
329+
omniauth-oauth2 (1.9.0)
330+
oauth2 (>= 2.0.2, < 3)
330331
omniauth (~> 2.0)
331-
omniauth-rails_csrf_protection (1.0.2)
332+
omniauth-rails_csrf_protection (2.0.1)
332333
actionpack (>= 4.2)
333334
omniauth (~> 2.0)
334335
orm_adapter (0.5.0)
@@ -643,8 +644,8 @@ DEPENDENCIES
643644
net-smtp (~> 0.5.1)
644645
omniauth (~> 2.1.4)
645646
omniauth-identity (~> 3.1, >= 3.1.5)
646-
omniauth-oauth2 (~> 1.8.0)
647-
omniauth-rails_csrf_protection (~> 1.0, >= 1.0.2)
647+
omniauth-oauth2 (~> 1.9.0)
648+
omniauth-rails_csrf_protection (~> 2.0, >= 2.0.1)
648649
paper_trail (~> 17.0.0)
649650
paranoia (~> 3.1.0)
650651
pg (~> 1.6.2)

config/application.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ class Application < Rails::Application
2828
config.i18n.default_locale = :nl
2929
config.i18n.fallbacks = [:nl]
3030

31-
config.cache_store = :redis_cache_store, { url: Rails.application.config_for(:cable)['url'] }
31+
config.cache_store = :redis_cache_store, {
32+
url: Rails.application.config_for(:cable)['url'],
33+
pool_size: ENV.fetch('RAILS_MAX_THREADS', 5).to_i,
34+
pool_timeout: 5
35+
}
3236
config.active_job.queue_adapter = :sidekiq
3337

3438
config.exceptions_app = routes

0 commit comments

Comments
 (0)