bulkrax 4.3.0 → 4.3.1

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: 1c636e3c53228a9cd6f2d45356f10b2339265f5f3f11b32bd6e523a01388b60b
4
- data.tar.gz: 6eeb6679cc8e93f77926baa30f91b09c9cea173d7d4135c2be9e865b558d5056
3
+ metadata.gz: '072159be48b2862e910e9269862e43abb05d0a8203cd7173decf38363dcbd935'
4
+ data.tar.gz: f9caa42432e49cc8614c4e0c79cd1d9d6ec8274925bea5e3abb804a27ac87bdb
5
5
  SHA512:
6
- metadata.gz: 389a8059749407dc1a6d9326e60131934b9729aaf33f1a4802c72255550fdf7e71ad874c88969e244dccf81e80ad95eb09e30179425fb1313fc2383d7f7adc7a
7
- data.tar.gz: c58567026f654f0577377babd2311f537c3155f6c71833255d13730dc32eed51ec9a0708f0283b925e09945b59d338a14ffdb9945e0375de5ff7be120ed62559
6
+ metadata.gz: f273c9f50b2a7ca2deb04e072f43195f0826b3b9ba77f8fe17ebd1d6bb87afa70b7af30c27bed3538d9b1975f1a026ea0cee473a30b5c59416600c9b4b411fc0
7
+ data.tar.gz: 53df275372cfe59b5f825144641549a4f2e55af62c34a962d710b14f71a8a28a1c3ee83ad21e6080cac6b38b3bbb51a12d3454ab9f5b2f74bf489c04bca0f3b3
@@ -200,6 +200,7 @@ module Bulkrax
200
200
  def transform_attributes(update: false)
201
201
  @transform_attributes = attributes.slice(*permitted_attributes)
202
202
  @transform_attributes.merge!(file_attributes(update_files)) if with_files
203
+ @transform_attributes.transform_values! { |v| v == [""] ? [] : v }
203
204
  update ? @transform_attributes.except(:id) : @transform_attributes
204
205
  end
205
206
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bulkrax
4
- VERSION = '4.3.0'
4
+ VERSION = '4.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulkrax
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Kaufman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-05 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -423,7 +423,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
423
423
  - !ruby/object:Gem::Version
424
424
  version: '0'
425
425
  requirements: []
426
- rubygems_version: 3.0.3
426
+ rubygems_version: 3.1.2
427
427
  signing_key:
428
428
  specification_version: 4
429
429
  summary: Import and export tool for Hyrax and Hyku