govuk_publishing_components 24.21.0 → 24.21.1

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: e658a82fdcc66d27c4e76f3fcfc8743612d80ca4f4b98493db30bc650ba5175c
4
- data.tar.gz: 65fa6a0bd681467c70a64a106b39933c4275cf716c1e961e6397912d43f32a50
3
+ metadata.gz: 44ddb25e4dea29d5e7be3b46f3285066ee9b4b4d82fb32adef948fe0c9c6689a
4
+ data.tar.gz: abf6448ae9381da77edba07cdda15ccc2228485cfbdf53812946920fa51a7fa5
5
5
  SHA512:
6
- metadata.gz: cd7c02f1d17a3a72a5e74d70e1cad6b66d9ed2b48c8ab3d123a2397bb8062024084ffc650030a24742d556285f7e21b0474814e233a90554e29b5163a3cbd9c3
7
- data.tar.gz: '0890b578800c9eb7649ad5450b0f8cc94c1d2838947f3ce151932ee129c501599eb2072df826c63cbfdfc16fefa4c21e4712c719d8f1187b397c64d66cc3b0b5'
6
+ metadata.gz: a8f8b390856e99383a5d93254437de57a229a8d55774f751a2b1f0bd915ceed8122edf440d4ee6f9687d10aaeedac04e0c0f4cc6ef8bcc501ccd8b401c69beb9
7
+ data.tar.gz: 6d5c6d8e570e8ad75d92dab36f9d3af804c63060bfbbb19eb3a7307f2f5f61ab713477743247f5805784578093dec65a19ba58e2e04b60783472718abbc4ecb1
@@ -55,6 +55,8 @@ module GovukPublishingComponents
55
55
  end
56
56
 
57
57
  def brexit_audience(taxon)
58
+ return nil unless taxon
59
+
58
60
  {
59
61
  PRIORITY_TAXONS[:brexit_business] => "Brexitbusiness",
60
62
  PRIORITY_TAXONS[:brexit_individuals] => "Brexitcitizen",
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "24.21.0".freeze
2
+ VERSION = "24.21.1".freeze
3
3
  end
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: 24.21.0
4
+ version: 24.21.1
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: 2021-07-21 00:00:00.000000000 Z
11
+ date: 2021-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config