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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4324ecafd951108c6d1dc26540f0e2012b6aa5a7fc4aa903caf9c90bb8bd73d
4
- data.tar.gz: 33950a1b11ecab8b65ca060ab12d8c282379a3d01d737ad02bc877067f219895
3
+ metadata.gz: 59956550392bbf8603dd8426a0595afb7cd207bb6929adac7a183eca58acc400
4
+ data.tar.gz: 95addcdb4fde913f5ec4dc4a15184634a24c27522e4f93a26b5912c55561d0db
5
5
  SHA512:
6
- metadata.gz: 5e7333857e60fee06cfd5f9a673e71c36378384aba26b67289e5ba2ab66a533abad6483245049d79b0ce5e9315e46413edf7b632444bab298254d6687f939428
7
- data.tar.gz: 774b6946f8d905fe0e38015fde95cdfa1ba0936b9e1c1994806fe7c9335a2a06f47b3869b2027cd4bed5e7b976bab9c54c61f5cda4f4e542cb1318766ef13cf1
6
+ metadata.gz: a26bacd589861a1543184a73791c3ea37ac0f05742efe82a414a5dc243f448824d10d9973f5b1c73fc8208fc167c004d8e67d82390c9bf6583695d673e645bf0
7
+ data.tar.gz: 48001979dde2a20fe79c140f72739b2d9d7dd93523082edd11c85f720225e14428fd6873e4e81c68d82c78fd51b43858e8156819ee76f78a4ae1044c69fede9e
@@ -10,7 +10,7 @@ jobs:
10
10
  - name: Set up Ruby
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
13
- ruby-version: 3.0.0
13
+ ruby-version: 3.2.3
14
14
  - name: Getting dependencies (Bundle)
15
15
  run: |
16
16
  gem install bundler -v 2.2.3
data/.rubocop.yml CHANGED
@@ -49,4 +49,8 @@ Layout/LineLength:
49
49
  Enabled: false
50
50
 
51
51
  Metrics/ParameterLists:
52
- Max: 8
52
+ Max: 8
53
+
54
+ Gemspec/DevelopmentDependencies:
55
+ Exclude:
56
+ - 'carioca.gemspec'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.5
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:1266bf21-8e20-4ef5-b237-536698997a61">
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.0</version>
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">4e89e5c23f92aa4731ca58110218d9b9b82ff5075a5bf500a96e19ba1ca9d1e1</hash>
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.0</purl>
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.2</version>
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">3879119b8b75e3b62616acc256c64a134d0b0a7a9a3fcba5a233025bcde22c4f</hash>
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.2</purl>
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.0</version>
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">49b934001c8c6aedb37ba19daec5c634da27b318a7a3c654ae979d6ba1929b67</hash>
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.0</purl>
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.5.20190701</version>
127
+ <version>0.6.20240107</version>
128
128
  <description>Domain Name manipulation library for Ruby</description>
129
129
  <hashes>
130
- <hash alg="SHA-256">000a600454cb4a344769b2f10b531765ea7bd3a304fe47ed12e5ca1eab969851</hash>
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.5.20190701</purl>
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.1</version>
164
+ <version>1.14.4</version>
165
165
  <description>New wave Internationalization support for Ruby</description>
166
166
  <hashes>
167
- <hash alg="SHA-256">9d03698903547c060928e70a9bc8b6b87fda674453cda918fc7ab80235ae4a61</hash>
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.1</purl>
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.6.2</version>
178
+ <version>2.7.2</version>
179
179
  <description>JSON Implementation for Ruby</description>
180
180
  <hashes>
181
- <hash alg="SHA-256">cc9eedb357374667fe2b45e2a7fa65af517cc33bbfa12f56a14953f38a4845f5</hash>
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.6.2</purl>
188
+ <purl>pkg:gem/json@2.7.2</purl>
189
189
  </component>
190
190
  <component type="library">
191
- <name>locale</name>
192
- <version>2.1.3</version>
193
- <description>Ruby-Locale is the pure ruby library which provides basic APIs for localization.</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">b6ddee011e157817cb98e521b3ce7cb626424d5882f1e844aafdee3e8b212725</hash>
195
+ <hash alg="SHA-256">3d5c58c02f44a20d972957a9febe386d7e7468ab3900ce6bd2b563dd910c6b3f</hash>
196
196
  </hashes>
197
197
  <licenses>
198
198
  <license>
199
- <id>Ruby</id>
199
+ <id>MIT</id>
200
200
  </license>
201
201
  </licenses>
202
- <purl>pkg:gem/locale@2.1.3</purl>
202
+ <purl>pkg:gem/language_server-protocol@3.17.0.3</purl>
203
203
  </component>
204
204
  <component type="library">
205
- <name>mime-types</name>
206
- <version>3.4.1</version>
207
- <description>The mime-types library provides a library and registry for information about MIME content type definitions</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">6bcf8b0e656b6ae9977bdc1351ef211d0383252d2f759a59ef4bcf254542fc46</hash>
209
+ <hash alg="SHA-256">522f9973ef3eee64aac9bca06d21db2fba675fa3d2cf61d21f42d1ca18a9f780</hash>
210
210
  </hashes>
211
211
  <licenses>
212
212
  <license>
213
- <id>MIT</id>
213
+ <id>Ruby</id>
214
214
  </license>
215
215
  </licenses>
216
- <purl>pkg:gem/mime-types@3.4.1</purl>
216
+ <purl>pkg:gem/locale@2.1.4</purl>
217
217
  </component>
218
218
  <component type="library">
219
- <name>mime-types-data</name>
220
- <version>3.2023.0218.1</version>
221
- <description>mime-types-data provides a registry for information about MIME media type definitions</description>
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">e90f027e54346bbbf7bd993a97e9cb7270cd4fe41c535ef84bf5d1aefe1e7ede</hash>
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-data@3.2023.0218.1</purl>
230
+ <purl>pkg:gem/mime-types@3.5.2</purl>
231
231
  </component>
232
232
  <component type="library">
233
- <name>mini_portile2</name>
234
- <version>2.8.2</version>
235
- <description>Simplistic port-like solution for developers</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">46b2d244cc6ff01a89bf61274690c09fdbdca47a84ae9eac39039e81231aee7c</hash>
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/mini_portile2@2.8.2</purl>
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.15.2</version>
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">20dc800b8fbe4c4f4b5b164e6aa3ab82a371bcb27eb685c166961c34dd8a22d7</hash>
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.15.2</purl>
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.22.1</version>
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">ebdf1f0c51f182df38522f70ba770214940bef998cdb6e00f36492b29699761f</hash>
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.22.1</purl>
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.1.2.0</version>
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">eda4d7b49bbfddad3b6ca9cdfb23302eec6cf73c2e808b6d5b0cc9161f7c0e76</hash>
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.1.2.0</purl>
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.1</version>
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">eaa5cd10ace36a5c5a139e699875a45fa1dfd7d5df8432ffd6243962c6b24ef0</hash>
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.1</purl>
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.0.6</version>
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">5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097</hash>
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.0.6</purl>
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.5.0</version>
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">a076d2d35ab8d11feab5fecf8aa09ec6df68c2429810748cba079f7b021ecde5</hash>
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.5.0</purl>
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.5</version>
416
+ <version>3.2.6</version>
431
417
  <description>An XML toolkit for Ruby</description>
432
418
  <hashes>
433
- <hash alg="SHA-256">a33c3bf95fda7983ec7f05054f3a985af41dbc25a0339843bd2479e93cabb123</hash>
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.5</purl>
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.9.0</version>
445
- <description>rspec-3.9.0</description>
430
+ <version>3.13.0</version>
431
+ <description>rspec-3.13.0</description>
446
432
  <hashes>
447
- <hash alg="SHA-256">90a037a7cc02365d7c112201881839aafbc875a88094423bc8cba778c98bfac3</hash>
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.9.0</purl>
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.9.3</version>
459
- <description>rspec-core-3.9.3</description>
444
+ <version>3.13.0</version>
445
+ <description>rspec-core-3.13.0</description>
460
446
  <hashes>
461
- <hash alg="SHA-256">704f3af166bb8d763199742d94f0be3027c0f26d61a2f2156d99d0444248082d</hash>
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.9.3</purl>
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.9.4</version>
473
- <description>rspec-expectations-3.9.4</description>
458
+ <version>3.13.0</version>
459
+ <description>rspec-expectations-3.13.0</description>
474
460
  <hashes>
475
- <hash alg="SHA-256">58248bcc7ca1cde7255aa2436d27a1a6133d8d235409011b5256a24ce050583e</hash>
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.9.4</purl>
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.9.1</version>
487
- <description>rspec-mocks-3.9.1</description>
472
+ <version>3.13.0</version>
473
+ <description>rspec-mocks-3.13.0</description>
488
474
  <hashes>
489
- <hash alg="SHA-256">b9820ed35afbc552b4448ccb98984ffe20e92bff6760dbd60f4fec503d6e75a7</hash>
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.9.1</purl>
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.9.4</version>
501
- <description>rspec-support-3.9.4</description>
486
+ <version>3.13.1</version>
487
+ <description>rspec-support-3.13.1</description>
502
488
  <hashes>
503
- <hash alg="SHA-256">f4333c6df9413909aa652e8460588b36e8bb62e76e51e94c039e1b4bc3e4e645</hash>
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.9.4</purl>
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.32.0</version>
500
+ <version>1.63.1</version>
515
501
  <description>Automatic Ruby code style checking tool.</description>
516
502
  <hashes>
517
- <hash alg="SHA-256">82d2a9c2995324ee0d27b75f4396d30a021e965c0e82c39162e7041a6a386326</hash>
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.32.0</purl>
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.19.1</version>
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">f549a8f636a3d4d7bc235ee091a7cea955441cf7a250d124d44e218df91b1841</hash>
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.19.1</purl>
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.11.0</version>
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">cc127db3866dc414ffccbf92928a241e585b3aa2b758a5563e74a6ee0f57d50a</hash>
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.11.0</purl>
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.2.2</version>
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">2f93c652828cba9fcf4f65f5dc8c306f1a7317e05aad5835a13740122c17f24c</hash>
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.2.2</purl>
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.1</version>
627
- <description>Terminal screen size detection which works on Linux, OS X and Windows/Cygwin platforms and supports MRI, JRuby, TruffleRuby and Rubinius interpreters.</description>
612
+ <version>0.8.2</version>
613
+ <description>Terminal screen size detection.</description>
628
614
  <hashes>
629
- <hash alg="SHA-256">6508657c38f32bdca64880abe201ce237d80c94146e1f9b911cba3c7823659a2</hash>
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.1</purl>
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.2.0</version>
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">967fa4071b42b2c4afab8375c4f464392c5fb956959c0ceeb3cea0f4cd648eda</hash>
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.2.0</purl>
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.28</version>
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">d31b7e3172405165212e0c8db5b3b57865f0831f1bc33bdda5d0709e1e72315c</hash>
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.28</purl>
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'
@@ -8,7 +8,7 @@ module Carioca
8
8
  DEFAULT_CONFIG_ROOT = :carioca
9
9
  DEFAULT_LOCALE = :en
10
10
 
11
- DEFAULT_OUTPUT_TARGET = $stdout
11
+ DEFAULT_OUTPUT_TARGET = :stdout
12
12
  DEFAULT_OUTPUT_MODE = :mono
13
13
  DEFAULT_EMOJI_STATUS = true
14
14
  DEFAULT_COLORS_STATUS = true
@@ -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: $stdout)
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
- @target.puts message if (@mode == :mono) || (@mode == :dual)
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
@@ -61,7 +61,7 @@ module Carioca
61
61
  encoded = File.read(@storefile)
62
62
  encrypted = Base64.decode64(encoded)
63
63
  plain = decipher.update(encrypted) + decipher.final
64
- YAML.safe_load(plain)
64
+ YAML.load(plain)
65
65
  end
66
66
 
67
67
  def encrypt(data)
@@ -39,7 +39,7 @@
39
39
  :rules:
40
40
  - :test: :verify_file
41
41
  :name: "/tmp/carioca.registry"
42
- :mode: "644"
42
+ :mode: "755"
43
43
  - :test: :verify_folder
44
44
  :name: "/tmp/toto"
45
45
  :mode: "755"
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 methode : :user_root"
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 methode : :search_file_in_gem"
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
- puts 'skipped'
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
- # res = (securestore.data.empty?)? "first time" : securestore.data.to_s
160
- # output.info res
161
- puts 'skipped'
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
- # securestore.data[:time] = Time.now
165
- # securestore.save!
166
- puts 'skipped'
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.5
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-16 00:00:00.000000000 Z
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