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: 5a1f0b2966c7b61301a3801b584e0c47c30d33dc41da57544a9d0ae62b40d352
4
- data.tar.gz: 4983824766da8cf8322d6ca4f4f16e16683cc829718e4ef6a21d973ab2520c5e
3
+ metadata.gz: 25d89c3a8737d9499b4447c06589393dea5ab143eb34c0e7590ec5bf3d0fa9e4
4
+ data.tar.gz: 351c09422199fac40c791a2e5b67cb3a9313e522786743e57b241127a33d0b1d
5
5
  SHA512:
6
- metadata.gz: c766631f0310e07308c84719fc7963e79d37e4cef422fb5f1f0ba62d346f4c8c4d011abe7dfcd87d243c84e2bb27b0bf27fbeb7afdbac11477466270d258ae4b
7
- data.tar.gz: bcb84ab0f42910f4af5fd3ab074009db17385e12db30a3079f225ad001b556d6584c2d0d998125401a4286c0ffb0bd6e3ca18fc73811da3e5c4e0881c2a2d0ae
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'])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo