forget_that 0.1.1 → 0.1.2
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/.circleci/config.yml +55 -0
- data/.gitignore +2 -0
- data/README.md +7 -0
- data/forget_that.gemspec +1 -0
- data/lib/forget_that/version.rb +1 -1
- metadata +17 -3
- data/Gemfile.lock +0 -120
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 283b9ea255e37d8255f80ba3338241686bcac1144ef70b763fa0f6fdbb9502cd
|
4
|
+
data.tar.gz: 292175eb09bc9309637363d1562493e4cca15fcdf0dec9421d9cf3bc5a27bf0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ba1479fe486641ec56e591ed155a68bc5960e4518bd1f34c04362e279eae536ce4cbe9dbcb0b3b776a8e3ba118e96f5f369cff8604f798428c9ff1de21874d9
|
7
|
+
data.tar.gz: e321b83d0e7768bc00ba535969f3e5c49d308c8ace27c96ce65bfc6ea08398e394a89f924610c51b9eec04994fddc98c251a1819c5f4ac5c4d17c96341ac3abe
|
@@ -0,0 +1,55 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build_1:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.6.0
|
6
|
+
steps:
|
7
|
+
- checkout
|
8
|
+
- run:
|
9
|
+
name: Install Bundler gem
|
10
|
+
command: gem install bundler
|
11
|
+
- run:
|
12
|
+
name: Bundle install
|
13
|
+
command: bundle install
|
14
|
+
- run:
|
15
|
+
name: Run rspec in parallel
|
16
|
+
command: |
|
17
|
+
bundle exec rspec --profile 10 \
|
18
|
+
--format RspecJunitFormatter \
|
19
|
+
--out test_results/rspec.xml \
|
20
|
+
--format progress \
|
21
|
+
$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
|
22
|
+
# Save test results for timing analysis
|
23
|
+
- store_test_results: # Upload test results for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
|
24
|
+
path: test_results
|
25
|
+
|
26
|
+
build_2:
|
27
|
+
docker:
|
28
|
+
- image: circleci/ruby:2.7.0
|
29
|
+
steps:
|
30
|
+
- checkout
|
31
|
+
- run:
|
32
|
+
name: Install Bundler gem
|
33
|
+
command: gem install bundler
|
34
|
+
- run:
|
35
|
+
name: Bundle install
|
36
|
+
command: bundle install
|
37
|
+
- run:
|
38
|
+
name: Run rspec in parallel
|
39
|
+
command: |
|
40
|
+
bundle exec rspec --profile 10 \
|
41
|
+
--format RspecJunitFormatter \
|
42
|
+
--out test_results/rspec.xml \
|
43
|
+
--format progress \
|
44
|
+
$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
|
45
|
+
# Save test results for timing analysis
|
46
|
+
- store_test_results: # Upload test results for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
|
47
|
+
path: test_results
|
48
|
+
|
49
|
+
workflows:
|
50
|
+
version: 2
|
51
|
+
build_and_test:
|
52
|
+
jobs:
|
53
|
+
- build_1
|
54
|
+
- build_2
|
55
|
+
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
# ForgetThat
|
2
2
|
|
3
|
+
[](https://circleci.com/gh/vehiculum-berlin/forget_that)
|
4
|
+
|
3
5
|
ForgetThat is a tool to take care of critical data in your database. It replaces the critical pieces of data with anonymized data, according to pre-set per-application policy.
|
4
6
|
|
5
7
|
## Important notice
|
6
8
|
|
7
9
|
When misconfigured and/or misused this gem can effectively wipe important data from the database. Be responsible and test before running on production data.
|
8
10
|
|
11
|
+
## Prerequisites
|
12
|
+
|
13
|
+
- Ruby ~> 2.6.0
|
14
|
+
- ActiveRecord ~> 5
|
15
|
+
|
9
16
|
## Installation
|
10
17
|
|
11
18
|
Add this line to your application's Gemfile:
|
data/forget_that.gemspec
CHANGED
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
33
33
|
spec.add_development_dependency 'rake', '~> 10.0'
|
34
34
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
35
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
35
36
|
spec.add_development_dependency 'rubocop', '~> 0.79.0'
|
36
37
|
spec.add_development_dependency 'sqlite3'
|
37
38
|
|
data/lib/forget_that/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forget_that
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stan Pankov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec_junit_formatter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rubocop
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,12 +158,12 @@ extensions: []
|
|
144
158
|
extra_rdoc_files: []
|
145
159
|
files:
|
146
160
|
- ".byebug_history"
|
161
|
+
- ".circleci/config.yml"
|
147
162
|
- ".gitignore"
|
148
163
|
- ".rspec"
|
149
164
|
- ".rubocop.yml"
|
150
165
|
- ".travis.yml"
|
151
166
|
- Gemfile
|
152
|
-
- Gemfile.lock
|
153
167
|
- LICENSE.md
|
154
168
|
- README.md
|
155
169
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,120 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
forget_that (0.1.1)
|
5
|
-
activerecord (>= 5)
|
6
|
-
activesupport
|
7
|
-
pg
|
8
|
-
railties (>= 5)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: https://rubygems.org/
|
12
|
-
specs:
|
13
|
-
actionpack (6.0.2.1)
|
14
|
-
actionview (= 6.0.2.1)
|
15
|
-
activesupport (= 6.0.2.1)
|
16
|
-
rack (~> 2.0, >= 2.0.8)
|
17
|
-
rack-test (>= 0.6.3)
|
18
|
-
rails-dom-testing (~> 2.0)
|
19
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
-
actionview (6.0.2.1)
|
21
|
-
activesupport (= 6.0.2.1)
|
22
|
-
builder (~> 3.1)
|
23
|
-
erubi (~> 1.4)
|
24
|
-
rails-dom-testing (~> 2.0)
|
25
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
-
activemodel (6.0.2.1)
|
27
|
-
activesupport (= 6.0.2.1)
|
28
|
-
activerecord (6.0.2.1)
|
29
|
-
activemodel (= 6.0.2.1)
|
30
|
-
activesupport (= 6.0.2.1)
|
31
|
-
activesupport (6.0.2.1)
|
32
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
33
|
-
i18n (>= 0.7, < 2)
|
34
|
-
minitest (~> 5.1)
|
35
|
-
tzinfo (~> 1.1)
|
36
|
-
zeitwerk (~> 2.2)
|
37
|
-
ast (2.4.0)
|
38
|
-
builder (3.2.4)
|
39
|
-
coderay (1.1.2)
|
40
|
-
concurrent-ruby (1.1.5)
|
41
|
-
crass (1.0.5)
|
42
|
-
diff-lcs (1.3)
|
43
|
-
erubi (1.9.0)
|
44
|
-
i18n (1.7.1)
|
45
|
-
concurrent-ruby (~> 1.0)
|
46
|
-
jaro_winkler (1.5.4)
|
47
|
-
loofah (2.4.0)
|
48
|
-
crass (~> 1.0.2)
|
49
|
-
nokogiri (>= 1.5.9)
|
50
|
-
method_source (0.9.2)
|
51
|
-
mini_portile2 (2.4.0)
|
52
|
-
minitest (5.13.0)
|
53
|
-
nokogiri (1.10.7)
|
54
|
-
mini_portile2 (~> 2.4.0)
|
55
|
-
parallel (1.19.1)
|
56
|
-
parser (2.7.0.1)
|
57
|
-
ast (~> 2.4.0)
|
58
|
-
pg (1.2.1)
|
59
|
-
pry (0.12.2)
|
60
|
-
coderay (~> 1.1.0)
|
61
|
-
method_source (~> 0.9.0)
|
62
|
-
rack (2.0.8)
|
63
|
-
rack-test (1.1.0)
|
64
|
-
rack (>= 1.0, < 3)
|
65
|
-
rails-dom-testing (2.0.3)
|
66
|
-
activesupport (>= 4.2.0)
|
67
|
-
nokogiri (>= 1.6)
|
68
|
-
rails-html-sanitizer (1.3.0)
|
69
|
-
loofah (~> 2.3)
|
70
|
-
railties (6.0.2.1)
|
71
|
-
actionpack (= 6.0.2.1)
|
72
|
-
activesupport (= 6.0.2.1)
|
73
|
-
method_source
|
74
|
-
rake (>= 0.8.7)
|
75
|
-
thor (>= 0.20.3, < 2.0)
|
76
|
-
rainbow (3.0.0)
|
77
|
-
rake (10.5.0)
|
78
|
-
rspec (3.9.0)
|
79
|
-
rspec-core (~> 3.9.0)
|
80
|
-
rspec-expectations (~> 3.9.0)
|
81
|
-
rspec-mocks (~> 3.9.0)
|
82
|
-
rspec-core (3.9.1)
|
83
|
-
rspec-support (~> 3.9.1)
|
84
|
-
rspec-expectations (3.9.0)
|
85
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.9.0)
|
87
|
-
rspec-mocks (3.9.1)
|
88
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
89
|
-
rspec-support (~> 3.9.0)
|
90
|
-
rspec-support (3.9.2)
|
91
|
-
rubocop (0.79.0)
|
92
|
-
jaro_winkler (~> 1.5.1)
|
93
|
-
parallel (~> 1.10)
|
94
|
-
parser (>= 2.7.0.1)
|
95
|
-
rainbow (>= 2.2.2, < 4.0)
|
96
|
-
ruby-progressbar (~> 1.7)
|
97
|
-
unicode-display_width (>= 1.4.0, < 1.7)
|
98
|
-
ruby-progressbar (1.10.1)
|
99
|
-
sqlite3 (1.4.1)
|
100
|
-
thor (1.0.1)
|
101
|
-
thread_safe (0.3.6)
|
102
|
-
tzinfo (1.2.6)
|
103
|
-
thread_safe (~> 0.1)
|
104
|
-
unicode-display_width (1.6.0)
|
105
|
-
zeitwerk (2.2.2)
|
106
|
-
|
107
|
-
PLATFORMS
|
108
|
-
ruby
|
109
|
-
|
110
|
-
DEPENDENCIES
|
111
|
-
bundler (~> 2.0)
|
112
|
-
forget_that!
|
113
|
-
pry
|
114
|
-
rake (~> 10.0)
|
115
|
-
rspec (~> 3.0)
|
116
|
-
rubocop (~> 0.79.0)
|
117
|
-
sqlite3
|
118
|
-
|
119
|
-
BUNDLED WITH
|
120
|
-
2.1.2
|