Skip to content

Commit 1c454d3

Browse files
authored
Merge pull request #3123 from alphagov/dependabot/bundler/rubocop-govuk-5.0.8
Bump rubocop-govuk from 5.0.7 to 5.0.8
2 parents 6264394 + 347e732 commit 1c454d3

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Gemfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ GEM
236236
jwt (2.10.1)
237237
base64
238238
kgio (2.11.4)
239-
language_server-protocol (3.17.0.3)
239+
language_server-protocol (3.17.0.4)
240240
link_header (0.0.8)
241241
listen (1.3.1)
242242
rb-fsevent (>= 0.9.3)
@@ -495,7 +495,7 @@ GEM
495495
os (1.1.4)
496496
ostruct (0.6.1)
497497
parallel (1.26.3)
498-
parser (3.3.6.0)
498+
parser (3.3.7.0)
499499
ast (~> 2.4.1)
500500
racc
501501
plek (5.2.0)
@@ -591,7 +591,7 @@ GEM
591591
diff-lcs (>= 1.2.0, < 2.0)
592592
rspec-support (~> 3.13.0)
593593
rspec-support (3.13.0)
594-
rubocop (1.69.2)
594+
rubocop (1.70.0)
595595
json (~> 2.3)
596596
language_server-protocol (>= 3.17.0)
597597
parallel (~> 1.10)
@@ -605,8 +605,8 @@ GEM
605605
parser (>= 3.3.1.0)
606606
rubocop-capybara (2.21.0)
607607
rubocop (~> 1.41)
608-
rubocop-govuk (5.0.7)
609-
rubocop (= 1.69.2)
608+
rubocop-govuk (5.0.8)
609+
rubocop (= 1.70.0)
610610
rubocop-ast (= 1.37.0)
611611
rubocop-capybara (= 2.21.0)
612612
rubocop-rails (= 2.28.0)
@@ -677,7 +677,7 @@ GEM
677677
concurrent-ruby (~> 1.0)
678678
uber (0.1.0)
679679
unf (0.2.0)
680-
unicode-display_width (3.1.3)
680+
unicode-display_width (3.1.4)
681681
unicode-emoji (~> 4.0, >= 4.0.4)
682682
unicode-emoji (4.0.4)
683683
unicorn (6.1.0)

lib/govuk_index/presenters/elasticsearch_presenter.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ def specialist
296296
def newslike?
297297
return false if common_fields.content_store_document_type == "fatality_notice"
298298

299-
common_fields.content_purpose_subgroup == "news" ||
300-
common_fields.content_purpose_subgroup == "speeches_and_statements"
299+
%w[news speeches_and_statements].include?(common_fields.content_purpose_subgroup)
301300
end
302301
end
303302
end

0 commit comments

Comments
 (0)