wolf_core 0.1.62 → 0.1.64

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: 853e6d2ff17b08176755e0369ab146f3935ef2a77f11bd123bf65018a4591cd8
4
- data.tar.gz: 85f22572ca89535a3ad09fcee391bf10cbbc23c66cb94adc6ab97c39636a72c8
3
+ metadata.gz: 3425c723ebf4313a3b8447441c1d6628959860b2d7fb52711405e29fb6f9b392
4
+ data.tar.gz: c7da4afbb6e20e359aa94b15ef2d5a605e89a55f33d053588d0cc7971e5fa712
5
5
  SHA512:
6
- metadata.gz: b83678cbc64b36f000e8f20ffccce69735ca0d16cc1836f9c292a2ae13a7539d9c09452b6f98aba773dcf5bd31e5a5bddcdd15b31f37dbb527084e0805324306
7
- data.tar.gz: acc23d398c33403eec19a06b5f3c6fbd4d04f551b227c58a78f85d6d8e85a0d67d30e4befa9902a0f23e34a3183ec0b08fbb8ca4644e8eddb67e000b1cc2f73f
6
+ metadata.gz: 15733af5d621220bb169dab5a89f796f31fbaf967b94d14879e112e56398dceb0108eedb604a1f7cc5c100d41acbbc6f801d3174ee549735a43491d964746725
7
+ data.tar.gz: 8fa76bc6faad234e3977614f313fb95ee83f0ebc9836b454ca98c2dd3965be84799a67836a046bd376e3102ab247da016332631744101f66eca9669befd4c417
@@ -16,6 +16,7 @@ module WolfCore
16
16
  'barton/import/contract' => 'BartonImportContract',
17
17
  'barton/export/contract' => 'BartonExportContract',
18
18
  'barton/export/jobseeker/file' => 'BartonExportJobseekerFile',
19
+ 'barton/import/jobseeker/file' => 'BartonImportJobseekerFile',
19
20
  }
20
21
 
21
22
  def route_event_request(path:, body:)
@@ -31,11 +31,11 @@ module WolfCore
31
31
  end
32
32
 
33
33
  def create_foreign_key(tenant:, source:, source_id:, destination:, destination_id:)
34
- raise_service_error('tenant is required to create a foreign key') if tenant.blank?
35
- raise_service_error('source is required to create a foreign key') if source.blank?
36
- raise_service_error('source_id is required to create a foreign key') if source_id.blank?
37
- raise_service_error('destination is required to create a foreign key') if destination.blank?
38
- raise_service_error('destination_id is required to create a foreign key') if destination_id.blank?
34
+ raise_service_error({ message: 'tenant is required to create a foreign key', tenant: tenant }) if tenant.blank?
35
+ raise_service_error({ message: 'source is required to create a foreign key', source: source }) if source.blank?
36
+ raise_service_error({ message: 'source_id is required to create a foreign key', source_id: source_id }) if source_id.blank?
37
+ raise_service_error({ message: 'destination is required to create a foreign key', destination: destination }) if destination.blank?
38
+ raise_service_error({ message: 'destination_id is required to create a foreign key', destination_id: destination_id }) if destination_id.blank?
39
39
  response = http_post(
40
40
  url: "#{ENV['FKM_URL']}/Prod/create",
41
41
  body: {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.62"
4
+ VERSION = "0.1.64"
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.62
4
+ version: 0.1.64
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-09 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty