Skip to content

Commit fe4b7cb

Browse files
authored
Update all Bundler dependencies (2025-01-20) (#1268)
1 parent 244fd83 commit fe4b7cb

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed

Gemfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ GEM
109109
coderay (1.1.3)
110110
coercible (1.0.0)
111111
descendants_tracker (~> 0.0.1)
112-
concurrent-ruby (1.3.4)
112+
concurrent-ruby (1.3.5)
113113
connection_pool (2.5.0)
114114
coveralls_reborn (0.28.0)
115115
simplecov (~> 0.22.0)
@@ -164,7 +164,7 @@ GEM
164164
csv
165165
mini_mime (>= 1.0.0)
166166
multi_xml (>= 0.5.2)
167-
i18n (1.14.6)
167+
i18n (1.14.7)
168168
concurrent-ruby (~> 1.0)
169169
ice_nine (0.11.2)
170170
io-console (0.8.0)
@@ -201,12 +201,12 @@ GEM
201201
net-smtp (0.5.0)
202202
net-protocol
203203
nio4r (2.7.4)
204-
nokogiri (1.18.1)
204+
nokogiri (1.18.2)
205205
mini_portile2 (~> 2.8.2)
206206
racc (~> 1.4)
207207
ostruct (0.6.1)
208208
parallel (1.26.3)
209-
parser (3.3.6.0)
209+
parser (3.3.7.0)
210210
ast (~> 2.4.1)
211211
racc
212212
pg (1.5.9)
@@ -216,7 +216,7 @@ GEM
216216
pry-byebug (3.10.1)
217217
byebug (~> 11.0)
218218
pry (>= 0.13, < 0.15)
219-
psych (5.2.2)
219+
psych (5.2.3)
220220
date
221221
stringio
222222
public_suffix (6.0.1)
@@ -268,7 +268,7 @@ GEM
268268
rb-fsevent (0.11.2)
269269
rb-inotify (0.11.1)
270270
ffi (~> 1.0)
271-
rdoc (6.10.0)
271+
rdoc (6.11.0)
272272
psych (>= 4.0.0)
273273
regexp_parser (2.10.0)
274274
reline (0.6.0)
@@ -311,7 +311,7 @@ GEM
311311
rubocop (~> 1.41)
312312
rubocop-factory_bot (2.26.1)
313313
rubocop (~> 1.61)
314-
rubocop-rails (2.28.0)
314+
rubocop-rails (2.29.0)
315315
activesupport (>= 4.2.0)
316316
rack (>= 1.1)
317317
rubocop (>= 1.52.0, < 2.0)
@@ -350,7 +350,7 @@ GEM
350350
activesupport (>= 6.1)
351351
sprockets (>= 3.0.0)
352352
stringio (3.1.2)
353-
stripe (13.3.0)
353+
stripe (13.3.1)
354354
sync (0.5.0)
355355
term-ansicolor (1.11.2)
356356
tins (~> 1.0)
@@ -365,7 +365,7 @@ GEM
365365
concurrent-ruby (~> 1.0)
366366
uglifier (4.2.1)
367367
execjs (>= 0.3.0, < 3)
368-
unicode-display_width (3.1.3)
368+
unicode-display_width (3.1.4)
369369
unicode-emoji (~> 4.0, >= 4.0.4)
370370
unicode-emoji (4.0.4)
371371
uri (1.0.2)

app/controllers/passwords_controller.rb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,18 @@ def check_signups_enabled
4141
end
4242

4343
def password_params
44-
params.require(:user)
45-
.permit(:password_challenge, :password, :password_confirmation)
44+
params
45+
.expect(user: [
46+
:password_challenge,
47+
:password,
48+
:password_confirmation
49+
])
4650
end
4751

4852
def user_params
49-
params.require(:user)
50-
.permit(:username, :password, :password_confirmation)
51-
.merge(admin: User.none?)
52-
.to_h.symbolize_keys
53+
params
54+
.expect(user: [:username, :password, :password_confirmation])
55+
.merge(admin: User.none?)
56+
.to_h.symbolize_keys
5357
end
5458
end

app/controllers/profiles_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ def update
2222
private
2323

2424
def user_params
25-
params.require(:user).permit(:username, :password_challenge, :stories_order)
25+
params.expect(user: [:username, :password_challenge, :stories_order])
2626
end
2727
end

app/controllers/settings_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ def update
1717
private
1818

1919
def setting_params
20-
params.require(:setting).permit(:enabled)
20+
params.expect(setting: [:enabled])
2121
end
2222
end

0 commit comments

Comments
 (0)