ledger_sync-domains 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/ledger_sync/domains/serializer/struct.rb +7 -3
- data/lib/ledger_sync/domains/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: 5265bf9fa4013d199f6b6c3d0a598badb5b7e6fd82a6c4ae33ddc59871ba092a
|
4
|
+
data.tar.gz: ba7d0a065d695fe4b4a15272f468d69412b30e73a1ef01c7c19abb53dd00c05a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ecc62ebb4abfd8eb5ca354a80467657a87eee2e306bd54b05ff84572630583ccb78e7f0365c33d36701da4e790b5bcf794f50fcb784472a3444174d9a2fecb5
|
7
|
+
data.tar.gz: 988c7af469fa5dce665c0258eea9eb21f5f2364f8e8950c52873fb5251da3b938a256d6831ba266251308520ec33523adb47a38e14f49171748aa706638dbf6f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -53,9 +53,13 @@ module LedgerSync
|
|
53
53
|
class_name = name.pop.gsub(/[^0-9a-z ]/i, '').gsub(/.*\KSerializer/, '')
|
54
54
|
struct_name = "#{class_name}Struct"
|
55
55
|
module_name = name.empty? ? Object : Object.const_get(name.join('::'))
|
56
|
-
|
57
|
-
|
58
|
-
|
56
|
+
begin
|
57
|
+
v, $VERBOSE = $VERBOSE, v
|
58
|
+
# module_name.remove_const(struct_name) if module_name.const_defined?(struct_name)
|
59
|
+
module_name.const_set(struct_name, Class.new(OpenStruct))
|
60
|
+
ensure
|
61
|
+
$VERBOSE = v
|
62
|
+
end
|
59
63
|
klass.with_lazy_references(
|
60
64
|
hash,
|
61
65
|
struct_class: module_name.const_get(struct_name),
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ledger_sync-domains
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jozef Vaclavik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ledger_sync
|