stackone_migration 1.4.2 → 1.4.3

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: d847c0bb8a3646c4fb2f47428321883eaecaa10bf171300292f823e91e105b8e
4
- data.tar.gz: 808f3aac0a165982d78a166bf39e368cab711e419684fd83e0c3dcb0dc264541
3
+ metadata.gz: 12f55eba7877d4d7d35e0001c386bfb990fb341df546ef503e96bacf0ea3f452
4
+ data.tar.gz: 35628efb66506a70f4e812994f83d7ba846ba9f25dc25f9a44db9486dd6c2e6c
5
5
  SHA512:
6
- metadata.gz: 2e5b2dadc6c0fe202af202f29f5013a2d26a93ef054715619419c16442aafb45c9f902ef44ae4249b09c15120283bf1b163d9c54bc3c90402c2dbafbca5ec295
7
- data.tar.gz: aa419a3ec1a10634b2744f3202f0705e860f009213fb0d82c42d3e244e53ff7d2fe4a3aca3b33402d03c22042db9caf4c9eb8878ddda76f5da7e9b461e838bd5
6
+ metadata.gz: fb4b210b5afdd18c2bd965660307ba57e8c1b36affe6d154bd48b68cedfca10bd4f2ace68a7c22fb9a05b7ade2a74badf91e35cec8395fc3833a2620f0f1cc6c
7
+ data.tar.gz: 868f0f74f6ad9070ce8c2ca8634340947271398d9a23f286c0a620a1faa06a37fcae7cda6fcd6679dabad0a4ba321f59f39ff799bf0303f7ade94431f3d6d861
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stackone_migration (1.4.2)
4
+ stackone_migration (1.4.3)
5
5
  merge_hris_client (~> 3.0)
6
6
  stackone_hris_client (~> 1.5.2)
7
7
 
@@ -97,7 +97,7 @@ module StackOneMigration
97
97
  :first_name => employee.first_name,
98
98
  :last_name => employee.last_name,
99
99
  :display_full_name => employee.display_name,
100
- :avatar => employee.avatar&.url || employee.avatar&.base64,
100
+ :avatar => employee.avatar&.url,
101
101
  :personal_email => employee.personal_email,
102
102
  :work_email => employee.work_email,
103
103
  :mobile_phone_number => employee.personal_phone_number || employee.work_phone_number,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StackOneMigration
4
- VERSION = '1.4.2'
4
+ VERSION = '1.4.3'
5
5
  end
@@ -141,10 +141,10 @@ describe StackOneMigration::EmployeesMapper do
141
141
  end
142
142
 
143
143
  context 'when the employee record has the avatar base64 field instead of url' do
144
- it 'fills the avatar field with the base64 value' do
144
+ it 'fills the avatar field with nil' do
145
145
  target_model = described_class.map_to_employee_model(other_sample_employee)
146
146
 
147
- expect(target_model.avatar).to eq('this_is_a_base64_string')
147
+ expect(target_model.avatar).to be_nil
148
148
  end
149
149
  end
150
150
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
@@ -85,7 +85,6 @@ files:
85
85
  - spec/helpers/account_helper_spec.rb
86
86
  - spec/mappers/employees_mapper_spec.rb
87
87
  - spec/spec_helper.rb
88
- - stackone_migration-1.4.1.gem
89
88
  - stackone_migration.gemspec
90
89
  homepage: https://stackone.com
91
90
  licenses:
Binary file