From dbb14db33c41ef04aec16911466184fb27c75e37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Fri, 15 Jun 2018 05:29:00 +0000 Subject: [PATCH 1/2] Bump govuk_publishing_components from 9.2.1 to 9.2.3 Bumps [govuk_publishing_components](https://github.com/alphagov/govuk_publishing_components) from 9.2.1 to 9.2.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/v9.2.1...v9.2.3) Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 3509205c3..9cc2395ca 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,7 @@ gem 'gds-api-adapters', '~> 52.6' gem 'govuk_ab_testing', '~> 2.4' gem 'govuk_app_config', '~> 1.5' gem 'govuk_frontend_toolkit', '~> 7.4' -gem 'govuk_publishing_components', '~> 9.2.1' +gem 'govuk_publishing_components', '~> 9.2.3' gem 'plek', '~> 2.1' gem 'slimmer', '~> 12.1' diff --git a/Gemfile.lock b/Gemfile.lock index 6626b33da..0a55901ee 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -127,7 +127,7 @@ GEM govuk_frontend_toolkit (7.5.0) railties (>= 3.1.0) sass (>= 3.2.0) - govuk_publishing_components (9.2.1) + govuk_publishing_components (9.2.3) govspeak (>= 5.0.3) govuk_app_config govuk_frontend_toolkit @@ -300,7 +300,7 @@ GEM selenium-webdriver (3.11.0) childprocess (~> 0.5) rubyzip (~> 1.2) - sentry-raven (2.7.3) + sentry-raven (2.7.4) faraday (>= 0.7.6, < 1.0) slimmer (12.1.0) activesupport @@ -368,7 +368,7 @@ DEPENDENCIES govuk_ab_testing (~> 2.4) govuk_app_config (~> 1.5) govuk_frontend_toolkit (~> 7.4) - govuk_publishing_components (~> 9.2.1) + govuk_publishing_components (~> 9.2.3) govuk_schemas (~> 3.1) htmlentities (~> 4.3) jasmine-rails From 91d66027bbd83ce3e4b99e3b25e625adb4f17afb Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Fri, 15 Jun 2018 06:52:22 +0000 Subject: [PATCH 2/2] Restore hidden text in share links - followed a change to the component that removed this by default, adding it back in specifically for this usage of the component ("Share on") --- app/presenters/content_item/shareable.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/presenters/content_item/shareable.rb b/app/presenters/content_item/shareable.rb index f49166b93..5adad5231 100644 --- a/app/presenters/content_item/shareable.rb +++ b/app/presenters/content_item/shareable.rb @@ -6,12 +6,12 @@ def share_links [ { href: facebook_share_url, - text: 'Facebook', + text: 'Share on Facebook'.html_safe, icon: 'facebook' }, { href: twitter_share_url, - text: 'Twitter', + text: 'Share on Twitter'.html_safe, icon: 'twitter' } ]