bulkrax 4.4.0 → 4.4.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: d53012e0252f8033f5da334d5336c134deb3a6221040cfe4c1c6c01bb473d617
4
- data.tar.gz: e986a3506c073aa533c4ea303a123e8866d2bf7ac6d8ab6df3949682f61b6c05
3
+ metadata.gz: 58fc97e3c371e4de3283df4acb0f943e714d9bae740bb3635e8e17bb6059fded
4
+ data.tar.gz: 953999c85805fc7db9c286304066aa7da8881a334662baace6bd42548b65f4ae
5
5
  SHA512:
6
- metadata.gz: 8ea20593d1164f62fdfda2dbe84bd8cc4e199a65d7e85eea0b68b27e71aeff7579f1b0059042f55eec1c7ab36f8dec9db406ad58cc3a315b29b8e4900f7cb450
7
- data.tar.gz: 89a03cd842d855d48f8c4952b6e9a6daea757e80cb8c0f9ee370b59f90e434b39dfb548deb1757f36463914bd5cccbcf1df6c5ffd9102bb5f0d54b5b7ea6476f
6
+ metadata.gz: 5855863ee9bad0c97be2b0da42a4e35c8e13ae2debb9f11452a05970e9e418c3bffc634c3e4fd58052ee8b1e8471386f6aff83eab255bf3aa2d0cbd9b3087423
7
+ data.tar.gz: 63d4b44817d9d5fc505d7e0ff81c4d90809fee87cf301645e0f609d3776ed8020e917e2e61ddbb2f07e865741f6a03ccdd2105338ce89bd785aa3fa57d24fe3f
@@ -227,6 +227,7 @@ module Bulkrax
227
227
  def transform_attributes(update: false)
228
228
  @transform_attributes = attributes.slice(*permitted_attributes)
229
229
  @transform_attributes.merge!(file_attributes(update_files)) if with_files
230
+ @transform_attributes.transform_values! { |v| v == [""] ? [] : v }
230
231
  update ? @transform_attributes.except(:id) : @transform_attributes
231
232
  end
232
233
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bulkrax
4
- VERSION = '4.4.0'
4
+ VERSION = '4.4.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.4.0
4
+ version: 4.4.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-12-01 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
@@ -425,7 +425,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
425
425
  - !ruby/object:Gem::Version
426
426
  version: '0'
427
427
  requirements: []
428
- rubygems_version: 3.0.3
428
+ rubygems_version: 3.1.2
429
429
  signing_key:
430
430
  specification_version: 4
431
431
  summary: Import and export tool for Hyrax and Hyku