abstract_importer 1.5.5 → 1.5.6

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
  SHA1:
3
- metadata.gz: 94acabc53243134c9f39de95063b48ec9c0cb297
4
- data.tar.gz: 99ccb1ae5001d2c729b486bf59a95ed686c5ce93
3
+ metadata.gz: 2273e7488017981f0caa7c51ae1bfc7fa2bf8dd3
4
+ data.tar.gz: 0b2cf66310053405eace82238f10bc42b8af8dbf
5
5
  SHA512:
6
- metadata.gz: 184aa28e55ca225a549454446b9fdf60f64c747226645811fc6c364a7f94253bee9c3015bd29a5b9c6f18ec80d4a9bf4566371917812fb7afc5101a01b5bb778
7
- data.tar.gz: ba21046ac751e42b1f45b68712eff7c32b034bd44829ce0d801166af13a7d5eb459b0075b631a6a6701e6755966c944e630f90facc9ca403f6b2b600c606f93b
6
+ metadata.gz: 1d72f4017de21ff358da2f080289cb470b695ac0ee404bf2cd0a3fc6d04b71e1eb8ae38b3d3f98a93b574cd77737ffab17d3f63d1d4e30117c9e2edf18ff7d15
7
+ data.tar.gz: fc0233f350e80133e8e699a17a95217a546b1de174baf7680ad925fde166a7637733ab509d6bf0bf174547038f54d496bfece1e9a55b6f9260514ca23791e81c
@@ -7,7 +7,7 @@ module AbstractImporter
7
7
 
8
8
  def initialize(collection, options={})
9
9
  super
10
- @insert_options.merge!(on_conflict: { column: remap_ids? ? (association_attrs.keys + [:legacy_id]) : :id, do: :update })
10
+ @insert_options.reverse_merge!(on_conflict: { column: remap_ids? ? (association_attrs.keys + [:legacy_id]) : :id, do: :update })
11
11
  end
12
12
 
13
13
  # We won't skip any records for already being imported
@@ -1,3 +1,3 @@
1
1
  module AbstractImporter
2
- VERSION = "1.5.5"
2
+ VERSION = "1.5.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstract_importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.5
4
+ version: 1.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2019-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord