lutaml-store 0.1.1 → 0.2.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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_todo.yml +11 -371
  3. data/README.adoc +233 -1124
  4. data/lib/lutaml/store/adapter/base.rb +4 -0
  5. data/lib/lutaml/store/adapter/memory.rb +8 -0
  6. data/lib/lutaml/store/attribute_updater.rb +12 -3
  7. data/lib/lutaml/store/basic_store.rb +4 -0
  8. data/lib/lutaml/store/cache_store.rb +10 -7
  9. data/lib/lutaml/store/database_store.rb +1 -1
  10. data/lib/lutaml/store/format/yamls.rb +2 -2
  11. data/lib/lutaml/store/format.rb +19 -0
  12. data/lib/lutaml/store/http_cache.rb +7 -14
  13. data/lib/lutaml/store/model_registration.rb +5 -2
  14. data/lib/lutaml/store/model_registry.rb +22 -17
  15. data/lib/lutaml/store/package_definition.rb +62 -0
  16. data/lib/lutaml/store/package_store.rb +133 -0
  17. data/lib/lutaml/store/package_transport/base.rb +48 -0
  18. data/lib/lutaml/store/package_transport/directory_transport.rb +196 -0
  19. data/lib/lutaml/store/package_transport/zip_transport.rb +178 -0
  20. data/lib/lutaml/store/package_transport.rb +23 -0
  21. data/lib/lutaml/store/version.rb +1 -1
  22. data/lib/lutaml/store.rb +3 -0
  23. metadata +29 -70
  24. data/.github/workflows/main.yml +0 -27
  25. data/.gitignore +0 -12
  26. data/CORRECTED_HTTP_CACHE_IMPLEMENTATION.md +0 -209
  27. data/CORRECTED_HTTP_CACHE_PLAN.md +0 -164
  28. data/Gemfile +0 -15
  29. data/Gemfile.lock +0 -220
  30. data/TODO.impl/0-lutaml-store-self-quality.md +0 -112
  31. data/TODO.impl/1-lutaml-hal-migration.md +0 -60
  32. data/TODO.impl/2-glossarist-migration.md +0 -359
  33. data/TODO.impl/3-lutaml-jsonschema-migration.md +0 -273
  34. data/bin/console +0 -11
  35. data/bin/setup +0 -8
  36. data/demo/Gemfile +0 -15
  37. data/demo/Gemfile.lock +0 -61
  38. data/demo/README.adoc +0 -301
  39. data/demo/data/vcards/co/contact_10_thompson.data +0 -1
  40. data/demo/data/vcards/co/contact_10_thompson.meta +0 -1
  41. data/demo/data/vcards/co/contact_1_doe.data +0 -1
  42. data/demo/data/vcards/co/contact_1_doe.meta +0 -1
  43. data/demo/data/vcards/co/contact_2_smith.data +0 -1
  44. data/demo/data/vcards/co/contact_2_smith.meta +0 -1
  45. data/demo/data/vcards/co/contact_3_johnson.data +0 -1
  46. data/demo/data/vcards/co/contact_3_johnson.meta +0 -1
  47. data/demo/data/vcards/co/contact_4_garcia.data +0 -1
  48. data/demo/data/vcards/co/contact_4_garcia.meta +0 -1
  49. data/demo/data/vcards/co/contact_5_wilson.data +0 -1
  50. data/demo/data/vcards/co/contact_5_wilson.meta +0 -1
  51. data/demo/data/vcards/co/contact_6_brown.data +0 -1
  52. data/demo/data/vcards/co/contact_6_brown.meta +0 -1
  53. data/demo/data/vcards/co/contact_7_davis.data +0 -1
  54. data/demo/data/vcards/co/contact_7_davis.meta +0 -1
  55. data/demo/data/vcards/co/contact_8_anderson.data +0 -1
  56. data/demo/data/vcards/co/contact_8_anderson.meta +0 -1
  57. data/demo/data/vcards/co/contact_9_taylor.data +0 -1
  58. data/demo/data/vcards/co/contact_9_taylor.meta +0 -1
  59. data/demo/data/vcards.db +0 -0
  60. data/demo/pottery_class_demo.rb +0 -164
  61. data/demo/vcard_models.rb +0 -140
  62. data/demo/vcard_store_demo.rb +0 -526
  63. data/lutaml-store.gemspec +0 -35
  64. data/plan.adoc +0 -606
  65. data/spec/lutaml/store/adapter_interface_spec.rb +0 -89
  66. data/spec/lutaml/store/anti_pattern_guard_spec.rb +0 -35
  67. data/spec/lutaml/store/anti_pattern_spec.rb +0 -78
  68. data/spec/lutaml/store/autoload_spec.rb +0 -34
  69. data/spec/lutaml/store/cache_store_spec.rb +0 -271
  70. data/spec/lutaml/store/compression_spec.rb +0 -78
  71. data/spec/lutaml/store/config_enhanced_spec.rb +0 -158
  72. data/spec/lutaml/store/corrected_http_cache_integration_spec.rb +0 -336
  73. data/spec/lutaml/store/custom_serializer_spec.rb +0 -108
  74. data/spec/lutaml/store/database_store_spec.rb +0 -279
  75. data/spec/lutaml/store/file_io_spec.rb +0 -219
  76. data/spec/lutaml/store/format_round_trip_spec.rb +0 -110
  77. data/spec/lutaml/store/format_spec.rb +0 -70
  78. data/spec/lutaml/store/http_cache_entry_spec.rb +0 -203
  79. data/spec/lutaml/store/http_cache_hal_integration_spec.rb +0 -404
  80. data/spec/lutaml/store/http_cache_spec.rb +0 -422
  81. data/spec/lutaml/store/http_header_processor_spec.rb +0 -290
  82. data/spec/lutaml/store/import_spec.rb +0 -90
  83. data/spec/lutaml/store/integrity_spec.rb +0 -157
  84. data/spec/lutaml/store/key_collision_serializer_spec.rb +0 -98
  85. data/spec/lutaml/store/load_save_spec.rb +0 -107
  86. data/spec/lutaml/store/lutaml_model_integration_spec.rb +0 -291
  87. data/spec/lutaml/store/model_serializer_spec.rb +0 -140
  88. data/spec/lutaml/store/store_spec.rb +0 -182
  89. data/spec/lutaml/store_spec.rb +0 -21
  90. data/spec/spec_helper.rb +0 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea027eecd3b29d9e1369455e835feb794173b4326a81034f67bb06b89e6adb3b
4
- data.tar.gz: 74a1b77d3e644bfb92a397a0a1e51b0eb0d7a3af545543c6419c3d6a1677bd65
3
+ metadata.gz: 1c26211ca36caae48ef419c2feb670e6d35ddfb958b97b27eb04173c16eaa804
4
+ data.tar.gz: '06953ee0ec088797069476ccd0a2595aaae24b71fc295b3882ac628464b53da0'
5
5
  SHA512:
6
- metadata.gz: 3fef83d3704ef385c9f536ff73ec2681b962d56a46b1211aa7e3042119c5b0a6a2bc70a52c97edd5e791060d526981ff75beaff7d0f2cd1c40e40ea54b3dc713
7
- data.tar.gz: bfe7057e1323a7396bcc71e829f26f2c44725fadee07156553a6721b29e9a31ab478b9c47d92f79deb6cd38f96f90477d2a505baa0f85b7b56f837e4be10055e
6
+ metadata.gz: ac429b0436457ac91e52d18290c407598529d041294911c652a33fda075b4f24373965aea422568e85bcfa68e978a64fb4dc45b642fb9034555869a597ccb161
7
+ data.tar.gz: fefac8e5929d619716a9cf890601928fb52738b3ecb5d6a861a90d7d28db7902624108a8d2054a230ea4810291001690455777e0cbcebaa912fd9c8f67f11591
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2026-06-01 15:50:24 UTC using RuboCop version 1.86.2.
3
+ # on 2026-06-05 04:23:39 UTC using RuboCop version 1.87.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -11,194 +11,38 @@ Gemspec/RequiredRubyVersion:
11
11
  Exclude:
12
12
  - 'lutaml-store.gemspec'
13
13
 
14
- # Offense count: 14
15
- # This cop supports safe autocorrection (--autocorrect).
16
- # Configuration parameters: EnforcedStyle, IndentationWidth.
17
- # SupportedStyles: with_first_argument, with_fixed_indentation
18
- Layout/ArgumentAlignment:
19
- Exclude:
20
- - 'lib/lutaml/store/compression.rb'
21
- - 'spec/lutaml/store/anti_pattern_spec.rb'
22
- - 'spec/lutaml/store/lutaml_model_integration_spec.rb'
23
- - 'spec/lutaml/store/model_serializer_spec.rb'
24
-
25
- # Offense count: 4
26
- # This cop supports safe autocorrection (--autocorrect).
27
- Layout/EmptyLineAfterGuardClause:
28
- Exclude:
29
- - 'lib/lutaml/store/adapter/filesystem.rb'
30
- - 'lib/lutaml/store/attribute_updater.rb'
31
-
32
- # Offense count: 7
33
- # This cop supports safe autocorrection (--autocorrect).
34
- Layout/EmptyLineAfterMagicComment:
35
- Exclude:
36
- - 'demo/pottery_class_demo.rb'
37
- - 'lib/lutaml/store/http_cache_config.rb'
38
- - 'lib/lutaml/store/http_cache_entry.rb'
39
- - 'lib/lutaml/store/http_header_processor.rb'
40
- - 'spec/lutaml/store/http_cache_entry_spec.rb'
41
- - 'spec/lutaml/store/http_cache_spec.rb'
42
- - 'spec/lutaml/store/http_header_processor_spec.rb'
43
-
44
- # Offense count: 1
45
- # This cop supports safe autocorrection (--autocorrect).
46
- # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
47
- Layout/EmptyLineBetweenDefs:
48
- Exclude:
49
- - 'lib/lutaml/store/compression.rb'
50
-
51
- # Offense count: 4
52
- # This cop supports safe autocorrection (--autocorrect).
53
- Layout/EmptyLines:
54
- Exclude:
55
- - 'lib/lutaml/store/adapter/memory.rb'
56
- - 'lib/lutaml/store/cache.rb'
57
- - 'lib/lutaml/store/compression.rb'
58
- - 'lib/lutaml/store/monitor.rb'
59
-
60
- # Offense count: 2
61
- # This cop supports safe autocorrection (--autocorrect).
62
- # Configuration parameters: EnforcedStyle.
63
- # SupportedStyles: empty_lines, no_empty_lines
64
- Layout/EmptyLinesAroundBlockBody:
65
- Exclude:
66
- - 'lib/lutaml/store/adapter/filesystem.rb'
67
-
68
- # Offense count: 13
69
- # This cop supports safe autocorrection (--autocorrect).
70
- Layout/EmptyLinesAroundMethodBody:
71
- Exclude:
72
- - 'lib/lutaml/store/attribute_updater.rb'
73
- - 'lib/lutaml/store/compression.rb'
74
-
75
- # Offense count: 9
76
- # This cop supports safe autocorrection (--autocorrect).
77
- # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
78
- # SupportedHashRocketStyles: key, separator, table
79
- # SupportedColonStyles: key, separator, table
80
- # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
81
- Layout/HashAlignment:
82
- Exclude:
83
- - 'spec/lutaml/store/lutaml_model_integration_spec.rb'
84
- - 'spec/lutaml/store/model_serializer_spec.rb'
85
-
86
- # Offense count: 3
87
- # This cop supports safe autocorrection (--autocorrect).
88
- # Configuration parameters: EnforcedStyle.
89
- # SupportedStyles: normal, indented_internal_methods
90
- Layout/IndentationConsistency:
91
- Exclude:
92
- - 'lib/lutaml/store/attribute_updater.rb'
93
- - 'lib/lutaml/store/integrity.rb'
94
-
95
- # Offense count: 9
96
- # This cop supports safe autocorrection (--autocorrect).
97
- # Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
98
- # SupportedStylesAlignWith: start_of_line, relative_to_receiver
99
- Layout/IndentationWidth:
100
- Exclude:
101
- - 'lib/lutaml/store/adapter/filesystem.rb'
102
- - 'lib/lutaml/store/compression.rb'
103
- - 'lib/lutaml/store/integrity.rb'
104
-
105
- # Offense count: 7
106
- # This cop supports safe autocorrection (--autocorrect).
107
- Layout/RescueEnsureAlignment:
108
- Exclude:
109
- - 'lib/lutaml/store/adapter/filesystem.rb'
110
- - 'lib/lutaml/store/compression.rb'
111
-
112
- # Offense count: 22
113
- # This cop supports safe autocorrection (--autocorrect).
114
- # Configuration parameters: AllowInHeredoc.
115
- Layout/TrailingWhitespace:
116
- Exclude:
117
- - 'lib/lutaml/store/adapter/filesystem.rb'
118
- - 'lib/lutaml/store/attribute_updater.rb'
119
- - 'lib/lutaml/store/compression.rb'
120
- - 'spec/lutaml/store/lutaml_model_integration_spec.rb'
121
- - 'spec/lutaml/store/model_serializer_spec.rb'
122
-
123
- # Offense count: 2
124
- # This cop supports unsafe autocorrection (--autocorrect-all).
125
- # Configuration parameters: AllowSafeAssignment.
126
- Lint/AssignmentInCondition:
127
- Exclude:
128
- - 'lib/lutaml/store/http_header_processor.rb'
129
-
130
- # Offense count: 3
131
- # This cop supports safe autocorrection (--autocorrect).
132
- Lint/RedundantRequireStatement:
133
- Exclude:
134
- - 'lib/lutaml/store/adapter/memory.rb'
135
- - 'lib/lutaml/store/cache.rb'
136
- - 'lib/lutaml/store/monitor.rb'
137
-
138
- # Offense count: 1
139
- # This cop supports safe autocorrection (--autocorrect).
140
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
141
- Lint/UnusedBlockArgument:
142
- Exclude:
143
- - 'lib/lutaml/store/adapter/sqlite.rb'
144
-
145
- # Offense count: 2
146
- # This cop supports safe autocorrection (--autocorrect).
147
- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
148
- # NotImplementedExceptions: NotImplementedError
149
- Lint/UnusedMethodArgument:
150
- Exclude:
151
- - 'lib/lutaml/store/http_cache.rb'
152
- - 'lib/lutaml/store/monitor.rb'
153
-
154
- # Offense count: 1
155
- # This cop supports safe autocorrection (--autocorrect).
156
- # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
157
- Lint/UselessAccessModifier:
158
- Exclude:
159
- - 'lib/lutaml/store/compression.rb'
160
-
161
- # Offense count: 7
162
- # This cop supports safe autocorrection (--autocorrect).
163
- Lint/UselessAssignment:
164
- Exclude:
165
- - 'lib/lutaml/store/http_cache.rb'
166
- - 'spec/lutaml/store/cache_store_spec.rb'
167
- - 'spec/lutaml/store/http_cache_hal_integration_spec.rb'
168
- - 'spec/lutaml/store/http_cache_spec.rb'
169
-
170
- # Offense count: 23
14
+ # Offense count: 29
171
15
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
172
16
  Metrics/AbcSize:
173
17
  Max: 112
174
18
 
175
- # Offense count: 51
19
+ # Offense count: 50
176
20
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
177
21
  # AllowedMethods: refine
178
22
  Metrics/BlockLength:
179
- Max: 320
23
+ Max: 387
180
24
 
181
- # Offense count: 14
25
+ # Offense count: 16
182
26
  # Configuration parameters: CountComments, CountAsOne.
183
27
  Metrics/ClassLength:
184
28
  Max: 379
185
29
 
186
- # Offense count: 7
30
+ # Offense count: 9
187
31
  # Configuration parameters: AllowedMethods, AllowedPatterns.
188
32
  Metrics/CyclomaticComplexity:
189
- Max: 10
33
+ Max: 11
190
34
 
191
- # Offense count: 72
35
+ # Offense count: 80
192
36
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
193
37
  Metrics/MethodLength:
194
38
  Max: 84
195
39
 
196
- # Offense count: 3
40
+ # Offense count: 5
197
41
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
198
42
  Metrics/ParameterLists:
199
43
  Max: 8
200
44
 
201
- # Offense count: 4
45
+ # Offense count: 5
202
46
  # Configuration parameters: AllowedMethods, AllowedPatterns.
203
47
  Metrics/PerceivedComplexity:
204
48
  Max: 11
@@ -240,211 +84,7 @@ Security/MarshalLoad:
240
84
  Exclude:
241
85
  - 'lib/lutaml/store/format/marshal_format.rb'
242
86
 
243
- # Offense count: 14
244
- # This cop supports safe autocorrection (--autocorrect).
245
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
246
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
247
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
248
- # FunctionalMethods: let, let!, subject, watch
249
- # AllowedMethods: lambda, proc, it
250
- Style/BlockDelimiters:
251
- Exclude:
252
- - 'spec/lutaml/store/compression_spec.rb'
253
- - 'spec/lutaml/store/file_io_spec.rb'
254
- - 'spec/lutaml/store/integrity_spec.rb'
255
- - 'spec/lutaml/store/model_serializer_spec.rb'
256
-
257
- # Offense count: 3
258
- # This cop supports safe autocorrection (--autocorrect).
259
- # Configuration parameters: Keywords, RequireColon.
260
- # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
261
- Style/CommentAnnotation:
262
- Exclude:
263
- - 'spec/lutaml/store/compression_spec.rb'
264
- - 'spec/lutaml/store/config_enhanced_spec.rb'
265
- - 'spec/lutaml/store/store_spec.rb'
266
-
267
- # Offense count: 29
87
+ # Offense count: 35
268
88
  # Configuration parameters: AllowedConstants.
269
89
  Style/Documentation:
270
90
  Enabled: false
271
-
272
- # Offense count: 1
273
- # This cop supports safe autocorrection (--autocorrect).
274
- # Configuration parameters: EnforcedStyle.
275
- # SupportedStyles: compact, expanded
276
- Style/EmptyMethod:
277
- Exclude:
278
- - 'lib/lutaml/store/adapter/filesystem.rb'
279
-
280
- # Offense count: 7
281
- # This cop supports unsafe autocorrection (--autocorrect-all).
282
- # Configuration parameters: EnforcedStyle.
283
- # SupportedStyles: always, always_true, never
284
- Style/FrozenStringLiteralComment:
285
- Exclude:
286
- - '**/*.arb'
287
- - 'demo/pottery_class_demo.rb'
288
- - 'lib/lutaml/store/http_cache_config.rb'
289
- - 'lib/lutaml/store/http_cache_entry.rb'
290
- - 'lib/lutaml/store/http_header_processor.rb'
291
- - 'spec/lutaml/store/http_cache_entry_spec.rb'
292
- - 'spec/lutaml/store/http_cache_spec.rb'
293
- - 'spec/lutaml/store/http_header_processor_spec.rb'
294
-
295
- # Offense count: 1
296
- # This cop supports safe autocorrection (--autocorrect).
297
- # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
298
- Style/GuardClause:
299
- Exclude:
300
- - 'lib/lutaml/store/attribute_updater.rb'
301
-
302
- # Offense count: 6
303
- # This cop supports unsafe autocorrection (--autocorrect-all).
304
- # Configuration parameters: AllowedReceivers.
305
- # AllowedReceivers: Thread.current
306
- Style/HashEachMethods:
307
- Exclude:
308
- - 'demo/vcard_store_demo.rb'
309
- - 'lib/lutaml/store/cache_store.rb'
310
- - 'lib/lutaml/store/database_store.rb'
311
- - 'lib/lutaml/store/http_cache.rb'
312
-
313
- # Offense count: 9
314
- # This cop supports safe autocorrection (--autocorrect).
315
- Style/IfUnlessModifier:
316
- Exclude:
317
- - 'lib/lutaml/store/attribute_updater.rb'
318
- - 'lib/lutaml/store/cache.rb'
319
- - 'lib/lutaml/store/http_cache.rb'
320
- - 'lib/lutaml/store/integrity.rb'
321
- - 'lib/lutaml/store/model_registry.rb'
322
- - 'lib/lutaml/store/monitor.rb'
323
-
324
- # Offense count: 3
325
- # This cop supports unsafe autocorrection (--autocorrect-all).
326
- # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
327
- # SupportedStyles: predicate, comparison
328
- Style/NumericPredicate:
329
- Exclude:
330
- - 'spec/**/*'
331
- - 'demo/vcard_store_demo.rb'
332
- - 'lib/lutaml/store/adapter/memory.rb'
333
- - 'lib/lutaml/store/http_cache.rb'
334
-
335
- # Offense count: 7
336
- # This cop supports safe autocorrection (--autocorrect).
337
- Style/RedundantBegin:
338
- Exclude:
339
- - 'lib/lutaml/store/adapter/filesystem.rb'
340
- - 'lib/lutaml/store/compression.rb'
341
-
342
- # Offense count: 2
343
- # This cop supports unsafe autocorrection (--autocorrect-all).
344
- # Configuration parameters: SafeForConstants.
345
- Style/RedundantFetchBlock:
346
- Exclude:
347
- - 'spec/lutaml/store/cache_store_spec.rb'
348
-
349
- # Offense count: 1
350
- # This cop supports safe autocorrection (--autocorrect).
351
- # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
352
- # SupportedStyles: slashes, percent_r, mixed
353
- Style/RegexpLiteral:
354
- Exclude:
355
- - 'lib/lutaml/store/adapter/filesystem.rb'
356
-
357
- # Offense count: 1
358
- # This cop supports safe autocorrection (--autocorrect).
359
- Style/RescueModifier:
360
- Exclude:
361
- - 'demo/vcard_models.rb'
362
-
363
- # Offense count: 4
364
- # This cop supports safe autocorrection (--autocorrect).
365
- # Configuration parameters: EnforcedStyle.
366
- # SupportedStyles: implicit, explicit
367
- Style/RescueStandardError:
368
- Exclude:
369
- - 'demo/vcard_models.rb'
370
- - 'lib/lutaml/store/adapter/filesystem.rb'
371
- - 'lib/lutaml/store/integrity.rb'
372
-
373
- # Offense count: 1
374
- # This cop supports unsafe autocorrection (--autocorrect-all).
375
- # Configuration parameters: RequireEnglish, EnforcedStyle.
376
- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
377
- Style/SpecialGlobalVars:
378
- Exclude:
379
- - 'demo/vcard_store_demo.rb'
380
-
381
- # Offense count: 4
382
- # This cop supports unsafe autocorrection (--autocorrect-all).
383
- # Configuration parameters: Mode.
384
- Style/StringConcatenation:
385
- Exclude:
386
- - 'demo/vcard_store_demo.rb'
387
- - 'lib/lutaml/store/format/jsonl.rb'
388
-
389
- # Offense count: 1
390
- # This cop supports safe autocorrection (--autocorrect).
391
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
392
- # SupportedStyles: single_quotes, double_quotes
393
- Style/StringLiterals:
394
- Exclude:
395
- - 'lib/lutaml/store/compression.rb'
396
-
397
- # Offense count: 2
398
- # This cop supports safe autocorrection (--autocorrect).
399
- # Configuration parameters: EnforcedStyle.
400
- # SupportedStyles: single_quotes, double_quotes
401
- Style/StringLiteralsInInterpolation:
402
- Exclude:
403
- - 'lib/lutaml/store/compression.rb'
404
-
405
- # Offense count: 9
406
- # This cop supports safe autocorrection (--autocorrect).
407
- # Configuration parameters: EnforcedStyleForMultiline.
408
- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
409
- Style/TrailingCommaInArguments:
410
- Exclude:
411
- - 'spec/lutaml/store/file_io_spec.rb'
412
- - 'spec/lutaml/store/import_spec.rb'
413
- - 'spec/lutaml/store/key_collision_serializer_spec.rb'
414
- - 'spec/lutaml/store/load_save_spec.rb'
415
-
416
- # Offense count: 8
417
- # This cop supports safe autocorrection (--autocorrect).
418
- # Configuration parameters: EnforcedStyleForMultiline.
419
- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
420
- Style/TrailingCommaInArrayLiteral:
421
- Exclude:
422
- - 'spec/lutaml/store/file_io_spec.rb'
423
- - 'spec/lutaml/store/format_round_trip_spec.rb'
424
- - 'spec/lutaml/store/import_spec.rb'
425
- - 'spec/lutaml/store/load_save_spec.rb'
426
- - 'spec/lutaml/store/lutaml_model_integration_spec.rb'
427
-
428
- # Offense count: 3
429
- # This cop supports safe autocorrection (--autocorrect).
430
- # Configuration parameters: EnforcedStyleForMultiline.
431
- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
432
- Style/TrailingCommaInHashLiteral:
433
- Exclude:
434
- - 'lib/lutaml/store/format.rb'
435
- - 'spec/lutaml/store/key_collision_serializer_spec.rb'
436
-
437
- # Offense count: 5
438
- # This cop supports safe autocorrection (--autocorrect).
439
- # Configuration parameters: WordRegex.
440
- # SupportedStyles: percent, brackets
441
- Style/WordArray:
442
- EnforcedStyle: percent
443
- MinSize: 4
444
-
445
- # Offense count: 7
446
- # This cop supports safe autocorrection (--autocorrect).
447
- # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
448
- # URISchemes: http, https
449
- Layout/LineLength:
450
- Max: 161