rails-gdpr-export 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -8
- data/lib/exts/gdpr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1019761a9443a0a21381bdf2276b0186c198c45d1225f4c751863fc6ac004622
|
4
|
+
data.tar.gz: 1b5136e360723d7c113aea6699d740c828513e06a24f032ced92e39a64ca5a27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8943787b8e4ee6eb4e24fcf58d01ff8df090245a7e955c1ccb1f17af2bd3805999ed6de29b9eaf64fdd70a2176504ec1fd2e90910e0cfba687b1abf0b0da99c2
|
7
|
+
data.tar.gz: 6b3818a619645b863ee8ee294ac41417620c8b2daa295dac0e7b22b7a5fedd7cc5479fd710f113478fd6848ba4b6fd2a0728c28fa934764fab03bb54102f1da5
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# rails-gdpr-export
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
A gem for exporting user personal data in compliance with GDPR.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,13 +20,13 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
- Add the
|
23
|
+
- Add code similar to the above in a initializer file (e.g. initializers/gdpr.rb) to specify the fields you want to retrieve:
|
26
24
|
|
27
25
|
```ruby
|
28
26
|
require 'exts/gdpr'
|
29
27
|
|
30
28
|
# Loads the Gdpr module into activerecord classes.
|
31
|
-
ActiveRecord::Base.send :include, Gdpr
|
29
|
+
ActiveRecord::Base.send :include, Exts::Gdpr
|
32
30
|
|
33
31
|
|
34
32
|
# Defines gdpr data collection throughout the model classes
|
@@ -53,7 +51,7 @@ Subscription.gdpr_collect :stripe_id, :stripe_plan_id,
|
|
53
51
|
renamed_fields: {title: "program title"}}
|
54
52
|
```
|
55
53
|
|
56
|
-
- call Gdpr.export(<user_id>) and it will return a csv formatted output
|
54
|
+
- call Exts::Gdpr.export(<user_id>) and it will return a csv formatted output
|
57
55
|
|
58
56
|
## Development
|
59
57
|
|
@@ -63,7 +61,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
63
61
|
|
64
62
|
## Contributing
|
65
63
|
|
66
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
64
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/epfl-exts/rails-gdpr-export.
|
67
65
|
|
68
66
|
## License
|
69
67
|
|
data/lib/exts/gdpr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-gdpr-export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chrislain Razafimahefa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|