lutaml-model 0.3.3 → 0.3.5

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: c1c49d91f74f3454b6a0e2aaf34bfef142630fa77e98a509535b53b156f603e7
4
- data.tar.gz: 12880e7b701bf68c2a77efad6148daeac040a1956f1f1e1a0d790657c79f346c
3
+ metadata.gz: 55348c33e2e23ce7c53c33e588621b8e73df49c5ca4e82e70c8216ad8f0cc6ab
4
+ data.tar.gz: dd39d10a7f036596de8bce7f154197d446d065c76deee5a0b334522b8bbfdcea
5
5
  SHA512:
6
- metadata.gz: '08020dbbadaea322601ce9c0536cf3a49aeaa44679d8caf278995d0f7b1c41ba12761897db7f54390bb1288c84ccedc6a0a45bee980926fecca18927a17c8de7'
7
- data.tar.gz: 363806235f0d4308f127d84590d1b2d2bf2af5adafd27974fa6a8600f5e67afac6efc27f3ee810eea95265d6764b6f4538672f18c5c9a3e243c31f236595fe21
6
+ metadata.gz: 46d78508e5cd397bf19c79c4dfba9bb49835945ae6ae83744588bc134c7809988716ea83c2f83485efdf50bf4a31e8be4daafbf6ada78a22dbfa90e14def72ba
7
+ data.tar.gz: 05005dc4d4e6309913e706f38bf925c0ac77533728b34b89f8a69c901ea728d53bddf163e377ec7638be145ebf7bf7eb77f2d3c3ff078d7e7feb9ad6e52ff14f
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2024-08-16 03:28:27 UTC using RuboCop version 1.65.1.
3
+ # on 2024-08-17 14:46:05 UTC using RuboCop version 1.64.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
@@ -14,60 +14,79 @@ Gemspec/RequireMFA:
14
14
  Exclude:
15
15
  - 'lutaml-model.gemspec'
16
16
 
17
- # Offense count: 32
17
+ # Offense count: 77
18
18
  # This cop supports safe autocorrection (--autocorrect).
19
19
  # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
20
20
  # URISchemes: http, https
21
21
  Layout/LineLength:
22
22
  Exclude:
23
+ - 'lib/lutaml/model/cli.rb'
24
+ - 'lib/lutaml/model/comparable_model.rb'
23
25
  - 'lib/lutaml/model/serialize.rb'
24
26
  - 'lib/lutaml/model/type.rb'
25
27
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
26
28
  - 'lib/lutaml/model/xml_adapter/ox_adapter.rb'
27
29
  - 'lib/lutaml/model/xml_adapter/xml_document.rb'
30
+ - 'spec/lutaml/model/comparable_model_spec.rb'
28
31
  - 'spec/lutaml/model/delegation_spec.rb'
32
+ - 'spec/lutaml/model/schema/json_schema_spec.rb'
29
33
  - 'spec/lutaml/model/serializable_spec.rb'
30
34
 
31
- # Offense count: 20
35
+ # Offense count: 4
36
+ # Configuration parameters: AllowedMethods.
37
+ # AllowedMethods: enums
38
+ Lint/ConstantDefinitionInBlock:
39
+ Exclude:
40
+ - 'spec/lutaml/model/schema/json_schema_spec.rb'
41
+ - 'spec/lutaml/model/schema/relaxng_schema_spec.rb'
42
+ - 'spec/lutaml/model/schema/xsd_schema_spec.rb'
43
+ - 'spec/lutaml/model/schema/yaml_schema_spec.rb'
44
+
45
+ # Offense count: 31
32
46
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
33
47
  Metrics/AbcSize:
34
48
  Exclude:
49
+ - 'lib/lutaml/model/comparable_model.rb'
50
+ - 'lib/lutaml/model/schema/relaxng_schema.rb'
51
+ - 'lib/lutaml/model/schema/xsd_schema.rb'
35
52
  - 'lib/lutaml/model/serialize.rb'
36
53
  - 'lib/lutaml/model/type.rb'
37
54
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
38
55
  - 'lib/lutaml/model/xml_adapter/ox_adapter.rb'
39
56
  - 'lib/lutaml/model/xml_adapter/xml_document.rb'
40
57
 
41
- # Offense count: 3
58
+ # Offense count: 4
42
59
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
43
60
  # AllowedMethods: refine
44
61
  Metrics/BlockLength:
45
- Max: 30
62
+ Max: 31
46
63
 
47
- # Offense count: 19
64
+ # Offense count: 23
48
65
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
49
66
  Metrics/CyclomaticComplexity:
50
67
  Exclude:
68
+ - 'lib/lutaml/model/comparable_model.rb'
51
69
  - 'lib/lutaml/model/serialize.rb'
52
70
  - 'lib/lutaml/model/type.rb'
53
71
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
54
72
  - 'lib/lutaml/model/xml_adapter/ox_adapter.rb'
55
73
  - 'lib/lutaml/model/xml_adapter/xml_document.rb'
56
74
 
57
- # Offense count: 27
75
+ # Offense count: 38
58
76
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
59
77
  Metrics/MethodLength:
60
- Max: 41
78
+ Max: 52
61
79
 
62
80
  # Offense count: 4
63
81
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
64
82
  Metrics/ParameterLists:
65
83
  Max: 9
66
84
 
67
- # Offense count: 17
85
+ # Offense count: 20
68
86
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
69
87
  Metrics/PerceivedComplexity:
70
88
  Exclude:
89
+ - 'lib/lutaml/model/comparable_model.rb'
71
90
  - 'lib/lutaml/model/serialize.rb'
72
91
  - 'lib/lutaml/model/type.rb'
73
92
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
@@ -83,10 +102,10 @@ RSpec/ContextWording:
83
102
  - 'spec/lutaml/model/xml_adapter/oga_adapter_spec.rb'
84
103
  - 'spec/lutaml/model/xml_adapter/ox_adapter_spec.rb'
85
104
 
86
- # Offense count: 64
105
+ # Offense count: 72
87
106
  # Configuration parameters: CountAsOne.
88
107
  RSpec/ExampleLength:
89
- Max: 35
108
+ Max: 57
90
109
 
91
110
  # Offense count: 2
92
111
  # Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
@@ -94,6 +113,14 @@ RSpec/IndexedLet:
94
113
  Exclude:
95
114
  - 'spec/address_spec.rb'
96
115
 
116
+ # Offense count: 12
117
+ RSpec/LeakyConstantDeclaration:
118
+ Exclude:
119
+ - 'spec/lutaml/model/schema/json_schema_spec.rb'
120
+ - 'spec/lutaml/model/schema/relaxng_schema_spec.rb'
121
+ - 'spec/lutaml/model/schema/xsd_schema_spec.rb'
122
+ - 'spec/lutaml/model/schema/yaml_schema_spec.rb'
123
+
97
124
  # Offense count: 4
98
125
  RSpec/MultipleDescribes:
99
126
  Exclude:
@@ -102,7 +129,7 @@ RSpec/MultipleDescribes:
102
129
  - 'spec/lutaml/model/xml_adapter/xml_namespace_spec.rb'
103
130
  - 'spec/lutaml/model/xml_adapter_spec.rb'
104
131
 
105
- # Offense count: 63
132
+ # Offense count: 70
106
133
  RSpec/MultipleExpectations:
107
134
  Max: 15
108
135
 
@@ -125,3 +152,15 @@ RSpec/SpecFilePathFormat:
125
152
  Exclude:
126
153
  - '**/spec/routing/**/*'
127
154
  - 'spec/lutaml/model/collection_spec.rb'
155
+
156
+ # Offense count: 1
157
+ Security/CompoundHash:
158
+ Exclude:
159
+ - 'lib/lutaml/model/comparable_model.rb'
160
+
161
+ # Offense count: 1
162
+ # Configuration parameters: AllowedMethods.
163
+ # AllowedMethods: respond_to_missing?
164
+ Style/OptionalBooleanParameter:
165
+ Exclude:
166
+ - 'lib/lutaml/model/comparable_model.rb'