umbrellio-utils 1.12.1 → 1.13.0

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: 499d5d19b144b760e1d210c0eb9b7579d660cc482587e1e883b79303f0f903f0
4
- data.tar.gz: a2975d2606c30fcceea5988c76e76eb43715e86bc1f0b35928d78c63f51b7105
3
+ metadata.gz: 77e2acf2d8962a0bf85662944579c90a31fbcd127dbfb61849d625bcb165dc93
4
+ data.tar.gz: b8358c2e27b57554477884944982837bc573e0519621680277bf37b466eb956b
5
5
  SHA512:
6
- metadata.gz: 167085dcbbade970f85585ab44419ef5d55daf1e0a8906574192588af5eb741a53aab919799797895fa95676c9a56e237a3ccf399dcc9ad13286dd6533dfc08f
7
- data.tar.gz: 7e8cd85b9d63a1a6e4879fa2b2a93013a6daf984ab1d4edf4576ff8888a1b367bc1ae5d17c0f7ce7a71a563a49c20b87ac014b3675668a24a09aa68d4a54ee25
6
+ metadata.gz: 85f8c6674a2e87f1312c58f4dcd2600afd1c29c9f2c2384817ede41dbaaeed2bc06cb8b9535a1e9b84c8fdf0f39d9cd710607d80bcda1b9ba5880ba159e86c9b
7
+ data.tar.gz: f2c2b665d0f0c0e121ddaf4441ae4c02171d95d22347b958988e0d0b9c4c4e05472e3a45ccb17efc810ebef8e8db8c12f79f20ab5ba1a71b1ac3db0d07b3a084
@@ -15,7 +15,7 @@ jobs:
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- ruby: ["3.1", "3.2", "3.3", "3.4"]
18
+ ruby: ["3.3", "3.4", "4.0"]
19
19
 
20
20
  env:
21
21
  PGHOST: pg
data/.rubocop.yml CHANGED
@@ -3,7 +3,7 @@ inherit_gem:
3
3
 
4
4
  AllCops:
5
5
  DisplayCopNames: true
6
- TargetRubyVersion: 3.1
6
+ TargetRubyVersion: 3.3
7
7
  SuggestExtensions: false
8
8
 
9
9
  Naming/MethodParameterName:
data/Gemfile CHANGED
@@ -9,6 +9,7 @@ gem "activesupport"
9
9
  gem "bundler"
10
10
  gem "ci-helper"
11
11
  gem "click_house", github: "umbrellio/click_house", branch: "master"
12
+ gem "clickhouse-native"
12
13
  gem "csv"
13
14
  gem "http"
14
15
  gem "net-pop"
data/Gemfile.lock CHANGED
@@ -1,187 +1,188 @@
1
1
  GIT
2
2
  remote: https://github.com/umbrellio/click_house.git
3
- revision: 1bbf8cb909a248b401d0ba9a9f6f1de2e2c068db
3
+ revision: a1ff1df17c8cdd74e0f1b010c5e7a686d6521536
4
4
  branch: master
5
5
  specs:
6
- click_house (2.1.2)
6
+ click_house (2.2.1)
7
7
  activesupport
8
- faraday (>= 1.7, < 3)
8
+ faraday (>= 2, < 3)
9
+ faraday-http
9
10
 
10
11
  PATH
11
12
  remote: .
12
13
  specs:
13
- umbrellio-utils (1.12.1)
14
+ umbrellio-utils (1.13.0)
14
15
  memery (~> 1)
15
16
 
16
17
  GEM
17
18
  remote: https://rubygems.org/
18
19
  specs:
19
- actioncable (7.2.2.2)
20
- actionpack (= 7.2.2.2)
21
- activesupport (= 7.2.2.2)
20
+ action_text-trix (2.1.18)
21
+ railties
22
+ actioncable (8.1.3)
23
+ actionpack (= 8.1.3)
24
+ activesupport (= 8.1.3)
22
25
  nio4r (~> 2.0)
23
26
  websocket-driver (>= 0.6.1)
24
27
  zeitwerk (~> 2.6)
25
- actionmailbox (7.2.2.2)
26
- actionpack (= 7.2.2.2)
27
- activejob (= 7.2.2.2)
28
- activerecord (= 7.2.2.2)
29
- activestorage (= 7.2.2.2)
30
- activesupport (= 7.2.2.2)
28
+ actionmailbox (8.1.3)
29
+ actionpack (= 8.1.3)
30
+ activejob (= 8.1.3)
31
+ activerecord (= 8.1.3)
32
+ activestorage (= 8.1.3)
33
+ activesupport (= 8.1.3)
31
34
  mail (>= 2.8.0)
32
- actionmailer (7.2.2.2)
33
- actionpack (= 7.2.2.2)
34
- actionview (= 7.2.2.2)
35
- activejob (= 7.2.2.2)
36
- activesupport (= 7.2.2.2)
35
+ actionmailer (8.1.3)
36
+ actionpack (= 8.1.3)
37
+ actionview (= 8.1.3)
38
+ activejob (= 8.1.3)
39
+ activesupport (= 8.1.3)
37
40
  mail (>= 2.8.0)
38
41
  rails-dom-testing (~> 2.2)
39
- actionpack (7.2.2.2)
40
- actionview (= 7.2.2.2)
41
- activesupport (= 7.2.2.2)
42
+ actionpack (8.1.3)
43
+ actionview (= 8.1.3)
44
+ activesupport (= 8.1.3)
42
45
  nokogiri (>= 1.8.5)
43
- racc
44
- rack (>= 2.2.4, < 3.2)
46
+ rack (>= 2.2.4)
45
47
  rack-session (>= 1.0.1)
46
48
  rack-test (>= 0.6.3)
47
49
  rails-dom-testing (~> 2.2)
48
50
  rails-html-sanitizer (~> 1.6)
49
51
  useragent (~> 0.16)
50
- actiontext (7.2.2.2)
51
- actionpack (= 7.2.2.2)
52
- activerecord (= 7.2.2.2)
53
- activestorage (= 7.2.2.2)
54
- activesupport (= 7.2.2.2)
52
+ actiontext (8.1.3)
53
+ action_text-trix (~> 2.1.15)
54
+ actionpack (= 8.1.3)
55
+ activerecord (= 8.1.3)
56
+ activestorage (= 8.1.3)
57
+ activesupport (= 8.1.3)
55
58
  globalid (>= 0.6.0)
56
59
  nokogiri (>= 1.8.5)
57
- actionview (7.2.2.2)
58
- activesupport (= 7.2.2.2)
60
+ actionview (8.1.3)
61
+ activesupport (= 8.1.3)
59
62
  builder (~> 3.1)
60
63
  erubi (~> 1.11)
61
64
  rails-dom-testing (~> 2.2)
62
65
  rails-html-sanitizer (~> 1.6)
63
- activejob (7.2.2.2)
64
- activesupport (= 7.2.2.2)
66
+ activejob (8.1.3)
67
+ activesupport (= 8.1.3)
65
68
  globalid (>= 0.3.6)
66
- activemodel (7.2.2.2)
67
- activesupport (= 7.2.2.2)
68
- activerecord (7.2.2.2)
69
- activemodel (= 7.2.2.2)
70
- activesupport (= 7.2.2.2)
69
+ activemodel (8.1.3)
70
+ activesupport (= 8.1.3)
71
+ activerecord (8.1.3)
72
+ activemodel (= 8.1.3)
73
+ activesupport (= 8.1.3)
71
74
  timeout (>= 0.4.0)
72
- activestorage (7.2.2.2)
73
- actionpack (= 7.2.2.2)
74
- activejob (= 7.2.2.2)
75
- activerecord (= 7.2.2.2)
76
- activesupport (= 7.2.2.2)
75
+ activestorage (8.1.3)
76
+ actionpack (= 8.1.3)
77
+ activejob (= 8.1.3)
78
+ activerecord (= 8.1.3)
79
+ activesupport (= 8.1.3)
77
80
  marcel (~> 1.0)
78
- activesupport (7.2.2.2)
81
+ activesupport (8.1.3)
79
82
  base64
80
- benchmark (>= 0.3)
81
83
  bigdecimal
82
84
  concurrent-ruby (~> 1.0, >= 1.3.1)
83
85
  connection_pool (>= 2.2.5)
84
86
  drb
85
87
  i18n (>= 1.6, < 2)
88
+ json
86
89
  logger (>= 1.4.2)
87
90
  minitest (>= 5.1)
88
91
  securerandom (>= 0.3)
89
92
  tzinfo (~> 2.0, >= 2.0.5)
90
- addressable (2.8.7)
91
- public_suffix (>= 2.0.2, < 7.0)
92
- amazing_print (1.8.1)
93
- amq-protocol (2.3.4)
93
+ uri (>= 0.13.1)
94
+ amazing_print (2.0.0)
95
+ amq-protocol (2.8.0)
94
96
  ast (2.4.3)
95
97
  base64 (0.3.0)
96
- benchmark (0.4.1)
97
- bigdecimal (3.2.3)
98
+ bigdecimal (4.1.2)
98
99
  builder (3.3.0)
99
100
  bunny (2.24.0)
100
101
  amq-protocol (~> 2.3)
101
102
  sorted_set (~> 1, >= 1.0.2)
102
- cgi (0.5.0)
103
- ci-helper (0.7.0)
103
+ ci-helper (0.10.0)
104
104
  colorize (~> 1.1)
105
105
  dry-inflector (~> 1.0)
106
106
  umbrellio-sequel-plugins (~> 0.14)
107
+ clickhouse-native (0.7.0)
108
+ connection_pool (>= 2.5.4)
109
+ clickhouse-native (0.7.0-aarch64-linux-gnu)
110
+ connection_pool (>= 2.5.4)
111
+ clickhouse-native (0.7.0-arm64-darwin)
112
+ connection_pool (>= 2.5.4)
113
+ clickhouse-native (0.7.0-x86_64-darwin)
114
+ connection_pool (>= 2.5.4)
115
+ clickhouse-native (0.7.0-x86_64-linux-gnu)
116
+ connection_pool (>= 2.5.4)
107
117
  coderay (1.1.3)
108
118
  colorize (1.1.0)
109
- concurrent-ruby (1.3.5)
110
- connection_pool (2.5.4)
119
+ concurrent-ruby (1.3.6)
120
+ connection_pool (3.0.2)
111
121
  crass (1.0.6)
112
122
  csv (3.3.5)
113
- date (3.4.1)
123
+ date (3.5.1)
114
124
  diff-lcs (1.6.2)
115
125
  docile (1.4.1)
116
126
  domain_name (0.6.20240107)
117
127
  drb (2.2.3)
118
- dry-inflector (1.2.0)
119
- erb (4.0.4)
120
- cgi (>= 0.3.3)
128
+ dry-inflector (1.3.1)
129
+ erb (6.0.4)
121
130
  erubi (1.13.1)
122
- faraday (2.14.0)
131
+ faraday (2.14.1)
123
132
  faraday-net_http (>= 2.0, < 3.5)
124
133
  json
125
134
  logger
135
+ faraday-http (2.1.0)
136
+ faraday (~> 2.5)
137
+ http (>= 4.0, < 7)
126
138
  faraday-net_http (3.4.2)
127
139
  net-http (~> 0.5)
128
- ffi (1.17.2-aarch64-linux-gnu)
129
- ffi (1.17.2-aarch64-linux-musl)
130
- ffi (1.17.2-arm-linux-gnu)
131
- ffi (1.17.2-arm-linux-musl)
132
- ffi (1.17.2-arm64-darwin)
133
- ffi (1.17.2-x86_64-darwin)
134
- ffi (1.17.2-x86_64-linux-gnu)
135
- ffi (1.17.2-x86_64-linux-musl)
136
- ffi-compiler (1.3.2)
137
- ffi (>= 1.15.5)
138
- rake
139
140
  globalid (1.3.0)
140
141
  activesupport (>= 6.1)
141
- http (5.3.1)
142
- addressable (~> 2.8)
142
+ http (6.0.3)
143
143
  http-cookie (~> 1.0)
144
- http-form_data (~> 2.2)
145
- llhttp-ffi (~> 0.5.0)
146
- http-cookie (1.1.0)
144
+ llhttp (~> 0.6.1)
145
+ http-cookie (1.1.6)
147
146
  domain_name (~> 0.5)
148
- http-form_data (2.3.0)
149
- i18n (1.14.7)
147
+ i18n (1.14.8)
150
148
  concurrent-ruby (~> 1.0)
151
- io-console (0.8.1)
152
- irb (1.15.2)
149
+ io-console (0.8.2)
150
+ irb (1.18.0)
153
151
  pp (>= 0.6.0)
152
+ prism (>= 1.3.0)
154
153
  rdoc (>= 4.0.0)
155
154
  reline (>= 0.4.2)
156
- json (2.15.0)
157
- kicks (3.2.0)
158
- bunny (~> 2.19)
155
+ json (2.19.4)
156
+ kicks (3.3.0)
157
+ bunny (~> 2.24)
159
158
  concurrent-ruby (~> 1.0)
160
159
  rake (>= 12.3, < 14.0)
161
160
  serverengine (~> 2.1)
162
161
  thor
163
162
  language_server-protocol (3.17.0.5)
164
163
  lint_roller (1.1.0)
165
- llhttp-ffi (0.5.1)
166
- ffi-compiler (~> 1.0)
167
- rake (~> 13.0)
164
+ llhttp (0.6.1)
168
165
  logger (1.7.0)
169
- loofah (2.24.1)
166
+ loofah (2.25.1)
170
167
  crass (~> 1.0.2)
171
168
  nokogiri (>= 1.12.0)
172
- mail (2.8.1)
169
+ mail (2.9.0)
170
+ logger
173
171
  mini_mime (>= 0.1.1)
174
172
  net-imap
175
173
  net-pop
176
174
  net-smtp
177
175
  marcel (1.1.0)
178
- memery (1.7.0)
176
+ memery (1.8.0)
179
177
  method_source (1.1.0)
180
178
  mini_mime (1.1.5)
181
- minitest (5.25.5)
182
- net-http (0.8.0)
179
+ minitest (6.0.5)
180
+ drb (~> 2.0)
181
+ prism (~> 1.5)
182
+ msgpack (1.8.0)
183
+ net-http (0.9.1)
183
184
  uri (>= 0.11.1)
184
- net-imap (0.5.10)
185
+ net-imap (0.6.4)
185
186
  date
186
187
  net-protocol
187
188
  net-pop (0.1.2)
@@ -190,102 +191,106 @@ GEM
190
191
  timeout
191
192
  net-smtp (0.5.1)
192
193
  net-protocol
193
- nio4r (2.7.4)
194
- nokogiri (1.18.10-aarch64-linux-gnu)
194
+ nio4r (2.7.5)
195
+ nokogiri (1.19.3-aarch64-linux-gnu)
195
196
  racc (~> 1.4)
196
- nokogiri (1.18.10-aarch64-linux-musl)
197
+ nokogiri (1.19.3-aarch64-linux-musl)
197
198
  racc (~> 1.4)
198
- nokogiri (1.18.10-arm-linux-gnu)
199
+ nokogiri (1.19.3-arm-linux-gnu)
199
200
  racc (~> 1.4)
200
- nokogiri (1.18.10-arm-linux-musl)
201
+ nokogiri (1.19.3-arm-linux-musl)
201
202
  racc (~> 1.4)
202
- nokogiri (1.18.10-arm64-darwin)
203
+ nokogiri (1.19.3-arm64-darwin)
203
204
  racc (~> 1.4)
204
- nokogiri (1.18.10-x86_64-darwin)
205
+ nokogiri (1.19.3-x86_64-darwin)
205
206
  racc (~> 1.4)
206
- nokogiri (1.18.10-x86_64-linux-gnu)
207
+ nokogiri (1.19.3-x86_64-linux-gnu)
207
208
  racc (~> 1.4)
208
- nokogiri (1.18.10-x86_64-linux-musl)
209
+ nokogiri (1.19.3-x86_64-linux-musl)
209
210
  racc (~> 1.4)
210
211
  nori (2.7.1)
211
212
  bigdecimal
212
- parallel (1.27.0)
213
- parser (3.3.9.0)
213
+ parallel (1.28.0)
214
+ parser (3.3.11.1)
214
215
  ast (~> 2.4.1)
215
216
  racc
216
- pg (1.6.2)
217
- pg (1.6.2-aarch64-linux)
218
- pg (1.6.2-aarch64-linux-musl)
219
- pg (1.6.2-arm64-darwin)
220
- pg (1.6.2-x86_64-darwin)
221
- pg (1.6.2-x86_64-linux)
222
- pg (1.6.2-x86_64-linux-musl)
223
- pp (0.6.2)
217
+ pg (1.6.3)
218
+ pg (1.6.3-aarch64-linux)
219
+ pg (1.6.3-aarch64-linux-musl)
220
+ pg (1.6.3-arm64-darwin)
221
+ pg (1.6.3-x86_64-darwin)
222
+ pg (1.6.3-x86_64-linux)
223
+ pg (1.6.3-x86_64-linux-musl)
224
+ pp (0.6.3)
224
225
  prettyprint
225
226
  prettyprint (0.2.0)
226
- prism (1.5.1)
227
- pry (0.15.2)
227
+ prism (1.9.0)
228
+ pry (0.16.0)
228
229
  coderay (~> 1.1)
229
230
  method_source (~> 1.0)
230
- psych (5.2.6)
231
+ reline (>= 0.6.0)
232
+ psych (5.3.1)
231
233
  date
232
234
  stringio
233
- public_suffix (6.0.2)
234
- rabbit_messaging (1.7.0)
235
+ rabbit_messaging (1.9.0)
235
236
  bunny (~> 2.0)
236
237
  kicks
238
+ msgpack
239
+ zlib
237
240
  racc (1.8.1)
238
- rack (3.1.16)
239
- rack-session (2.1.1)
241
+ rack (3.2.6)
242
+ rack-session (2.1.2)
240
243
  base64 (>= 0.1.0)
241
244
  rack (>= 3.0.0)
242
245
  rack-test (2.2.0)
243
246
  rack (>= 1.3)
244
- rackup (2.2.1)
247
+ rackup (2.3.1)
245
248
  rack (>= 3)
246
- rails (7.2.2.2)
247
- actioncable (= 7.2.2.2)
248
- actionmailbox (= 7.2.2.2)
249
- actionmailer (= 7.2.2.2)
250
- actionpack (= 7.2.2.2)
251
- actiontext (= 7.2.2.2)
252
- actionview (= 7.2.2.2)
253
- activejob (= 7.2.2.2)
254
- activemodel (= 7.2.2.2)
255
- activerecord (= 7.2.2.2)
256
- activestorage (= 7.2.2.2)
257
- activesupport (= 7.2.2.2)
249
+ rails (8.1.3)
250
+ actioncable (= 8.1.3)
251
+ actionmailbox (= 8.1.3)
252
+ actionmailer (= 8.1.3)
253
+ actionpack (= 8.1.3)
254
+ actiontext (= 8.1.3)
255
+ actionview (= 8.1.3)
256
+ activejob (= 8.1.3)
257
+ activemodel (= 8.1.3)
258
+ activerecord (= 8.1.3)
259
+ activestorage (= 8.1.3)
260
+ activesupport (= 8.1.3)
258
261
  bundler (>= 1.15.0)
259
- railties (= 7.2.2.2)
262
+ railties (= 8.1.3)
260
263
  rails-dom-testing (2.3.0)
261
264
  activesupport (>= 5.0.0)
262
265
  minitest
263
266
  nokogiri (>= 1.6)
264
- rails-html-sanitizer (1.6.2)
265
- loofah (~> 2.21)
267
+ rails-html-sanitizer (1.7.0)
268
+ loofah (~> 2.25)
266
269
  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)
267
- railties (7.2.2.2)
268
- actionpack (= 7.2.2.2)
269
- activesupport (= 7.2.2.2)
270
+ railties (8.1.3)
271
+ actionpack (= 8.1.3)
272
+ activesupport (= 8.1.3)
270
273
  irb (~> 1.13)
271
274
  rackup (>= 1.0.0)
272
275
  rake (>= 12.2)
273
276
  thor (~> 1.0, >= 1.2.2)
277
+ tsort (>= 0.2)
274
278
  zeitwerk (~> 2.6)
275
279
  rainbow (3.1.1)
276
- rake (13.3.0)
280
+ rake (13.4.2)
277
281
  rbtree (0.4.6)
278
- rdoc (6.14.2)
282
+ rdoc (7.2.0)
279
283
  erb
280
284
  psych (>= 4.0.0)
281
- regexp_parser (2.11.3)
282
- reline (0.6.2)
285
+ tsort
286
+ regexp_parser (2.12.0)
287
+ reline (0.6.3)
283
288
  io-console (~> 0.5)
284
- rspec (3.13.1)
289
+ rspec (3.13.2)
285
290
  rspec-core (~> 3.13.0)
286
291
  rspec-expectations (~> 3.13.0)
287
292
  rspec-mocks (~> 3.13.0)
288
- rspec-core (3.13.5)
293
+ rspec-core (3.13.6)
289
294
  rspec-support (~> 3.13.0)
290
295
  rspec-expectations (3.13.5)
291
296
  diff-lcs (>= 1.2.0, < 2.0)
@@ -293,11 +298,11 @@ GEM
293
298
  rspec-json_matcher (0.2.0)
294
299
  amazing_print
295
300
  json
296
- rspec-mocks (3.13.5)
301
+ rspec-mocks (3.13.8)
297
302
  diff-lcs (>= 1.2.0, < 2.0)
298
303
  rspec-support (~> 3.13.0)
299
- rspec-support (3.13.6)
300
- rubocop (1.80.2)
304
+ rspec-support (3.13.7)
305
+ rubocop (1.84.2)
301
306
  json (~> 2.3)
302
307
  language_server-protocol (~> 3.17.0.2)
303
308
  lint_roller (~> 1.1.0)
@@ -305,28 +310,28 @@ GEM
305
310
  parser (>= 3.3.0.2)
306
311
  rainbow (>= 2.2.2, < 4.0)
307
312
  regexp_parser (>= 2.9.3, < 3.0)
308
- rubocop-ast (>= 1.46.0, < 2.0)
313
+ rubocop-ast (>= 1.49.0, < 2.0)
309
314
  ruby-progressbar (~> 1.7)
310
315
  unicode-display_width (>= 2.4.0, < 4.0)
311
- rubocop-ast (1.47.1)
316
+ rubocop-ast (1.49.1)
312
317
  parser (>= 3.3.7.2)
313
- prism (~> 1.4)
314
- rubocop-config-umbrellio (1.80.107)
315
- rubocop (~> 1.80.0)
316
- rubocop-factory_bot (~> 2.27.0)
318
+ prism (~> 1.7)
319
+ rubocop-config-umbrellio (1.84.118)
320
+ rubocop (~> 1.84.0)
321
+ rubocop-factory_bot (~> 2.28.0)
317
322
  rubocop-performance (~> 1.26.0)
318
- rubocop-rails (~> 2.33.0)
323
+ rubocop-rails (~> 2.34.0)
319
324
  rubocop-rake (~> 0.7.0)
320
- rubocop-rspec (~> 3.7.0)
325
+ rubocop-rspec (~> 3.9.0)
321
326
  rubocop-sequel (~> 0.4.0)
322
- rubocop-factory_bot (2.27.1)
327
+ rubocop-factory_bot (2.28.0)
323
328
  lint_roller (~> 1.1)
324
329
  rubocop (~> 1.72, >= 1.72.1)
325
- rubocop-performance (1.26.0)
330
+ rubocop-performance (1.26.1)
326
331
  lint_roller (~> 1.1)
327
332
  rubocop (>= 1.75.0, < 2.0)
328
- rubocop-ast (>= 1.44.0, < 2.0)
329
- rubocop-rails (2.33.4)
333
+ rubocop-ast (>= 1.47.1, < 2.0)
334
+ rubocop-rails (2.34.3)
330
335
  activesupport (>= 4.2.0)
331
336
  lint_roller (~> 1.1)
332
337
  rack (>= 1.1)
@@ -335,18 +340,18 @@ GEM
335
340
  rubocop-rake (0.7.1)
336
341
  lint_roller (~> 1.1)
337
342
  rubocop (>= 1.72.1)
338
- rubocop-rspec (3.7.0)
343
+ rubocop-rspec (3.9.0)
339
344
  lint_roller (~> 1.1)
340
- rubocop (~> 1.72, >= 1.72.1)
345
+ rubocop (~> 1.81)
341
346
  rubocop-sequel (0.4.1)
342
347
  lint_roller (~> 1.1)
343
348
  rubocop (>= 1.72.1, < 2)
344
349
  ruby-progressbar (1.13.0)
345
350
  securerandom (0.4.1)
346
351
  self_data (1.3.0)
347
- semantic_logger (4.17.0)
352
+ semantic_logger (4.18.0)
348
353
  concurrent-ruby (~> 1.0)
349
- sequel (5.96.0)
354
+ sequel (5.103.0)
350
355
  bigdecimal
351
356
  sequel-batches (2.0.3)
352
357
  sequel
@@ -354,7 +359,6 @@ GEM
354
359
  base64 (~> 0.1)
355
360
  logger (~> 1.4)
356
361
  sigdump (~> 0.2.2)
357
- set (1.1.2)
358
362
  sigdump (0.2.5)
359
363
  simplecov (0.22.0)
360
364
  docile (~> 1.1)
@@ -363,33 +367,34 @@ GEM
363
367
  simplecov-html (0.13.2)
364
368
  simplecov-lcov (0.9.0)
365
369
  simplecov_json_formatter (0.1.4)
366
- sorted_set (1.0.3)
370
+ sorted_set (1.1.0)
367
371
  rbtree
368
- set (~> 1.0)
369
- stringio (3.1.7)
370
- table_sync (6.8.0)
372
+ stringio (3.2.0)
373
+ table_sync (6.11.0)
371
374
  memery
372
- rabbit_messaging (>= 1.7.0)
375
+ rabbit_messaging (>= 1.8.0)
373
376
  rails
374
377
  self_data
375
- thor (1.4.0)
376
- timecop (0.9.10)
377
- timeout (0.4.3)
378
+ thor (1.5.0)
379
+ timecop (0.9.11)
380
+ timeout (0.6.1)
381
+ tsort (0.2.0)
378
382
  tzinfo (2.0.6)
379
383
  concurrent-ruby (~> 1.0)
380
- umbrellio-sequel-plugins (0.17.0)
384
+ umbrellio-sequel-plugins (0.17.2)
381
385
  sequel
382
386
  unicode-display_width (3.2.0)
383
387
  unicode-emoji (~> 4.1)
384
- unicode-emoji (4.1.0)
388
+ unicode-emoji (4.2.0)
385
389
  uri (1.1.1)
386
390
  useragent (0.16.11)
387
391
  websocket-driver (0.8.0)
388
392
  base64
389
393
  websocket-extensions (>= 0.1.0)
390
394
  websocket-extensions (0.1.5)
391
- yard (0.9.37)
392
- zeitwerk (2.6.18)
395
+ yard (0.9.43)
396
+ zeitwerk (2.7.5)
397
+ zlib (3.2.3)
393
398
 
394
399
  PLATFORMS
395
400
  aarch64-linux
@@ -408,6 +413,7 @@ DEPENDENCIES
408
413
  bundler
409
414
  ci-helper
410
415
  click_house!
416
+ clickhouse-native
411
417
  csv
412
418
  http
413
419
  net-pop
@@ -430,4 +436,4 @@ DEPENDENCIES
430
436
  yard
431
437
 
432
438
  BUNDLED WITH
433
- 2.6.9
439
+ 2.7.2
@@ -9,6 +9,7 @@ docker run \
9
9
  --network host \
10
10
  --name clickhouse-server \
11
11
  --ulimit nofile=262144:262144 \
12
+ -e CLICKHOUSE_DB=umbrellio_utils_test \
12
13
  $CLICKHOUSE_IMAGE_TAG
13
14
 
14
15
  # Wait for ClickHouse server to become available
@@ -16,5 +17,3 @@ until docker exec clickhouse-server clickhouse-client --query "SELECT 1" &>/dev/
16
17
  echo "Waiting for ClickHouse to be ready..."
17
18
  sleep 1
18
19
  done
19
-
20
- rails ch:create ch:migrate
@@ -4,10 +4,11 @@ module UmbrellioUtils
4
4
  module Cards
5
5
  extend self
6
6
 
7
- InvalidExpiryDateString = Class.new(StandardError)
7
+ class InvalidExpiryDateString < StandardError
8
+ end
8
9
 
9
- def parse_expiry_date!(string, **options)
10
- result = parse_expiry_date(string, **options)
10
+ def parse_expiry_date!(string, **)
11
+ result = parse_expiry_date(string, **)
11
12
 
12
13
  unless result
13
14
  raise InvalidExpiryDateString, "Failed to parse expiry date: #{string.inspect}"