gdpr 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a659d250706a0d53330035165bf30ea00225335d
4
+ data.tar.gz: 54fceb26c045db2bd52acec48bf8d9e55d015d77
5
+ SHA512:
6
+ metadata.gz: f01aefeb4a5e4134ffa593fcc2d9601bdb9c5d2b52762566cd5d3084e6244b99b1fd9804c9a1aa121c7089b8ca63288a019b0148dc0291563039a4a86d347b86
7
+ data.tar.gz: 3e88bece413462886936d6c1504d192134dd0e1cff389894c6e645ef2d26b17d8f66e0726bd82847c55eb86b355bf41b4a925ffa67fbf2b3527b2d1569e5ee67
@@ -0,0 +1,34 @@
1
+ # Gdpr
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'gdpr'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install gdpr
22
+ ```
23
+
24
+ ## Checklist
25
+
26
+ [x] Cookie consent
27
+ [ ] Privacy policy
28
+ [ ] Optin must exist, and must not be checked by default
29
+
30
+ ## Contributing
31
+ Contribution directions go here.
32
+
33
+ ## License
34
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,33 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'Gdpr'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+
18
+
19
+
20
+
21
+
22
+ require 'bundler/gem_tasks'
23
+
24
+ require 'rake/testtask'
25
+
26
+ Rake::TestTask.new(:test) do |t|
27
+ t.libs << 'test'
28
+ t.pattern = 'test/**/*_test.rb'
29
+ t.verbose = false
30
+ end
31
+
32
+
33
+ task default: :test
@@ -0,0 +1,33 @@
1
+ .cookies-consent
2
+ position: fixed
3
+ z-index: 999
4
+ right: 0
5
+ bottom: 0
6
+ left: 0
7
+ padding: 0 20px
8
+ text-align: center
9
+ border-top: 1px solid $border-grey
10
+ background: #fff
11
+
12
+ +breakpoint(xs)
13
+ font-size: 12px
14
+ position: initial
15
+
16
+ .cookies-consent__text
17
+ display: inline-block
18
+ padding: 20px 160px
19
+
20
+ +breakpoint(xs)
21
+ padding: 20px 0
22
+
23
+ .cookies-consent__buttons
24
+ position: absolute
25
+ right: 10px
26
+ top: 12px
27
+
28
+ +breakpoint(xs)
29
+ position: initial
30
+ margin-bottom: 10px
31
+
32
+ .cookies-consent-ok
33
+ padding: 15px 21px 15px !important
@@ -0,0 +1,3 @@
1
+ module Gdpr
2
+ # Your code goes here...
3
+ end
@@ -0,0 +1,3 @@
1
+ module Gdpr
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :gdpr do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gdpr
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Arnaud Levy
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-03-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: js_cookie_rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sass-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Adds a GDPR cookie consent and provides a simple checklist
56
+ email:
57
+ - alevy@lespoupees.paris
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - README.md
63
+ - Rakefile
64
+ - app/assets/stylesheets/gdpr.sass
65
+ - lib/gdpr.rb
66
+ - lib/gdpr/version.rb
67
+ - lib/tasks/gdpr_tasks.rake
68
+ homepage: https://github.com/lespoupeesrusses/gdpr
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubyforge_project:
88
+ rubygems_version: 2.6.13
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Helps getting your Rails app GDPR compliant
92
+ test_files: []