rails-gdpr-export 0.1.0 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -8
  3. data/lib/exts/gdpr/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f339f58d2851865fc9ecbb780ed5561a9f692bc60341325d14b2e18c6378733
4
- data.tar.gz: a3f0b834ec32842050baa81fab905d6a75bf6364edaf2583c843a124568dcb01
3
+ metadata.gz: 1019761a9443a0a21381bdf2276b0186c198c45d1225f4c751863fc6ac004622
4
+ data.tar.gz: 1b5136e360723d7c113aea6699d740c828513e06a24f032ced92e39a64ca5a27
5
5
  SHA512:
6
- metadata.gz: 6b3b5df225578771d630115f3a47455b1e72a79d239236fc892c505a34bf390fb567d7fa86a102b09e52aa631f2825c81dfc5c98704fe3b302d90bb1a5cd81f5
7
- data.tar.gz: f91fcb3f52b6da7ad6ef2bd75bb2dca3984075fd94f3aa56f8b4bb73b7d54d706659121ecf655002f0a0c726a574e70d944f3e4979bf4b60370a84086ed20177
6
+ metadata.gz: 8943787b8e4ee6eb4e24fcf58d01ff8df090245a7e955c1ccb1f17af2bd3805999ed6de29b9eaf64fdd70a2176504ec1fd2e90910e0cfba687b1abf0b0da99c2
7
+ data.tar.gz: 6b3818a619645b863ee8ee294ac41417620c8b2daa295dac0e7b22b7a5fedd7cc5479fd710f113478fd6848ba4b6fd2a0728c28fa934764fab03bb54102f1da5
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
- # Rails::Gdpr::Export
1
+ # rails-gdpr-export
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rails/gdpr/export`. To experiment with that code, run `bin/console` for an interactive prompt.
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 following code in a initializer file (e.g. initializers/gdpr.rb):
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/[USERNAME]/rails-gdpr-export.
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
 
@@ -1,5 +1,5 @@
1
1
  module Exts
2
2
  module Gdpr
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler