From f83f8b477f858910ae28b4146a8aa51f0a25738c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2020 11:02:20 +0000 Subject: [PATCH 1/2] Bump govuk_publishing_components from 21.38.0 to 21.38.3 Bumps [govuk_publishing_components](https://github.com/alphagov/govuk_publishing_components) from 21.38.0 to 21.38.3. - [Release notes](https://github.com/alphagov/govuk_publishing_components/releases) - [Changelog](https://github.com/alphagov/govuk_publishing_components/blob/master/CHANGELOG.md) - [Commits](https://github.com/alphagov/govuk_publishing_components/compare/v21.38.0...v21.38.3) Signed-off-by: dependabot-preview[bot] --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index e392b3d95..0a006c296 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "dalli" gem "gds-api-adapters", "~> 63.5" gem "govuk_ab_testing", "~> 2.4" gem "govuk_app_config", "~> 2.1" -gem "govuk_publishing_components", "~> 21.38.0" +gem "govuk_publishing_components", "~> 21.38.3" gem "htmlentities", "~> 4.3" gem "plek", "~> 3.0" gem "rack_strip_client_ip", "~> 0.0.2" diff --git a/Gemfile.lock b/Gemfile.lock index 68a071edd..6b48ec854 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -106,7 +106,7 @@ GEM sentry-raven (>= 2.7.1, < 3.1.0) statsd-ruby (~> 1.4.0) unicorn (>= 5.4, < 5.6) - govuk_publishing_components (21.38.0) + govuk_publishing_components (21.38.3) gds-api-adapters govuk_app_config kramdown @@ -316,7 +316,7 @@ GEM thor (1.0.1) thread_safe (0.3.6) tilt (2.0.10) - tzinfo (1.2.6) + tzinfo (1.2.7) thread_safe (~> 0.1) uglifier (4.2.0) execjs (>= 0.3.0, < 3) @@ -365,7 +365,7 @@ DEPENDENCIES gds-api-adapters (~> 63.5) govuk_ab_testing (~> 2.4) govuk_app_config (~> 2.1) - govuk_publishing_components (~> 21.38.0) + govuk_publishing_components (~> 21.38.3) govuk_schemas (~> 4.0) govuk_test htmlentities (~> 4.3) From 455385df90f0b1269827b214d65a515c500832ca Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Mon, 6 Apr 2020 10:28:55 +0100 Subject: [PATCH 2/2] Use "name" field instead of "headline" https://github.com/alphagov/govuk_publishing_components/pull/1423/commits/c85c8fb6297731fd792833fedc90b3760a51f37d --- test/integration/answer_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/answer_test.rb b/test/integration/answer_test.rb index b1bb1150a..209e872f4 100644 --- a/test/integration/answer_test.rb +++ b/test/integration/answer_test.rb @@ -25,7 +25,7 @@ class AnswerTest < ActionDispatch::IntegrationTest setup_and_visit_content_item("answer") faq_schema = find_structured_data(page, "FAQPage") - assert_equal faq_schema["headline"], @content_item["title"] + assert_equal faq_schema["name"], @content_item["title"] assert_not_equal faq_schema["mainEntity"], [] end end