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 +4 -4
- data/.github/workflows/test.yml +1 -1
- data/.rubocop.yml +1 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +181 -175
- data/bin/clickhouse-server +1 -2
- data/lib/umbrellio_utils/cards.rb +4 -3
- data/lib/umbrellio_utils/click_house/backends/base.rb +178 -0
- data/lib/umbrellio_utils/click_house/backends/legacy.rb +92 -0
- data/lib/umbrellio_utils/click_house/backends/native.rb +112 -0
- data/lib/umbrellio_utils/click_house/backends.rb +12 -0
- data/lib/umbrellio_utils/click_house/config.rb +13 -0
- data/lib/umbrellio_utils/click_house.rb +28 -166
- data/lib/umbrellio_utils/control.rb +2 -2
- data/lib/umbrellio_utils/database.rb +5 -2
- data/lib/umbrellio_utils/http_client.rb +6 -6
- data/lib/umbrellio_utils/migrations.rb +6 -3
- data/lib/umbrellio_utils/sql.rb +8 -8
- data/lib/umbrellio_utils/tasks/clickhouse_connect.rake +6 -5
- data/lib/umbrellio_utils/version.rb +1 -1
- data/lib/umbrellio_utils.rb +17 -1
- data/umbrellio_utils.gemspec +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77e2acf2d8962a0bf85662944579c90a31fbcd127dbfb61849d625bcb165dc93
|
|
4
|
+
data.tar.gz: b8358c2e27b57554477884944982837bc573e0519621680277bf37b466eb956b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85f8c6674a2e87f1312c58f4dcd2600afd1c29c9f2c2384817ede41dbaaeed2bc06cb8b9535a1e9b84c8fdf0f39d9cd710607d80bcda1b9ba5880ba159e86c9b
|
|
7
|
+
data.tar.gz: f2c2b665d0f0c0e121ddaf4441ae4c02171d95d22347b958988e0d0b9c4c4e05472e3a45ccb17efc810ebef8e8db8c12f79f20ab5ba1a71b1ac3db0d07b3a084
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,187 +1,188 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/umbrellio/click_house.git
|
|
3
|
-
revision:
|
|
3
|
+
revision: a1ff1df17c8cdd74e0f1b010c5e7a686d6521536
|
|
4
4
|
branch: master
|
|
5
5
|
specs:
|
|
6
|
-
click_house (2.1
|
|
6
|
+
click_house (2.2.1)
|
|
7
7
|
activesupport
|
|
8
|
-
faraday (>=
|
|
8
|
+
faraday (>= 2, < 3)
|
|
9
|
+
faraday-http
|
|
9
10
|
|
|
10
11
|
PATH
|
|
11
12
|
remote: .
|
|
12
13
|
specs:
|
|
13
|
-
umbrellio-utils (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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 (
|
|
26
|
-
actionpack (=
|
|
27
|
-
activejob (=
|
|
28
|
-
activerecord (=
|
|
29
|
-
activestorage (=
|
|
30
|
-
activesupport (=
|
|
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 (
|
|
33
|
-
actionpack (=
|
|
34
|
-
actionview (=
|
|
35
|
-
activejob (=
|
|
36
|
-
activesupport (=
|
|
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 (
|
|
40
|
-
actionview (=
|
|
41
|
-
activesupport (=
|
|
42
|
+
actionpack (8.1.3)
|
|
43
|
+
actionview (= 8.1.3)
|
|
44
|
+
activesupport (= 8.1.3)
|
|
42
45
|
nokogiri (>= 1.8.5)
|
|
43
|
-
|
|
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 (
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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 (
|
|
58
|
-
activesupport (=
|
|
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 (
|
|
64
|
-
activesupport (=
|
|
66
|
+
activejob (8.1.3)
|
|
67
|
+
activesupport (= 8.1.3)
|
|
65
68
|
globalid (>= 0.3.6)
|
|
66
|
-
activemodel (
|
|
67
|
-
activesupport (=
|
|
68
|
-
activerecord (
|
|
69
|
-
activemodel (=
|
|
70
|
-
activesupport (=
|
|
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 (
|
|
73
|
-
actionpack (=
|
|
74
|
-
activejob (=
|
|
75
|
-
activerecord (=
|
|
76
|
-
activesupport (=
|
|
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 (
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
110
|
-
connection_pool (
|
|
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.
|
|
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.
|
|
119
|
-
erb (
|
|
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.
|
|
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 (
|
|
142
|
-
addressable (~> 2.8)
|
|
142
|
+
http (6.0.3)
|
|
143
143
|
http-cookie (~> 1.0)
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
http-cookie (1.1.0)
|
|
144
|
+
llhttp (~> 0.6.1)
|
|
145
|
+
http-cookie (1.1.6)
|
|
147
146
|
domain_name (~> 0.5)
|
|
148
|
-
|
|
149
|
-
i18n (1.14.7)
|
|
147
|
+
i18n (1.14.8)
|
|
150
148
|
concurrent-ruby (~> 1.0)
|
|
151
|
-
io-console (0.8.
|
|
152
|
-
irb (1.
|
|
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.
|
|
157
|
-
kicks (3.
|
|
158
|
-
bunny (~> 2.
|
|
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
|
|
166
|
-
ffi-compiler (~> 1.0)
|
|
167
|
-
rake (~> 13.0)
|
|
164
|
+
llhttp (0.6.1)
|
|
168
165
|
logger (1.7.0)
|
|
169
|
-
loofah (2.
|
|
166
|
+
loofah (2.25.1)
|
|
170
167
|
crass (~> 1.0.2)
|
|
171
168
|
nokogiri (>= 1.12.0)
|
|
172
|
-
mail (2.
|
|
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.
|
|
176
|
+
memery (1.8.0)
|
|
179
177
|
method_source (1.1.0)
|
|
180
178
|
mini_mime (1.1.5)
|
|
181
|
-
minitest (
|
|
182
|
-
|
|
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.
|
|
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.
|
|
194
|
-
nokogiri (1.
|
|
194
|
+
nio4r (2.7.5)
|
|
195
|
+
nokogiri (1.19.3-aarch64-linux-gnu)
|
|
195
196
|
racc (~> 1.4)
|
|
196
|
-
nokogiri (1.
|
|
197
|
+
nokogiri (1.19.3-aarch64-linux-musl)
|
|
197
198
|
racc (~> 1.4)
|
|
198
|
-
nokogiri (1.
|
|
199
|
+
nokogiri (1.19.3-arm-linux-gnu)
|
|
199
200
|
racc (~> 1.4)
|
|
200
|
-
nokogiri (1.
|
|
201
|
+
nokogiri (1.19.3-arm-linux-musl)
|
|
201
202
|
racc (~> 1.4)
|
|
202
|
-
nokogiri (1.
|
|
203
|
+
nokogiri (1.19.3-arm64-darwin)
|
|
203
204
|
racc (~> 1.4)
|
|
204
|
-
nokogiri (1.
|
|
205
|
+
nokogiri (1.19.3-x86_64-darwin)
|
|
205
206
|
racc (~> 1.4)
|
|
206
|
-
nokogiri (1.
|
|
207
|
+
nokogiri (1.19.3-x86_64-linux-gnu)
|
|
207
208
|
racc (~> 1.4)
|
|
208
|
-
nokogiri (1.
|
|
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.
|
|
213
|
-
parser (3.3.
|
|
213
|
+
parallel (1.28.0)
|
|
214
|
+
parser (3.3.11.1)
|
|
214
215
|
ast (~> 2.4.1)
|
|
215
216
|
racc
|
|
216
|
-
pg (1.6.
|
|
217
|
-
pg (1.6.
|
|
218
|
-
pg (1.6.
|
|
219
|
-
pg (1.6.
|
|
220
|
-
pg (1.6.
|
|
221
|
-
pg (1.6.
|
|
222
|
-
pg (1.6.
|
|
223
|
-
pp (0.6.
|
|
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.
|
|
227
|
-
pry (0.
|
|
227
|
+
prism (1.9.0)
|
|
228
|
+
pry (0.16.0)
|
|
228
229
|
coderay (~> 1.1)
|
|
229
230
|
method_source (~> 1.0)
|
|
230
|
-
|
|
231
|
+
reline (>= 0.6.0)
|
|
232
|
+
psych (5.3.1)
|
|
231
233
|
date
|
|
232
234
|
stringio
|
|
233
|
-
|
|
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.
|
|
239
|
-
rack-session (2.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.
|
|
247
|
+
rackup (2.3.1)
|
|
245
248
|
rack (>= 3)
|
|
246
|
-
rails (
|
|
247
|
-
actioncable (=
|
|
248
|
-
actionmailbox (=
|
|
249
|
-
actionmailer (=
|
|
250
|
-
actionpack (=
|
|
251
|
-
actiontext (=
|
|
252
|
-
actionview (=
|
|
253
|
-
activejob (=
|
|
254
|
-
activemodel (=
|
|
255
|
-
activerecord (=
|
|
256
|
-
activestorage (=
|
|
257
|
-
activesupport (=
|
|
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 (=
|
|
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.
|
|
265
|
-
loofah (~> 2.
|
|
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 (
|
|
268
|
-
actionpack (=
|
|
269
|
-
activesupport (=
|
|
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.
|
|
280
|
+
rake (13.4.2)
|
|
277
281
|
rbtree (0.4.6)
|
|
278
|
-
rdoc (
|
|
282
|
+
rdoc (7.2.0)
|
|
279
283
|
erb
|
|
280
284
|
psych (>= 4.0.0)
|
|
281
|
-
|
|
282
|
-
|
|
285
|
+
tsort
|
|
286
|
+
regexp_parser (2.12.0)
|
|
287
|
+
reline (0.6.3)
|
|
283
288
|
io-console (~> 0.5)
|
|
284
|
-
rspec (3.13.
|
|
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.
|
|
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.
|
|
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.
|
|
300
|
-
rubocop (1.
|
|
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.
|
|
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.
|
|
316
|
+
rubocop-ast (1.49.1)
|
|
312
317
|
parser (>= 3.3.7.2)
|
|
313
|
-
prism (~> 1.
|
|
314
|
-
rubocop-config-umbrellio (1.
|
|
315
|
-
rubocop (~> 1.
|
|
316
|
-
rubocop-factory_bot (~> 2.
|
|
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.
|
|
323
|
+
rubocop-rails (~> 2.34.0)
|
|
319
324
|
rubocop-rake (~> 0.7.0)
|
|
320
|
-
rubocop-rspec (~> 3.
|
|
325
|
+
rubocop-rspec (~> 3.9.0)
|
|
321
326
|
rubocop-sequel (~> 0.4.0)
|
|
322
|
-
rubocop-factory_bot (2.
|
|
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.
|
|
330
|
+
rubocop-performance (1.26.1)
|
|
326
331
|
lint_roller (~> 1.1)
|
|
327
332
|
rubocop (>= 1.75.0, < 2.0)
|
|
328
|
-
rubocop-ast (>= 1.
|
|
329
|
-
rubocop-rails (2.
|
|
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.
|
|
343
|
+
rubocop-rspec (3.9.0)
|
|
339
344
|
lint_roller (~> 1.1)
|
|
340
|
-
rubocop (~> 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.
|
|
352
|
+
semantic_logger (4.18.0)
|
|
348
353
|
concurrent-ruby (~> 1.0)
|
|
349
|
-
sequel (5.
|
|
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
|
|
370
|
+
sorted_set (1.1.0)
|
|
367
371
|
rbtree
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
table_sync (6.8.0)
|
|
372
|
+
stringio (3.2.0)
|
|
373
|
+
table_sync (6.11.0)
|
|
371
374
|
memery
|
|
372
|
-
rabbit_messaging (>= 1.
|
|
375
|
+
rabbit_messaging (>= 1.8.0)
|
|
373
376
|
rails
|
|
374
377
|
self_data
|
|
375
|
-
thor (1.
|
|
376
|
-
timecop (0.9.
|
|
377
|
-
timeout (0.
|
|
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.
|
|
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.
|
|
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.
|
|
392
|
-
zeitwerk (2.
|
|
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.
|
|
439
|
+
2.7.2
|
data/bin/clickhouse-server
CHANGED
|
@@ -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
|
|
7
|
+
class InvalidExpiryDateString < StandardError
|
|
8
|
+
end
|
|
8
9
|
|
|
9
|
-
def parse_expiry_date!(string, **
|
|
10
|
-
result = parse_expiry_date(string, **
|
|
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}"
|