Skip to content

Commit

Permalink
Merge pull request #1780 from etalab/dependabot/bundler/rubocop-99c4a…
Browse files Browse the repository at this point in the history
…d65ad

Bump rubocop-rails from 2.28.0 to 2.29.0 in the rubocop group
  • Loading branch information
skelz0r authored Jan 22, 2025
2 parents ef98491 + 54b2812 commit fa1233c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ GEM
chronic (0.10.2)
coderay (1.1.3)
colorize (1.1.0)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
concurrent-ruby (1.3.5)
connection_pool (2.5.0)
crack (1.0.0)
bigdecimal
rexml
Expand Down Expand Up @@ -211,7 +211,7 @@ GEM
http-accept (1.7.0)
http-cookie (1.0.7)
domain_name (~> 0.5)
i18n (1.14.6)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
i18n-tasks (1.0.14)
activesupport (>= 4.0.2)
Expand Down Expand Up @@ -252,7 +252,7 @@ GEM
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.4)
logger (1.6.5)
logstasher (2.1.5)
activesupport (>= 5.2)
request_store
Expand Down Expand Up @@ -325,7 +325,7 @@ GEM
omniauth (~> 2.0)
optimist (3.2.0)
parallel (1.26.3)
parser (3.3.6.0)
parser (3.3.7.0)
ast (~> 2.4.1)
racc
pastel (0.8.0)
Expand Down Expand Up @@ -473,7 +473,7 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-rails (2.28.0)
rubocop-rails (2.29.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.52.0, < 2.0)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/admin/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def stop_impersonating
private

def user_params
params.require(:user).permit(:editor_id)
params.expect(user: [:editor_id])
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ def find_prolong_token_wizard
end

def prolong_token_wizard_params
params.require(:prolong_token_wizard).permit(:owner, :project_purpose, :contact_metier, :contact_technique)
params.expect(prolong_token_wizard: %i[owner project_purpose contact_metier contact_technique])
end
end

0 comments on commit fa1233c

Please sign in to comment.