activerecord-bixformer 0.4.15 → 0.4.16

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
  SHA1:
3
- metadata.gz: a97223c0df1544574cc93f7cdd489c06fe73fb41
4
- data.tar.gz: 2c4870fb05bbef0c998415c6aa929073511a982e
3
+ metadata.gz: aa08d03bceb2f82701c241dc26d52e58c3135b00
4
+ data.tar.gz: 27aaad5bd709590fbaab8a1406b09f5d98156072
5
5
  SHA512:
6
- metadata.gz: 1d0aad4cbddfd3fd860b17bd2c0479281c65ef7fca3f000e366fed9a1764d442c926f58e3582cdf399c0785e7c2a5dd4069aad347b0a0222056c9aec8bcfb17b
7
- data.tar.gz: d9671482f4a175a2bfaadcfb29a39945e73ff63327949af83ba52746469977af966c538ccc9418026fcc6316391ed37486da7d877f749dbdd2de2645f54a9743
6
+ metadata.gz: fc0643c1af31df56ee1a95ab6faa0f4d3456edadf0cca95e85d9c2e52371cc37657a666af68b35918559af9c40dd588b0d44cdff9c0fcd0b2dafcf53f21679d2
7
+ data.tar.gz: 0fe951f646c7df0e0807da9befe1d1e69e3ca6b8aa64e59168e34fc0bb0a35e20754890320930b70b1d2504584d6f18a03ecc7c6ed716aa1ee2af4707ea0b7a0
@@ -197,6 +197,8 @@ module ActiveRecord
197
197
  end
198
198
 
199
199
  def make_each_association_import_value(values, &block)
200
+ return values unless presence_value?(values)
201
+
200
202
  self_record_id = values[activerecord_constant.primary_key]
201
203
 
202
204
  run_bixformer_callback :import, type: :association do
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Bixformer
3
- VERSION = "0.4.15"
3
+ VERSION = "0.4.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-bixformer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.15
4
+ version: 0.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroaki Otsu