metadata_presenter 3.0.9 → 3.0.10

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: 4707a8149a16ec6f2af41240c4a7936d08ac6f25a49cbff290ec747c1a46ac92
4
- data.tar.gz: e37067b5f6aa11f626f0c0582a1d85be0157e91186494f0dc4ca175f8761d94a
3
+ metadata.gz: 54c6ecc2b1debb009b47be314522b2ba7e23ce63e7d5f3faa765d74e7a36ff7d
4
+ data.tar.gz: 5798336e9c7611f5c0c25b91bf1a9840597badd1def527071b86f85a7775131d
5
5
  SHA512:
6
- metadata.gz: 5d76603a7b91992dc3f0ea705b01bfbcab88f71845c5e6ad523655fa1d45199ac79a7ab666bbf024d471d13da16ea34fe8779b8e8a7de2e6fef3f8c3b0d089b2
7
- data.tar.gz: 4156bb315d1331305d46a8397b3456dda4e21004c590e121f0b4c3c17ca7659f7d6c73d7a5f503e90e6a6aa0aeaa3f9f5cb1fba4355af60c6c7c07688a8169cc
6
+ metadata.gz: 928a9c85c03b7b8d40a06e60d00eaf5ddc2392150326ff6d29afbfb75fec76a8d139765ba5f51abc8d292e5c83741e80e446a9252680dfab18132bda408a8332
7
+ data.tar.gz: 82197744b9226026f5c3afc25bf74fa008978145a8ad522e7132cdc576e3a50fa072739c60f68cec58330d787a401e9968d835c6f980266c1ad35e28c155c478
@@ -24,7 +24,7 @@
24
24
  </head>
25
25
 
26
26
  <body class="govuk-template__body">
27
- <script>
27
+ <script nonce=<%= request.content_security_policy_nonce %>>
28
28
  document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
29
29
  </script>
30
30
 
@@ -1,7 +1,7 @@
1
1
  <!-- Form Owner Google Analytics 4 -->
2
2
  <% if Rails.application.config.respond_to?(:global_ga4) %>
3
3
  <%# Global Google Analytics (GA4) should be included before this point so we only need a config setting %>
4
- <script>
4
+ <script nonce=<%= request.content_security_policy_nonce %>>
5
5
  gtag('config', '<%= measurement_id %>');
6
6
  </script>
7
7
  <% end %>
@@ -1,6 +1,6 @@
1
1
  <!-- Global MoJ Forms site tag (gtag.js) - Google Analytics 4 -->
2
2
  <script async src="https://www.googletagmanager.com/gtag/js?id=#{global_measurement_id}"></script>
3
- <script>
3
+ <script nonce=<%= request.content_security_policy_nonce %>>
4
4
  var manual_global_analytics_properties = {
5
5
  <%= yield :manual_global_analytics_properties %>
6
6
  }
@@ -1,5 +1,5 @@
1
1
  <!-- Google Tag Manager for Form Owner -->
2
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
2
+ <script nonce=<%= request.content_security_policy_nonce %>>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3
3
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4
4
  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
5
5
  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
@@ -1,5 +1,5 @@
1
1
  <!-- Google Universal Analytics for Form Owner -->
2
- <script>
2
+ <script nonce=<%= request.content_security_policy_nonce %>>
3
3
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
4
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
5
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '3.0.9'.freeze
2
+ VERSION = '3.0.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - MoJ Forms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-29 00:00:00.000000000 Z
11
+ date: 2023-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_design_system_formbuilder