wolf_core 0.1.55 → 0.1.57

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: 48532e0cfdbb987a01b4943203d222d1f5842a0f28fb0510938207352a8a9a19
4
- data.tar.gz: b219964a898a9b5919ff19a195b14809ac1473adb0458a5070c6d272b7bae152
3
+ metadata.gz: 736dd572a5f6ff7d684f7d652155b164a01053c4e0f57e507293a85f5d7bcc94
4
+ data.tar.gz: 2f9c1fb31258f397dbfb5640ae536b1dcc84a9a29aff80935c061485839ec8e0
5
5
  SHA512:
6
- metadata.gz: 83cd778995c9d06d3e2bb50b9c55058395e38951fe61514d2fc4eaa4cc9d43a958d307a5f83cd6dfa241158dceeb1544358bcc82b2c6ee104a32719c206d7c37
7
- data.tar.gz: cef734e98e6bbf343ffbd908d771d65ed74a2a60c8cce67b0e1e056852f5cc7abdd33a2afc4468da9fb2b3065b647c79388f1387300426935bfe9ae5483c0edd
6
+ metadata.gz: 88c042b4b9e69154a8e0acce57fe484001ab87b97e39490dc7c923b54cea6a6e7c97cb2e360e407a9b9cf39039ad6b1619ab48be51ddcbdb58f56868dd594d3c
7
+ data.tar.gz: a22b02e2acff59cdfe1b6e61bcc7ca7182fafb7a629ebcf38007c3fa759f087fbb8bfc234faba7343ab018bf39e1cd04aec437027e272ee9f2481fb6b77019d9
@@ -35,6 +35,7 @@ module WolfCore
35
35
  'On Hold' => 'wait',
36
36
  'Offer' => 'wait',
37
37
  'Applied Online' => 'wait',
38
+ 'Declined Online' => 'declined',
38
39
  'Withdraw' => 'declined',
39
40
  'Reject' => 'rejected',
40
41
  }
@@ -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.55"
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.55
4
+ version: 0.1.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo