simple_cookies 0.0.3 → 0.0.4
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 +4 -4
- data/app/views/simple_cookies/_consent.html.erb +3 -3
- data/config/locales/en.yml +5 -0
- data/config/locales/fr.yml +5 -0
- data/simple_cookies.gemspec +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4fa457ba70f1f400a0a56c021fd2ce6c832fb22
|
4
|
+
data.tar.gz: 7b27d5d10d660fd52d1f0cd3a2a7f2f6232ce5b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f96ad29526923af17079d44d8ee1ce1a1d7bdc413bbd732d0f3587f032a3f40b027f091b6760358f6199899cf78c321d253f792893dd49043ddbd72a6624ae3
|
7
|
+
data.tar.gz: 3a0b4ab726900d9e9edd1006a7a2dec5c43377dbe2b31728380f6fdfa6c718ddc132740414cab9c159110f10eb3a2769dc906ad4e731b1f04d66b9a734a98ebb
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% if request.cookies && request.cookies['simple_cookies_consented'] != 'true' %>
|
2
2
|
<section id="simple-cookies" class="<%= klass if klass.present? %>">
|
3
|
-
<h1
|
4
|
-
<p
|
5
|
-
<a href="#" class="simple-cookies-accept"
|
3
|
+
<h1><%=t "simple_cookies.title", appname: appname %></h1>
|
4
|
+
<p><%=t "simple_cookies.text" %></p>
|
5
|
+
<a href="#" class="simple-cookies-accept"><%=t "simple_cookies.ok" %></a>
|
6
6
|
</section>
|
7
7
|
<% end %>
|
data/simple_cookies.gemspec
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'simple_cookies'
|
5
|
-
s.version = "0.0.
|
6
|
-
s.date = '2017-10-
|
5
|
+
s.version = "0.0.4"
|
6
|
+
s.date = '2017-10-26'
|
7
7
|
s.summary = "A simple gem to display cookies consent !"
|
8
8
|
s.description = "A simple gem to display cookies consent ! If you don't disable cookies, we assume you are ok with app's cookies policy."
|
9
9
|
s.authors = ["Micael Dekleyn"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_cookies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micael Dekleyn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -35,6 +35,8 @@ files:
|
|
35
35
|
- LICENSE
|
36
36
|
- README.md
|
37
37
|
- app/views/simple_cookies/_consent.html.erb
|
38
|
+
- config/locales/en.yml
|
39
|
+
- config/locales/fr.yml
|
38
40
|
- lib/simple_cookies.rb
|
39
41
|
- simple_cookies.gemspec
|
40
42
|
- vendor/assets/javascripts/simple_cookies.js
|