wolf_core 0.1.56 → 0.1.58
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8fc6b6fb1daf40963791e4257de35f151fa8be03ead5ffbb3396546cee83652
|
4
|
+
data.tar.gz: 69f9b762108e301a829c1ff620a7e0392be793e0f217639a219acd91aa30000b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcdc4d731e939f5e271fa91fe71cd568d255c087bdbf4aaeff32c919acadb0c73a8249685ba7016f1f0b1c7acafe62e72176b10abfb0376799290a2cc0108ea0
|
7
|
+
data.tar.gz: c708f23ed50b5be10e16cb8ea0cbac7ea70f34e0e30055b8aa36c65f7098941b5e1978c027823931b1d1712f170f1eb3cd83e047e8e88869ce8c3385e9a88a65
|
@@ -12,6 +12,8 @@ module WolfCore
|
|
12
12
|
'barton/import/order_description' => 'BartonImportOrderDescription',
|
13
13
|
'barton/import/order_application' => 'BartonImportOrderApplication',
|
14
14
|
'barton/export/order_application' => 'BartonExportOrderApplication',
|
15
|
+
'barton/import/contract' => 'BartonImportContract',
|
16
|
+
'barton/export/contract' => 'BartonExportContract',
|
15
17
|
}
|
16
18
|
|
17
19
|
def route_event_request(path:, body:)
|
@@ -47,12 +47,12 @@ module WolfCore
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def find_or_create_foreign_key(tenant:, source:, source_id:, destination:, destination_id:)
|
50
|
-
|
50
|
+
found_destination_id = get_foreign_key_destination_id(
|
51
51
|
tenant: tenant, source: source, source_id: source_id,
|
52
52
|
destination: destination
|
53
53
|
)
|
54
|
-
log_object "find_or_create_foreign_key
|
55
|
-
return Result.success(data: { operation: :find }) if
|
54
|
+
log_object "find_or_create_foreign_key found_destination_id is #{found_destination_id}"
|
55
|
+
return Result.success(data: { operation: :find }) if found_destination_id.present?
|
56
56
|
create_foreign_key(
|
57
57
|
tenant: tenant, source: source, source_id: source_id,
|
58
58
|
destination: destination, destination_id: destination_id
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|