xmi 0.5.1 → 0.5.2
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 +4 -157
- data/lib/xmi/sparx/connector.rb +1 -1
- data/lib/xmi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ac4f03d86ac8abffeaecaf956bcd77ab9a3bb2ed6348a12f3ccb2bd587f2eec
|
|
4
|
+
data.tar.gz: 7f0051b7bbb867c4c7d82ad95fb435a4f5e5d9bb2b76e1297ded8953682489c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99a98d34c015c29e2170695e0e3918a98ec9a4308097a32886bd0af401808172b367c2e2da020713dc0ff2db5581c9336b4a4a64e3d3b39b225f4df5cde0296d
|
|
7
|
+
data.tar.gz: 060447e7ae2275a40e4881616dc104032c491ae4cc3bb0707bcfbcafb7bf93a068ff6cda7da3cbeb62c37c3ef5d8e34f66a1dfd1a11206b509e99d3af27a7d8e
|
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-
|
|
3
|
+
# on 2026-04-14 03:59:00 UTC using RuboCop version 1.86.1.
|
|
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,103 +11,13 @@ Gemspec/RequiredRubyVersion:
|
|
|
11
11
|
Exclude:
|
|
12
12
|
- 'xmi.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/tasks/benchmark_runner.rb'
|
|
21
|
-
- 'lib/tasks/performance_helpers.rb'
|
|
22
|
-
- 'lib/xmi/parsing.rb'
|
|
23
|
-
- 'lib/xmi/version_registry.rb'
|
|
24
|
-
- 'lib/xmi/versioned.rb'
|
|
25
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
26
|
-
- 'spec/xmi/sparx/sparx_root_xmi_parsing_spec.rb'
|
|
27
|
-
|
|
28
|
-
# Offense count: 8
|
|
29
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
30
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
31
|
-
# SupportedStyles: with_first_element, with_fixed_indentation
|
|
32
|
-
Layout/ArrayAlignment:
|
|
33
|
-
Exclude:
|
|
34
|
-
- 'spec/fixtures.rb'
|
|
35
|
-
- 'spec/xmi/sparx/shared_contexts.rb'
|
|
36
|
-
|
|
37
|
-
# Offense count: 5
|
|
38
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
39
|
-
# Configuration parameters: EnforcedStyleAlignWith.
|
|
40
|
-
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
|
41
|
-
Layout/BlockAlignment:
|
|
42
|
-
Exclude:
|
|
43
|
-
- 'lib/xmi/versioned.rb'
|
|
44
|
-
- 'spec/performance/xmi_parsing_spec.rb'
|
|
45
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
|
46
|
-
- 'spec/xmi/sparx/sparx_root_xmi_parsing_spec.rb'
|
|
47
|
-
|
|
48
|
-
# Offense count: 7
|
|
49
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
50
|
-
Layout/BlockEndNewline:
|
|
51
|
-
Exclude:
|
|
52
|
-
- 'benchmark_parse.rb'
|
|
53
|
-
- 'lib/xmi/versioned.rb'
|
|
54
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
55
|
-
- 'spec/performance/xmi_parsing_spec.rb'
|
|
56
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
|
57
|
-
- 'spec/xmi/sparx/sparx_root_xmi_parsing_spec.rb'
|
|
58
|
-
|
|
59
|
-
# Offense count: 2
|
|
60
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
61
|
-
# Configuration parameters: EnforcedStyle.
|
|
62
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
|
63
|
-
Layout/EmptyLinesAroundBlockBody:
|
|
64
|
-
Exclude:
|
|
65
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
66
|
-
|
|
67
|
-
# Offense count: 16
|
|
68
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
69
|
-
# Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
|
|
70
|
-
# SupportedStylesAlignWith: start_of_line, relative_to_receiver
|
|
71
|
-
Layout/IndentationWidth:
|
|
72
|
-
Exclude:
|
|
73
|
-
- 'benchmark_parse.rb'
|
|
74
|
-
- 'lib/xmi/versioned.rb'
|
|
75
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
76
|
-
- 'spec/performance/xmi_parsing_spec.rb'
|
|
77
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
|
78
|
-
- 'spec/xmi/sparx/sparx_root_xmi_parsing_spec.rb'
|
|
79
|
-
|
|
80
|
-
# Offense count: 101
|
|
14
|
+
# Offense count: 72
|
|
81
15
|
# This cop supports safe autocorrection (--autocorrect).
|
|
82
16
|
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
83
17
|
# URISchemes: http, https
|
|
84
18
|
Layout/LineLength:
|
|
85
19
|
Enabled: false
|
|
86
20
|
|
|
87
|
-
# Offense count: 2
|
|
88
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
89
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
90
|
-
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
|
91
|
-
Layout/MultilineMethodCallIndentation:
|
|
92
|
-
Exclude:
|
|
93
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
|
94
|
-
|
|
95
|
-
# Offense count: 24
|
|
96
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
97
|
-
# Configuration parameters: AllowInHeredoc.
|
|
98
|
-
Layout/TrailingWhitespace:
|
|
99
|
-
Exclude:
|
|
100
|
-
- 'lib/tasks/benchmark_runner.rb'
|
|
101
|
-
- 'lib/tasks/performance_helpers.rb'
|
|
102
|
-
- 'lib/xmi/parsing.rb'
|
|
103
|
-
- 'lib/xmi/version_registry.rb'
|
|
104
|
-
- 'lib/xmi/versioned.rb'
|
|
105
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
106
|
-
- 'spec/fixtures.rb'
|
|
107
|
-
- 'spec/xmi/sparx/shared_contexts.rb'
|
|
108
|
-
- 'spec/xmi/sparx/sparx_root_xmi_parsing_spec.rb'
|
|
109
|
-
- 'spec/xmi/versioning_spec.rb'
|
|
110
|
-
|
|
111
21
|
# Offense count: 5
|
|
112
22
|
# Configuration parameters: AllowedMethods.
|
|
113
23
|
# AllowedMethods: enums
|
|
@@ -163,12 +73,6 @@ Naming/VariableNumber:
|
|
|
163
73
|
- 'spec/performance/xmi_parsing_spec.rb'
|
|
164
74
|
- 'spec/xmi/versioning_spec.rb'
|
|
165
75
|
|
|
166
|
-
# Offense count: 1
|
|
167
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
168
|
-
Performance/TimesMap:
|
|
169
|
-
Exclude:
|
|
170
|
-
- 'benchmark_parse.rb'
|
|
171
|
-
|
|
172
76
|
# Offense count: 1
|
|
173
77
|
RSpec/BeforeAfterAll:
|
|
174
78
|
Exclude:
|
|
@@ -194,34 +98,17 @@ RSpec/DescribeClass:
|
|
|
194
98
|
- 'spec/xmi/namespace_aliases_spec.rb'
|
|
195
99
|
- 'spec/xmi/versioning_spec.rb'
|
|
196
100
|
|
|
197
|
-
# Offense count: 4
|
|
198
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
199
|
-
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
|
|
200
|
-
# SupportedStyles: described_class, explicit
|
|
201
|
-
RSpec/DescribedClass:
|
|
202
|
-
Exclude:
|
|
203
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
|
204
|
-
|
|
205
101
|
# Offense count: 26
|
|
206
102
|
# Configuration parameters: CountAsOne.
|
|
207
103
|
RSpec/ExampleLength:
|
|
208
104
|
Max: 33
|
|
209
105
|
|
|
210
|
-
# Offense count: 2
|
|
211
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
212
|
-
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
|
|
213
|
-
# DisallowedExamples: works
|
|
214
|
-
RSpec/ExampleWording:
|
|
215
|
-
Exclude:
|
|
216
|
-
- 'spec/xmi/sparx/sparx_root_eauml_spec.rb'
|
|
217
|
-
- 'spec/xmi/sparx/sparx_root_gml_spec.rb'
|
|
218
|
-
|
|
219
106
|
# Offense count: 5
|
|
220
107
|
RSpec/LeakyConstantDeclaration:
|
|
221
108
|
Exclude:
|
|
222
109
|
- 'spec/performance/xmi_parsing_spec.rb'
|
|
223
110
|
|
|
224
|
-
# Offense count:
|
|
111
|
+
# Offense count: 36
|
|
225
112
|
RSpec/MultipleExpectations:
|
|
226
113
|
Max: 8
|
|
227
114
|
|
|
@@ -235,50 +122,10 @@ RSpec/MultipleMemoizedHelpers:
|
|
|
235
122
|
RSpec/NestedGroups:
|
|
236
123
|
Max: 4
|
|
237
124
|
|
|
238
|
-
# Offense count:
|
|
239
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
240
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
|
241
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
|
242
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
|
243
|
-
# FunctionalMethods: let, let!, subject, watch
|
|
244
|
-
# AllowedMethods: lambda, proc, it
|
|
245
|
-
Style/BlockDelimiters:
|
|
246
|
-
Exclude:
|
|
247
|
-
- 'benchmark_parse.rb'
|
|
248
|
-
- 'lib/xmi/versioned.rb'
|
|
249
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
250
|
-
- 'spec/performance/xmi_parsing_spec.rb'
|
|
251
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
|
252
|
-
- 'spec/xmi/sparx/sparx_root_xmi_parsing_spec.rb'
|
|
253
|
-
|
|
254
|
-
# Offense count: 1
|
|
255
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
256
|
-
# Configuration parameters: EnforcedStyle.
|
|
257
|
-
# SupportedStyles: trailing_conditional, ternary
|
|
258
|
-
Style/EmptyStringInsideInterpolation:
|
|
259
|
-
Exclude:
|
|
260
|
-
- 'scripts-xmi-profile/profile_xmi_simple.rb'
|
|
261
|
-
|
|
262
|
-
# Offense count: 2
|
|
263
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
264
|
-
Style/MultilineIfModifier:
|
|
265
|
-
Exclude:
|
|
266
|
-
- 'lib/xmi/parsing.rb'
|
|
267
|
-
- 'lib/xmi/version_registry.rb'
|
|
268
|
-
|
|
269
|
-
# Offense count: 6
|
|
125
|
+
# Offense count: 4
|
|
270
126
|
# Configuration parameters: AllowedClasses.
|
|
271
127
|
Style/OneClassPerFile:
|
|
272
128
|
Exclude:
|
|
273
129
|
- 'lib/tasks/benchmark_runner.rb'
|
|
274
130
|
- 'lib/xmi.rb'
|
|
275
131
|
- 'lib/xmi/namespace/dynamic.rb'
|
|
276
|
-
- 'spec/xmi/sparx/shared_contexts.rb'
|
|
277
|
-
|
|
278
|
-
# Offense count: 1
|
|
279
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
280
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
|
281
|
-
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
282
|
-
Style/TrailingCommaInArguments:
|
|
283
|
-
Exclude:
|
|
284
|
-
- 'spec/xmi/sparx/sparx_root_citygml_spec.rb'
|
data/lib/xmi/sparx/connector.rb
CHANGED
|
@@ -194,7 +194,7 @@ module Xmi
|
|
|
194
194
|
|
|
195
195
|
class Connector < Lutaml::Model::Serializable
|
|
196
196
|
attribute :name, :string
|
|
197
|
-
attribute :idref,
|
|
197
|
+
attribute :idref, ::Xmi::Type::XmiIdRef
|
|
198
198
|
attribute :source, Source
|
|
199
199
|
attribute :target, Target
|
|
200
200
|
attribute :model, Model
|
data/lib/xmi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xmi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|