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.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +11 -371
- data/README.adoc +233 -1124
- data/lib/lutaml/store/adapter/base.rb +4 -0
- data/lib/lutaml/store/adapter/memory.rb +8 -0
- data/lib/lutaml/store/attribute_updater.rb +12 -3
- data/lib/lutaml/store/basic_store.rb +4 -0
- data/lib/lutaml/store/cache_store.rb +10 -7
- data/lib/lutaml/store/database_store.rb +1 -1
- data/lib/lutaml/store/format/yamls.rb +2 -2
- data/lib/lutaml/store/format.rb +19 -0
- data/lib/lutaml/store/http_cache.rb +7 -14
- data/lib/lutaml/store/model_registration.rb +5 -2
- data/lib/lutaml/store/model_registry.rb +22 -17
- data/lib/lutaml/store/package_definition.rb +62 -0
- data/lib/lutaml/store/package_store.rb +133 -0
- data/lib/lutaml/store/package_transport/base.rb +48 -0
- data/lib/lutaml/store/package_transport/directory_transport.rb +196 -0
- data/lib/lutaml/store/package_transport/zip_transport.rb +178 -0
- data/lib/lutaml/store/package_transport.rb +23 -0
- data/lib/lutaml/store/version.rb +1 -1
- data/lib/lutaml/store.rb +3 -0
- metadata +29 -70
- data/.github/workflows/main.yml +0 -27
- data/.gitignore +0 -12
- data/CORRECTED_HTTP_CACHE_IMPLEMENTATION.md +0 -209
- data/CORRECTED_HTTP_CACHE_PLAN.md +0 -164
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -220
- data/TODO.impl/0-lutaml-store-self-quality.md +0 -112
- data/TODO.impl/1-lutaml-hal-migration.md +0 -60
- data/TODO.impl/2-glossarist-migration.md +0 -359
- data/TODO.impl/3-lutaml-jsonschema-migration.md +0 -273
- data/bin/console +0 -11
- data/bin/setup +0 -8
- data/demo/Gemfile +0 -15
- data/demo/Gemfile.lock +0 -61
- data/demo/README.adoc +0 -301
- data/demo/data/vcards/co/contact_10_thompson.data +0 -1
- data/demo/data/vcards/co/contact_10_thompson.meta +0 -1
- data/demo/data/vcards/co/contact_1_doe.data +0 -1
- data/demo/data/vcards/co/contact_1_doe.meta +0 -1
- data/demo/data/vcards/co/contact_2_smith.data +0 -1
- data/demo/data/vcards/co/contact_2_smith.meta +0 -1
- data/demo/data/vcards/co/contact_3_johnson.data +0 -1
- data/demo/data/vcards/co/contact_3_johnson.meta +0 -1
- data/demo/data/vcards/co/contact_4_garcia.data +0 -1
- data/demo/data/vcards/co/contact_4_garcia.meta +0 -1
- data/demo/data/vcards/co/contact_5_wilson.data +0 -1
- data/demo/data/vcards/co/contact_5_wilson.meta +0 -1
- data/demo/data/vcards/co/contact_6_brown.data +0 -1
- data/demo/data/vcards/co/contact_6_brown.meta +0 -1
- data/demo/data/vcards/co/contact_7_davis.data +0 -1
- data/demo/data/vcards/co/contact_7_davis.meta +0 -1
- data/demo/data/vcards/co/contact_8_anderson.data +0 -1
- data/demo/data/vcards/co/contact_8_anderson.meta +0 -1
- data/demo/data/vcards/co/contact_9_taylor.data +0 -1
- data/demo/data/vcards/co/contact_9_taylor.meta +0 -1
- data/demo/data/vcards.db +0 -0
- data/demo/pottery_class_demo.rb +0 -164
- data/demo/vcard_models.rb +0 -140
- data/demo/vcard_store_demo.rb +0 -526
- data/lutaml-store.gemspec +0 -35
- data/plan.adoc +0 -606
- data/spec/lutaml/store/adapter_interface_spec.rb +0 -89
- data/spec/lutaml/store/anti_pattern_guard_spec.rb +0 -35
- data/spec/lutaml/store/anti_pattern_spec.rb +0 -78
- data/spec/lutaml/store/autoload_spec.rb +0 -34
- data/spec/lutaml/store/cache_store_spec.rb +0 -271
- data/spec/lutaml/store/compression_spec.rb +0 -78
- data/spec/lutaml/store/config_enhanced_spec.rb +0 -158
- data/spec/lutaml/store/corrected_http_cache_integration_spec.rb +0 -336
- data/spec/lutaml/store/custom_serializer_spec.rb +0 -108
- data/spec/lutaml/store/database_store_spec.rb +0 -279
- data/spec/lutaml/store/file_io_spec.rb +0 -219
- data/spec/lutaml/store/format_round_trip_spec.rb +0 -110
- data/spec/lutaml/store/format_spec.rb +0 -70
- data/spec/lutaml/store/http_cache_entry_spec.rb +0 -203
- data/spec/lutaml/store/http_cache_hal_integration_spec.rb +0 -404
- data/spec/lutaml/store/http_cache_spec.rb +0 -422
- data/spec/lutaml/store/http_header_processor_spec.rb +0 -290
- data/spec/lutaml/store/import_spec.rb +0 -90
- data/spec/lutaml/store/integrity_spec.rb +0 -157
- data/spec/lutaml/store/key_collision_serializer_spec.rb +0 -98
- data/spec/lutaml/store/load_save_spec.rb +0 -107
- data/spec/lutaml/store/lutaml_model_integration_spec.rb +0 -291
- data/spec/lutaml/store/model_serializer_spec.rb +0 -140
- data/spec/lutaml/store/store_spec.rb +0 -182
- data/spec/lutaml/store_spec.rb +0 -21
- data/spec/spec_helper.rb +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c26211ca36caae48ef419c2feb670e6d35ddfb958b97b27eb04173c16eaa804
|
|
4
|
+
data.tar.gz: '06953ee0ec088797069476ccd0a2595aaae24b71fc295b3882ac628464b53da0'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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-
|
|
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:
|
|
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:
|
|
19
|
+
# Offense count: 50
|
|
176
20
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
177
21
|
# AllowedMethods: refine
|
|
178
22
|
Metrics/BlockLength:
|
|
179
|
-
Max:
|
|
23
|
+
Max: 387
|
|
180
24
|
|
|
181
|
-
# Offense count:
|
|
25
|
+
# Offense count: 16
|
|
182
26
|
# Configuration parameters: CountComments, CountAsOne.
|
|
183
27
|
Metrics/ClassLength:
|
|
184
28
|
Max: 379
|
|
185
29
|
|
|
186
|
-
# Offense count:
|
|
30
|
+
# Offense count: 9
|
|
187
31
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
188
32
|
Metrics/CyclomaticComplexity:
|
|
189
|
-
Max:
|
|
33
|
+
Max: 11
|
|
190
34
|
|
|
191
|
-
# Offense count:
|
|
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:
|
|
40
|
+
# Offense count: 5
|
|
197
41
|
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
|
198
42
|
Metrics/ParameterLists:
|
|
199
43
|
Max: 8
|
|
200
44
|
|
|
201
|
-
# Offense count:
|
|
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:
|
|
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
|