Skip to content

Commit 8726478

Browse files
dependabot[bot]robbe[bot]robbevp
authored
Bump the rubocop group across 1 directory with 2 updates (#593)
* Bump the rubocop group across 1 directory with 2 updates Bumps the rubocop group with 2 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop) and [rubocop-rails](https://github.com/rubocop/rubocop-rails). Updates `rubocop` from 1.70.0 to 1.71.0 - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.70.0...v1.71.0) Updates `rubocop-rails` from 2.28.0 to 2.29.0 - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-rails@v2.28.0...v2.29.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor dependency-group: rubocop - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor dependency-group: rubocop ... Signed-off-by: dependabot[bot] <support@github.com> * Update gemset.nix * Run `lint:fix` --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: robbe[bot] <bot@robbevp.be> Co-authored-by: Robbe Van Petegem <git@robbevp.be>
1 parent fe161a6 commit 8726478

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ GEM
264264
reline (0.6.0)
265265
io-console (~> 0.5)
266266
rexml (3.4.0)
267-
rubocop (1.70.0)
267+
rubocop (1.71.0)
268268
json (~> 2.3)
269269
language_server-protocol (>= 3.17.0)
270270
parallel (~> 1.10)
@@ -282,7 +282,7 @@ GEM
282282
rubocop-performance (1.23.1)
283283
rubocop (>= 1.48.1, < 2.0)
284284
rubocop-ast (>= 1.31.1, < 2.0)
285-
rubocop-rails (2.28.0)
285+
rubocop-rails (2.29.0)
286286
activesupport (>= 4.2.0)
287287
rack (>= 1.1)
288288
rubocop (>= 1.52.0, < 2.0)

app/controllers/passwords_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def set_user
4141
end
4242

4343
def transformed_attributes
44-
params.require(:password).permit(:password, :password_confirmation)
44+
params.expect(password: %i[password password_confirmation])
4545
.with_defaults!({ password: '', password_confirmation: '' })
4646
end
4747
end

gemset.nix

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)