cookies_eu 1.7.4 → 1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/cookies_eu.js +2 -1
- data/cookies_eu.gemspec +2 -2
- data/lib/cookies_eu/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f206986510423550598fa2a1ec037a6cd8b14bca84f14b960505f89c1b3be205
|
4
|
+
data.tar.gz: bc5257e6875f8287f38b25372b377784d53d3ddc11802c5cb7ec64ad3c53c292
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa2a9c7b8732e9498489bd51909b29a2646cc54835358462602fa63b4d84c604beb5d0255daa841fcfc017bae95af99dc7f41b1209db0d418bf2623b0c00de0
|
7
|
+
data.tar.gz: 4dfc02c81cd45ee004b2163e0eee4dd305c15e19c120c793df8920c77112f316b08a9079590967f0f787a56260a033b98e04324df26b5ca8e91b8b894e5327a2
|
@@ -24,7 +24,8 @@ var cookiesEu = {
|
|
24
24
|
},
|
25
25
|
|
26
26
|
setCookie: function() {
|
27
|
-
|
27
|
+
var isSecure = location.protocol === 'https:';
|
28
|
+
Cookies.set('cookie_eu_consented', true, { path: '/', expires: 365, secure: isSecure });
|
28
29
|
|
29
30
|
var container = document.querySelector('.js-cookies-eu');
|
30
31
|
container.parentNode.removeChild(container);
|
data/cookies_eu.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'cookies_eu/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "cookies_eu"
|
8
8
|
spec.version = CookiesEu::VERSION
|
9
|
-
spec.authors = ["Stjepan Hadjic"]
|
10
|
-
spec.email = ["stjepan.hadjic@infinum.hr"]
|
9
|
+
spec.authors = ["Stjepan Hadjic", "Gabrijel Skoro"]
|
10
|
+
spec.email = ["stjepan.hadjic@infinum.hr", "gabrijel.skoro@gmail.com"]
|
11
11
|
spec.description = %q{Displays a cookie consent}
|
12
12
|
spec.summary = %q{Displays a cookie consent. If you dont disable cokkies in settings, we assume you are ok with us using cookies}
|
13
13
|
spec.homepage = "https://github.com/infinum/cookies_eu"
|
data/lib/cookies_eu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cookies_eu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stjepan Hadjic
|
8
|
+
- Gabrijel Skoro
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
12
|
+
date: 2019-01-30 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: js_cookie_rails
|
@@ -55,6 +56,7 @@ dependencies:
|
|
55
56
|
description: Displays a cookie consent
|
56
57
|
email:
|
57
58
|
- stjepan.hadjic@infinum.hr
|
59
|
+
- gabrijel.skoro@gmail.com
|
58
60
|
executables: []
|
59
61
|
extensions: []
|
60
62
|
extra_rdoc_files: []
|