Skip to content

Commit

Permalink
Merge pull request #3123 from alphagov/dependabot/bundler/rubocop-gov…
Browse files Browse the repository at this point in the history
…uk-5.0.8

Bump rubocop-govuk from 5.0.7 to 5.0.8
  • Loading branch information
kevindew authored Jan 28, 2025
2 parents 6264394 + 347e732 commit 1c454d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ GEM
jwt (2.10.1)
base64
kgio (2.11.4)
language_server-protocol (3.17.0.3)
language_server-protocol (3.17.0.4)
link_header (0.0.8)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
Expand Down Expand Up @@ -495,7 +495,7 @@ GEM
os (1.1.4)
ostruct (0.6.1)
parallel (1.26.3)
parser (3.3.6.0)
parser (3.3.7.0)
ast (~> 2.4.1)
racc
plek (5.2.0)
Expand Down Expand Up @@ -591,7 +591,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (1.69.2)
rubocop (1.70.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand All @@ -605,8 +605,8 @@ GEM
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-govuk (5.0.7)
rubocop (= 1.69.2)
rubocop-govuk (5.0.8)
rubocop (= 1.70.0)
rubocop-ast (= 1.37.0)
rubocop-capybara (= 2.21.0)
rubocop-rails (= 2.28.0)
Expand Down Expand Up @@ -677,7 +677,7 @@ GEM
concurrent-ruby (~> 1.0)
uber (0.1.0)
unf (0.2.0)
unicode-display_width (3.1.3)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
unicorn (6.1.0)
Expand Down
3 changes: 1 addition & 2 deletions lib/govuk_index/presenters/elasticsearch_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ def specialist
def newslike?
return false if common_fields.content_store_document_type == "fatality_notice"

common_fields.content_purpose_subgroup == "news" ||
common_fields.content_purpose_subgroup == "speeches_and_statements"
%w[news speeches_and_statements].include?(common_fields.content_purpose_subgroup)
end
end
end

0 comments on commit 1c454d3

Please sign in to comment.