From f3387d529a897441df636e323dfc2cc6bb327587 Mon Sep 17 00:00:00 2001 From: Jerome Pratt Date: Tue, 18 Jun 2024 13:13:21 +0100 Subject: [PATCH 1/3] [RUBY-3223] Update favicon and icon links in defra_ruby_template.html.erb --- app/views/layouts/defra_ruby_template.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/defra_ruby_template.html.erb b/app/views/layouts/defra_ruby_template.html.erb index f693cd9..b621452 100644 --- a/app/views/layouts/defra_ruby_template.html.erb +++ b/app/views/layouts/defra_ruby_template.html.erb @@ -7,12 +7,12 @@ - " type="image/x-icon" /> - "> - "> - "> - "> - "> + " type="image/x-icon" /> + "> + " type="image/svg+xml"> + " color="#0b0c0c"> + "> + "> <%= yield :head %> "> @@ -47,7 +47,7 @@ From d49e574de2f349caacf42fd6f141c409bab7bdbe Mon Sep 17 00:00:00 2001 From: Jerome Pratt Date: Tue, 18 Jun 2024 13:21:06 +0100 Subject: [PATCH 2/3] [RUBY-3223] Update asset precompile list with new favicon and GOV.UK images --- app/views/layouts/defra_ruby_template.html.erb | 13 ++++++------- lib/defra_ruby_template.rb | 11 +++-------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/app/views/layouts/defra_ruby_template.html.erb b/app/views/layouts/defra_ruby_template.html.erb index b621452..095ef97 100644 --- a/app/views/layouts/defra_ruby_template.html.erb +++ b/app/views/layouts/defra_ruby_template.html.erb @@ -7,12 +7,11 @@ - " type="image/x-icon" /> - "> - " type="image/svg+xml"> - " color="#0b0c0c"> - "> - "> + " type="image/x-icon" /> + "> + " type="image/svg+xml"> + " color="#0b0c0c"> + "> <%= yield :head %> "> @@ -47,7 +46,7 @@ diff --git a/lib/defra_ruby_template.rb b/lib/defra_ruby_template.rb index 9058311..2870709 100644 --- a/lib/defra_ruby_template.rb +++ b/lib/defra_ruby_template.rb @@ -9,14 +9,9 @@ class Engine < ::Rails::Engine app.config.assets.precompile << [ "favicon.ico", - "govuk-apple-touch-icon-152x152.png", - "govuk-apple-touch-icon-167x167.png", - "govuk-apple-touch-icon-180x180.png", - "govuk-apple-touch-icon.png", - "govuk-crest-2x.png", - "govuk-crest.png", - "govuk-logotype-crown.png", - "govuk-mask-icon.svg", + "favicon.svg", + "govuk-icon-mask.svg", + "govuk-icon-180.png", "govuk-opengraph-image.png" ] end From 02b2fa915304837c3153afd931d5b506c9c83337 Mon Sep 17 00:00:00 2001 From: Jerome Pratt Date: Tue, 18 Jun 2024 17:15:07 +0100 Subject: [PATCH 3/3] [RUBY-3223] Bump version to 5.4.1 --- Gemfile.lock | 2 +- lib/defra_ruby_template/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8c8f659..c9ba565 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - defra_ruby_template (5.4.0) + defra_ruby_template (5.4.1) GEM remote: https://rubygems.org/ diff --git a/lib/defra_ruby_template/version.rb b/lib/defra_ruby_template/version.rb index 3535b03..340410e 100644 --- a/lib/defra_ruby_template/version.rb +++ b/lib/defra_ruby_template/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module DefraRubyTemplate - VERSION = "5.4.0" + VERSION = "5.4.1" end