wolf_core 1.0.37 → 1.0.39
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d6aa87196de034e063a6e71ab133e07c0c4beddce023d22e928f6258d46175a
|
4
|
+
data.tar.gz: d9170463e261a59d8d6b3f738795d45e39bb6e9df17e2fa084bc17ae4bea96cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a81b5f79b5523277dde12b3d82e503fed8128edaf873edd7cb8549e5df67c034319e3ddd6353501e3cd6b4834d4775c2d863a4c537de355051c5a7d02f9708
|
7
|
+
data.tar.gz: c66b13fef54ae991629058c5b4b1b72fa1aadd8716a4dbf2943738cedea5302196efc87ac9a75e0f67764b4fcd045d48ced33c0fe3ee0c268b974f7c3ba3b50c
|
@@ -26,6 +26,7 @@ module WolfCore
|
|
26
26
|
'barton/import/reference' => 'BartonImportReference',
|
27
27
|
'barton/export/disclosure' => 'BartonExportDisclosure',
|
28
28
|
'barton/import/disclosure' => 'BartonImportDisclosure',
|
29
|
+
'barton/export/jobseeker_order_applications' => 'BartonExportJobseekerOrderApplications',
|
29
30
|
}
|
30
31
|
|
31
32
|
def route_event_request(path:, body:)
|
@@ -45,11 +45,16 @@ module WolfCore
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
def build_body_from_params(params:, id_key:)
|
49
|
-
{
|
48
|
+
def build_body_from_params(params:, id_key:, include_changes: false)
|
49
|
+
body = {
|
50
50
|
event_name: get_event_name(params: params),
|
51
51
|
id_key => get_object_id(params: params)
|
52
52
|
}
|
53
|
+
if include_changes
|
54
|
+
payload = get_payload(params: params)
|
55
|
+
body[:changes] = payload&.dig('changes')
|
56
|
+
end
|
57
|
+
body
|
53
58
|
end
|
54
59
|
|
55
60
|
def get_object_id(params:)
|
data/lib/wolf_core/version.rb
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.39
|
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-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|