File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
lib/govuk_index/presenters Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 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 )
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 )
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 )
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 )
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 )
Original file line number Diff line number Diff 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
303302end
You can’t perform that action at this time.
0 commit comments