govuk_publishing_components 21.19.1 → 21.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0d03eff3ff50934798d21ab6e6af385c305930fbfff876e4510773ba4e0dcb
|
4
|
+
data.tar.gz: '0708bf5b8626c98f767db02703a9872df4548587e6277ed681f6044981febda1'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d93a2eb3856b27e35b21df3815fd71928f611917d880d329a684efaf01905a4ee8935367da228b55863a4b22964b77c7794dbbcc0f823ff1c6e92ff8487148
|
7
|
+
data.tar.gz: cd5d01ec8df0c2fe720bdadf66a979fb6f0681dcaf74b6c0c8dbead259bcf78073c575cfc2aac5e5a637517ce2b7b5f4e3b1bd5a97de864d15918aff42e293aa
|
@@ -49,7 +49,7 @@ module GovukPublishingComponents
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def content_has_curated_related_items?
|
52
|
-
content_item.dig("links", "ordered_related_items").present?
|
52
|
+
content_item.dig("links", "ordered_related_items").present? && content_item.dig("links", "parent").present?
|
53
53
|
end
|
54
54
|
|
55
55
|
def content_is_tagged_to_a_live_taxon?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 21.
|
4
|
+
version: 21.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|