umbrellio-utils 1.8.0 → 1.8.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 +4 -4
- data/.github/workflows/test.yml +1 -1
- data/.rubocop.yml +3 -0
- data/Gemfile.lock +225 -198
- data/lib/umbrellio_utils/parsing.rb +1 -1
- data/lib/umbrellio_utils/semantic_logger/tiny_json_formatter.rb +9 -5
- data/lib/umbrellio_utils/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 942e89d83360726335baf4deb039b6e93910a11ec1b69ec7eefa0e7974813d3f
|
4
|
+
data.tar.gz: df30fcde5d009fbec1b751fdbf204727848d9d291d9bd78ec07dfd71dbbaec06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d590659a0e8dd7720ab627e269e2497f64da3be1d0a3db5bfd351da26344aab3e602e1e43dce37ced9ed948747c981eb8aec5cfb7285c631028d7ac34a746b51
|
7
|
+
data.tar.gz: bb76e7efaca38965d86d72cc95ef7a723b87bc8199c1b8cf5c7dbcb763af33729a2645ff5278adaf33c10266f2ddbf2104d878ebb40e091ed45064e0f2c58361
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
umbrellio-utils (1.8.
|
4
|
+
umbrellio-utils (1.8.1)
|
5
5
|
memery (~> 1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (7.2.
|
11
|
-
actionpack (= 7.2.
|
12
|
-
activesupport (= 7.2.
|
10
|
+
actioncable (7.2.2.2)
|
11
|
+
actionpack (= 7.2.2.2)
|
12
|
+
activesupport (= 7.2.2.2)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
15
|
zeitwerk (~> 2.6)
|
16
|
-
actionmailbox (7.2.
|
17
|
-
actionpack (= 7.2.
|
18
|
-
activejob (= 7.2.
|
19
|
-
activerecord (= 7.2.
|
20
|
-
activestorage (= 7.2.
|
21
|
-
activesupport (= 7.2.
|
16
|
+
actionmailbox (7.2.2.2)
|
17
|
+
actionpack (= 7.2.2.2)
|
18
|
+
activejob (= 7.2.2.2)
|
19
|
+
activerecord (= 7.2.2.2)
|
20
|
+
activestorage (= 7.2.2.2)
|
21
|
+
activesupport (= 7.2.2.2)
|
22
22
|
mail (>= 2.8.0)
|
23
|
-
actionmailer (7.2.
|
24
|
-
actionpack (= 7.2.
|
25
|
-
actionview (= 7.2.
|
26
|
-
activejob (= 7.2.
|
27
|
-
activesupport (= 7.2.
|
23
|
+
actionmailer (7.2.2.2)
|
24
|
+
actionpack (= 7.2.2.2)
|
25
|
+
actionview (= 7.2.2.2)
|
26
|
+
activejob (= 7.2.2.2)
|
27
|
+
activesupport (= 7.2.2.2)
|
28
28
|
mail (>= 2.8.0)
|
29
29
|
rails-dom-testing (~> 2.2)
|
30
|
-
actionpack (7.2.
|
31
|
-
actionview (= 7.2.
|
32
|
-
activesupport (= 7.2.
|
30
|
+
actionpack (7.2.2.2)
|
31
|
+
actionview (= 7.2.2.2)
|
32
|
+
activesupport (= 7.2.2.2)
|
33
33
|
nokogiri (>= 1.8.5)
|
34
34
|
racc
|
35
35
|
rack (>= 2.2.4, < 3.2)
|
@@ -38,36 +38,37 @@ GEM
|
|
38
38
|
rails-dom-testing (~> 2.2)
|
39
39
|
rails-html-sanitizer (~> 1.6)
|
40
40
|
useragent (~> 0.16)
|
41
|
-
actiontext (7.2.
|
42
|
-
actionpack (= 7.2.
|
43
|
-
activerecord (= 7.2.
|
44
|
-
activestorage (= 7.2.
|
45
|
-
activesupport (= 7.2.
|
41
|
+
actiontext (7.2.2.2)
|
42
|
+
actionpack (= 7.2.2.2)
|
43
|
+
activerecord (= 7.2.2.2)
|
44
|
+
activestorage (= 7.2.2.2)
|
45
|
+
activesupport (= 7.2.2.2)
|
46
46
|
globalid (>= 0.6.0)
|
47
47
|
nokogiri (>= 1.8.5)
|
48
|
-
actionview (7.2.
|
49
|
-
activesupport (= 7.2.
|
48
|
+
actionview (7.2.2.2)
|
49
|
+
activesupport (= 7.2.2.2)
|
50
50
|
builder (~> 3.1)
|
51
51
|
erubi (~> 1.11)
|
52
52
|
rails-dom-testing (~> 2.2)
|
53
53
|
rails-html-sanitizer (~> 1.6)
|
54
|
-
activejob (7.2.
|
55
|
-
activesupport (= 7.2.
|
54
|
+
activejob (7.2.2.2)
|
55
|
+
activesupport (= 7.2.2.2)
|
56
56
|
globalid (>= 0.3.6)
|
57
|
-
activemodel (7.2.
|
58
|
-
activesupport (= 7.2.
|
59
|
-
activerecord (7.2.
|
60
|
-
activemodel (= 7.2.
|
61
|
-
activesupport (= 7.2.
|
57
|
+
activemodel (7.2.2.2)
|
58
|
+
activesupport (= 7.2.2.2)
|
59
|
+
activerecord (7.2.2.2)
|
60
|
+
activemodel (= 7.2.2.2)
|
61
|
+
activesupport (= 7.2.2.2)
|
62
62
|
timeout (>= 0.4.0)
|
63
|
-
activestorage (7.2.
|
64
|
-
actionpack (= 7.2.
|
65
|
-
activejob (= 7.2.
|
66
|
-
activerecord (= 7.2.
|
67
|
-
activesupport (= 7.2.
|
63
|
+
activestorage (7.2.2.2)
|
64
|
+
actionpack (= 7.2.2.2)
|
65
|
+
activejob (= 7.2.2.2)
|
66
|
+
activerecord (= 7.2.2.2)
|
67
|
+
activesupport (= 7.2.2.2)
|
68
68
|
marcel (~> 1.0)
|
69
|
-
activesupport (7.2.
|
69
|
+
activesupport (7.2.2.2)
|
70
70
|
base64
|
71
|
+
benchmark (>= 0.3)
|
71
72
|
bigdecimal
|
72
73
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
73
74
|
connection_pool (>= 2.2.5)
|
@@ -79,64 +80,77 @@ GEM
|
|
79
80
|
tzinfo (~> 2.0, >= 2.0.5)
|
80
81
|
addressable (2.8.7)
|
81
82
|
public_suffix (>= 2.0.2, < 7.0)
|
82
|
-
amazing_print (1.
|
83
|
-
amq-protocol (2.3.
|
84
|
-
ast (2.4.
|
85
|
-
base64 (0.
|
86
|
-
|
83
|
+
amazing_print (1.8.1)
|
84
|
+
amq-protocol (2.3.4)
|
85
|
+
ast (2.4.3)
|
86
|
+
base64 (0.3.0)
|
87
|
+
benchmark (0.4.1)
|
88
|
+
bigdecimal (3.2.3)
|
87
89
|
builder (3.3.0)
|
88
|
-
bunny (2.
|
89
|
-
amq-protocol (~> 2.3
|
90
|
+
bunny (2.24.0)
|
91
|
+
amq-protocol (~> 2.3)
|
90
92
|
sorted_set (~> 1, >= 1.0.2)
|
91
|
-
|
93
|
+
cgi (0.5.0)
|
94
|
+
ci-helper (0.7.0)
|
92
95
|
colorize (~> 1.1)
|
93
96
|
dry-inflector (~> 1.0)
|
94
97
|
umbrellio-sequel-plugins (~> 0.14)
|
95
98
|
coderay (1.1.3)
|
96
99
|
colorize (1.1.0)
|
97
|
-
concurrent-ruby (1.3.
|
98
|
-
connection_pool (2.4
|
100
|
+
concurrent-ruby (1.3.5)
|
101
|
+
connection_pool (2.5.4)
|
99
102
|
crass (1.0.6)
|
100
|
-
date (3.
|
101
|
-
diff-lcs (1.
|
103
|
+
date (3.4.1)
|
104
|
+
diff-lcs (1.6.2)
|
102
105
|
docile (1.4.1)
|
103
106
|
domain_name (0.6.20240107)
|
104
|
-
drb (2.2.
|
105
|
-
dry-inflector (1.
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
ffi (1.17.
|
110
|
-
ffi (1.17.
|
107
|
+
drb (2.2.3)
|
108
|
+
dry-inflector (1.2.0)
|
109
|
+
erb (4.0.4)
|
110
|
+
cgi (>= 0.3.3)
|
111
|
+
erubi (1.13.1)
|
112
|
+
ffi (1.17.2-aarch64-linux-gnu)
|
113
|
+
ffi (1.17.2-aarch64-linux-musl)
|
114
|
+
ffi (1.17.2-arm-linux-gnu)
|
115
|
+
ffi (1.17.2-arm-linux-musl)
|
116
|
+
ffi (1.17.2-arm64-darwin)
|
117
|
+
ffi (1.17.2-x86_64-darwin)
|
118
|
+
ffi (1.17.2-x86_64-linux-gnu)
|
119
|
+
ffi (1.17.2-x86_64-linux-musl)
|
111
120
|
ffi-compiler (1.3.2)
|
112
121
|
ffi (>= 1.15.5)
|
113
122
|
rake
|
114
|
-
globalid (1.
|
123
|
+
globalid (1.3.0)
|
115
124
|
activesupport (>= 6.1)
|
116
|
-
http (5.
|
125
|
+
http (5.3.1)
|
117
126
|
addressable (~> 2.8)
|
118
|
-
base64 (~> 0.1)
|
119
127
|
http-cookie (~> 1.0)
|
120
128
|
http-form_data (~> 2.2)
|
121
129
|
llhttp-ffi (~> 0.5.0)
|
122
|
-
http-cookie (1.0
|
130
|
+
http-cookie (1.1.0)
|
123
131
|
domain_name (~> 0.5)
|
124
132
|
http-form_data (2.3.0)
|
125
|
-
i18n (1.14.
|
133
|
+
i18n (1.14.7)
|
126
134
|
concurrent-ruby (~> 1.0)
|
127
|
-
io-console (0.
|
128
|
-
irb (1.
|
135
|
+
io-console (0.8.1)
|
136
|
+
irb (1.15.2)
|
137
|
+
pp (>= 0.6.0)
|
129
138
|
rdoc (>= 4.0.0)
|
130
139
|
reline (>= 0.4.2)
|
131
|
-
json (2.
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
140
|
+
json (2.15.0)
|
141
|
+
kicks (3.2.0)
|
142
|
+
bunny (~> 2.19)
|
143
|
+
concurrent-ruby (~> 1.0)
|
144
|
+
rake (>= 12.3, < 14.0)
|
145
|
+
serverengine (~> 2.1)
|
146
|
+
thor
|
147
|
+
language_server-protocol (3.17.0.5)
|
148
|
+
lint_roller (1.1.0)
|
149
|
+
llhttp-ffi (0.5.1)
|
136
150
|
ffi-compiler (~> 1.0)
|
137
151
|
rake (~> 13.0)
|
138
|
-
logger (1.
|
139
|
-
loofah (2.
|
152
|
+
logger (1.7.0)
|
153
|
+
loofah (2.24.1)
|
140
154
|
crass (~> 1.0.2)
|
141
155
|
nokogiri (>= 1.12.0)
|
142
156
|
mail (2.8.1)
|
@@ -144,218 +158,231 @@ GEM
|
|
144
158
|
net-imap
|
145
159
|
net-pop
|
146
160
|
net-smtp
|
147
|
-
marcel (1.0
|
148
|
-
memery (1.
|
149
|
-
ruby2_keywords (~> 0.0.2)
|
161
|
+
marcel (1.1.0)
|
162
|
+
memery (1.7.0)
|
150
163
|
method_source (1.1.0)
|
151
164
|
mini_mime (1.1.5)
|
152
|
-
|
153
|
-
|
154
|
-
net-imap (0.4.16)
|
165
|
+
minitest (5.25.5)
|
166
|
+
net-imap (0.5.10)
|
155
167
|
date
|
156
168
|
net-protocol
|
157
169
|
net-pop (0.1.2)
|
158
170
|
net-protocol
|
159
171
|
net-protocol (0.2.2)
|
160
172
|
timeout
|
161
|
-
net-smtp (0.5.
|
173
|
+
net-smtp (0.5.1)
|
162
174
|
net-protocol
|
163
|
-
nio4r (2.7.
|
164
|
-
nokogiri (1.
|
165
|
-
|
175
|
+
nio4r (2.7.4)
|
176
|
+
nokogiri (1.18.10-aarch64-linux-gnu)
|
177
|
+
racc (~> 1.4)
|
178
|
+
nokogiri (1.18.10-aarch64-linux-musl)
|
179
|
+
racc (~> 1.4)
|
180
|
+
nokogiri (1.18.10-arm-linux-gnu)
|
181
|
+
racc (~> 1.4)
|
182
|
+
nokogiri (1.18.10-arm-linux-musl)
|
183
|
+
racc (~> 1.4)
|
184
|
+
nokogiri (1.18.10-arm64-darwin)
|
166
185
|
racc (~> 1.4)
|
167
|
-
nokogiri (1.
|
186
|
+
nokogiri (1.18.10-x86_64-darwin)
|
168
187
|
racc (~> 1.4)
|
169
|
-
nokogiri (1.
|
188
|
+
nokogiri (1.18.10-x86_64-linux-gnu)
|
170
189
|
racc (~> 1.4)
|
171
|
-
nokogiri (1.
|
190
|
+
nokogiri (1.18.10-x86_64-linux-musl)
|
172
191
|
racc (~> 1.4)
|
173
192
|
nori (2.7.1)
|
174
193
|
bigdecimal
|
175
|
-
parallel (1.
|
176
|
-
parser (3.3.
|
194
|
+
parallel (1.27.0)
|
195
|
+
parser (3.3.9.0)
|
177
196
|
ast (~> 2.4.1)
|
178
197
|
racc
|
179
|
-
pg (1.
|
180
|
-
|
198
|
+
pg (1.6.2)
|
199
|
+
pg (1.6.2-aarch64-linux)
|
200
|
+
pg (1.6.2-aarch64-linux-musl)
|
201
|
+
pg (1.6.2-arm64-darwin)
|
202
|
+
pg (1.6.2-x86_64-darwin)
|
203
|
+
pg (1.6.2-x86_64-linux)
|
204
|
+
pg (1.6.2-x86_64-linux-musl)
|
205
|
+
pp (0.6.2)
|
206
|
+
prettyprint
|
207
|
+
prettyprint (0.2.0)
|
208
|
+
prism (1.5.1)
|
209
|
+
pry (0.15.2)
|
181
210
|
coderay (~> 1.1)
|
182
211
|
method_source (~> 1.0)
|
183
|
-
psych (5.
|
212
|
+
psych (5.2.6)
|
213
|
+
date
|
184
214
|
stringio
|
185
|
-
public_suffix (6.0.
|
186
|
-
rabbit_messaging (
|
215
|
+
public_suffix (6.0.2)
|
216
|
+
rabbit_messaging (1.7.0)
|
187
217
|
bunny (~> 2.0)
|
188
|
-
|
189
|
-
rails (>= 5.2)
|
190
|
-
sneakers (~> 2.0)
|
191
|
-
tainbox
|
218
|
+
kicks
|
192
219
|
racc (1.8.1)
|
193
|
-
rack (3.1.
|
194
|
-
rack-session (2.
|
220
|
+
rack (3.1.16)
|
221
|
+
rack-session (2.1.1)
|
222
|
+
base64 (>= 0.1.0)
|
195
223
|
rack (>= 3.0.0)
|
196
|
-
rack-test (2.
|
224
|
+
rack-test (2.2.0)
|
197
225
|
rack (>= 1.3)
|
198
|
-
rackup (2.1
|
226
|
+
rackup (2.2.1)
|
199
227
|
rack (>= 3)
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
activesupport (= 7.2.1)
|
228
|
+
rails (7.2.2.2)
|
229
|
+
actioncable (= 7.2.2.2)
|
230
|
+
actionmailbox (= 7.2.2.2)
|
231
|
+
actionmailer (= 7.2.2.2)
|
232
|
+
actionpack (= 7.2.2.2)
|
233
|
+
actiontext (= 7.2.2.2)
|
234
|
+
actionview (= 7.2.2.2)
|
235
|
+
activejob (= 7.2.2.2)
|
236
|
+
activemodel (= 7.2.2.2)
|
237
|
+
activerecord (= 7.2.2.2)
|
238
|
+
activestorage (= 7.2.2.2)
|
239
|
+
activesupport (= 7.2.2.2)
|
213
240
|
bundler (>= 1.15.0)
|
214
|
-
railties (= 7.2.
|
215
|
-
rails-dom-testing (2.
|
241
|
+
railties (= 7.2.2.2)
|
242
|
+
rails-dom-testing (2.3.0)
|
216
243
|
activesupport (>= 5.0.0)
|
217
244
|
minitest
|
218
245
|
nokogiri (>= 1.6)
|
219
|
-
rails-html-sanitizer (1.6.
|
246
|
+
rails-html-sanitizer (1.6.2)
|
220
247
|
loofah (~> 2.21)
|
221
|
-
nokogiri (
|
222
|
-
railties (7.2.
|
223
|
-
actionpack (= 7.2.
|
224
|
-
activesupport (= 7.2.
|
248
|
+
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)
|
249
|
+
railties (7.2.2.2)
|
250
|
+
actionpack (= 7.2.2.2)
|
251
|
+
activesupport (= 7.2.2.2)
|
225
252
|
irb (~> 1.13)
|
226
253
|
rackup (>= 1.0.0)
|
227
254
|
rake (>= 12.2)
|
228
255
|
thor (~> 1.0, >= 1.2.2)
|
229
256
|
zeitwerk (~> 2.6)
|
230
257
|
rainbow (3.1.1)
|
231
|
-
rake (13.
|
258
|
+
rake (13.3.0)
|
232
259
|
rbtree (0.4.6)
|
233
|
-
rdoc (6.
|
260
|
+
rdoc (6.14.2)
|
261
|
+
erb
|
234
262
|
psych (>= 4.0.0)
|
235
|
-
regexp_parser (2.
|
236
|
-
reline (0.
|
263
|
+
regexp_parser (2.11.3)
|
264
|
+
reline (0.6.2)
|
237
265
|
io-console (~> 0.5)
|
238
|
-
|
239
|
-
rspec (3.13.0)
|
266
|
+
rspec (3.13.1)
|
240
267
|
rspec-core (~> 3.13.0)
|
241
268
|
rspec-expectations (~> 3.13.0)
|
242
269
|
rspec-mocks (~> 3.13.0)
|
243
|
-
rspec-core (3.13.
|
270
|
+
rspec-core (3.13.5)
|
244
271
|
rspec-support (~> 3.13.0)
|
245
|
-
rspec-expectations (3.13.
|
272
|
+
rspec-expectations (3.13.5)
|
246
273
|
diff-lcs (>= 1.2.0, < 2.0)
|
247
274
|
rspec-support (~> 3.13.0)
|
248
275
|
rspec-json_matcher (0.2.0)
|
249
276
|
amazing_print
|
250
277
|
json
|
251
|
-
rspec-mocks (3.13.
|
278
|
+
rspec-mocks (3.13.5)
|
252
279
|
diff-lcs (>= 1.2.0, < 2.0)
|
253
280
|
rspec-support (~> 3.13.0)
|
254
|
-
rspec-support (3.13.
|
255
|
-
rubocop (1.
|
281
|
+
rspec-support (3.13.6)
|
282
|
+
rubocop (1.80.2)
|
256
283
|
json (~> 2.3)
|
257
|
-
language_server-protocol (
|
284
|
+
language_server-protocol (~> 3.17.0.2)
|
285
|
+
lint_roller (~> 1.1.0)
|
258
286
|
parallel (~> 1.10)
|
259
287
|
parser (>= 3.3.0.2)
|
260
288
|
rainbow (>= 2.2.2, < 4.0)
|
261
|
-
regexp_parser (>=
|
262
|
-
|
263
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
289
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
290
|
+
rubocop-ast (>= 1.46.0, < 2.0)
|
264
291
|
ruby-progressbar (~> 1.7)
|
265
|
-
unicode-display_width (>= 2.4.0, <
|
266
|
-
rubocop-ast (1.
|
267
|
-
parser (>= 3.3.
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
rubocop (~>
|
272
|
-
rubocop-performance (~> 1.
|
273
|
-
rubocop-rails (~> 2.
|
274
|
-
rubocop-rake (~> 0.
|
275
|
-
rubocop-rspec (~>
|
276
|
-
rubocop-sequel (~> 0.
|
277
|
-
rubocop-factory_bot (2.
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
292
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
293
|
+
rubocop-ast (1.47.1)
|
294
|
+
parser (>= 3.3.7.2)
|
295
|
+
prism (~> 1.4)
|
296
|
+
rubocop-config-umbrellio (1.80.107)
|
297
|
+
rubocop (~> 1.80.0)
|
298
|
+
rubocop-factory_bot (~> 2.27.0)
|
299
|
+
rubocop-performance (~> 1.26.0)
|
300
|
+
rubocop-rails (~> 2.33.0)
|
301
|
+
rubocop-rake (~> 0.7.0)
|
302
|
+
rubocop-rspec (~> 3.7.0)
|
303
|
+
rubocop-sequel (~> 0.4.0)
|
304
|
+
rubocop-factory_bot (2.27.1)
|
305
|
+
lint_roller (~> 1.1)
|
306
|
+
rubocop (~> 1.72, >= 1.72.1)
|
307
|
+
rubocop-performance (1.26.0)
|
308
|
+
lint_roller (~> 1.1)
|
309
|
+
rubocop (>= 1.75.0, < 2.0)
|
310
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
311
|
+
rubocop-rails (2.33.4)
|
283
312
|
activesupport (>= 4.2.0)
|
313
|
+
lint_roller (~> 1.1)
|
284
314
|
rack (>= 1.1)
|
285
|
-
rubocop (>= 1.
|
286
|
-
rubocop-ast (>= 1.
|
287
|
-
rubocop-rake (0.
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
rubocop
|
293
|
-
|
294
|
-
|
295
|
-
rubocop (
|
296
|
-
rubocop-sequel (0.3.4)
|
297
|
-
rubocop (~> 1.0)
|
315
|
+
rubocop (>= 1.75.0, < 2.0)
|
316
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
317
|
+
rubocop-rake (0.7.1)
|
318
|
+
lint_roller (~> 1.1)
|
319
|
+
rubocop (>= 1.72.1)
|
320
|
+
rubocop-rspec (3.7.0)
|
321
|
+
lint_roller (~> 1.1)
|
322
|
+
rubocop (~> 1.72, >= 1.72.1)
|
323
|
+
rubocop-sequel (0.4.1)
|
324
|
+
lint_roller (~> 1.1)
|
325
|
+
rubocop (>= 1.72.1, < 2)
|
298
326
|
ruby-progressbar (1.13.0)
|
299
|
-
|
300
|
-
securerandom (0.3.1)
|
327
|
+
securerandom (0.4.1)
|
301
328
|
self_data (1.3.0)
|
302
|
-
semantic_logger (4.
|
329
|
+
semantic_logger (4.17.0)
|
303
330
|
concurrent-ruby (~> 1.0)
|
304
|
-
sequel (5.
|
331
|
+
sequel (5.96.0)
|
305
332
|
bigdecimal
|
306
|
-
sequel-batches (2.0.
|
333
|
+
sequel-batches (2.0.3)
|
307
334
|
sequel
|
308
|
-
serverengine (2.0
|
335
|
+
serverengine (2.4.0)
|
336
|
+
base64 (~> 0.1)
|
337
|
+
logger (~> 1.4)
|
309
338
|
sigdump (~> 0.2.2)
|
310
|
-
set (1.1.
|
339
|
+
set (1.1.2)
|
311
340
|
sigdump (0.2.5)
|
312
341
|
simplecov (0.22.0)
|
313
342
|
docile (~> 1.1)
|
314
343
|
simplecov-html (~> 0.11)
|
315
344
|
simplecov_json_formatter (~> 0.1)
|
316
|
-
simplecov-html (0.
|
317
|
-
simplecov-lcov (0.
|
345
|
+
simplecov-html (0.13.2)
|
346
|
+
simplecov-lcov (0.9.0)
|
318
347
|
simplecov_json_formatter (0.1.4)
|
319
|
-
sneakers (2.11.0)
|
320
|
-
bunny (~> 2.12)
|
321
|
-
concurrent-ruby (~> 1.0)
|
322
|
-
rake
|
323
|
-
serverengine (~> 2.0.5)
|
324
|
-
thor
|
325
348
|
sorted_set (1.0.3)
|
326
349
|
rbtree
|
327
350
|
set (~> 1.0)
|
328
|
-
stringio (3.1.
|
329
|
-
table_sync (6.
|
351
|
+
stringio (3.1.7)
|
352
|
+
table_sync (6.8.0)
|
330
353
|
memery
|
331
|
-
rabbit_messaging (
|
354
|
+
rabbit_messaging (>= 1.7.0)
|
332
355
|
rails
|
333
356
|
self_data
|
334
|
-
|
335
|
-
activesupport
|
336
|
-
thor (1.3.2)
|
357
|
+
thor (1.4.0)
|
337
358
|
timecop (0.9.10)
|
338
|
-
timeout (0.4.
|
359
|
+
timeout (0.4.3)
|
339
360
|
tzinfo (2.0.6)
|
340
361
|
concurrent-ruby (~> 1.0)
|
341
|
-
umbrellio-sequel-plugins (0.
|
362
|
+
umbrellio-sequel-plugins (0.17.0)
|
342
363
|
sequel
|
343
|
-
unicode-display_width (2.
|
344
|
-
|
345
|
-
|
346
|
-
|
364
|
+
unicode-display_width (3.2.0)
|
365
|
+
unicode-emoji (~> 4.1)
|
366
|
+
unicode-emoji (4.1.0)
|
367
|
+
useragent (0.16.11)
|
368
|
+
websocket-driver (0.8.0)
|
369
|
+
base64
|
347
370
|
websocket-extensions (>= 0.1.0)
|
348
371
|
websocket-extensions (0.1.5)
|
349
372
|
yard (0.9.37)
|
350
373
|
zeitwerk (2.6.18)
|
351
374
|
|
352
375
|
PLATFORMS
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
376
|
+
aarch64-linux
|
377
|
+
aarch64-linux-gnu
|
378
|
+
aarch64-linux-musl
|
379
|
+
arm-linux-gnu
|
380
|
+
arm-linux-musl
|
381
|
+
arm64-darwin
|
382
|
+
x86_64-darwin
|
358
383
|
x86_64-linux
|
384
|
+
x86_64-linux-gnu
|
385
|
+
x86_64-linux-musl
|
359
386
|
|
360
387
|
DEPENDENCIES
|
361
388
|
activesupport
|
@@ -382,4 +409,4 @@ DEPENDENCIES
|
|
382
409
|
yard
|
383
410
|
|
384
411
|
BUNDLED WITH
|
385
|
-
2.
|
412
|
+
2.6.9
|
@@ -20,7 +20,7 @@ module UmbrellioUtils
|
|
20
20
|
xml.remove_namespaces!
|
21
21
|
xml.xpath("//@*").remove if remove_attributes
|
22
22
|
|
23
|
-
tags_converter = snakecase ? -> (tag) { snakecase(tag).to_sym } :
|
23
|
+
tags_converter = snakecase ? -> (tag) { snakecase(tag).to_sym } : lambda(&:to_sym)
|
24
24
|
nori = Nori.new(convert_tags_to: tags_converter, convert_dashes_to_underscores: false)
|
25
25
|
nori.parse(xml.to_xml(save_with: Nokogiri::XML::Node::SaveOptions::NO_DECLARATION))
|
26
26
|
end
|
@@ -71,8 +71,8 @@ module UmbrellioUtils
|
|
71
71
|
[
|
72
72
|
log.level.upcase,
|
73
73
|
log.name,
|
74
|
-
thread_fingerprint,
|
75
|
-
truncate(log_to_message(log)),
|
74
|
+
thread_fingerprint(log),
|
75
|
+
uncolorize(truncate(log_to_message(log))),
|
76
76
|
log.tags,
|
77
77
|
log.named_tags,
|
78
78
|
log.time.utc.iso8601(9),
|
@@ -81,15 +81,15 @@ module UmbrellioUtils
|
|
81
81
|
|
82
82
|
# Calculates MD5 fingerprint for the thread in which the log was made.
|
83
83
|
# @return [String] truncated `MD5` hash.
|
84
|
-
def thread_fingerprint
|
85
|
-
Digest::MD5.hexdigest(
|
84
|
+
def thread_fingerprint(log)
|
85
|
+
Digest::MD5.hexdigest(log.process_info)[0, 8]
|
86
86
|
end
|
87
87
|
|
88
88
|
# Renders either exception or message of the log.
|
89
89
|
# @return [String]
|
90
90
|
def log_to_message(log)
|
91
91
|
if (e = log.exception)
|
92
|
-
msg =
|
92
|
+
msg = "#{e.message} (#{e.class})"
|
93
93
|
msg << "\n#{e.backtrace.join("\n")}" if e.backtrace
|
94
94
|
msg
|
95
95
|
else
|
@@ -105,6 +105,10 @@ module UmbrellioUtils
|
|
105
105
|
|
106
106
|
"#{msg}#{suffix}"
|
107
107
|
end
|
108
|
+
|
109
|
+
def uncolorize(msg)
|
110
|
+
msg.gsub(/\e\[[0-9;]*[A-Za-z]/, "").delete("\e")
|
111
|
+
end
|
108
112
|
end
|
109
113
|
end
|
110
114
|
end
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umbrellio-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Umbrellio
|
8
|
+
autorequire:
|
8
9
|
bindir: exe
|
9
10
|
cert_chain: []
|
10
|
-
date: 2025-
|
11
|
+
date: 2025-10-09 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: memery
|
@@ -71,6 +72,7 @@ metadata:
|
|
71
72
|
homepage_uri: https://github.com/umbrellio/utils
|
72
73
|
source_code_uri: https://github.com/umbrellio/utils
|
73
74
|
documentation_uri: https://rubydoc.info/gems/umbrellio-utils
|
75
|
+
post_install_message:
|
74
76
|
rdoc_options: []
|
75
77
|
require_paths:
|
76
78
|
- lib
|
@@ -85,7 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
87
|
- !ruby/object:Gem::Version
|
86
88
|
version: '0'
|
87
89
|
requirements: []
|
88
|
-
rubygems_version: 3.
|
90
|
+
rubygems_version: 3.3.27
|
91
|
+
signing_key:
|
89
92
|
specification_version: 4
|
90
93
|
summary: A set of utilities that speed up development
|
91
94
|
test_files: []
|