data_taster 0.3.0 → 0.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48a519e11c45d0094c3522f8f5e5c266a3127b531f7b8702642d39d83aadf5ab
4
- data.tar.gz: 9c6864b781f6afecca3739aeb08a34ac7d47dd713cee102d516efcec859cd0cd
3
+ metadata.gz: 2b11062c1df8f3ca0de0707e8953734097578f40627613aa2186e62eab9fa77f
4
+ data.tar.gz: bfd684283ce66f8fd44d7375fb80b01a8e04721a27fd647bcc12e8a75b36cdb3
5
5
  SHA512:
6
- metadata.gz: 3683f9ed111f542f340977c64eab7accfc06fb73e0dc1803bae3285531bfa376074fb14a5e7fbba079770a1ea25fc546b9c82870b9aaea0a4b917fd8440df191
7
- data.tar.gz: 4d4d3fd5a4b0b9a1ec9497d729564ed864d634fa82ed18fc4ab4a406ab11c0087fab59f8d1c19d2a31be3cb8495adeeadf6ce9a5272d1986c89c6916da3f58f5
6
+ metadata.gz: e69c9207f57e3bcb131f025888eff94a4ace9cd8d37f20b4fb50efbdf2ea9f37eea7a080e642fa996dc2b128890d31c9fa2c04718d345b753458774b9941ac9f
7
+ data.tar.gz: a71fc7e17cae4a814e24335054f077e8b6571ea93cb9b9757a37a2b1c0beacd6a4dc92616ff3a1a8b1e8a0d5cba15800056a2bb4ff9b2184a1f98fe895fdaf81
data/Gemfile CHANGED
@@ -4,4 +4,8 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
+ gem "activesupport", "< 7.2.0"
8
+ gem "net-imap", "< 0.5.0"
7
9
  gem "rubocop-powerhome", path: "../rubocop-powerhome", tag: "v0.5.2-rubocop-powerhome"
10
+ gem "securerandom", "< 0.4.0"
11
+ gem "zeitwerk", "< 2.7.0"
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ../rubocop-powerhome
3
3
  specs:
4
- rubocop-powerhome (0.5.2)
5
- rubocop (~> 1.52.0)
4
+ rubocop-powerhome (0.5.3)
5
+ rubocop (= 1.66.1)
6
6
  rubocop-performance
7
7
  rubocop-rails
8
8
  rubocop-rake
@@ -11,41 +11,42 @@ PATH
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- data_taster (0.3.0)
14
+ data_taster (0.4.1)
15
+ nokogiri (= 1.17.2)
15
16
  rails (>= 6.0)
16
17
 
17
18
  GEM
18
19
  remote: https://rubygems.org/
19
20
  specs:
20
- actioncable (7.1.3.2)
21
- actionpack (= 7.1.3.2)
22
- activesupport (= 7.1.3.2)
21
+ actioncable (7.1.5.1)
22
+ actionpack (= 7.1.5.1)
23
+ activesupport (= 7.1.5.1)
23
24
  nio4r (~> 2.0)
24
25
  websocket-driver (>= 0.6.1)
25
26
  zeitwerk (~> 2.6)
26
- actionmailbox (7.1.3.2)
27
- actionpack (= 7.1.3.2)
28
- activejob (= 7.1.3.2)
29
- activerecord (= 7.1.3.2)
30
- activestorage (= 7.1.3.2)
31
- activesupport (= 7.1.3.2)
27
+ actionmailbox (7.1.5.1)
28
+ actionpack (= 7.1.5.1)
29
+ activejob (= 7.1.5.1)
30
+ activerecord (= 7.1.5.1)
31
+ activestorage (= 7.1.5.1)
32
+ activesupport (= 7.1.5.1)
32
33
  mail (>= 2.7.1)
33
34
  net-imap
34
35
  net-pop
35
36
  net-smtp
36
- actionmailer (7.1.3.2)
37
- actionpack (= 7.1.3.2)
38
- actionview (= 7.1.3.2)
39
- activejob (= 7.1.3.2)
40
- activesupport (= 7.1.3.2)
37
+ actionmailer (7.1.5.1)
38
+ actionpack (= 7.1.5.1)
39
+ actionview (= 7.1.5.1)
40
+ activejob (= 7.1.5.1)
41
+ activesupport (= 7.1.5.1)
41
42
  mail (~> 2.5, >= 2.5.4)
42
43
  net-imap
43
44
  net-pop
44
45
  net-smtp
45
46
  rails-dom-testing (~> 2.2)
46
- actionpack (7.1.3.2)
47
- actionview (= 7.1.3.2)
48
- activesupport (= 7.1.3.2)
47
+ actionpack (7.1.5.1)
48
+ actionview (= 7.1.5.1)
49
+ activesupport (= 7.1.5.1)
49
50
  nokogiri (>= 1.8.5)
50
51
  racc
51
52
  rack (>= 2.2.4)
@@ -53,43 +54,46 @@ GEM
53
54
  rack-test (>= 0.6.3)
54
55
  rails-dom-testing (~> 2.2)
55
56
  rails-html-sanitizer (~> 1.6)
56
- actiontext (7.1.3.2)
57
- actionpack (= 7.1.3.2)
58
- activerecord (= 7.1.3.2)
59
- activestorage (= 7.1.3.2)
60
- activesupport (= 7.1.3.2)
57
+ actiontext (7.1.5.1)
58
+ actionpack (= 7.1.5.1)
59
+ activerecord (= 7.1.5.1)
60
+ activestorage (= 7.1.5.1)
61
+ activesupport (= 7.1.5.1)
61
62
  globalid (>= 0.6.0)
62
63
  nokogiri (>= 1.8.5)
63
- actionview (7.1.3.2)
64
- activesupport (= 7.1.3.2)
64
+ actionview (7.1.5.1)
65
+ activesupport (= 7.1.5.1)
65
66
  builder (~> 3.1)
66
67
  erubi (~> 1.11)
67
68
  rails-dom-testing (~> 2.2)
68
69
  rails-html-sanitizer (~> 1.6)
69
- activejob (7.1.3.2)
70
- activesupport (= 7.1.3.2)
70
+ activejob (7.1.5.1)
71
+ activesupport (= 7.1.5.1)
71
72
  globalid (>= 0.3.6)
72
- activemodel (7.1.3.2)
73
- activesupport (= 7.1.3.2)
74
- activerecord (7.1.3.2)
75
- activemodel (= 7.1.3.2)
76
- activesupport (= 7.1.3.2)
73
+ activemodel (7.1.5.1)
74
+ activesupport (= 7.1.5.1)
75
+ activerecord (7.1.5.1)
76
+ activemodel (= 7.1.5.1)
77
+ activesupport (= 7.1.5.1)
77
78
  timeout (>= 0.4.0)
78
- activestorage (7.1.3.2)
79
- actionpack (= 7.1.3.2)
80
- activejob (= 7.1.3.2)
81
- activerecord (= 7.1.3.2)
82
- activesupport (= 7.1.3.2)
79
+ activestorage (7.1.5.1)
80
+ actionpack (= 7.1.5.1)
81
+ activejob (= 7.1.5.1)
82
+ activerecord (= 7.1.5.1)
83
+ activesupport (= 7.1.5.1)
83
84
  marcel (~> 1.0)
84
- activesupport (7.1.3.2)
85
+ activesupport (7.1.5.1)
85
86
  base64
87
+ benchmark (>= 0.3)
86
88
  bigdecimal
87
89
  concurrent-ruby (~> 1.0, >= 1.0.2)
88
90
  connection_pool (>= 2.2.5)
89
91
  drb
90
92
  i18n (>= 1.6, < 2)
93
+ logger (>= 1.4.2)
91
94
  minitest (>= 5.1)
92
95
  mutex_m
96
+ securerandom (>= 0.3)
93
97
  tzinfo (~> 2.0)
94
98
  appraisal (2.5.0)
95
99
  bundler
@@ -97,34 +101,39 @@ GEM
97
101
  thor (>= 0.14.0)
98
102
  ast (2.4.2)
99
103
  base64 (0.2.0)
100
- bigdecimal (3.1.6)
101
- builder (3.2.4)
102
- concurrent-ruby (1.2.3)
103
- connection_pool (2.4.1)
104
+ benchmark (0.4.0)
105
+ bigdecimal (3.1.9)
106
+ builder (3.3.0)
107
+ concurrent-ruby (1.3.5)
108
+ connection_pool (2.5.0)
104
109
  crass (1.0.6)
105
- date (3.3.4)
110
+ csv (3.3.2)
111
+ date (3.4.1)
106
112
  diff-lcs (1.5.1)
107
113
  docile (1.1.5)
108
- drb (2.2.0)
109
- ruby2_keywords
110
- erubi (1.12.0)
114
+ drb (2.2.1)
115
+ erubi (1.13.1)
111
116
  globalid (1.2.1)
112
117
  activesupport (>= 6.1)
113
- i18n (1.14.1)
118
+ i18n (1.14.7)
114
119
  concurrent-ruby (~> 1.0)
115
- io-console (0.7.2)
116
- irb (1.11.2)
117
- rdoc
120
+ io-console (0.8.0)
121
+ irb (1.15.1)
122
+ pp (>= 0.6.0)
123
+ rdoc (>= 4.0.0)
118
124
  reline (>= 0.4.2)
119
- json (2.7.1)
120
- license_finder (7.1.0)
125
+ json (2.9.1)
126
+ language_server-protocol (3.17.0.3)
127
+ license_finder (7.2.1)
121
128
  bundler
129
+ csv (~> 3.2)
122
130
  rubyzip (>= 1, < 3)
123
131
  thor (~> 1.2)
124
132
  tomlrb (>= 1.3, < 2.1)
125
133
  with_env (= 1.1.0)
126
134
  xml-simple (~> 1.1.9)
127
- loofah (2.22.0)
135
+ logger (1.6.5)
136
+ loofah (2.24.0)
128
137
  crass (~> 1.0.2)
129
138
  nokogiri (>= 1.12.0)
130
139
  mail (2.8.1)
@@ -132,70 +141,68 @@ GEM
132
141
  net-imap
133
142
  net-pop
134
143
  net-smtp
135
- marcel (1.0.2)
144
+ marcel (1.0.4)
136
145
  mini_mime (1.1.5)
137
- mini_portile2 (2.8.5)
138
- minitest (5.22.2)
139
- mutex_m (0.2.0)
140
- net-imap (0.4.10)
146
+ mini_portile2 (2.8.8)
147
+ minitest (5.25.4)
148
+ mutex_m (0.3.0)
149
+ net-imap (0.4.18)
141
150
  date
142
151
  net-protocol
143
152
  net-pop (0.1.2)
144
153
  net-protocol
145
154
  net-protocol (0.2.2)
146
155
  timeout
147
- net-smtp (0.4.0.1)
156
+ net-smtp (0.5.0)
148
157
  net-protocol
149
- nio4r (2.7.0)
150
- nokogiri (1.16.4)
158
+ nio4r (2.7.4)
159
+ nokogiri (1.17.2)
151
160
  mini_portile2 (~> 2.8.2)
152
161
  racc (~> 1.4)
153
- nokogiri (1.16.4-arm64-darwin)
154
- racc (~> 1.4)
155
- nokogiri (1.16.4-x86_64-darwin)
156
- racc (~> 1.4)
157
- nokogiri (1.16.4-x86_64-linux)
158
- racc (~> 1.4)
159
- parallel (1.24.0)
160
- parser (3.3.0.5)
162
+ parallel (1.26.3)
163
+ parser (3.3.7.0)
161
164
  ast (~> 2.4.1)
162
165
  racc
163
- power_assert (2.0.3)
164
- psych (5.1.2)
166
+ power_assert (2.0.5)
167
+ pp (0.6.2)
168
+ prettyprint
169
+ prettyprint (0.2.0)
170
+ psych (5.2.3)
171
+ date
165
172
  stringio
166
- racc (1.7.3)
167
- rack (3.0.9.1)
168
- rack-session (2.0.0)
173
+ racc (1.8.1)
174
+ rack (3.1.8)
175
+ rack-session (2.1.0)
176
+ base64 (>= 0.1.0)
169
177
  rack (>= 3.0.0)
170
- rack-test (2.1.0)
178
+ rack-test (2.2.0)
171
179
  rack (>= 1.3)
172
- rackup (2.1.0)
180
+ rackup (2.2.1)
173
181
  rack (>= 3)
174
- webrick (~> 1.8)
175
- rails (7.1.3.2)
176
- actioncable (= 7.1.3.2)
177
- actionmailbox (= 7.1.3.2)
178
- actionmailer (= 7.1.3.2)
179
- actionpack (= 7.1.3.2)
180
- actiontext (= 7.1.3.2)
181
- actionview (= 7.1.3.2)
182
- activejob (= 7.1.3.2)
183
- activemodel (= 7.1.3.2)
184
- activerecord (= 7.1.3.2)
185
- activestorage (= 7.1.3.2)
186
- activesupport (= 7.1.3.2)
182
+ rails (7.1.5.1)
183
+ actioncable (= 7.1.5.1)
184
+ actionmailbox (= 7.1.5.1)
185
+ actionmailer (= 7.1.5.1)
186
+ actionpack (= 7.1.5.1)
187
+ actiontext (= 7.1.5.1)
188
+ actionview (= 7.1.5.1)
189
+ activejob (= 7.1.5.1)
190
+ activemodel (= 7.1.5.1)
191
+ activerecord (= 7.1.5.1)
192
+ activestorage (= 7.1.5.1)
193
+ activesupport (= 7.1.5.1)
187
194
  bundler (>= 1.15.0)
188
- railties (= 7.1.3.2)
195
+ railties (= 7.1.5.1)
189
196
  rails-dom-testing (2.2.0)
190
197
  activesupport (>= 5.0.0)
191
198
  minitest
192
199
  nokogiri (>= 1.6)
193
- rails-html-sanitizer (1.6.0)
200
+ rails-html-sanitizer (1.6.2)
194
201
  loofah (~> 2.21)
195
- nokogiri (~> 1.14)
196
- railties (7.1.3.2)
197
- actionpack (= 7.1.3.2)
198
- activesupport (= 7.1.3.2)
202
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
203
+ railties (7.1.5.1)
204
+ actionpack (= 7.1.5.1)
205
+ activesupport (= 7.1.5.1)
199
206
  irb
200
207
  rackup (>= 1.0.0)
201
208
  rake (>= 12.2)
@@ -203,108 +210,102 @@ GEM
203
210
  zeitwerk (~> 2.6)
204
211
  rainbow (2.2.2)
205
212
  rake
206
- rake (13.1.0)
207
- rdoc (6.6.2)
213
+ rake (13.2.1)
214
+ rdoc (6.11.0)
208
215
  psych (>= 4.0.0)
209
- regexp_parser (2.9.0)
210
- reline (0.4.3)
216
+ regexp_parser (2.10.0)
217
+ reline (0.6.0)
211
218
  io-console (~> 0.5)
212
- rexml (3.2.6)
219
+ rexml (3.4.0)
213
220
  rspec (3.13.0)
214
221
  rspec-core (~> 3.13.0)
215
222
  rspec-expectations (~> 3.13.0)
216
223
  rspec-mocks (~> 3.13.0)
217
- rspec-core (3.13.0)
224
+ rspec-core (3.13.2)
218
225
  rspec-support (~> 3.13.0)
219
- rspec-expectations (3.13.0)
226
+ rspec-expectations (3.13.3)
220
227
  diff-lcs (>= 1.2.0, < 2.0)
221
228
  rspec-support (~> 3.13.0)
222
- rspec-mocks (3.13.0)
229
+ rspec-mocks (3.13.2)
223
230
  diff-lcs (>= 1.2.0, < 2.0)
224
231
  rspec-support (~> 3.13.0)
225
- rspec-support (3.13.1)
226
- rubocop (1.52.1)
232
+ rspec-support (3.13.2)
233
+ rubocop (1.66.1)
227
234
  json (~> 2.3)
235
+ language_server-protocol (>= 3.17.0)
228
236
  parallel (~> 1.10)
229
- parser (>= 3.2.2.3)
237
+ parser (>= 3.3.0.2)
230
238
  rainbow (>= 2.2.2, < 4.0)
231
- regexp_parser (>= 1.8, < 3.0)
232
- rexml (>= 3.2.5, < 4.0)
233
- rubocop-ast (>= 1.28.0, < 2.0)
239
+ regexp_parser (>= 2.4, < 3.0)
240
+ rubocop-ast (>= 1.32.2, < 2.0)
234
241
  ruby-progressbar (~> 1.7)
235
242
  unicode-display_width (>= 2.4.0, < 3.0)
236
- rubocop-ast (1.30.0)
237
- parser (>= 3.2.1.0)
238
- rubocop-capybara (2.20.0)
239
- rubocop (~> 1.41)
240
- rubocop-factory_bot (2.25.1)
241
- rubocop (~> 1.41)
242
- rubocop-performance (1.20.2)
243
+ rubocop-ast (1.37.0)
244
+ parser (>= 3.3.1.0)
245
+ rubocop-performance (1.23.1)
243
246
  rubocop (>= 1.48.1, < 2.0)
244
- rubocop-ast (>= 1.30.0, < 2.0)
245
- rubocop-rails (2.23.1)
247
+ rubocop-ast (>= 1.31.1, < 2.0)
248
+ rubocop-rails (2.29.1)
246
249
  activesupport (>= 4.2.0)
247
250
  rack (>= 1.1)
248
- rubocop (>= 1.33.0, < 2.0)
249
- rubocop-ast (>= 1.30.0, < 2.0)
251
+ rubocop (>= 1.52.0, < 2.0)
252
+ rubocop-ast (>= 1.31.1, < 2.0)
250
253
  rubocop-rake (0.6.0)
251
254
  rubocop (~> 1.0)
252
- rubocop-rspec (2.26.1)
253
- rubocop (~> 1.40)
254
- rubocop-capybara (~> 2.17)
255
- rubocop-factory_bot (~> 2.22)
255
+ rubocop-rspec (3.4.0)
256
+ rubocop (~> 1.61)
256
257
  ruby-progressbar (1.13.0)
257
- ruby2_keywords (0.0.5)
258
- rubyzip (2.3.2)
258
+ rubyzip (2.4.1)
259
+ securerandom (0.3.2)
259
260
  simplecov (0.15.1)
260
261
  docile (~> 1.1.0)
261
262
  json (>= 1.8, < 3)
262
263
  simplecov-html (~> 0.10.0)
263
264
  simplecov-html (0.10.2)
264
- stringio (3.1.0)
265
+ stringio (3.1.2)
265
266
  test-unit (3.1.5)
266
267
  power_assert
267
- thor (1.3.1)
268
- timeout (0.4.1)
268
+ thor (1.3.2)
269
+ timeout (0.4.3)
269
270
  tomlrb (2.0.3)
270
271
  tzinfo (2.0.6)
271
272
  concurrent-ruby (~> 1.0)
272
- unicode-display_width (2.5.0)
273
- webrick (1.8.1)
274
- websocket-driver (0.7.6)
273
+ unicode-display_width (2.6.0)
274
+ websocket-driver (0.7.7)
275
+ base64
275
276
  websocket-extensions (>= 0.1.0)
276
277
  websocket-extensions (0.1.5)
277
278
  with_env (1.1.0)
278
279
  xml-simple (1.1.9)
279
280
  rexml
280
281
  yard (0.9.34)
281
- zeitwerk (2.6.13)
282
+ zeitwerk (2.6.18)
282
283
 
283
284
  PLATFORMS
284
- arm64-darwin-20
285
- arm64-darwin-21
286
- arm64-darwin-22
287
- arm64-darwin-23
288
- ruby
289
- x86_64-darwin-20
290
- x86_64-darwin-21
291
- x86_64-darwin-22
292
- x86_64-darwin-23
285
+ aarch64-linux
286
+ arm-linux
287
+ arm64-darwin
288
+ x86-linux
289
+ x86_64-darwin
293
290
  x86_64-linux
294
291
 
295
292
  DEPENDENCIES
293
+ activesupport (< 7.2.0)
296
294
  appraisal (= 2.5.0)
297
295
  bundler (~> 2.1)
298
296
  data_taster!
299
297
  license_finder (~> 7.0)
298
+ net-imap (< 0.5.0)
300
299
  parser (>= 2.5, != 2.5.1.1)
301
300
  rainbow (= 2.2.2)
302
301
  rake (~> 13.0)
303
302
  rspec (~> 3.0)
304
303
  rubocop-powerhome!
304
+ securerandom (< 0.4.0)
305
305
  simplecov (= 0.15.1)
306
306
  test-unit (= 3.1.5)
307
307
  yard (= 0.9.34)
308
+ zeitwerk (< 2.7.0)
308
309
 
309
310
  BUNDLED WITH
310
- 2.5.4
311
+ 2.5.23
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.1] - 2025-02-27
4
+
5
+ - Fix date flavor for newer rails versions
6
+
3
7
  ## [0.3.0] - 2024-04-25
4
8
 
5
9
  - Add compatibility for encryption with newer versions of attr_encrypted
data/docs/README.md CHANGED
@@ -42,7 +42,7 @@ users:
42
42
 
43
43
  ### `DataTaster.sample!`
44
44
 
45
- DataTaster uses its [Sample](https://github.com/powerhome/nitro-web/blob/master/components/data_taster/lib/data_taster/sample.rb) class to load the yml files, filtered through erb methods provided through its [Flavors](https://github.com/powerhome/nitro-web/blob/master/components/data_taster/lib/data_taster/flavors.rb) class.
45
+ DataTaster uses its [Sample](https://github.com/powerhome/power-tools/blob/main/packages/data_taster/lib/data_taster/sample.rb) class to load the yml files, filtered through erb methods provided through its [Flavors](https://github.com/powerhome/power-tools/blob/main/packages/data_taster/lib/data_taster/flavors.rb) class.
46
46
 
47
47
  Before doing so, you'll need to specify a client to use to connect to mysql and make queries. Doing so can be done by calling `DataTaster.config`, like so:
48
48
 
@@ -2,7 +2,11 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "activesupport", "< 7.2.0"
6
+ gem "net-imap", "< 0.5.0"
5
7
  gem "rubocop-powerhome", path: "../../rubocop-powerhome", tag: "v0.5.2-rubocop-powerhome"
8
+ gem "securerandom", "< 0.4.0"
9
+ gem "zeitwerk", "< 2.7.0"
6
10
  gem "rails", "6.0.6.1"
7
11
 
8
12
  gemspec path: "../"