govuk_tech_docs 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a331ce0ed0284aa211127a3fe376cc99ec4bd5d187719420411326f655914b0
4
- data.tar.gz: e19942e5fbc892aeed1a7afa001704edb59e3ceef06ea249015d5f019b4e06e0
3
+ metadata.gz: 41679b50cd70bbb1381ec931e5b0beab038f6c5d31e6013a74e587ae0892e8b2
4
+ data.tar.gz: f7c9f4e9d1c0642be081c5a7dd58db1516e522808d33120f9694e502cb078884
5
5
  SHA512:
6
- metadata.gz: d1d5587e90903496036c3c3f12420aaabe505416a47c9be4368d2d21df84db2b6d2e38972697339b0207d83cf1cfe771b3ad35d8d569e51b1d27a99de6f436ca
7
- data.tar.gz: 84bb340e57ac4a98bd74adf68dc904b6d38f57224de3f0c32beb26239cfbdebb1c72ef43ae4192315a70084202d65bb480511c613f3a9bf885f3575b6112ece2
6
+ metadata.gz: d2e8853fa947b54d2c098d068909e0bda19b57b2c8751b46fe4804a30de4de75a96485cef0d65096f581ba841ad90ede46fed33c1f8c0095753c188bde910ad2
7
+ data.tar.gz: 3f8e081713276dcd3ed59178bedd330cc7db344c6ca7d8d8caa48ca2205a1c59224557b8a2999e37c4260da948c81534ab2677c6eafdacb996d43e1ef69c69e8
data/CHANGELOG.md CHANGED
@@ -1,11 +1,13 @@
1
+ ## 4.3.1
2
+
3
+ - Revert [Fix: Use the service link as the start of the path to the favicon images](https://github.com/alphagov/tech-docs-gem/pull/391)
4
+
1
5
  ## 4.3.0
2
6
 
3
7
  - [Bump govuk-frontend to v5.9.0 and pin middleman to v4.5.1](https://github.com/alphagov/tech-docs-gem/pull/390)
4
8
 
5
9
  - [Fix: Update Rack::File to Rack::Files in test specs](https://github.com/alphagov/tech-docs-gem/pull/394)
6
10
 
7
- - [Fix: Use the service link as the start of the path to the favicon images](https://github.com/alphagov/tech-docs-gem/pull/391)
8
-
9
11
  ## 4.2.0
10
12
 
11
13
  ## New features
@@ -1,3 +1,3 @@
1
1
  module GovukTechDocs
2
- VERSION = "4.3.0".freeze
2
+ VERSION = "4.3.1".freeze
3
3
  end
@@ -11,22 +11,11 @@
11
11
 
12
12
  <link rel="canonical" href="<%= meta_tags.canonical_url %>">
13
13
  <% if config[:tech_docs][:show_govuk_logo] %>
14
- <%
15
- if development?
16
- path_prefix = '/'
17
- else
18
- path_prefix = config[:tech_docs][:service_link] || '/'
19
- # ensure service_link ends with a trailing '/'
20
- if path_prefix[-1, 1] != '/'
21
- path_prefix += '/'
22
- end
23
- end
24
- %>
25
- <link rel="icon" sizes="48x48" href="<%= path_prefix %>assets/govuk/assets/images/favicon.ico">
26
- <link rel="icon" sizes="any" href="<%= path_prefix %>assets/govuk/assets/images/favicon.svg" type="image/svg+xml">
27
- <link rel="mask-icon" href="<%= path_prefix %>assets/govuk/assets/images/govuk-icon-mask.svg" color="#0b0c0c">
28
- <link rel="apple-touch-icon" href="<%= path_prefix %>assets/govuk/assets/images/govuk-icon-180.png">
29
- <link rel="manifest" href="<%= path_prefix %>assets/govuk/assets/manifest.json">
14
+ <link rel="icon" sizes="48x48" href="/assets/govuk/assets/images/favicon.ico">
15
+ <link rel="icon" sizes="any" href="/assets/govuk/assets/images/favicon.svg" type="image/svg+xml">
16
+ <link rel="mask-icon" href="/assets/govuk/assets/images/govuk-icon-mask.svg" color="#0b0c0c">
17
+ <link rel="apple-touch-icon" href="/assets/govuk/assets/images/govuk-icon-180.png">
18
+ <link rel="manifest" href="/assets/govuk/assets/manifest.json">
30
19
  <% else %>
31
20
  <link rel="icon" sizes="48x48" href="/images/favicon.ico">
32
21
  <link rel="icon" sizes="any" href="/images/favicon.svg" type="image/svg+xml">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_tech_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service