stackone_migration 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c0945c76c1bc0c9706ec0d165e59e858271f9ce221b75f1185b181bbb6ed085
4
- data.tar.gz: 1f593230c7ca18bee9ee59626d11d4a287566ce8c53dcd2591aea383be7a97cc
3
+ metadata.gz: 54502eb2343658c7853369b1629be75f8020d32f9287192037d60f657577f2ef
4
+ data.tar.gz: c3594fe6cfe8ef43a49f195e748cacf02f3313271fa1606bad87a96e18a79c16
5
5
  SHA512:
6
- metadata.gz: 23c77fee335d6ad96f9edbd94ac3765f4372fa382dd03aed073d15bf83e40cb83355ccd66db76f2d667e5741064f1df510937e15c8293a0b695b9f103a8e2e36
7
- data.tar.gz: 00b94def29fa024f9c51cba4c2ea81924fe65a962c2cd6e5336c8a6ff961997ddac71f257d9f1f741d05903e656fdb1b81a0c23bdf01f3f569877e33adb8ad7d
6
+ metadata.gz: b7ac0788a52ae2968b3380f661a20962ae2338ac8bc3bb47d3922d917f4b2963a57ed664aec7039a4b292c0f500e72b354a70a7620a510a8405f81c6fb3d7b87
7
+ data.tar.gz: 072eef5853bd9ad549a4884b81e5ff6c69fafcdc831afc234fd94cc202299a77935ce806e032dd4811207731fc830782710ebb84055cd2e838e827a39c1ce779
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stackone_migration (1.4.7)
4
+ stackone_migration (1.4.8)
5
5
  merge_hris_client (~> 3.0)
6
6
  stackone_hris_client (~> 1.6.0)
7
7
 
@@ -108,7 +108,7 @@ module StackOneMigration
108
108
  :ethnicity => build_merge_enum(MergeHRISClient::EthnicityEnum, ethnicity_enum_hash, employee.ethnicity),
109
109
  :marital_status => build_merge_enum(MergeHRISClient::MaritalStatusEnum, marital_status_enum_hash, employee.marital_status),
110
110
  :hire_date => employee.hire_date,
111
- :employment_status => build_merge_enum(MergeHRISClient::EmploymentStatusEnum, employment_status_enum_hash, employee.employment_status),
111
+ :employment_status => MergeHRISClient::EmploymentStatusEnum.build_from_hash(map_enum(employment_status_enum_hash, employee.employment_status)),
112
112
  :termination_date => employee.termination_date,
113
113
  :home_location => map_to_location_model(employee.home_location),
114
114
  :work_location => map_to_location_model(employee.work_location),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StackOneMigration
4
- VERSION = '1.4.7'
4
+ VERSION = '1.4.8'
5
5
  end
@@ -133,7 +133,7 @@ describe StackOneMigration::EmployeesMapper do
133
133
  expect(target_model.gender).to have_attributes(:value => 'FEMALE', :raw_value => 'Female')
134
134
  expect(target_model.ethnicity).to have_attributes(:value => 'WHITE', :raw_value => 'White')
135
135
  expect(target_model.marital_status).to have_attributes(:value => 'MARRIED_FILING_JOINTLY', :raw_value => 'Married')
136
- expect(target_model.employment_status).to have_attributes(:value => 'INACTIVE', :raw_value => 'Terminated')
136
+ expect(target_model.employment_status).to have_attributes(:value => 'INACTIVE', :raw_value => 'INACTIVE')
137
137
  end
138
138
 
139
139
  context 'when the employee record has the avatar base64 field instead of url' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-03 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: merge_hris_client