wolf_core 0.1.62 → 0.1.63

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: 0f2de1bf2a650decfa3c55f27a6b09aa19960875f5efd4924f97f2f86e9cb5fe
4
+ data.tar.gz: 8f27d4d7e8032b73c0955277fa69a31616dcecdacfbda4984ef939192a4897b9
5
5
  SHA512:
6
- metadata.gz: b83678cbc64b36f000e8f20ffccce69735ca0d16cc1836f9c292a2ae13a7539d9c09452b6f98aba773dcf5bd31e5a5bddcdd15b31f37dbb527084e0805324306
7
- data.tar.gz: acc23d398c33403eec19a06b5f3c6fbd4d04f551b227c58a78f85d6d8e85a0d67d30e4befa9902a0f23e34a3183ec0b08fbb8ca4644e8eddb67e000b1cc2f73f
6
+ metadata.gz: dd4b9c7011a51b052c178f733d4dc7984a28d7bf116037de4a52059ff1fa9401c6cee030849aa30dc351f3f988fc827534e9ee8d6e1f735346ded4c629a37d68
7
+ data.tar.gz: bd00aa024dd26f82d6d5b0f48e6711835b78c1aa3185bff30641852a2aadb40684f02dc2f182a8ea57401fbfbc7111d7123d58043b4ef1aecbdbe3f54ae04ca3
@@ -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.63"
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.63
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-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty