govuk_publishing_components 63.1.0 → 63.1.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4f4bddddd59ab4acdd36e889516a641e771dba63fc265299ea220d6d51b2aff
|
|
4
|
+
data.tar.gz: 99a65a11c3292dfb5114513f828319b8d91b0ba9b3a532c9b009ca0a9bf06f65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83667e64ed8684f334895a638f67953de738140a133dc53f8c692b3130df1fed34c17020c8c3bd1a6dbb386f0f4ebe5592bb8b6534a97d0444a5583a42a0854f
|
|
7
|
+
data.tar.gz: a8af80d3b6e7629047e4803e4e70a0a1024fc495718014b4895eac53d738ceac829d56698eb150a29760c854d60282709d318d9c957f45cbf03ad66743d228bd
|
|
@@ -138,7 +138,7 @@ module GovukPublishingComponents
|
|
|
138
138
|
def build_world_locations_path_for(link)
|
|
139
139
|
if link["document_type"] == "world_location_news"
|
|
140
140
|
link["base_path"]
|
|
141
|
-
elsif link["document_type"] == "world_location" && link.dig("links", "world_location_news").any?
|
|
141
|
+
elsif link["document_type"] == "world_location" && link.dig("links", "world_location_news") && link.dig("links", "world_location_news").any?
|
|
142
142
|
link.dig("links", "world_location_news", 0, "base_path")
|
|
143
143
|
else
|
|
144
144
|
slug = link["title"].parameterize
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_publishing_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 63.1.
|
|
4
|
+
version: 63.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
@@ -2118,7 +2118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
2118
2118
|
- !ruby/object:Gem::Version
|
|
2119
2119
|
version: '0'
|
|
2120
2120
|
requirements: []
|
|
2121
|
-
rubygems_version: 4.0.
|
|
2121
|
+
rubygems_version: 4.0.3
|
|
2122
2122
|
specification_version: 4
|
|
2123
2123
|
summary: A gem to document components in GOV.UK frontend applications
|
|
2124
2124
|
test_files: []
|