ledger_sync-domains 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/lib/ledger_sync/domains/operation.rb +3 -2
- 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: 14d7f7a6ce94ba69c8e10a5aba3719bce8c2789fc9fdd9fdc599884a3391a32f
|
4
|
+
data.tar.gz: c5b7a3caee8948c730e0afe84eef573f686c0b6b4ca6efc5330a7893e8fdac61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c99ee3e2b9d0260aecda2f27663fb61c469957530d73813185c06d6bf0e2fa44941e07924a41f2a8b55697ae58580a1867f0ed289ed630ae0e0f1d202abe534
|
7
|
+
data.tar.gz: d933fa1ab6c3876a16890b93c7e33ff0eacbbfd08d219ac5bae93a368fc7d7317a9fc7bc9bfd47f2e0d3d79af3f2f92f3841ab1828557c239b3278c2dcc16603
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ledger_sync-domains (1.1.
|
4
|
+
ledger_sync-domains (1.1.4)
|
5
5
|
ledger_sync (~> 2.3.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -20,7 +20,7 @@ GEM
|
|
20
20
|
concurrent-ruby (1.1.9)
|
21
21
|
diff-lcs (1.4.4)
|
22
22
|
dotenv (2.7.6)
|
23
|
-
dry-configurable (0.
|
23
|
+
dry-configurable (0.15.0)
|
24
24
|
concurrent-ruby (~> 1.0)
|
25
25
|
dry-core (~> 0.6)
|
26
26
|
dry-container (0.9.0)
|
@@ -103,7 +103,7 @@ GEM
|
|
103
103
|
simply_serializable (>= 1.5.1)
|
104
104
|
minitest (5.15.0)
|
105
105
|
multipart-post (2.1.1)
|
106
|
-
nokogiri (1.13.
|
106
|
+
nokogiri (1.13.6-x86_64-linux)
|
107
107
|
racc (~> 1.4)
|
108
108
|
openssl (2.2.1)
|
109
109
|
ipaddr
|
@@ -60,8 +60,9 @@ module LedgerSync
|
|
60
60
|
|
61
61
|
attr_reader :params, :result
|
62
62
|
|
63
|
-
def initialize(domain:, **params)
|
63
|
+
def initialize(domain:, serializer: nil, **params)
|
64
64
|
@domain = domain
|
65
|
+
@serializer = serializer
|
65
66
|
@params = params
|
66
67
|
@result = nil
|
67
68
|
end
|
@@ -112,7 +113,7 @@ module LedgerSync
|
|
112
113
|
end
|
113
114
|
|
114
115
|
def serializer_for(resource:)
|
115
|
-
serializer_class_for(resource: resource).new
|
116
|
+
@serializer || serializer_class_for(resource: resource).new
|
116
117
|
end
|
117
118
|
|
118
119
|
def serializer_class_for(resource:)
|
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.4
|
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-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ledger_sync
|