lutaml-model 0.3.23 → 0.3.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +5 -5
- data/lib/lutaml/model/serialize.rb +1 -1
- data/lib/lutaml/model/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: 18b88c11cf49c7a08199273885c202ea29ebc3aa9f470d1bffc177282b1d588b
|
4
|
+
data.tar.gz: 75b4d90ea27a62c55ca6643a80358ab80a0d7636b4c6511ecafa526e0855f294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16d82eb3101b2e22f5d2e9197d3fdea94c787675d489a4a3792e7548f4275c6c926a87cf6a6242ee4672526ba1f0d3eb26c8fd629341240d4a93ab6d614d522f
|
7
|
+
data.tar.gz: 1369a5abd8dd616e28b4a8c5b7db3369634bf37c701c0cca76b20182df922e18e120c754bb486745f7d47df0bff983bdf6cb2e3651713e08aebe5c1eeb87297f
|
data/.rubocop_todo.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2024-11-
|
3
|
+
# on 2024-11-08 07:37:57 UTC using RuboCop version 1.66.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
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
9
|
+
# Offense count: 127
|
10
10
|
# This cop supports safe autocorrection (--autocorrect).
|
11
11
|
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
12
12
|
# URISchemes: http, https
|
@@ -30,7 +30,7 @@ Lint/DuplicateMethods:
|
|
30
30
|
Exclude:
|
31
31
|
- 'lib/lutaml/model/attribute.rb'
|
32
32
|
|
33
|
-
# Offense count:
|
33
|
+
# Offense count: 38
|
34
34
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
35
35
|
Metrics/AbcSize:
|
36
36
|
Exclude:
|
@@ -64,7 +64,7 @@ Metrics/CyclomaticComplexity:
|
|
64
64
|
- 'lib/lutaml/model/xml_adapter/ox_adapter.rb'
|
65
65
|
- 'lib/lutaml/model/xml_adapter/xml_document.rb'
|
66
66
|
|
67
|
-
# Offense count:
|
67
|
+
# Offense count: 50
|
68
68
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
69
69
|
Metrics/MethodLength:
|
70
70
|
Max: 46
|
@@ -124,7 +124,7 @@ RSpec/MultipleDescribes:
|
|
124
124
|
- 'spec/lutaml/model/xml_adapter/xml_namespace_spec.rb'
|
125
125
|
- 'spec/lutaml/model/xml_adapter_spec.rb'
|
126
126
|
|
127
|
-
# Offense count:
|
127
|
+
# Offense count: 123
|
128
128
|
RSpec/MultipleExpectations:
|
129
129
|
Max: 14
|
130
130
|
|
@@ -35,7 +35,7 @@ module Lutaml
|
|
35
35
|
subclass.instance_variable_set(:@attributes,
|
36
36
|
Utils.deep_dup(@attributes))
|
37
37
|
subclass.instance_variable_set(:@mappings, Utils.deep_dup(@mappings))
|
38
|
-
subclass.instance_variable_set(:@model,
|
38
|
+
subclass.instance_variable_set(:@model, subclass)
|
39
39
|
end
|
40
40
|
|
41
41
|
def model(klass = nil)
|
data/lib/lutaml/model/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lutaml-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|