carioca 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/.rubocop.yml +5 -1
- data/VERSION +1 -1
- data/bom.xml +104 -160
- data/carioca.gemspec +1 -0
- data/lib/carioca/constants.rb +1 -1
- data/lib/carioca/services/debug.rb +3 -3
- data/lib/carioca/services/output.rb +6 -2
- data/lib/carioca/services/securestore.rb +1 -1
- data/samples/config/settings.yml +1 -1
- data/samples/test.rb +9 -10
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59956550392bbf8603dd8426a0595afb7cd207bb6929adac7a183eca58acc400
|
4
|
+
data.tar.gz: 95addcdb4fde913f5ec4dc4a15184634a24c27522e4f93a26b5912c55561d0db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a26bacd589861a1543184a73791c3ea37ac0f05742efe82a414a5dc243f448824d10d9973f5b1c73fc8208fc167c004d8e67d82390c9bf6583695d673e645bf0
|
7
|
+
data.tar.gz: 48001979dde2a20fe79c140f72739b2d9d7dd93523082edd11c85f720225e14428fd6873e4e81c68d82c78fd51b43858e8156819ee76f78a4ae1044c69fede9e
|
data/.github/workflows/main.yml
CHANGED
data/.rubocop.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.6
|
data/bom.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<bom xmlns="http://cyclonedx.org/schema/bom/1.1" version="1" serialNumber="urn:uuid:
|
2
|
+
<bom xmlns="http://cyclonedx.org/schema/bom/1.1" version="1" serialNumber="urn:uuid:96c2568c-3cfe-47ca-bdf7-0dcba49e5255">
|
3
3
|
<components>
|
4
4
|
<component type="library">
|
5
5
|
<name>ast</name>
|
@@ -45,17 +45,17 @@
|
|
45
45
|
</component>
|
46
46
|
<component type="library">
|
47
47
|
<name>carioca</name>
|
48
|
-
<version>2.1.
|
48
|
+
<version>2.1.5</version>
|
49
49
|
<description>Carioca : Container And Registry with Inversion Of Control for your Applications</description>
|
50
50
|
<hashes>
|
51
|
-
<hash alg="SHA-256">
|
51
|
+
<hash alg="SHA-256">100d0fae4d1a8449e10c055bc5923bf710abb7c4d7c327b02c5cd4639e4984e5</hash>
|
52
52
|
</hashes>
|
53
53
|
<licenses>
|
54
54
|
<license>
|
55
55
|
<id>BSD-3-Clause</id>
|
56
56
|
</license>
|
57
57
|
</licenses>
|
58
|
-
<purl>pkg:gem/carioca@2.1.
|
58
|
+
<purl>pkg:gem/carioca@2.1.5</purl>
|
59
59
|
</component>
|
60
60
|
<component type="library">
|
61
61
|
<name>code_statistics</name>
|
@@ -68,17 +68,17 @@
|
|
68
68
|
</component>
|
69
69
|
<component type="library">
|
70
70
|
<name>concurrent-ruby</name>
|
71
|
-
<version>1.2.
|
71
|
+
<version>1.2.3</version>
|
72
72
|
<description>Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell, F#, C#, Java, and classic concurrency patterns.</description>
|
73
73
|
<hashes>
|
74
|
-
<hash alg="SHA-256">
|
74
|
+
<hash alg="SHA-256">82fdd3f8a0816e28d513e637bb2b90a45d7b982bdf4f3a0511722d2e495801e2</hash>
|
75
75
|
</hashes>
|
76
76
|
<licenses>
|
77
77
|
<license>
|
78
78
|
<id>MIT</id>
|
79
79
|
</license>
|
80
80
|
</licenses>
|
81
|
-
<purl>pkg:gem/concurrent-ruby@1.2.
|
81
|
+
<purl>pkg:gem/concurrent-ruby@1.2.3</purl>
|
82
82
|
</component>
|
83
83
|
<component type="library">
|
84
84
|
<name>cyclonedx-ruby</name>
|
@@ -110,31 +110,31 @@
|
|
110
110
|
</component>
|
111
111
|
<component type="library">
|
112
112
|
<name>diff-lcs</name>
|
113
|
-
<version>1.5.
|
113
|
+
<version>1.5.1</version>
|
114
114
|
<description>Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm</description>
|
115
115
|
<hashes>
|
116
|
-
<hash alg="SHA-256">
|
116
|
+
<hash alg="SHA-256">273223dfb40685548436d32b4733aa67351769c7dea621da7d9dd4813e63ddfe</hash>
|
117
117
|
</hashes>
|
118
118
|
<licenses>
|
119
119
|
<license>
|
120
120
|
<id>MIT</id>
|
121
121
|
</license>
|
122
122
|
</licenses>
|
123
|
-
<purl>pkg:gem/diff-lcs@1.5.
|
123
|
+
<purl>pkg:gem/diff-lcs@1.5.1</purl>
|
124
124
|
</component>
|
125
125
|
<component type="library">
|
126
126
|
<name>domain_name</name>
|
127
|
-
<version>0.
|
127
|
+
<version>0.6.20240107</version>
|
128
128
|
<description>Domain Name manipulation library for Ruby</description>
|
129
129
|
<hashes>
|
130
|
-
<hash alg="SHA-256">
|
130
|
+
<hash alg="SHA-256">5f693b2215708476517479bf2b3802e49068ad82167bcd2286f899536a17d933</hash>
|
131
131
|
</hashes>
|
132
132
|
<licenses>
|
133
133
|
<license>
|
134
134
|
<id>BSD-2-Clause</id>
|
135
135
|
</license>
|
136
136
|
</licenses>
|
137
|
-
<purl>pkg:gem/domain_name@0.
|
137
|
+
<purl>pkg:gem/domain_name@0.6.20240107</purl>
|
138
138
|
</component>
|
139
139
|
<component type="library">
|
140
140
|
<name>http-accept</name>
|
@@ -161,87 +161,87 @@
|
|
161
161
|
</component>
|
162
162
|
<component type="library">
|
163
163
|
<name>i18n</name>
|
164
|
-
<version>1.14.
|
164
|
+
<version>1.14.4</version>
|
165
165
|
<description>New wave Internationalization support for Ruby</description>
|
166
166
|
<hashes>
|
167
|
-
<hash alg="SHA-256">
|
167
|
+
<hash alg="SHA-256">c7deedead0866ea9102975a4eab7968f53de50793a0c211a37808f75dd187551</hash>
|
168
168
|
</hashes>
|
169
169
|
<licenses>
|
170
170
|
<license>
|
171
171
|
<id>MIT</id>
|
172
172
|
</license>
|
173
173
|
</licenses>
|
174
|
-
<purl>pkg:gem/i18n@1.14.
|
174
|
+
<purl>pkg:gem/i18n@1.14.4</purl>
|
175
175
|
</component>
|
176
176
|
<component type="library">
|
177
177
|
<name>json</name>
|
178
|
-
<version>2.
|
178
|
+
<version>2.7.2</version>
|
179
179
|
<description>JSON Implementation for Ruby</description>
|
180
180
|
<hashes>
|
181
|
-
<hash alg="SHA-256">
|
181
|
+
<hash alg="SHA-256">138e3038b5361b3d06ee2e8aa2be00bed0d0de4ef5f1553fc5935e5b93aca7ee</hash>
|
182
182
|
</hashes>
|
183
183
|
<licenses>
|
184
184
|
<license>
|
185
185
|
<id>Ruby</id>
|
186
186
|
</license>
|
187
187
|
</licenses>
|
188
|
-
<purl>pkg:gem/json@2.
|
188
|
+
<purl>pkg:gem/json@2.7.2</purl>
|
189
189
|
</component>
|
190
190
|
<component type="library">
|
191
|
-
<name>
|
192
|
-
<version>
|
193
|
-
<description>
|
191
|
+
<name>language_server-protocol</name>
|
192
|
+
<version>3.17.0.3</version>
|
193
|
+
<description>A Language Server Protocol SDK</description>
|
194
194
|
<hashes>
|
195
|
-
<hash alg="SHA-256">
|
195
|
+
<hash alg="SHA-256">3d5c58c02f44a20d972957a9febe386d7e7468ab3900ce6bd2b563dd910c6b3f</hash>
|
196
196
|
</hashes>
|
197
197
|
<licenses>
|
198
198
|
<license>
|
199
|
-
<id>
|
199
|
+
<id>MIT</id>
|
200
200
|
</license>
|
201
201
|
</licenses>
|
202
|
-
<purl>pkg:gem/
|
202
|
+
<purl>pkg:gem/language_server-protocol@3.17.0.3</purl>
|
203
203
|
</component>
|
204
204
|
<component type="library">
|
205
|
-
<name>
|
206
|
-
<version>
|
207
|
-
<description>
|
205
|
+
<name>locale</name>
|
206
|
+
<version>2.1.4</version>
|
207
|
+
<description>Ruby-Locale is the pure ruby library which provides basic APIs for localization.</description>
|
208
208
|
<hashes>
|
209
|
-
<hash alg="SHA-256">
|
209
|
+
<hash alg="SHA-256">522f9973ef3eee64aac9bca06d21db2fba675fa3d2cf61d21f42d1ca18a9f780</hash>
|
210
210
|
</hashes>
|
211
211
|
<licenses>
|
212
212
|
<license>
|
213
|
-
<id>
|
213
|
+
<id>Ruby</id>
|
214
214
|
</license>
|
215
215
|
</licenses>
|
216
|
-
<purl>pkg:gem/
|
216
|
+
<purl>pkg:gem/locale@2.1.4</purl>
|
217
217
|
</component>
|
218
218
|
<component type="library">
|
219
|
-
<name>mime-types
|
220
|
-
<version>3.
|
221
|
-
<description>mime-types
|
219
|
+
<name>mime-types</name>
|
220
|
+
<version>3.5.2</version>
|
221
|
+
<description>The mime-types library provides a library and registry for information about MIME content type definitions</description>
|
222
222
|
<hashes>
|
223
|
-
<hash alg="SHA-256">
|
223
|
+
<hash alg="SHA-256">c1299f10fa34c75a6f168e99e9dadbd11bc507d9d62dc5cf98c4e65f2af8c4e4</hash>
|
224
224
|
</hashes>
|
225
225
|
<licenses>
|
226
226
|
<license>
|
227
227
|
<id>MIT</id>
|
228
228
|
</license>
|
229
229
|
</licenses>
|
230
|
-
<purl>pkg:gem/mime-types
|
230
|
+
<purl>pkg:gem/mime-types@3.5.2</purl>
|
231
231
|
</component>
|
232
232
|
<component type="library">
|
233
|
-
<name>
|
234
|
-
<version>
|
235
|
-
<description>
|
233
|
+
<name>mime-types-data</name>
|
234
|
+
<version>3.2024.0305</version>
|
235
|
+
<description>mime-types-data provides a registry for information about MIME media type definitions</description>
|
236
236
|
<hashes>
|
237
|
-
<hash alg="SHA-256">
|
237
|
+
<hash alg="SHA-256">a5101ed02bf708fbaf1f65453d9dd27ece1bf910bece3df61835498d7be1a703</hash>
|
238
238
|
</hashes>
|
239
239
|
<licenses>
|
240
240
|
<license>
|
241
241
|
<id>MIT</id>
|
242
242
|
</license>
|
243
243
|
</licenses>
|
244
|
-
<purl>pkg:gem/
|
244
|
+
<purl>pkg:gem/mime-types-data@3.2024.0305</purl>
|
245
245
|
</component>
|
246
246
|
<component type="library">
|
247
247
|
<name>netrc</name>
|
@@ -259,31 +259,17 @@
|
|
259
259
|
</component>
|
260
260
|
<component type="library">
|
261
261
|
<name>nokogiri</name>
|
262
|
-
<version>1.
|
262
|
+
<version>1.16.4</version>
|
263
263
|
<description>Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.</description>
|
264
264
|
<hashes>
|
265
|
-
<hash alg="SHA-256">
|
265
|
+
<hash alg="SHA-256">62c116c3a14b4ed4e1faec786da266c4bd4c717a0bd04a9916164a7046040f45</hash>
|
266
266
|
</hashes>
|
267
267
|
<licenses>
|
268
268
|
<license>
|
269
269
|
<id>MIT</id>
|
270
270
|
</license>
|
271
271
|
</licenses>
|
272
|
-
<purl>pkg:gem/nokogiri@1.
|
273
|
-
</component>
|
274
|
-
<component type="library">
|
275
|
-
<name>nokogiri</name>
|
276
|
-
<version>1.15.2</version>
|
277
|
-
<description>Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.</description>
|
278
|
-
<hashes>
|
279
|
-
<hash alg="SHA-256">20dc800b8fbe4c4f4b5b164e6aa3ab82a371bcb27eb685c166961c34dd8a22d7</hash>
|
280
|
-
</hashes>
|
281
|
-
<licenses>
|
282
|
-
<license>
|
283
|
-
<id>MIT</id>
|
284
|
-
</license>
|
285
|
-
</licenses>
|
286
|
-
<purl>pkg:gem/nokogiri@1.15.2</purl>
|
272
|
+
<purl>pkg:gem/nokogiri@1.16.4</purl>
|
287
273
|
</component>
|
288
274
|
<component type="library">
|
289
275
|
<name>ostruct</name>
|
@@ -301,31 +287,31 @@
|
|
301
287
|
</component>
|
302
288
|
<component type="library">
|
303
289
|
<name>parallel</name>
|
304
|
-
<version>1.
|
290
|
+
<version>1.24.0</version>
|
305
291
|
<description>Run any kind of code in parallel processes</description>
|
306
292
|
<hashes>
|
307
|
-
<hash alg="SHA-256">
|
293
|
+
<hash alg="SHA-256">5bf38efb9b37865f8e93d7a762727f8c5fc5deb19949f4040c76481d5eee9397</hash>
|
308
294
|
</hashes>
|
309
295
|
<licenses>
|
310
296
|
<license>
|
311
297
|
<id>MIT</id>
|
312
298
|
</license>
|
313
299
|
</licenses>
|
314
|
-
<purl>pkg:gem/parallel@1.
|
300
|
+
<purl>pkg:gem/parallel@1.24.0</purl>
|
315
301
|
</component>
|
316
302
|
<component type="library">
|
317
303
|
<name>parser</name>
|
318
|
-
<version>3.
|
304
|
+
<version>3.3.0.5</version>
|
319
305
|
<description>A Ruby parser written in pure Ruby.</description>
|
320
306
|
<hashes>
|
321
|
-
<hash alg="SHA-256">
|
307
|
+
<hash alg="SHA-256">7748313e505ca87045dc0465c776c802043f777581796eb79b1654c5d19d2687</hash>
|
322
308
|
</hashes>
|
323
309
|
<licenses>
|
324
310
|
<license>
|
325
311
|
<id>MIT</id>
|
326
312
|
</license>
|
327
313
|
</licenses>
|
328
|
-
<purl>pkg:gem/parser@3.
|
314
|
+
<purl>pkg:gem/parser@3.3.0.5</purl>
|
329
315
|
</component>
|
330
316
|
<component type="library">
|
331
317
|
<name>pastel</name>
|
@@ -357,17 +343,17 @@
|
|
357
343
|
</component>
|
358
344
|
<component type="library">
|
359
345
|
<name>racc</name>
|
360
|
-
<version>1.7.
|
346
|
+
<version>1.7.3</version>
|
361
347
|
<description>Racc is a LALR(1) parser generator</description>
|
362
348
|
<hashes>
|
363
|
-
<hash alg="SHA-256">
|
349
|
+
<hash alg="SHA-256">b2ad737e788cfa083263ce7c9290644bb0f2c691908249eb4f6eb48ed2815dbf</hash>
|
364
350
|
</hashes>
|
365
351
|
<licenses>
|
366
352
|
<license>
|
367
353
|
<id>Ruby</id>
|
368
354
|
</license>
|
369
355
|
</licenses>
|
370
|
-
<purl>pkg:gem/racc@1.7.
|
356
|
+
<purl>pkg:gem/racc@1.7.3</purl>
|
371
357
|
</component>
|
372
358
|
<component type="library">
|
373
359
|
<name>rainbow</name>
|
@@ -385,31 +371,31 @@
|
|
385
371
|
</component>
|
386
372
|
<component type="library">
|
387
373
|
<name>rake</name>
|
388
|
-
<version>13.
|
374
|
+
<version>13.2.1</version>
|
389
375
|
<description>Rake is a Make-like program implemented in Ruby</description>
|
390
376
|
<hashes>
|
391
|
-
<hash alg="SHA-256">
|
377
|
+
<hash alg="SHA-256">46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d</hash>
|
392
378
|
</hashes>
|
393
379
|
<licenses>
|
394
380
|
<license>
|
395
381
|
<id>MIT</id>
|
396
382
|
</license>
|
397
383
|
</licenses>
|
398
|
-
<purl>pkg:gem/rake@13.
|
384
|
+
<purl>pkg:gem/rake@13.2.1</purl>
|
399
385
|
</component>
|
400
386
|
<component type="library">
|
401
387
|
<name>regexp_parser</name>
|
402
|
-
<version>2.
|
388
|
+
<version>2.9.0</version>
|
403
389
|
<description>Scanner, lexer, parser for ruby's regular expressions</description>
|
404
390
|
<hashes>
|
405
|
-
<hash alg="SHA-256">
|
391
|
+
<hash alg="SHA-256">81a00ba141cec0d4b4bf58cb80cd9193e5180836d3fa6ef623f7886d3ba8bdd9</hash>
|
406
392
|
</hashes>
|
407
393
|
<licenses>
|
408
394
|
<license>
|
409
395
|
<id>MIT</id>
|
410
396
|
</license>
|
411
397
|
</licenses>
|
412
|
-
<purl>pkg:gem/regexp_parser@2.
|
398
|
+
<purl>pkg:gem/regexp_parser@2.9.0</purl>
|
413
399
|
</component>
|
414
400
|
<component type="library">
|
415
401
|
<name>rest-client</name>
|
@@ -427,143 +413,143 @@
|
|
427
413
|
</component>
|
428
414
|
<component type="library">
|
429
415
|
<name>rexml</name>
|
430
|
-
<version>3.2.
|
416
|
+
<version>3.2.6</version>
|
431
417
|
<description>An XML toolkit for Ruby</description>
|
432
418
|
<hashes>
|
433
|
-
<hash alg="SHA-256">
|
419
|
+
<hash alg="SHA-256">e0669a2d4e9f109951cb1fde723d8acd285425d81594a2ea929304af50282816</hash>
|
434
420
|
</hashes>
|
435
421
|
<licenses>
|
436
422
|
<license>
|
437
423
|
<id>BSD-2-Clause</id>
|
438
424
|
</license>
|
439
425
|
</licenses>
|
440
|
-
<purl>pkg:gem/rexml@3.2.
|
426
|
+
<purl>pkg:gem/rexml@3.2.6</purl>
|
441
427
|
</component>
|
442
428
|
<component type="library">
|
443
429
|
<name>rspec</name>
|
444
|
-
<version>3.
|
445
|
-
<description>rspec-3.
|
430
|
+
<version>3.13.0</version>
|
431
|
+
<description>rspec-3.13.0</description>
|
446
432
|
<hashes>
|
447
|
-
<hash alg="SHA-256">
|
433
|
+
<hash alg="SHA-256">d490914ac1d5a5a64a0e1400c1d54ddd2a501324d703b8cfe83f458337bab993</hash>
|
448
434
|
</hashes>
|
449
435
|
<licenses>
|
450
436
|
<license>
|
451
437
|
<id>MIT</id>
|
452
438
|
</license>
|
453
439
|
</licenses>
|
454
|
-
<purl>pkg:gem/rspec@3.
|
440
|
+
<purl>pkg:gem/rspec@3.13.0</purl>
|
455
441
|
</component>
|
456
442
|
<component type="library">
|
457
443
|
<name>rspec-core</name>
|
458
|
-
<version>3.
|
459
|
-
<description>rspec-core-3.
|
444
|
+
<version>3.13.0</version>
|
445
|
+
<description>rspec-core-3.13.0</description>
|
460
446
|
<hashes>
|
461
|
-
<hash alg="SHA-256">
|
447
|
+
<hash alg="SHA-256">557792b4e88da883d580342b263d9652b6a10a12d5bda9ef967b01a48f15454c</hash>
|
462
448
|
</hashes>
|
463
449
|
<licenses>
|
464
450
|
<license>
|
465
451
|
<id>MIT</id>
|
466
452
|
</license>
|
467
453
|
</licenses>
|
468
|
-
<purl>pkg:gem/rspec-core@3.
|
454
|
+
<purl>pkg:gem/rspec-core@3.13.0</purl>
|
469
455
|
</component>
|
470
456
|
<component type="library">
|
471
457
|
<name>rspec-expectations</name>
|
472
|
-
<version>3.
|
473
|
-
<description>rspec-expectations-3.
|
458
|
+
<version>3.13.0</version>
|
459
|
+
<description>rspec-expectations-3.13.0</description>
|
474
460
|
<hashes>
|
475
|
-
<hash alg="SHA-256">
|
461
|
+
<hash alg="SHA-256">621d48c62262f955421eaa418130744760802cad47e781df70dba4d9f897102e</hash>
|
476
462
|
</hashes>
|
477
463
|
<licenses>
|
478
464
|
<license>
|
479
465
|
<id>MIT</id>
|
480
466
|
</license>
|
481
467
|
</licenses>
|
482
|
-
<purl>pkg:gem/rspec-expectations@3.
|
468
|
+
<purl>pkg:gem/rspec-expectations@3.13.0</purl>
|
483
469
|
</component>
|
484
470
|
<component type="library">
|
485
471
|
<name>rspec-mocks</name>
|
486
|
-
<version>3.
|
487
|
-
<description>rspec-mocks-3.
|
472
|
+
<version>3.13.0</version>
|
473
|
+
<description>rspec-mocks-3.13.0</description>
|
488
474
|
<hashes>
|
489
|
-
<hash alg="SHA-256">
|
475
|
+
<hash alg="SHA-256">735a891215758d77cdb5f4721fffc21078793959d1f0ee4a961874311d9b7f66</hash>
|
490
476
|
</hashes>
|
491
477
|
<licenses>
|
492
478
|
<license>
|
493
479
|
<id>MIT</id>
|
494
480
|
</license>
|
495
481
|
</licenses>
|
496
|
-
<purl>pkg:gem/rspec-mocks@3.
|
482
|
+
<purl>pkg:gem/rspec-mocks@3.13.0</purl>
|
497
483
|
</component>
|
498
484
|
<component type="library">
|
499
485
|
<name>rspec-support</name>
|
500
|
-
<version>3.
|
501
|
-
<description>rspec-support-3.
|
486
|
+
<version>3.13.1</version>
|
487
|
+
<description>rspec-support-3.13.1</description>
|
502
488
|
<hashes>
|
503
|
-
<hash alg="SHA-256">
|
489
|
+
<hash alg="SHA-256">48877d4f15b772b7538f3693c22225f2eda490ba65a0515c4e7cf6f2f17de70f</hash>
|
504
490
|
</hashes>
|
505
491
|
<licenses>
|
506
492
|
<license>
|
507
493
|
<id>MIT</id>
|
508
494
|
</license>
|
509
495
|
</licenses>
|
510
|
-
<purl>pkg:gem/rspec-support@3.
|
496
|
+
<purl>pkg:gem/rspec-support@3.13.1</purl>
|
511
497
|
</component>
|
512
498
|
<component type="library">
|
513
499
|
<name>rubocop</name>
|
514
|
-
<version>1.
|
500
|
+
<version>1.63.1</version>
|
515
501
|
<description>Automatic Ruby code style checking tool.</description>
|
516
502
|
<hashes>
|
517
|
-
<hash alg="SHA-256">
|
503
|
+
<hash alg="SHA-256">63b3708babf7ede96e17c8ec03a96fc3c162a1c267579d7c9e477d25650d1b73</hash>
|
518
504
|
</hashes>
|
519
505
|
<licenses>
|
520
506
|
<license>
|
521
507
|
<id>MIT</id>
|
522
508
|
</license>
|
523
509
|
</licenses>
|
524
|
-
<purl>pkg:gem/rubocop@1.
|
510
|
+
<purl>pkg:gem/rubocop@1.63.1</purl>
|
525
511
|
</component>
|
526
512
|
<component type="library">
|
527
513
|
<name>rubocop-ast</name>
|
528
|
-
<version>1.
|
514
|
+
<version>1.31.2</version>
|
529
515
|
<description>RuboCop tools to deal with Ruby code AST.</description>
|
530
516
|
<hashes>
|
531
|
-
<hash alg="SHA-256">
|
517
|
+
<hash alg="SHA-256">7c206fb094553779923eca862aceece3913ce384f1bf85730208228e884578ec</hash>
|
532
518
|
</hashes>
|
533
519
|
<licenses>
|
534
520
|
<license>
|
535
521
|
<id>MIT</id>
|
536
522
|
</license>
|
537
523
|
</licenses>
|
538
|
-
<purl>pkg:gem/rubocop-ast@1.
|
524
|
+
<purl>pkg:gem/rubocop-ast@1.31.2</purl>
|
539
525
|
</component>
|
540
526
|
<component type="library">
|
541
527
|
<name>ruby-progressbar</name>
|
542
|
-
<version>1.
|
528
|
+
<version>1.13.0</version>
|
543
529
|
<description>Ruby/ProgressBar is a flexible text progress bar library for Ruby.</description>
|
544
530
|
<hashes>
|
545
|
-
<hash alg="SHA-256">
|
531
|
+
<hash alg="SHA-256">80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33</hash>
|
546
532
|
</hashes>
|
547
533
|
<licenses>
|
548
534
|
<license>
|
549
535
|
<id>MIT</id>
|
550
536
|
</license>
|
551
537
|
</licenses>
|
552
|
-
<purl>pkg:gem/ruby-progressbar@1.
|
538
|
+
<purl>pkg:gem/ruby-progressbar@1.13.0</purl>
|
553
539
|
</component>
|
554
540
|
<component type="library">
|
555
541
|
<name>thor</name>
|
556
|
-
<version>1.
|
542
|
+
<version>1.3.1</version>
|
557
543
|
<description>Thor is a toolkit for building powerful command-line interfaces.</description>
|
558
544
|
<hashes>
|
559
|
-
<hash alg="SHA-256">
|
545
|
+
<hash alg="SHA-256">fa7e3471d4f6a27138e3d9c9b0d4daac9c3d7383927667ae83e9ab42ae7401ef</hash>
|
560
546
|
</hashes>
|
561
547
|
<licenses>
|
562
548
|
<license>
|
563
549
|
<id>MIT</id>
|
564
550
|
</license>
|
565
551
|
</licenses>
|
566
|
-
<purl>pkg:gem/thor@1.
|
552
|
+
<purl>pkg:gem/thor@1.3.1</purl>
|
567
553
|
</component>
|
568
554
|
<component type="library">
|
569
555
|
<name>tty-color</name>
|
@@ -623,59 +609,31 @@
|
|
623
609
|
</component>
|
624
610
|
<component type="library">
|
625
611
|
<name>tty-screen</name>
|
626
|
-
<version>0.8.
|
627
|
-
<description>Terminal screen size detection
|
612
|
+
<version>0.8.2</version>
|
613
|
+
<description>Terminal screen size detection.</description>
|
628
614
|
<hashes>
|
629
|
-
<hash alg="SHA-256">
|
615
|
+
<hash alg="SHA-256">c090652115beae764336c28802d633f204fb84da93c6a968aa5d8e319e819b50</hash>
|
630
616
|
</hashes>
|
631
617
|
<licenses>
|
632
618
|
<license>
|
633
619
|
<id>MIT</id>
|
634
620
|
</license>
|
635
621
|
</licenses>
|
636
|
-
<purl>pkg:gem/tty-screen@0.8.
|
637
|
-
</component>
|
638
|
-
<component type="library">
|
639
|
-
<name>unf</name>
|
640
|
-
<version>0.1.4</version>
|
641
|
-
<description>A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby</description>
|
642
|
-
<hashes>
|
643
|
-
<hash alg="SHA-256">49a5972ec0b3d091d3b0b2e00113f2f342b9b212f0db855eb30a629637f6d302</hash>
|
644
|
-
</hashes>
|
645
|
-
<licenses>
|
646
|
-
<license>
|
647
|
-
<name>2-clause BSDL</name>
|
648
|
-
</license>
|
649
|
-
</licenses>
|
650
|
-
<purl>pkg:gem/unf@0.1.4</purl>
|
651
|
-
</component>
|
652
|
-
<component type="library">
|
653
|
-
<name>unf_ext</name>
|
654
|
-
<version>0.0.8.2</version>
|
655
|
-
<description>Unicode Normalization Form support library for CRuby</description>
|
656
|
-
<hashes>
|
657
|
-
<hash alg="SHA-256">6d44c13c98924bebd15ebdd4ed196ead403a0770ac03304570873349fda2a208</hash>
|
658
|
-
</hashes>
|
659
|
-
<licenses>
|
660
|
-
<license>
|
661
|
-
<id>MIT</id>
|
662
|
-
</license>
|
663
|
-
</licenses>
|
664
|
-
<purl>pkg:gem/unf_ext@0.0.8.2</purl>
|
622
|
+
<purl>pkg:gem/tty-screen@0.8.2</purl>
|
665
623
|
</component>
|
666
624
|
<component type="library">
|
667
625
|
<name>unicode-display_width</name>
|
668
|
-
<version>2.
|
626
|
+
<version>2.5.0</version>
|
669
627
|
<description>Determines the monospace display width of a string in Ruby.</description>
|
670
628
|
<hashes>
|
671
|
-
<hash alg="SHA-256">
|
629
|
+
<hash alg="SHA-256">7e7681dcade1add70cb9fda20dd77f300b8587c81ebbd165d14fd93144ff0ab4</hash>
|
672
630
|
</hashes>
|
673
631
|
<licenses>
|
674
632
|
<license>
|
675
633
|
<id>MIT</id>
|
676
634
|
</license>
|
677
635
|
</licenses>
|
678
|
-
<purl>pkg:gem/unicode-display_width@2.
|
636
|
+
<purl>pkg:gem/unicode-display_width@2.5.0</purl>
|
679
637
|
</component>
|
680
638
|
<component type="library">
|
681
639
|
<name>version</name>
|
@@ -691,20 +649,6 @@
|
|
691
649
|
</licenses>
|
692
650
|
<purl>pkg:gem/version@1.1.1</purl>
|
693
651
|
</component>
|
694
|
-
<component type="library">
|
695
|
-
<name>webrick</name>
|
696
|
-
<version>1.7.0</version>
|
697
|
-
<description>HTTP server toolkit</description>
|
698
|
-
<hashes>
|
699
|
-
<hash alg="SHA-256">87e9b8e39947b7925338a5eb55427b11ce1f2b25a3645770ec9f39d8ebdb8cb4</hash>
|
700
|
-
</hashes>
|
701
|
-
<licenses>
|
702
|
-
<license>
|
703
|
-
<id>Ruby</id>
|
704
|
-
</license>
|
705
|
-
</licenses>
|
706
|
-
<purl>pkg:gem/webrick@1.7.0</purl>
|
707
|
-
</component>
|
708
652
|
<component type="library">
|
709
653
|
<name>wisper</name>
|
710
654
|
<version>2.0.1</version>
|
@@ -721,17 +665,17 @@
|
|
721
665
|
</component>
|
722
666
|
<component type="library">
|
723
667
|
<name>yard</name>
|
724
|
-
<version>0.9.
|
668
|
+
<version>0.9.36</version>
|
725
669
|
<description>Documentation tool for consistent and usable documentation in Ruby.</description>
|
726
670
|
<hashes>
|
727
|
-
<hash alg="SHA-256">
|
671
|
+
<hash alg="SHA-256">5505736c1b00c926f71053a606ab75f02070c5960d0778b901fe9d8b0a470be4</hash>
|
728
672
|
</hashes>
|
729
673
|
<licenses>
|
730
674
|
<license>
|
731
675
|
<id>MIT</id>
|
732
676
|
</license>
|
733
677
|
</licenses>
|
734
|
-
<purl>pkg:gem/yard@0.9.
|
678
|
+
<purl>pkg:gem/yard@0.9.36</purl>
|
735
679
|
</component>
|
736
680
|
<component type="library">
|
737
681
|
<name>yard-rspec</name>
|
data/carioca.gemspec
CHANGED
@@ -42,6 +42,7 @@ Gem::Specification.new do |spec|
|
|
42
42
|
spec.add_development_dependency 'rubocop', '~> 1.32'
|
43
43
|
spec.add_development_dependency 'yard', '~> 0.9.27'
|
44
44
|
spec.add_development_dependency 'yard-rspec', '~> 0.1'
|
45
|
+
spec.add_development_dependency 'diff-lcs', '~> 1.5.1'
|
45
46
|
spec.metadata['rubygems_mfa_required'] = 'false'
|
46
47
|
spec.add_dependency 'version', '~> 1.1'
|
47
48
|
spec.add_runtime_dependency 'ps-ruby', '~> 0.0.4'
|
data/lib/carioca/constants.rb
CHANGED
@@ -20,8 +20,8 @@ module Carioca
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def method_missing(methodname, *args, **keywords, &)
|
23
|
-
trace message: "BEGIN CALL for service #{@service}
|
24
|
-
trace message: "Method called: #{methodname}
|
23
|
+
trace message: "BEGIN CALL for service #{@service.class}"
|
24
|
+
trace message: "Method called: #{methodname}"
|
25
25
|
trace message: "args : #{args.join ' '}"
|
26
26
|
trace message: "keywords : #{keywords}"
|
27
27
|
if block_given?
|
@@ -30,7 +30,7 @@ module Carioca
|
|
30
30
|
else
|
31
31
|
a = @service.send(methodname, *args, **keywords)
|
32
32
|
end
|
33
|
-
trace message: "=> method returned: #{a}
|
33
|
+
trace message: "=> method returned: #{a}"
|
34
34
|
trace message: 'END CALL'
|
35
35
|
|
36
36
|
a
|
@@ -109,7 +109,7 @@ module Carioca
|
|
109
109
|
end
|
110
110
|
|
111
111
|
# constructor
|
112
|
-
def initialize(level: :debug, mode: :mono, emoji: true, colors: true, target:
|
112
|
+
def initialize(level: :debug, mode: :mono, emoji: true, colors: true, target: :stdout)
|
113
113
|
registry = Carioca::Registry.get
|
114
114
|
@logger = registry.get_service name: :logger
|
115
115
|
@i18n = registry.get_service name: :i18n
|
@@ -183,7 +183,11 @@ module Carioca
|
|
183
183
|
block = proc { save }
|
184
184
|
@logger.send target_level, source, &block
|
185
185
|
end
|
186
|
-
|
186
|
+
if @target == :stderr then
|
187
|
+
$stderr.puts message if (@mode == :mono) || (@mode == :dual)
|
188
|
+
else
|
189
|
+
$stdout.puts message if (@mode == :mono) || (@mode == :dual)
|
190
|
+
end
|
187
191
|
end
|
188
192
|
end
|
189
193
|
end
|
data/samples/config/settings.yml
CHANGED
data/samples/test.rb
CHANGED
@@ -137,10 +137,10 @@ puts "\nTest 9 : Service toolbox list of availables methodes"
|
|
137
137
|
toolbox = Carioca::Registry.get.get_service name: :toolbox
|
138
138
|
pp toolbox.describe
|
139
139
|
|
140
|
-
puts "\nTest 10 : Service toolbox test of simple
|
140
|
+
puts "\nTest 10 : Service toolbox test of simple method : :user_root"
|
141
141
|
pp toolbox.user_root
|
142
142
|
|
143
|
-
puts "\nTest 11 : Service toolbox test of simple
|
143
|
+
puts "\nTest 11 : Service toolbox test of simple method : :search_file_in_gem"
|
144
144
|
pp toolbox.search_file_in_gem(gem: 'carioca', file: 'config/locales/en.yml')
|
145
145
|
|
146
146
|
puts "\nTest 12 : Service setup execute setup schema from configuration"
|
@@ -152,18 +152,17 @@ sanitycheck = Carioca::Registry.get.get_service name: :sanitycheck
|
|
152
152
|
sanitycheck.run
|
153
153
|
|
154
154
|
puts "\nTest 14 : Service SecureStore init or access"
|
155
|
-
|
156
|
-
# securestore = Carioca::Registry.get.get_service name: :securestore
|
155
|
+
securestore = Carioca::Registry.get.get_service name: :securestore
|
157
156
|
|
158
157
|
puts "\nTest 15 : Service SecureStore getting previous data"
|
159
|
-
|
160
|
-
|
161
|
-
|
158
|
+
res = (securestore.data.empty?)? "first time" : securestore.data.to_s
|
159
|
+
output.info res
|
160
|
+
|
162
161
|
|
163
162
|
puts "\nTest 16 : Service SecureStore setting new data"
|
164
|
-
|
165
|
-
|
166
|
-
|
163
|
+
securestore.data[:time] = Time.now.to_s
|
164
|
+
securestore.save!
|
165
|
+
|
167
166
|
|
168
167
|
puts "\nTest 17 : Service finisher : test all cases"
|
169
168
|
output.item 'flat api return, no-json, no-structured'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carioca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain GEORGES
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deep_merge
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0.1'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: diff-lcs
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 1.5.1
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 1.5.1
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: version
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|