swedbank-pay-design-guide-jekyll-theme 2.1.11 → 2.1.12.pre.beta.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: e7f1510020aa70721530a99637c90dd6e55d778b1d847a8fef460a07973c547b
4
- data.tar.gz: ec5cecff227ea88f64f5b8bc9f4f75e4d2c546b519b6f588aa2157610bd7706d
3
+ metadata.gz: f1c49ca2882215cc207fbab5b8901ce5b963d4429204faf5f972dbbdcb8f397b
4
+ data.tar.gz: b8fb9787ebc2fd49d00181fa0d92735e14be6afdff7536053629e6979c763770
5
5
  SHA512:
6
- metadata.gz: 3aac3c4f6158fb43a299d81f153c5e584274c81ac5958e497a5782d65abcb9f38d18c2e69efbe04eb99e1ad03e0ab023e7f07ee52aba240b2309f6df49ab1248
7
- data.tar.gz: 6356efc5ba7bdd06cf1cecd03892c786a4ec0d9ac19eaee8d466409d6497c60b45a19be4bd2bc2d2045f39169a4a8eda014a75f5c59a201d1d85a1677183e4a6
6
+ metadata.gz: f53bd9dfede5ecd4cf928e27f3148cda03d8d3cdec058a9b712e0ad003be91a5275c8e9a42de51590bb431fdd79a5ae32bf0d8fe82bb6b829fac9fbf938ee824
7
+ data.tar.gz: a50b9968d8d03cf05d26368e8d311b5176bf8437e9aeff9e6ab8849d4db7bcc98e2a764ea342793251e72f739b4718a37a94fcbc793c160215f9bc68de56cfdc
@@ -54,6 +54,7 @@
54
54
  <script src="{{ "/assets/tipuesearch/tipuesearch_set.js" | relative_url }}"></script>
55
55
  <script src="{{ "/assets/tipuesearch/tipuesearch.min.js" | relative_url }}"></script>
56
56
  {%- endif %}
57
+ <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="77c777e5-115a-4e3d-81ec-cc857a4ac846"></script>
57
58
  </head>
58
59
 
59
60
  <body>
@@ -111,6 +112,7 @@
111
112
  </div>
112
113
  <script src="{{ design_guide_url }}/scripts/dg.js" global="true" autoload="true"></script>
113
114
  <script src="{{ '/assets/js/swedbank-pay-design-guide-theme.js' | relative_url }}"></script>
115
+ <script src="{{ '/assets/js/cookie-consent.js' | relative_url }}"></script>
114
116
  {%- if site.google_analytics.tracking_id %}
115
117
  {% include google_analytics.html %}
116
118
  {%- endif %}
@@ -0,0 +1,40 @@
1
+ function OptanonWrapper() { }
2
+
3
+ function activateClarity() {
4
+ // Clarity script - do not change
5
+ (function(c,l,a,r,i,t,y){
6
+ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
7
+ t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
8
+ y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
9
+ })(window, document, "clarity", "script", "jd3awxna38");
10
+ // End of Clarity script
11
+ }
12
+
13
+ function getCookie(name) {
14
+ if (document.cookie.split(";").some((c) => c.trim().startsWith(name + "="))) {
15
+ return document.cookie.split(";").find((c) => c.trim().startsWith(name + "="));
16
+ }
17
+ else {
18
+ return false;
19
+ }
20
+ }
21
+
22
+ function deleteCookie(name) {
23
+ if (getCookie(name)) {
24
+ document.cookie = name + "=;domain=.swedbankpay.com;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT";
25
+ }
26
+ }
27
+
28
+ function inactivateClarityCookies() {
29
+ deleteCookie("_clck");
30
+ deleteCookie("_clsk");
31
+ }
32
+
33
+ window.addEventListener("OneTrustGroupsUpdated", (event) => {
34
+ if (event.detail.indexOf("C0002") !== -1) {
35
+ activateClarity();
36
+ }
37
+ else {
38
+ inactivateClarityCookies();
39
+ }
40
+ });
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '2.1.11'
7
+ '2.1.12-beta.2'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.11
4
+ version: 2.1.12.pre.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-21 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -172,6 +172,20 @@ dependencies:
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '3.7'
175
+ - !ruby/object:Gem::Dependency
176
+ name: awesome_print
177
+ requirement: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :runtime
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
175
189
  - !ruby/object:Gem::Dependency
176
190
  name: bundler
177
191
  requirement: !ruby/object:Gem::Requirement
@@ -352,6 +366,20 @@ dependencies:
352
366
  - - ">="
353
367
  - !ruby/object:Gem::Version
354
368
  version: '0'
369
+ - !ruby/object:Gem::Dependency
370
+ name: awesome_print
371
+ requirement: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ type: :development
377
+ prerelease: false
378
+ version_requirements: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - ">="
381
+ - !ruby/object:Gem::Version
382
+ version: '0'
355
383
  description:
356
384
  email:
357
385
  - opensource@swedbankpay.com
@@ -429,6 +457,7 @@ files:
429
457
  - assets/img/demoshop.svg
430
458
  - assets/img/external-url-dark-bg.svg
431
459
  - assets/img/external-url.svg
460
+ - assets/js/cookie-consent.js
432
461
  - assets/js/mermaid.min.js
433
462
  - assets/js/swedbank-pay-design-guide-theme.js
434
463
  - assets/puml-theme-swedbankpay.puml
@@ -472,9 +501,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
472
501
  version: 2.5.0
473
502
  required_rubygems_version: !ruby/object:Gem::Requirement
474
503
  requirements:
475
- - - ">="
504
+ - - ">"
476
505
  - !ruby/object:Gem::Version
477
- version: '0'
506
+ version: 1.3.1
478
507
  requirements: []
479
508
  rubygems_version: 3.1.6
480
509
  signing_key: