stackone_migration 1.4.6 → 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54502eb2343658c7853369b1629be75f8020d32f9287192037d60f657577f2ef
|
4
|
+
data.tar.gz: c3594fe6cfe8ef43a49f195e748cacf02f3313271fa1606bad87a96e18a79c16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ac0788a52ae2968b3380f661a20962ae2338ac8bc3bb47d3922d917f4b2963a57ed664aec7039a4b292c0f500e72b354a70a7620a510a8405f81c6fb3d7b87
|
7
|
+
data.tar.gz: 072eef5853bd9ad549a4884b81e5ff6c69fafcdc831afc234fd94cc202299a77935ce806e032dd4811207731fc830782710ebb84055cd2e838e827a39c1ce779
|
data/Gemfile.lock
CHANGED
@@ -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 =>
|
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),
|
@@ -144,7 +144,7 @@ module StackOneMigration
|
|
144
144
|
:pay_frequency => build_merge_enum(MergeHRISClient::PayFrequencyEnum, pay_frequency_enum_hash, employment.pay_frequency),
|
145
145
|
:pay_currency => MergeHRISClient::PayCurrencyEnum.build_from_hash(employment.pay_currency&.to_s&.upcase),
|
146
146
|
:effective_date => employment.effective_date,
|
147
|
-
:employment_type =>
|
147
|
+
:employment_type => MergeHRISClient::EmploymentTypeEnum.build_from_hash(map_enum(employment_type_enum_hash, employment.employment_type)),
|
148
148
|
)
|
149
149
|
end
|
150
150
|
|
@@ -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 => '
|
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
|
@@ -333,7 +333,7 @@ describe StackOneMigration::EmployeesMapper do
|
|
333
333
|
expect(target_model.pay_frequency).to have_attributes(:value => 'WEEKLY', :raw_value => 'Weekly')
|
334
334
|
expect(target_model.pay_currency).to have_attributes(:value => 'USD', :raw_value => 'USD')
|
335
335
|
expect(target_model.effective_date).to eq('2018-01-01')
|
336
|
-
expect(target_model.employment_type).to
|
336
|
+
expect(target_model.employment_type).to have_attributes(:value => 'FULL_TIME', :raw_value => 'FULL_TIME')
|
337
337
|
end
|
338
338
|
end
|
339
339
|
|
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.
|
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-
|
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
|