wolf_core 0.1.53 → 0.1.55

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: 5487c6de5b36f93d77a7f9af4ac1ac1c67aa17b6e11710daeed65af67d914ac0
4
- data.tar.gz: 32d8b5ffc27e13041352ff520e3b59f9989474db5ae421844fc0c42a66386dc5
3
+ metadata.gz: 48532e0cfdbb987a01b4943203d222d1f5842a0f28fb0510938207352a8a9a19
4
+ data.tar.gz: b219964a898a9b5919ff19a195b14809ac1473adb0458a5070c6d272b7bae152
5
5
  SHA512:
6
- metadata.gz: 7eb3894ccd6ce53137406f74f91c4363f4454629b474e87bbf6658c8835e1ebdec72ed4cf6350d3884e5508718fcc9b9ab80db109d8b27b89c184fa006b76d50
7
- data.tar.gz: 845052a08227f95d3b7094a06b81e59b9197978957d126be8b4b2341667842be85002422b579d67ffb3bfc29a1967814cee2c623d515fdf34b740188c0fc77ba
6
+ metadata.gz: 83cd778995c9d06d3e2bb50b9c55058395e38951fe61514d2fc4eaa4cc9d43a958d307a5f83cd6dfa241158dceeb1544358bcc82b2c6ee104a32719c206d7c37
7
+ data.tar.gz: cef734e98e6bbf343ffbd908d771d65ed74a2a60c8cce67b0e1e056852f5cc7abdd33a2afc4468da9fb2b3065b647c79388f1387300426935bfe9ae5483c0edd
@@ -34,6 +34,7 @@ module WolfCore
34
34
  'Send Out' => 'wait',
35
35
  'On Hold' => 'wait',
36
36
  'Offer' => 'wait',
37
+ 'Applied Online' => 'wait',
37
38
  'Withdraw' => 'declined',
38
39
  'Reject' => 'rejected',
39
40
  }
@@ -14,8 +14,7 @@ module WolfCore
14
14
  url: "#{ENV['FKM_URL']}/Prod/lookup?tenant=#{tenant}&source=#{source}&source_id=#{source_id}"
15
15
  )
16
16
  response = parse_http_response(response)
17
- log_object 'get_foreign_keys response is'
18
- log_object response
17
+ log_object response, title: 'get_foreign_keys response is'
19
18
  validate_http_response(response: response, message: 'Error getting foreign keys')
20
19
  response.body
21
20
  end
@@ -25,8 +24,7 @@ module WolfCore
25
24
  url: "#{ENV['FKM_URL']}/Prod/lookup?tenant=#{tenant}&destination=#{destination}&destination_id=#{destination_id}"
26
25
  )
27
26
  response = parse_http_response(response)
28
- log_object 'get_foreign_keys_by_destination response is'
29
- log_object response
27
+ log_object response, title: 'get_foreign_keys_by_destination response is'
30
28
  validate_http_response(response: response, message: 'Error getting foreign keys by destination id')
31
29
  response.body
32
30
  end
@@ -43,8 +41,7 @@ module WolfCore
43
41
  }
44
42
  )
45
43
  response = parse_http_response(response)
46
- log_object 'create_foreign_key response is'
47
- log_object response
44
+ log_object response, title: 'create_foreign_key response is'
48
45
  validate_http_response(response: response, message: 'Error creating foreign key')
49
46
  parse_http_response(response).body
50
47
  end
@@ -54,6 +51,7 @@ module WolfCore
54
51
  tenant: tenant, source: source, source_id: source_id,
55
52
  destination: destination
56
53
  )
54
+ log_object "find_or_create_foreign_key destination_id is #{destination_id}"
57
55
  return Result.success(data: { operation: :find }) if destination_id.present?
58
56
  create_foreign_key(
59
57
  tenant: tenant, source: source, source_id: source_id,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.53"
4
+ VERSION = "0.1.55"
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.53
4
+ version: 0.1.55
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-04 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty