data_taster 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Appraisals +2 -2
- data/Gemfile +0 -1
- data/Gemfile.lock +85 -86
- data/LICENSE.txt +1 -1
- data/docs/CHANGELOG.md +4 -0
- data/gemfiles/rails_6_0.gemfile +0 -1
- data/gemfiles/rails_6_0.gemfile.lock +49 -39
- data/gemfiles/rails_6_1.gemfile +1 -2
- data/gemfiles/rails_6_1.gemfile.lock +103 -93
- data/gemfiles/rails_7_0.gemfile +1 -2
- data/gemfiles/rails_7_0.gemfile.lock +103 -93
- data/lib/data_taster/flavors.rb +15 -1
- data/lib/data_taster/version.rb +1 -1
- metadata +4 -6
- data/CODE_OF_CONDUCT.md +0 -84
- data/README.md +0 -39
@@ -11,66 +11,66 @@ PATH
|
|
11
11
|
PATH
|
12
12
|
remote: ..
|
13
13
|
specs:
|
14
|
-
data_taster (0.
|
14
|
+
data_taster (0.3.0)
|
15
15
|
rails (>= 6.0)
|
16
16
|
|
17
17
|
GEM
|
18
18
|
remote: https://rubygems.org/
|
19
19
|
specs:
|
20
|
-
actioncable (6.1.7.
|
21
|
-
actionpack (= 6.1.7.
|
22
|
-
activesupport (= 6.1.7.
|
20
|
+
actioncable (6.1.7.7)
|
21
|
+
actionpack (= 6.1.7.7)
|
22
|
+
activesupport (= 6.1.7.7)
|
23
23
|
nio4r (~> 2.0)
|
24
24
|
websocket-driver (>= 0.6.1)
|
25
|
-
actionmailbox (6.1.7.
|
26
|
-
actionpack (= 6.1.7.
|
27
|
-
activejob (= 6.1.7.
|
28
|
-
activerecord (= 6.1.7.
|
29
|
-
activestorage (= 6.1.7.
|
30
|
-
activesupport (= 6.1.7.
|
25
|
+
actionmailbox (6.1.7.7)
|
26
|
+
actionpack (= 6.1.7.7)
|
27
|
+
activejob (= 6.1.7.7)
|
28
|
+
activerecord (= 6.1.7.7)
|
29
|
+
activestorage (= 6.1.7.7)
|
30
|
+
activesupport (= 6.1.7.7)
|
31
31
|
mail (>= 2.7.1)
|
32
|
-
actionmailer (6.1.7.
|
33
|
-
actionpack (= 6.1.7.
|
34
|
-
actionview (= 6.1.7.
|
35
|
-
activejob (= 6.1.7.
|
36
|
-
activesupport (= 6.1.7.
|
32
|
+
actionmailer (6.1.7.7)
|
33
|
+
actionpack (= 6.1.7.7)
|
34
|
+
actionview (= 6.1.7.7)
|
35
|
+
activejob (= 6.1.7.7)
|
36
|
+
activesupport (= 6.1.7.7)
|
37
37
|
mail (~> 2.5, >= 2.5.4)
|
38
38
|
rails-dom-testing (~> 2.0)
|
39
|
-
actionpack (6.1.7.
|
40
|
-
actionview (= 6.1.7.
|
41
|
-
activesupport (= 6.1.7.
|
39
|
+
actionpack (6.1.7.7)
|
40
|
+
actionview (= 6.1.7.7)
|
41
|
+
activesupport (= 6.1.7.7)
|
42
42
|
rack (~> 2.0, >= 2.0.9)
|
43
43
|
rack-test (>= 0.6.3)
|
44
44
|
rails-dom-testing (~> 2.0)
|
45
45
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
46
|
-
actiontext (6.1.7.
|
47
|
-
actionpack (= 6.1.7.
|
48
|
-
activerecord (= 6.1.7.
|
49
|
-
activestorage (= 6.1.7.
|
50
|
-
activesupport (= 6.1.7.
|
46
|
+
actiontext (6.1.7.7)
|
47
|
+
actionpack (= 6.1.7.7)
|
48
|
+
activerecord (= 6.1.7.7)
|
49
|
+
activestorage (= 6.1.7.7)
|
50
|
+
activesupport (= 6.1.7.7)
|
51
51
|
nokogiri (>= 1.8.5)
|
52
|
-
actionview (6.1.7.
|
53
|
-
activesupport (= 6.1.7.
|
52
|
+
actionview (6.1.7.7)
|
53
|
+
activesupport (= 6.1.7.7)
|
54
54
|
builder (~> 3.1)
|
55
55
|
erubi (~> 1.4)
|
56
56
|
rails-dom-testing (~> 2.0)
|
57
57
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
58
|
-
activejob (6.1.7.
|
59
|
-
activesupport (= 6.1.7.
|
58
|
+
activejob (6.1.7.7)
|
59
|
+
activesupport (= 6.1.7.7)
|
60
60
|
globalid (>= 0.3.6)
|
61
|
-
activemodel (6.1.7.
|
62
|
-
activesupport (= 6.1.7.
|
63
|
-
activerecord (6.1.7.
|
64
|
-
activemodel (= 6.1.7.
|
65
|
-
activesupport (= 6.1.7.
|
66
|
-
activestorage (6.1.7.
|
67
|
-
actionpack (= 6.1.7.
|
68
|
-
activejob (= 6.1.7.
|
69
|
-
activerecord (= 6.1.7.
|
70
|
-
activesupport (= 6.1.7.
|
61
|
+
activemodel (6.1.7.7)
|
62
|
+
activesupport (= 6.1.7.7)
|
63
|
+
activerecord (6.1.7.7)
|
64
|
+
activemodel (= 6.1.7.7)
|
65
|
+
activesupport (= 6.1.7.7)
|
66
|
+
activestorage (6.1.7.7)
|
67
|
+
actionpack (= 6.1.7.7)
|
68
|
+
activejob (= 6.1.7.7)
|
69
|
+
activerecord (= 6.1.7.7)
|
70
|
+
activesupport (= 6.1.7.7)
|
71
71
|
marcel (~> 1.0)
|
72
72
|
mini_mime (>= 1.1.0)
|
73
|
-
activesupport (6.1.7.
|
73
|
+
activesupport (6.1.7.7)
|
74
74
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
75
75
|
i18n (>= 1.6, < 2)
|
76
76
|
minitest (>= 5.1)
|
@@ -82,17 +82,17 @@ GEM
|
|
82
82
|
thor (>= 0.14.0)
|
83
83
|
ast (2.4.2)
|
84
84
|
builder (3.2.4)
|
85
|
-
concurrent-ruby (1.2.
|
85
|
+
concurrent-ruby (1.2.3)
|
86
86
|
crass (1.0.6)
|
87
87
|
date (3.3.4)
|
88
|
-
diff-lcs (1.5.
|
88
|
+
diff-lcs (1.5.1)
|
89
89
|
docile (1.1.5)
|
90
90
|
erubi (1.12.0)
|
91
91
|
globalid (1.2.1)
|
92
92
|
activesupport (>= 6.1)
|
93
|
-
i18n (1.14.
|
93
|
+
i18n (1.14.4)
|
94
94
|
concurrent-ruby (~> 1.0)
|
95
|
-
json (2.7.
|
95
|
+
json (2.7.2)
|
96
96
|
license_finder (7.1.0)
|
97
97
|
bundler
|
98
98
|
rubyzip (>= 1, < 3)
|
@@ -108,45 +108,51 @@ GEM
|
|
108
108
|
net-imap
|
109
109
|
net-pop
|
110
110
|
net-smtp
|
111
|
-
marcel (1.0.
|
112
|
-
method_source (1.
|
111
|
+
marcel (1.0.4)
|
112
|
+
method_source (1.1.0)
|
113
113
|
mini_mime (1.1.5)
|
114
|
-
|
115
|
-
|
114
|
+
mini_portile2 (2.8.6)
|
115
|
+
minitest (5.22.3)
|
116
|
+
net-imap (0.4.10)
|
116
117
|
date
|
117
118
|
net-protocol
|
118
119
|
net-pop (0.1.2)
|
119
120
|
net-protocol
|
120
121
|
net-protocol (0.2.2)
|
121
122
|
timeout
|
122
|
-
net-smtp (0.
|
123
|
+
net-smtp (0.5.0)
|
123
124
|
net-protocol
|
124
|
-
nio4r (2.7.
|
125
|
-
nokogiri (1.
|
125
|
+
nio4r (2.7.1)
|
126
|
+
nokogiri (1.16.4)
|
127
|
+
mini_portile2 (~> 2.8.2)
|
128
|
+
racc (~> 1.4)
|
129
|
+
nokogiri (1.16.4-arm64-darwin)
|
130
|
+
racc (~> 1.4)
|
131
|
+
nokogiri (1.16.4-x86_64-linux)
|
126
132
|
racc (~> 1.4)
|
127
133
|
parallel (1.24.0)
|
128
|
-
parser (3.
|
134
|
+
parser (3.3.0.5)
|
129
135
|
ast (~> 2.4.1)
|
130
136
|
racc
|
131
137
|
power_assert (2.0.3)
|
132
138
|
racc (1.7.3)
|
133
|
-
rack (2.2.
|
139
|
+
rack (2.2.9)
|
134
140
|
rack-test (2.1.0)
|
135
141
|
rack (>= 1.3)
|
136
|
-
rails (6.1.7.
|
137
|
-
actioncable (= 6.1.7.
|
138
|
-
actionmailbox (= 6.1.7.
|
139
|
-
actionmailer (= 6.1.7.
|
140
|
-
actionpack (= 6.1.7.
|
141
|
-
actiontext (= 6.1.7.
|
142
|
-
actionview (= 6.1.7.
|
143
|
-
activejob (= 6.1.7.
|
144
|
-
activemodel (= 6.1.7.
|
145
|
-
activerecord (= 6.1.7.
|
146
|
-
activestorage (= 6.1.7.
|
147
|
-
activesupport (= 6.1.7.
|
142
|
+
rails (6.1.7.7)
|
143
|
+
actioncable (= 6.1.7.7)
|
144
|
+
actionmailbox (= 6.1.7.7)
|
145
|
+
actionmailer (= 6.1.7.7)
|
146
|
+
actionpack (= 6.1.7.7)
|
147
|
+
actiontext (= 6.1.7.7)
|
148
|
+
actionview (= 6.1.7.7)
|
149
|
+
activejob (= 6.1.7.7)
|
150
|
+
activemodel (= 6.1.7.7)
|
151
|
+
activerecord (= 6.1.7.7)
|
152
|
+
activestorage (= 6.1.7.7)
|
153
|
+
activesupport (= 6.1.7.7)
|
148
154
|
bundler (>= 1.15.0)
|
149
|
-
railties (= 6.1.7.
|
155
|
+
railties (= 6.1.7.7)
|
150
156
|
sprockets-rails (>= 2.0.0)
|
151
157
|
rails-dom-testing (2.2.0)
|
152
158
|
activesupport (>= 5.0.0)
|
@@ -155,30 +161,30 @@ GEM
|
|
155
161
|
rails-html-sanitizer (1.6.0)
|
156
162
|
loofah (~> 2.21)
|
157
163
|
nokogiri (~> 1.14)
|
158
|
-
railties (6.1.7.
|
159
|
-
actionpack (= 6.1.7.
|
160
|
-
activesupport (= 6.1.7.
|
164
|
+
railties (6.1.7.7)
|
165
|
+
actionpack (= 6.1.7.7)
|
166
|
+
activesupport (= 6.1.7.7)
|
161
167
|
method_source
|
162
168
|
rake (>= 12.2)
|
163
169
|
thor (~> 1.0)
|
164
170
|
rainbow (2.2.2)
|
165
171
|
rake
|
166
|
-
rake (13.1
|
167
|
-
regexp_parser (2.
|
172
|
+
rake (13.2.1)
|
173
|
+
regexp_parser (2.9.0)
|
168
174
|
rexml (3.2.6)
|
169
|
-
rspec (3.
|
170
|
-
rspec-core (~> 3.
|
171
|
-
rspec-expectations (~> 3.
|
172
|
-
rspec-mocks (~> 3.
|
173
|
-
rspec-core (3.
|
174
|
-
rspec-support (~> 3.
|
175
|
-
rspec-expectations (3.
|
175
|
+
rspec (3.13.0)
|
176
|
+
rspec-core (~> 3.13.0)
|
177
|
+
rspec-expectations (~> 3.13.0)
|
178
|
+
rspec-mocks (~> 3.13.0)
|
179
|
+
rspec-core (3.13.0)
|
180
|
+
rspec-support (~> 3.13.0)
|
181
|
+
rspec-expectations (3.13.0)
|
176
182
|
diff-lcs (>= 1.2.0, < 2.0)
|
177
|
-
rspec-support (~> 3.
|
178
|
-
rspec-mocks (3.
|
183
|
+
rspec-support (~> 3.13.0)
|
184
|
+
rspec-mocks (3.13.0)
|
179
185
|
diff-lcs (>= 1.2.0, < 2.0)
|
180
|
-
rspec-support (~> 3.
|
181
|
-
rspec-support (3.
|
186
|
+
rspec-support (~> 3.13.0)
|
187
|
+
rspec-support (3.13.1)
|
182
188
|
rubocop (1.52.1)
|
183
189
|
json (~> 2.3)
|
184
190
|
parallel (~> 1.10)
|
@@ -189,26 +195,29 @@ GEM
|
|
189
195
|
rubocop-ast (>= 1.28.0, < 2.0)
|
190
196
|
ruby-progressbar (~> 1.7)
|
191
197
|
unicode-display_width (>= 2.4.0, < 3.0)
|
192
|
-
rubocop-ast (1.
|
193
|
-
parser (>= 3.
|
198
|
+
rubocop-ast (1.31.2)
|
199
|
+
parser (>= 3.3.0.4)
|
194
200
|
rubocop-capybara (2.20.0)
|
195
201
|
rubocop (~> 1.41)
|
196
|
-
rubocop-factory_bot (2.
|
197
|
-
rubocop (~> 1.
|
198
|
-
rubocop-performance (1.
|
202
|
+
rubocop-factory_bot (2.25.1)
|
203
|
+
rubocop (~> 1.41)
|
204
|
+
rubocop-performance (1.21.0)
|
199
205
|
rubocop (>= 1.48.1, < 2.0)
|
200
|
-
rubocop-ast (>= 1.
|
201
|
-
rubocop-rails (2.
|
206
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
207
|
+
rubocop-rails (2.24.1)
|
202
208
|
activesupport (>= 4.2.0)
|
203
209
|
rack (>= 1.1)
|
204
210
|
rubocop (>= 1.33.0, < 2.0)
|
205
|
-
rubocop-ast (>= 1.
|
211
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
206
212
|
rubocop-rake (0.6.0)
|
207
213
|
rubocop (~> 1.0)
|
208
|
-
rubocop-rspec (2.
|
214
|
+
rubocop-rspec (2.29.1)
|
209
215
|
rubocop (~> 1.40)
|
210
216
|
rubocop-capybara (~> 2.17)
|
211
217
|
rubocop-factory_bot (~> 2.22)
|
218
|
+
rubocop-rspec_rails (~> 2.28)
|
219
|
+
rubocop-rspec_rails (2.28.3)
|
220
|
+
rubocop (~> 1.40)
|
212
221
|
ruby-progressbar (1.13.0)
|
213
222
|
rubyzip (2.3.2)
|
214
223
|
simplecov (0.15.1)
|
@@ -225,7 +234,7 @@ GEM
|
|
225
234
|
sprockets (>= 3.0.0)
|
226
235
|
test-unit (3.1.5)
|
227
236
|
power_assert
|
228
|
-
thor (1.3.
|
237
|
+
thor (1.3.1)
|
229
238
|
timeout (0.4.1)
|
230
239
|
tomlrb (2.0.3)
|
231
240
|
tzinfo (2.0.6)
|
@@ -238,20 +247,21 @@ GEM
|
|
238
247
|
xml-simple (1.1.9)
|
239
248
|
rexml
|
240
249
|
yard (0.9.34)
|
241
|
-
zeitwerk (2.6.
|
250
|
+
zeitwerk (2.6.13)
|
242
251
|
|
243
252
|
PLATFORMS
|
244
253
|
arm64-darwin-22
|
245
254
|
arm64-darwin-23
|
255
|
+
ruby
|
256
|
+
x86_64-linux
|
246
257
|
|
247
258
|
DEPENDENCIES
|
248
259
|
appraisal (= 2.5.0)
|
249
260
|
bundler (~> 2.1)
|
250
261
|
data_taster!
|
251
262
|
license_finder (~> 7.0)
|
252
|
-
nokogiri (< 1.16)
|
253
263
|
parser (>= 2.5, != 2.5.1.1)
|
254
|
-
rails (= 6.1.7.
|
264
|
+
rails (= 6.1.7.7)
|
255
265
|
rainbow (= 2.2.2)
|
256
266
|
rake (~> 13.0)
|
257
267
|
rspec (~> 3.0)
|
data/gemfiles/rails_7_0.gemfile
CHANGED
@@ -11,73 +11,73 @@ PATH
|
|
11
11
|
PATH
|
12
12
|
remote: ..
|
13
13
|
specs:
|
14
|
-
data_taster (0.
|
14
|
+
data_taster (0.3.0)
|
15
15
|
rails (>= 6.0)
|
16
16
|
|
17
17
|
GEM
|
18
18
|
remote: https://rubygems.org/
|
19
19
|
specs:
|
20
|
-
actioncable (7.0.
|
21
|
-
actionpack (= 7.0.
|
22
|
-
activesupport (= 7.0.
|
20
|
+
actioncable (7.0.8.1)
|
21
|
+
actionpack (= 7.0.8.1)
|
22
|
+
activesupport (= 7.0.8.1)
|
23
23
|
nio4r (~> 2.0)
|
24
24
|
websocket-driver (>= 0.6.1)
|
25
|
-
actionmailbox (7.0.
|
26
|
-
actionpack (= 7.0.
|
27
|
-
activejob (= 7.0.
|
28
|
-
activerecord (= 7.0.
|
29
|
-
activestorage (= 7.0.
|
30
|
-
activesupport (= 7.0.
|
25
|
+
actionmailbox (7.0.8.1)
|
26
|
+
actionpack (= 7.0.8.1)
|
27
|
+
activejob (= 7.0.8.1)
|
28
|
+
activerecord (= 7.0.8.1)
|
29
|
+
activestorage (= 7.0.8.1)
|
30
|
+
activesupport (= 7.0.8.1)
|
31
31
|
mail (>= 2.7.1)
|
32
32
|
net-imap
|
33
33
|
net-pop
|
34
34
|
net-smtp
|
35
|
-
actionmailer (7.0.
|
36
|
-
actionpack (= 7.0.
|
37
|
-
actionview (= 7.0.
|
38
|
-
activejob (= 7.0.
|
39
|
-
activesupport (= 7.0.
|
35
|
+
actionmailer (7.0.8.1)
|
36
|
+
actionpack (= 7.0.8.1)
|
37
|
+
actionview (= 7.0.8.1)
|
38
|
+
activejob (= 7.0.8.1)
|
39
|
+
activesupport (= 7.0.8.1)
|
40
40
|
mail (~> 2.5, >= 2.5.4)
|
41
41
|
net-imap
|
42
42
|
net-pop
|
43
43
|
net-smtp
|
44
44
|
rails-dom-testing (~> 2.0)
|
45
|
-
actionpack (7.0.
|
46
|
-
actionview (= 7.0.
|
47
|
-
activesupport (= 7.0.
|
45
|
+
actionpack (7.0.8.1)
|
46
|
+
actionview (= 7.0.8.1)
|
47
|
+
activesupport (= 7.0.8.1)
|
48
48
|
rack (~> 2.0, >= 2.2.4)
|
49
49
|
rack-test (>= 0.6.3)
|
50
50
|
rails-dom-testing (~> 2.0)
|
51
51
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
52
|
-
actiontext (7.0.
|
53
|
-
actionpack (= 7.0.
|
54
|
-
activerecord (= 7.0.
|
55
|
-
activestorage (= 7.0.
|
56
|
-
activesupport (= 7.0.
|
52
|
+
actiontext (7.0.8.1)
|
53
|
+
actionpack (= 7.0.8.1)
|
54
|
+
activerecord (= 7.0.8.1)
|
55
|
+
activestorage (= 7.0.8.1)
|
56
|
+
activesupport (= 7.0.8.1)
|
57
57
|
globalid (>= 0.6.0)
|
58
58
|
nokogiri (>= 1.8.5)
|
59
|
-
actionview (7.0.
|
60
|
-
activesupport (= 7.0.
|
59
|
+
actionview (7.0.8.1)
|
60
|
+
activesupport (= 7.0.8.1)
|
61
61
|
builder (~> 3.1)
|
62
62
|
erubi (~> 1.4)
|
63
63
|
rails-dom-testing (~> 2.0)
|
64
64
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
65
|
-
activejob (7.0.
|
66
|
-
activesupport (= 7.0.
|
65
|
+
activejob (7.0.8.1)
|
66
|
+
activesupport (= 7.0.8.1)
|
67
67
|
globalid (>= 0.3.6)
|
68
|
-
activemodel (7.0.
|
69
|
-
activesupport (= 7.0.
|
70
|
-
activerecord (7.0.
|
71
|
-
activemodel (= 7.0.
|
72
|
-
activesupport (= 7.0.
|
73
|
-
activestorage (7.0.
|
74
|
-
actionpack (= 7.0.
|
75
|
-
activejob (= 7.0.
|
76
|
-
activerecord (= 7.0.
|
77
|
-
activesupport (= 7.0.
|
68
|
+
activemodel (7.0.8.1)
|
69
|
+
activesupport (= 7.0.8.1)
|
70
|
+
activerecord (7.0.8.1)
|
71
|
+
activemodel (= 7.0.8.1)
|
72
|
+
activesupport (= 7.0.8.1)
|
73
|
+
activestorage (7.0.8.1)
|
74
|
+
actionpack (= 7.0.8.1)
|
75
|
+
activejob (= 7.0.8.1)
|
76
|
+
activerecord (= 7.0.8.1)
|
77
|
+
activesupport (= 7.0.8.1)
|
78
78
|
marcel (~> 1.0)
|
79
79
|
mini_mime (>= 1.1.0)
|
80
|
-
activesupport (7.0.
|
80
|
+
activesupport (7.0.8.1)
|
81
81
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
82
82
|
i18n (>= 1.6, < 2)
|
83
83
|
minitest (>= 5.1)
|
@@ -88,17 +88,17 @@ GEM
|
|
88
88
|
thor (>= 0.14.0)
|
89
89
|
ast (2.4.2)
|
90
90
|
builder (3.2.4)
|
91
|
-
concurrent-ruby (1.2.
|
91
|
+
concurrent-ruby (1.2.3)
|
92
92
|
crass (1.0.6)
|
93
93
|
date (3.3.4)
|
94
|
-
diff-lcs (1.5.
|
94
|
+
diff-lcs (1.5.1)
|
95
95
|
docile (1.1.5)
|
96
96
|
erubi (1.12.0)
|
97
97
|
globalid (1.2.1)
|
98
98
|
activesupport (>= 6.1)
|
99
|
-
i18n (1.14.
|
99
|
+
i18n (1.14.4)
|
100
100
|
concurrent-ruby (~> 1.0)
|
101
|
-
json (2.7.
|
101
|
+
json (2.7.2)
|
102
102
|
license_finder (7.1.0)
|
103
103
|
bundler
|
104
104
|
rubyzip (>= 1, < 3)
|
@@ -114,45 +114,51 @@ GEM
|
|
114
114
|
net-imap
|
115
115
|
net-pop
|
116
116
|
net-smtp
|
117
|
-
marcel (1.0.
|
118
|
-
method_source (1.
|
117
|
+
marcel (1.0.4)
|
118
|
+
method_source (1.1.0)
|
119
119
|
mini_mime (1.1.5)
|
120
|
-
|
121
|
-
|
120
|
+
mini_portile2 (2.8.6)
|
121
|
+
minitest (5.22.3)
|
122
|
+
net-imap (0.4.10)
|
122
123
|
date
|
123
124
|
net-protocol
|
124
125
|
net-pop (0.1.2)
|
125
126
|
net-protocol
|
126
127
|
net-protocol (0.2.2)
|
127
128
|
timeout
|
128
|
-
net-smtp (0.
|
129
|
+
net-smtp (0.5.0)
|
129
130
|
net-protocol
|
130
|
-
nio4r (2.7.
|
131
|
-
nokogiri (1.
|
131
|
+
nio4r (2.7.1)
|
132
|
+
nokogiri (1.16.4)
|
133
|
+
mini_portile2 (~> 2.8.2)
|
134
|
+
racc (~> 1.4)
|
135
|
+
nokogiri (1.16.4-arm64-darwin)
|
136
|
+
racc (~> 1.4)
|
137
|
+
nokogiri (1.16.4-x86_64-linux)
|
132
138
|
racc (~> 1.4)
|
133
139
|
parallel (1.24.0)
|
134
|
-
parser (3.
|
140
|
+
parser (3.3.0.5)
|
135
141
|
ast (~> 2.4.1)
|
136
142
|
racc
|
137
143
|
power_assert (2.0.3)
|
138
144
|
racc (1.7.3)
|
139
|
-
rack (2.2.
|
145
|
+
rack (2.2.9)
|
140
146
|
rack-test (2.1.0)
|
141
147
|
rack (>= 1.3)
|
142
|
-
rails (7.0.
|
143
|
-
actioncable (= 7.0.
|
144
|
-
actionmailbox (= 7.0.
|
145
|
-
actionmailer (= 7.0.
|
146
|
-
actionpack (= 7.0.
|
147
|
-
actiontext (= 7.0.
|
148
|
-
actionview (= 7.0.
|
149
|
-
activejob (= 7.0.
|
150
|
-
activemodel (= 7.0.
|
151
|
-
activerecord (= 7.0.
|
152
|
-
activestorage (= 7.0.
|
153
|
-
activesupport (= 7.0.
|
148
|
+
rails (7.0.8.1)
|
149
|
+
actioncable (= 7.0.8.1)
|
150
|
+
actionmailbox (= 7.0.8.1)
|
151
|
+
actionmailer (= 7.0.8.1)
|
152
|
+
actionpack (= 7.0.8.1)
|
153
|
+
actiontext (= 7.0.8.1)
|
154
|
+
actionview (= 7.0.8.1)
|
155
|
+
activejob (= 7.0.8.1)
|
156
|
+
activemodel (= 7.0.8.1)
|
157
|
+
activerecord (= 7.0.8.1)
|
158
|
+
activestorage (= 7.0.8.1)
|
159
|
+
activesupport (= 7.0.8.1)
|
154
160
|
bundler (>= 1.15.0)
|
155
|
-
railties (= 7.0.
|
161
|
+
railties (= 7.0.8.1)
|
156
162
|
rails-dom-testing (2.2.0)
|
157
163
|
activesupport (>= 5.0.0)
|
158
164
|
minitest
|
@@ -160,31 +166,31 @@ GEM
|
|
160
166
|
rails-html-sanitizer (1.6.0)
|
161
167
|
loofah (~> 2.21)
|
162
168
|
nokogiri (~> 1.14)
|
163
|
-
railties (7.0.
|
164
|
-
actionpack (= 7.0.
|
165
|
-
activesupport (= 7.0.
|
169
|
+
railties (7.0.8.1)
|
170
|
+
actionpack (= 7.0.8.1)
|
171
|
+
activesupport (= 7.0.8.1)
|
166
172
|
method_source
|
167
173
|
rake (>= 12.2)
|
168
174
|
thor (~> 1.0)
|
169
175
|
zeitwerk (~> 2.5)
|
170
176
|
rainbow (2.2.2)
|
171
177
|
rake
|
172
|
-
rake (13.1
|
173
|
-
regexp_parser (2.
|
178
|
+
rake (13.2.1)
|
179
|
+
regexp_parser (2.9.0)
|
174
180
|
rexml (3.2.6)
|
175
|
-
rspec (3.
|
176
|
-
rspec-core (~> 3.
|
177
|
-
rspec-expectations (~> 3.
|
178
|
-
rspec-mocks (~> 3.
|
179
|
-
rspec-core (3.
|
180
|
-
rspec-support (~> 3.
|
181
|
-
rspec-expectations (3.
|
181
|
+
rspec (3.13.0)
|
182
|
+
rspec-core (~> 3.13.0)
|
183
|
+
rspec-expectations (~> 3.13.0)
|
184
|
+
rspec-mocks (~> 3.13.0)
|
185
|
+
rspec-core (3.13.0)
|
186
|
+
rspec-support (~> 3.13.0)
|
187
|
+
rspec-expectations (3.13.0)
|
182
188
|
diff-lcs (>= 1.2.0, < 2.0)
|
183
|
-
rspec-support (~> 3.
|
184
|
-
rspec-mocks (3.
|
189
|
+
rspec-support (~> 3.13.0)
|
190
|
+
rspec-mocks (3.13.0)
|
185
191
|
diff-lcs (>= 1.2.0, < 2.0)
|
186
|
-
rspec-support (~> 3.
|
187
|
-
rspec-support (3.
|
192
|
+
rspec-support (~> 3.13.0)
|
193
|
+
rspec-support (3.13.1)
|
188
194
|
rubocop (1.52.1)
|
189
195
|
json (~> 2.3)
|
190
196
|
parallel (~> 1.10)
|
@@ -195,26 +201,29 @@ GEM
|
|
195
201
|
rubocop-ast (>= 1.28.0, < 2.0)
|
196
202
|
ruby-progressbar (~> 1.7)
|
197
203
|
unicode-display_width (>= 2.4.0, < 3.0)
|
198
|
-
rubocop-ast (1.
|
199
|
-
parser (>= 3.
|
204
|
+
rubocop-ast (1.31.2)
|
205
|
+
parser (>= 3.3.0.4)
|
200
206
|
rubocop-capybara (2.20.0)
|
201
207
|
rubocop (~> 1.41)
|
202
|
-
rubocop-factory_bot (2.
|
203
|
-
rubocop (~> 1.
|
204
|
-
rubocop-performance (1.
|
208
|
+
rubocop-factory_bot (2.25.1)
|
209
|
+
rubocop (~> 1.41)
|
210
|
+
rubocop-performance (1.21.0)
|
205
211
|
rubocop (>= 1.48.1, < 2.0)
|
206
|
-
rubocop-ast (>= 1.
|
207
|
-
rubocop-rails (2.
|
212
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
213
|
+
rubocop-rails (2.24.1)
|
208
214
|
activesupport (>= 4.2.0)
|
209
215
|
rack (>= 1.1)
|
210
216
|
rubocop (>= 1.33.0, < 2.0)
|
211
|
-
rubocop-ast (>= 1.
|
217
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
212
218
|
rubocop-rake (0.6.0)
|
213
219
|
rubocop (~> 1.0)
|
214
|
-
rubocop-rspec (2.
|
220
|
+
rubocop-rspec (2.29.1)
|
215
221
|
rubocop (~> 1.40)
|
216
222
|
rubocop-capybara (~> 2.17)
|
217
223
|
rubocop-factory_bot (~> 2.22)
|
224
|
+
rubocop-rspec_rails (~> 2.28)
|
225
|
+
rubocop-rspec_rails (2.28.3)
|
226
|
+
rubocop (~> 1.40)
|
218
227
|
ruby-progressbar (1.13.0)
|
219
228
|
rubyzip (2.3.2)
|
220
229
|
simplecov (0.15.1)
|
@@ -224,7 +233,7 @@ GEM
|
|
224
233
|
simplecov-html (0.10.2)
|
225
234
|
test-unit (3.1.5)
|
226
235
|
power_assert
|
227
|
-
thor (1.3.
|
236
|
+
thor (1.3.1)
|
228
237
|
timeout (0.4.1)
|
229
238
|
tomlrb (2.0.3)
|
230
239
|
tzinfo (2.0.6)
|
@@ -237,20 +246,21 @@ GEM
|
|
237
246
|
xml-simple (1.1.9)
|
238
247
|
rexml
|
239
248
|
yard (0.9.34)
|
240
|
-
zeitwerk (2.6.
|
249
|
+
zeitwerk (2.6.13)
|
241
250
|
|
242
251
|
PLATFORMS
|
243
252
|
arm64-darwin-22
|
244
253
|
arm64-darwin-23
|
254
|
+
ruby
|
255
|
+
x86_64-linux
|
245
256
|
|
246
257
|
DEPENDENCIES
|
247
258
|
appraisal (= 2.5.0)
|
248
259
|
bundler (~> 2.1)
|
249
260
|
data_taster!
|
250
261
|
license_finder (~> 7.0)
|
251
|
-
nokogiri (< 1.16)
|
252
262
|
parser (>= 2.5, != 2.5.1.1)
|
253
|
-
rails (= 7.0.
|
263
|
+
rails (= 7.0.8.1)
|
254
264
|
rainbow (= 2.2.2)
|
255
265
|
rake (~> 13.0)
|
256
266
|
rspec (~> 3.0)
|
data/lib/data_taster/flavors.rb
CHANGED
@@ -30,7 +30,21 @@ module DataTaster
|
|
30
30
|
def encrypt(klass, column, value = nil)
|
31
31
|
value_to_encrypt = value || default_value_for(column)
|
32
32
|
|
33
|
-
klass.new
|
33
|
+
klass_instance = klass.new
|
34
|
+
if klass_instance.respond_to?(:attr_encrypted_encrypt)
|
35
|
+
klass_instance.attr_encrypted_encrypt(column, value_to_encrypt)
|
36
|
+
elsif klass_instance.respond_to?(:encrypt)
|
37
|
+
klass_instance.encrypt(column, value_to_encrypt)
|
38
|
+
else
|
39
|
+
raise encryption_error_message
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def encryption_error_message
|
44
|
+
[
|
45
|
+
"DataTaster only supports encryption if your model is configured with attr_encrypted.",
|
46
|
+
"Please visit https://github.com/attr-encrypted/attr_encrypted for more details on setup.",
|
47
|
+
].join(" ")
|
34
48
|
end
|
35
49
|
|
36
50
|
def default_value_for(column)
|
data/lib/data_taster/version.rb
CHANGED