govuk_publishing_components 39.2.2 → 39.2.3

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: df7fbf03f91c150608c1ff35b2aa7334ece94615df55235111abe06a85cf68f2
4
- data.tar.gz: 1694a3f8918b05ad9b53d0790be258b802ea2d516e0e28539c46410c3529308c
3
+ metadata.gz: 0f075a264f61ccb95027ab5172ae627d62cd9875732ee918a7932749e2db96d4
4
+ data.tar.gz: 6dc2ac039da50369abfba6b2553f2f400ea9f914e67e994eaf063ef514fa5f31
5
5
  SHA512:
6
- metadata.gz: 6039fe4d93d1739878680bb30734d51d0cb87fc2f4daacbac67c45e0c725d2ba8e149a860f89df943668a88464b5a91e054dcd66c754bc8c92a0538d68a5eac1
7
- data.tar.gz: 2d30d358877b81f7d0a91d5fc2ac42d053eb1b77b3f48463f30f672a85133ecc42466bef0caf03814804296328a292c27544439fa158864497dffcd93c59f8aa
6
+ metadata.gz: e171df9ac39bbeff26a3245c670e8484d27e3331785fbb2e0961bdb029032152b9f255df0e0234f808d95a4905eaeff37ab61693a479508958debf763f54d9db
7
+ data.tar.gz: 5131dce03a41072b27d8edf76ca8a67acd5fb05354a64e0ca21dc7bb15b85aff9175c0cb9a8c2a6a419873553066c359015874d669b2d404a3295fb48cb76829
@@ -2,11 +2,12 @@
2
2
  gtm_auth ||= nil
3
3
  gtm_preview ||= nil
4
4
 
5
- gtm_attributes = %w(gtm_cookies_win=x)
5
+ gtm_attributes = []
6
6
  gtm_attributes << "gtm_auth=" + gtm_auth if gtm_auth
7
- gtm_attributes << "gtm_preview=" + gtm_preview if gtm_preview
7
+ gtm_attributes << "gtm_preview=#{gtm_preview}&gtm_cookies_win=x" if gtm_preview
8
8
  gtm_attributes = gtm_attributes.join('&')
9
9
  %>
10
+
10
11
  <%= javascript_tag nonce: true do -%>
11
12
  (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
12
13
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "39.2.2".freeze
2
+ VERSION = "39.2.3".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: 39.2.2
4
+ version: 39.2.3
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: 2024-07-08 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -1605,7 +1605,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1605
1605
  - !ruby/object:Gem::Version
1606
1606
  version: '0'
1607
1607
  requirements: []
1608
- rubygems_version: 3.5.14
1608
+ rubygems_version: 3.5.15
1609
1609
  signing_key:
1610
1610
  specification_version: 4
1611
1611
  summary: A gem to document components in GOV.UK frontend applications