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: b0a3d72289b836538ae4ec5e7a28de76b5b8b8b0fad27b5b2f959443739b3dad
4
- data.tar.gz: c9bb15110f0f6339416f1db4b65c5dd7291ff776a00ee88cbeef5404c44e1897
3
+ metadata.gz: c8fc6b6fb1daf40963791e4257de35f151fa8be03ead5ffbb3396546cee83652
4
+ data.tar.gz: 69f9b762108e301a829c1ff620a7e0392be793e0f217639a219acd91aa30000b
5
5
  SHA512:
6
- metadata.gz: d9fba305f1a4968e95007afe07e8e135bdcc3e76a8cfd675f2306fc4617f11b9d196f638e1840bade803bf5e8108684b8424bfc84cdaeebc90ec3402f19a329d
7
- data.tar.gz: '01392357aa30ac0045008551a0770ab0ee9747621deb4d6649819158aba901b90141ab97d973f92141055d98899abf6ed68855e6f999f46a34ba1053d69dab2d'
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
- destination_id = get_foreign_key_destination_id(
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 destination_id is #{destination_id}"
55
- return Result.success(data: { operation: :find }) if destination_id.present?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.56"
4
+ VERSION = "0.1.58"
5
5
  end
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.56
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-06 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty