govuk_publishing_components 27.10.1 → 27.10.2

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: 5dee5bb8329667345e4d430b7a49b863b5e68ebfb9398388ee7920b6beb4a3aa
4
- data.tar.gz: 2cec1ec99cea9a101a6066f3744d0b2faf37b2e21b3a560ef823f5fb0ee75398
3
+ metadata.gz: 2a92c889f37a998fd33eaa7d63a5023675379057a7b1d6c715faa9eaecfb4b96
4
+ data.tar.gz: a65094daf71f7c7092994bdcab43be1e0839c563dadd3c7932e8914ab77dd6f1
5
5
  SHA512:
6
- metadata.gz: 776095b867336f69a760f40f8e0a3f05de2f85e2c7f8dd078ad9cf1a45d5f1962c32d69dff75963e61c1b1481c0f9a7a010668ce7e73ca63e981bb9053b3f17b
7
- data.tar.gz: 8b49fa796edac5d3fe46fc76db93687baacb45074af825c94d6f81fdf70ead9273116dce5630ccbac424e8619b6c878dc82512d32ebd24392f796dcf79c592c1
6
+ metadata.gz: 8d9b2bf25703c953126dd01b6729d12e08c7d4dc626e7987cdeb7352b2426caf4825c299b3d21d1ddc7be736cb721947bc7baa92615014dabb2fa00732aa1156
7
+ data.tar.gz: 8770942781c1634da82bd444f57c98493d545ce6f52e776360c669905c9787a8557a78c3b5eb990b2fd7496b3068dfe98f8014e7a3f0a3b5580c9d9b8a2537a1
@@ -14,7 +14,7 @@
14
14
  // If engaged and rejected, append only ?cookie-consent=reject
15
15
  // If engaged and accepted usage, append ?_ga=clientid if available and cookie-consent=accept
16
16
 
17
- if (cookieBannerEngaged === 'false') {
17
+ if (cookieBannerEngaged !== 'true') {
18
18
  this.decorate(element, 'cookie_consent=not-engaged')
19
19
  return
20
20
  }
@@ -1,4 +1,7 @@
1
- <% user_organisation ||= nil %>
1
+ <%
2
+ warn('DEPRECATION WARNING: admin_analytics component is deprecated and will be removed in a future major release of govuk_publishing_components')
3
+ user_organisation ||= nil
4
+ %>
2
5
 
3
6
  <script class="analytics">
4
7
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@@ -1,4 +1,5 @@
1
1
  <%
2
+ warn('DEPRECATION WARNING: government_navigation component is deprecated and will be removed in a future major release of govuk_publishing_components')
2
3
  active ||= nil
3
4
  %>
4
5
 
@@ -1,4 +1,5 @@
1
1
  <%
2
+ warn('DEPRECATION WARNING: highlight_boxes component is deprecated and will be removed in a future major release of govuk_publishing_components')
2
3
  items ||= []
3
4
  inverse ||= false
4
5
  half_width ||= false
@@ -1,4 +1,5 @@
1
1
  <%
2
+ warn('DEPRECATION WARNING: taxonomy_list component is deprecated and will be removed in a future major release of govuk_publishing_components')
2
3
  highlight_box ||= false
3
4
  document_list ||= false
4
5
  image_cards ||= false
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "27.10.1".freeze
2
+ VERSION = "27.10.2".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: 27.10.1
4
+ version: 27.10.2
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-11-01 00:00:00.000000000 Z
11
+ date: 2021-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config