lutaml-model 0.3.2 → 0.3.4

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: f9a3608f755616317667038ebd8f71368c23dcf935a7b07ad33d8efd1fa1df23
4
- data.tar.gz: 9a69a3a03c401fa4a0eff423315dc979e4f5b87c28b28bf4b4d10b7f118b6a77
3
+ metadata.gz: d80c5eb43638cf5d690c6c59db2fba76ddb8e2fc7252117a3c7933bc566b2607
4
+ data.tar.gz: d75c694c330c017500dcceb604aaa889633dadb53c7766a4b6310ee3aef1725e
5
5
  SHA512:
6
- metadata.gz: 612d55df7ef46e1266b6d6e2fa4a6e451862252895a8f8b66b0a1f42bb96d289fc28c160ee1e2d609bc4ebc4ce8db00d14a1fca3061e8465a2f867403f5672b0
7
- data.tar.gz: 20235f85e8719fceb5a048dfcebf9f80e0a1c3c2d3bc2f6779fd0e1480d77c989adcc1bdedc661e440dbd861e7cf04682321626693281ac9c21920d45310f6b6
6
+ metadata.gz: fc9ed09d01c0c19b4038af7de38c3c458f7c200f7b5ae509f4e4cfc2d3abe116ad862168b7d2ffef16e0d5205c67b3a54226b8b826f9859a72ec5d32da00545e
7
+ data.tar.gz: b4b8348522112cce9236dc7989f30b42df22ac04d6a7459b2fff6ad6c6dc7018d4bd88e97ec9f83ab8b2dcf6d92938d18fcdc882914240d3d53fb16e0ba116d3
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-15 09:04:06 UTC using RuboCop version 1.65.1.
3
+ # on 2024-08-16 11:07:41 UTC using RuboCop version 1.65.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,23 +14,41 @@ Gemspec/RequireMFA:
14
14
  Exclude:
15
15
  - 'lutaml-model.gemspec'
16
16
 
17
- # Offense count: 28
17
+ # Offense count: 76
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'
33
+ - 'spec/lutaml/model/serializable_spec.rb'
29
34
 
30
- # 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
31
46
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
32
47
  Metrics/AbcSize:
33
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'
34
52
  - 'lib/lutaml/model/serialize.rb'
35
53
  - 'lib/lutaml/model/type.rb'
36
54
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
@@ -43,17 +61,18 @@ Metrics/AbcSize:
43
61
  Metrics/BlockLength:
44
62
  Max: 30
45
63
 
46
- # Offense count: 19
64
+ # Offense count: 23
47
65
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
48
66
  Metrics/CyclomaticComplexity:
49
67
  Exclude:
68
+ - 'lib/lutaml/model/comparable_model.rb'
50
69
  - 'lib/lutaml/model/serialize.rb'
51
70
  - 'lib/lutaml/model/type.rb'
52
71
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
53
72
  - 'lib/lutaml/model/xml_adapter/ox_adapter.rb'
54
73
  - 'lib/lutaml/model/xml_adapter/xml_document.rb'
55
74
 
56
- # Offense count: 27
75
+ # Offense count: 38
57
76
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
58
77
  Metrics/MethodLength:
59
78
  Max: 41
@@ -63,10 +82,11 @@ Metrics/MethodLength:
63
82
  Metrics/ParameterLists:
64
83
  Max: 9
65
84
 
66
- # Offense count: 17
85
+ # Offense count: 20
67
86
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
68
87
  Metrics/PerceivedComplexity:
69
88
  Exclude:
89
+ - 'lib/lutaml/model/comparable_model.rb'
70
90
  - 'lib/lutaml/model/serialize.rb'
71
91
  - 'lib/lutaml/model/type.rb'
72
92
  - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb'
@@ -82,10 +102,10 @@ RSpec/ContextWording:
82
102
  - 'spec/lutaml/model/xml_adapter/oga_adapter_spec.rb'
83
103
  - 'spec/lutaml/model/xml_adapter/ox_adapter_spec.rb'
84
104
 
85
- # Offense count: 63
105
+ # Offense count: 70
86
106
  # Configuration parameters: CountAsOne.
87
107
  RSpec/ExampleLength:
88
- Max: 35
108
+ Max: 57
89
109
 
90
110
  # Offense count: 2
91
111
  # Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
@@ -93,6 +113,14 @@ RSpec/IndexedLet:
93
113
  Exclude:
94
114
  - 'spec/address_spec.rb'
95
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
+
96
124
  # Offense count: 4
97
125
  RSpec/MultipleDescribes:
98
126
  Exclude:
@@ -101,7 +129,7 @@ RSpec/MultipleDescribes:
101
129
  - 'spec/lutaml/model/xml_adapter/xml_namespace_spec.rb'
102
130
  - 'spec/lutaml/model/xml_adapter_spec.rb'
103
131
 
104
- # Offense count: 63
132
+ # Offense count: 69
105
133
  RSpec/MultipleExpectations:
106
134
  Max: 15
107
135
 
@@ -124,3 +152,15 @@ RSpec/SpecFilePathFormat:
124
152
  Exclude:
125
153
  - '**/spec/routing/**/*'
126
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'