wolf_core 0.1.56 → 0.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0a3d72289b836538ae4ec5e7a28de76b5b8b8b0fad27b5b2f959443739b3dad
4
- data.tar.gz: c9bb15110f0f6339416f1db4b65c5dd7291ff776a00ee88cbeef5404c44e1897
3
+ metadata.gz: 736dd572a5f6ff7d684f7d652155b164a01053c4e0f57e507293a85f5d7bcc94
4
+ data.tar.gz: 2f9c1fb31258f397dbfb5640ae536b1dcc84a9a29aff80935c061485839ec8e0
5
5
  SHA512:
6
- metadata.gz: d9fba305f1a4968e95007afe07e8e135bdcc3e76a8cfd675f2306fc4617f11b9d196f638e1840bade803bf5e8108684b8424bfc84cdaeebc90ec3402f19a329d
7
- data.tar.gz: '01392357aa30ac0045008551a0770ab0ee9747621deb4d6649819158aba901b90141ab97d973f92141055d98899abf6ed68855e6f999f46a34ba1053d69dab2d'
6
+ metadata.gz: 88c042b4b9e69154a8e0acce57fe484001ab87b97e39490dc7c923b54cea6a6e7c97cb2e360e407a9b9cf39039ad6b1619ab48be51ddcbdb58f56868dd594d3c
7
+ data.tar.gz: a22b02e2acff59cdfe1b6e61bcc7ca7182fafb7a629ebcf38007c3fa759f087fbb8bfc234faba7343ab018bf39e1cd04aec437027e272ee9f2481fb6b77019d9
@@ -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.57"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo