wolf_core 0.2.1 → 0.2.2
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: 25d89c3a8737d9499b4447c06589393dea5ab143eb34c0e7590ec5bf3d0fa9e4
|
4
|
+
data.tar.gz: 351c09422199fac40c791a2e5b67cb3a9313e522786743e57b241127a33d0b1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 380d68d53a9acfeafe6da17f988da627c3386bbb8a401d93046601ea64cf677818cfa6eb61512a158a2baf8eb585954c041aa030695c773e5f1b62ee7ecfb5d5
|
7
|
+
data.tar.gz: dca7237f623f957f7e6400de442376e07830aa5fd450532c9aa4bc5eb6c92a5b08e57dab2f17a7e5157b172be248b571fd2177b20bd5293d04df984fa56e3cde
|
@@ -62,13 +62,20 @@ module WolfCore
|
|
62
62
|
reference_form_custom_requirement_ids:,
|
63
63
|
disclosure_form_custom_requirement_ids:
|
64
64
|
)
|
65
|
+
log_object jobseeker_file_custom_requirement_ids, title: 'group_custom_values_by_custom_requirement_group jobseeker_file_custom_requirement_ids are'
|
66
|
+
log_object reference_form_custom_requirement_ids, title: 'group_custom_values_by_custom_requirement_group reference_form_custom_requirement_ids are'
|
67
|
+
log_object disclosure_form_custom_requirement_ids, title: 'group_custom_values_by_custom_requirement_group disclosure_form_custom_requirement_ids are'
|
65
68
|
payload = get_payload(params: params)
|
69
|
+
log_object payload, title: 'group_custom_values_by_custom_requirement_group payload is'
|
66
70
|
custom_values = payload.dig('changes', 'custom_values')
|
71
|
+
log_object custom_values, title: 'group_custom_values_by_custom_requirement_group custom_values 1 are'
|
67
72
|
if custom_values.blank?
|
68
73
|
custom_values = [ payload['attributes'] ]
|
74
|
+
log_object custom_values, title: 'group_custom_values_by_custom_requirement_group custom_values 2 are'
|
69
75
|
end
|
70
76
|
|
71
77
|
custom_values.group_by do |custom_value|
|
78
|
+
log_object custom_value, title: 'group_custom_values_by_custom_requirement_group custom_value is'
|
72
79
|
custom_requirement_group = if jobseeker_file_custom_requirement_ids.include?(custom_value['custom_requirement_id'])
|
73
80
|
'jobseeker_file'
|
74
81
|
elsif reference_form_custom_requirement_ids.include?(custom_value['custom_requirement_id'])
|
data/lib/wolf_core/version.rb
CHANGED