gdpr 1.4.0 → 1.4.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: d9a349ac3867e974f79fb1329394af7cdd5e41559260574d44ba516c42265d82
4
- data.tar.gz: dc1d444c220bded94d50e93c58c63eca7a2ffd4f7c40f3b66a9a845114c0f84d
3
+ metadata.gz: '0608ffb2882ed4dc97a728e661cb166c9d175e5fcfb9261757e13014d5a3f411'
4
+ data.tar.gz: f96526777ff95bf11cfe3d4a9c9624f8b78326bf280e84761010092972762fe4
5
5
  SHA512:
6
- metadata.gz: 9460604bac94355775bd1f7157f45682797d91ccdf21e7e4509a3d34171718a4909ec3dd0de294074e59f9d3ea30aae1db27f2fe3848355e7482dd98e1b3f69b
7
- data.tar.gz: 6717eac784c901b8e589dabe9304e160388c8be5fe7cb91cb21896f9466408c9611b16cfbc0edb11e0e2bd1d1904ea929922d8f9597172fc4427f60a9b6af3f3
6
+ metadata.gz: 7f484176e4e9995a857df2d66eaa5f8295b783e8448bf492831e9f29fbf30d9e69b4bfaf18a6131d522221e6a9f2a8847f1b95947030e8d28dfa5c2a2640b9d7
7
+ data.tar.gz: 6b5c053ac9e1b8f2ac09656ef60c660727ad33b0922f7fdb4f11d35b1a82e53b8be9bc6092db51c3d712097c647bd471ed5037f55cab674f3772300f4bac6ff3
@@ -5,6 +5,9 @@ window.cookieConsent = {
5
5
  init: function () {
6
6
  'use strict';
7
7
  this.cookieBanner = document.querySelector('.js-gdpr__cookie_consent');
8
+ if (!this.cookieBanner) {
9
+ return;
10
+ }
8
11
  this.cookieConsentOkButton = document.querySelector('.js-gdpr__cookie_consent__buttons__ok');
9
12
  this.cookieConsentKoButton = document.querySelector('.js-gdpr__cookie_consent__buttons__ko');
10
13
  this.displayAgainButtons = document.querySelectorAll('.js-gdpr__cookie_consent__display_again');
data/lib/gdpr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gdpr
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdpr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Levy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-07 00:00:00.000000000 Z
13
+ date: 2024-10-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.3.26
88
+ rubygems_version: 3.5.16
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Helps getting your Rails app GDPR compliant