Skip to content

Commit 974eab0

Browse files
chore(deps): update dependency devise to v5 (#1216)
* chore(deps): update dependency devise to v5 * add maxium length for a password * add trace for depencies debugging * maybe this fixes it * fix publish image --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lodewiges <jamestreeg@gmail.com>
1 parent d03cf15 commit 974eab0

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gem 'bootsnap', '~> 1.19.0'
66
gem 'browser', '~> 6.2.0'
77
gem 'cssbundling-rails', '~> 1.4', '>= 1.4.3'
88
gem 'dartsass-rails', '~> 0.5.1'
9-
gem 'devise', '~>4.9.4'
9+
gem 'devise', '~>5.0.0'
1010
gem 'devise-i18n', '~>1.15.0'
1111
gem 'factory_bot_rails', '~> 6.5.1'
1212
gem 'faker', '~> 3.5.3'

Gemfile.lock

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ GEM
8484
ast (2.4.3)
8585
awesome_print (1.9.2)
8686
base64 (0.3.0)
87-
bcrypt (3.1.20)
87+
bcrypt (3.1.21)
8888
benchmark (0.5.0)
8989
better_errors (2.10.1)
9090
erubi (>= 1.0.0)
@@ -128,10 +128,10 @@ GEM
128128
database_consistency (2.1.1)
129129
activerecord (>= 3.2)
130130
date (3.5.1)
131-
devise (4.9.4)
131+
devise (5.0.0)
132132
bcrypt (~> 3.0)
133133
orm_adapter (~> 0.1)
134-
railties (>= 4.1.0)
134+
railties (>= 7.0)
135135
responders
136136
warden (~> 1.2.3)
137137
devise-i18n (1.15.0)
@@ -148,7 +148,7 @@ GEM
148148
em-websocket (0.5.3)
149149
eventmachine (>= 0.12.9)
150150
http_parser.rb (~> 0)
151-
erb (6.0.0)
151+
erb (6.0.1)
152152
erubi (1.13.1)
153153
et-orbi (1.4.0)
154154
tzinfo
@@ -219,8 +219,8 @@ GEM
219219
http_parser.rb (0.8.0)
220220
i18n (1.14.8)
221221
concurrent-ruby (~> 1.0)
222-
io-console (0.8.1)
223-
irb (1.15.3)
222+
io-console (0.8.2)
223+
irb (1.16.0)
224224
pp (>= 0.6.0)
225225
rdoc (>= 4.0.0)
226226
reline (>= 0.4.2)
@@ -257,7 +257,7 @@ GEM
257257
ffi-compiler (~> 1.0)
258258
rake (~> 13.0)
259259
logger (1.7.0)
260-
loofah (2.24.1)
260+
loofah (2.25.0)
261261
crass (~> 1.0.2)
262262
nokogiri (>= 1.12.0)
263263
lumberjack (1.4.2)
@@ -276,7 +276,8 @@ GEM
276276
mina (1.2.5)
277277
rake
278278
mini_mime (1.1.5)
279-
minitest (5.26.2)
279+
minitest (6.0.1)
280+
prism (~> 1.5)
280281
mollie-api-ruby (4.18.0)
281282
bigdecimal (~> 3.1, >= 3.1.8)
282283
ostruct (~> 0.6.0)
@@ -304,7 +305,7 @@ GEM
304305
net-ssh (7.3.0)
305306
netrc (0.11.0)
306307
nio4r (2.7.5)
307-
nokogiri (1.18.10-x86_64-linux-gnu)
308+
nokogiri (1.19.0-x86_64-linux-gnu)
308309
racc (~> 1.4)
309310
notiffany (0.1.3)
310311
nenv (~> 0.1)
@@ -354,7 +355,7 @@ GEM
354355
pry (>= 0.13, < 0.16)
355356
pry-rails (0.3.11)
356357
pry (>= 0.13.0)
357-
psych (5.2.6)
358+
psych (5.3.1)
358359
date
359360
stringio
360361
public_suffix (6.0.2)
@@ -376,7 +377,7 @@ GEM
376377
rack (>= 3.0.0)
377378
rack-test (2.2.0)
378379
rack (>= 1.3)
379-
rackup (2.2.1)
380+
rackup (2.3.1)
380381
rack (>= 3)
381382
rails (7.2.3)
382383
actioncable (= 7.2.3)
@@ -422,7 +423,7 @@ GEM
422423
rb-inotify (0.11.1)
423424
ffi (~> 1.0)
424425
rb-readline (0.5.5)
425-
rdoc (6.16.1)
426+
rdoc (7.1.0)
426427
erb
427428
psych (>= 4.0.0)
428429
tsort
@@ -563,9 +564,9 @@ GEM
563564
net-sftp (>= 2.1.2)
564565
net-ssh (>= 2.8.0)
565566
ostruct
566-
stringio (3.1.9)
567+
stringio (3.2.0)
567568
terminal-notifier-guard (1.7.0)
568-
thor (1.4.0)
569+
thor (1.5.0)
569570
timecop (0.9.10)
570571
timeliness (0.5.3)
571572
timeout (0.6.0)
@@ -598,7 +599,7 @@ GEM
598599
base64
599600
websocket-extensions (>= 0.1.0)
600601
websocket-extensions (0.1.5)
601-
zeitwerk (2.7.3)
602+
zeitwerk (2.7.4)
602603

603604
PLATFORMS
604605
x86_64-linux
@@ -617,7 +618,7 @@ DEPENDENCIES
617618
cssbundling-rails (~> 1.4, >= 1.4.3)
618619
dartsass-rails (~> 0.5.1)
619620
database_consistency (~> 2.1.1)
620-
devise (~> 4.9.4)
621+
devise (~> 5.0.0)
621622
devise-i18n (~> 1.15.0)
622623
dotenv-rails (~> 3.2.0)
623624
factory_bot_rails (~> 6.5.1)

app/models/sofia_account.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class SofiaAccount < OmniAuth::Identity::Models::ActiveRecord
66
validates :user, uniqueness: true # rubocop:disable Rails/UniqueValidationWithoutIndex
77
validates :username, presence: true, uniqueness: true
88
# the presence of :password is already checked by omniauth-sofia-account itself
9-
validates :password, length: { minimum: 12 }, allow_nil: true
9+
validates :password, length: { minimum: 12, maximum: 128 }, allow_nil: true
1010

1111
auth_key :username # specifies the field within the model that will be used during the login process as username
1212

0 commit comments

Comments
 (0)