Skip to content

Commit ed5431f

Browse files
authored
Merge pull request #6685 from NHSDigital/dependabot/bundler/next/rubocop-govuk-5.2.1
Bump rubocop-govuk from 5.2.0 to 5.2.1
2 parents 3868799 + 1138b51 commit ed5431f

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ GEM
540540
parallel (1.28.0)
541541
parallel_tests (5.7.0)
542542
parallel
543-
parser (3.3.10.2)
543+
parser (3.3.11.1)
544544
ast (~> 2.4.1)
545545
racc
546546
pg (1.6.3-arm64-darwin)
@@ -701,26 +701,26 @@ GEM
701701
rspec-mocks (~> 3.0)
702702
sidekiq (>= 5, < 9)
703703
rspec-support (3.13.7)
704-
rubocop (1.82.1)
704+
rubocop (1.86.0)
705705
json (~> 2.3)
706706
language_server-protocol (~> 3.17.0.2)
707707
lint_roller (~> 1.1.0)
708708
parallel (~> 1.10)
709709
parser (>= 3.3.0.2)
710710
rainbow (>= 2.2.2, < 4.0)
711711
regexp_parser (>= 2.9.3, < 3.0)
712-
rubocop-ast (>= 1.48.0, < 2.0)
712+
rubocop-ast (>= 1.49.0, < 2.0)
713713
ruby-progressbar (~> 1.7)
714714
unicode-display_width (>= 2.4.0, < 4.0)
715-
rubocop-ast (1.49.0)
715+
rubocop-ast (1.49.1)
716716
parser (>= 3.3.7.2)
717717
prism (~> 1.7)
718718
rubocop-capybara (2.22.1)
719719
lint_roller (~> 1.1)
720720
rubocop (~> 1.72, >= 1.72.1)
721-
rubocop-govuk (5.2.0)
722-
rubocop (= 1.82.1)
723-
rubocop-ast (= 1.49.0)
721+
rubocop-govuk (5.2.1)
722+
rubocop (= 1.86.0)
723+
rubocop-ast (= 1.49.1)
724724
rubocop-capybara (= 2.22.1)
725725
rubocop-rails (= 2.34.3)
726726
rubocop-rake (= 0.7.1)
@@ -780,7 +780,7 @@ GEM
780780
logger (>= 1.7.0)
781781
rack (>= 3.2.0)
782782
redis-client (>= 0.26.0)
783-
sidekiq-scheduler (6.0.1)
783+
sidekiq-scheduler (6.0.2)
784784
rufus-scheduler (~> 3.2)
785785
sidekiq (>= 7.3, < 9)
786786
sidekiq-throttled (2.1.0)

app/controllers/draft_schools_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def update_params
231231
address_town
232232
address_postcode
233233
],
234-
year_groups: [year_groups: []],
234+
year_groups: [{ year_groups: [] }],
235235
confirm: []
236236
}.fetch(current_step)
237237

app/validators/nhs_number_validator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def validate_each(record, attribute, value)
2727
digits
2828
.slice(0, 9)
2929
.each_with_index
30-
.map { |digit, index| ((11 - (index + 1)) * digit) }
30+
.map { |digit, index| (11 - (index + 1)) * digit }
3131

3232
digits_sum_remainder = digits_multiplied_by_weighting_factor.sum % 11
3333

0 commit comments

Comments
 (0)