gdpr 1.3.0 → 1.4.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0608ffb2882ed4dc97a728e661cb166c9d175e5fcfb9261757e13014d5a3f411'
|
4
|
+
data.tar.gz: f96526777ff95bf11cfe3d4a9c9624f8b78326bf280e84761010092972762fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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');
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.gdpr__cookie_consent {
|
2
|
+
background: #FFFFFF;
|
3
|
+
border: 1px solid #EEEEEE;
|
4
|
+
bottom: 15px;
|
5
|
+
display: none;
|
6
|
+
font-size: 14px;
|
7
|
+
left: 15px;
|
8
|
+
max-width: 500px;
|
9
|
+
padding: 15px;
|
10
|
+
position: fixed;
|
11
|
+
right: 15px;
|
12
|
+
z-index: 9999;
|
13
|
+
}
|
14
|
+
|
15
|
+
.gdpr__cookie_consent a {
|
16
|
+
text-decoration: underline !important;
|
17
|
+
}
|
18
|
+
|
19
|
+
.gdpr__cookie_consent__text {
|
20
|
+
margin-bottom: 15px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.gdpr__cookie_consent__buttons__ko {
|
24
|
+
margin-left: 3px;
|
25
|
+
}
|
data/lib/gdpr/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdpr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Levy
|
8
8
|
- Pierre-André Boissinot
|
9
|
+
- Sébastien Gaya
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rails
|
@@ -39,24 +40,11 @@ dependencies:
|
|
39
40
|
- - ">="
|
40
41
|
- !ruby/object:Gem::Version
|
41
42
|
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: dartsass-sprockets
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :runtime
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
43
|
description: Adds a GDPR cookie consent and provides a simple checklist
|
57
44
|
email:
|
58
|
-
-
|
59
|
-
-
|
45
|
+
- arnaud.levy@noesya.coop
|
46
|
+
- pierreandre.boissinot@noesya.coop
|
47
|
+
- sebastien.gaya@noesya.coop
|
60
48
|
executables: []
|
61
49
|
extensions: []
|
62
50
|
extra_rdoc_files: []
|
@@ -65,7 +53,7 @@ files:
|
|
65
53
|
- README.md
|
66
54
|
- Rakefile
|
67
55
|
- app/assets/javascripts/gdpr/cookie_consent.js
|
68
|
-
- app/assets/stylesheets/gdpr/cookie_consent.
|
56
|
+
- app/assets/stylesheets/gdpr/cookie_consent.css
|
69
57
|
- app/views/gdpr/_cookie_consent.html.erb
|
70
58
|
- config/locales/de.yml
|
71
59
|
- config/locales/en.yml
|
@@ -97,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
85
|
- !ruby/object:Gem::Version
|
98
86
|
version: '0'
|
99
87
|
requirements: []
|
100
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.5.16
|
101
89
|
signing_key:
|
102
90
|
specification_version: 4
|
103
91
|
summary: Helps getting your Rails app GDPR compliant
|
@@ -1,21 +0,0 @@
|
|
1
|
-
.gdpr__cookie_consent
|
2
|
-
background: #FFFFFF
|
3
|
-
border: 1px solid #EEEEEE
|
4
|
-
bottom: 15px
|
5
|
-
display: none
|
6
|
-
font-size: 14px
|
7
|
-
left: 15px
|
8
|
-
max-width: 500px
|
9
|
-
padding: 15px
|
10
|
-
position: fixed
|
11
|
-
right: 15px
|
12
|
-
z-index: 9999
|
13
|
-
|
14
|
-
a
|
15
|
-
text-decoration: underline !important
|
16
|
-
|
17
|
-
&__text
|
18
|
-
margin-bottom: 15px
|
19
|
-
|
20
|
-
&__buttons__ko
|
21
|
-
margin-left: 3px
|