Skip to content

Commit 60b3a93

Browse files
Merge pull request #7039 from alphagov/dependabot/bundler/rubocop-govuk-5.0.8
Bump rubocop-govuk from 5.0.7 to 5.0.8
2 parents 8b23413 + 8b5ffa8 commit 60b3a93

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ GEM
579579
rexml (3.4.0)
580580
rinku (2.0.6)
581581
rouge (4.5.1)
582-
rubocop (1.69.2)
582+
rubocop (1.70.0)
583583
json (~> 2.3)
584584
language_server-protocol (>= 3.17.0)
585585
parallel (~> 1.10)
@@ -593,8 +593,8 @@ GEM
593593
parser (>= 3.3.1.0)
594594
rubocop-capybara (2.21.0)
595595
rubocop (~> 1.41)
596-
rubocop-govuk (5.0.7)
597-
rubocop (= 1.69.2)
596+
rubocop-govuk (5.0.8)
597+
rubocop (= 1.70.0)
598598
rubocop-ast (= 1.37.0)
599599
rubocop-capybara (= 2.21.0)
600600
rubocop-rails (= 2.28.0)

lib/broken_link_report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def summary_report
2727
content << "Flow: #{folder.name}"
2828
content << "===================="
2929
folder.links.each do |link|
30-
next unless link.status == :broken || link.status == :caution
30+
next unless %i[broken caution].include?(link.status)
3131

3232
content << link.uri
3333
content << link.problem_summary

lib/state_pension_date.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def match?(dob, sex)
44
end
55

66
def same_gender?(sex)
7-
gender == sex || gender == :both
7+
[sex, :both].include?(gender)
88
end
99

1010
def born_in_range?(dob)

0 commit comments

Comments
 (0)