assimilate 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,9 @@ class Assimilate::Extender
34
34
  if h[key].include?('_active') && rec.include?('_active') && h[key]['_active'] != rec['_active']
35
35
  rec = [h[key],rec].select {|r| r['_active']}.first
36
36
  else
37
- raise Assimilate::CorruptDataError, "Duplicate records for key [#{key}] in #{@domainkey} [#{@domain}]"
37
+ # raise Assimilate::CorruptDataError, "Duplicate records for key [#{key}] in #{@domainkey} [#{@domain}]"
38
+ # 130503: make this an alert, not fatal
39
+ warn "POSSIBLE DATA CORRUPTION: duplicate records for #{@idfield}=#{key} in #{@domainkey}=#{@domain}"
38
40
  end
39
41
  end
40
42
  h[key] = rec
@@ -1,3 +1,3 @@
1
1
  module Assimilate
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assimilate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  segments:
180
180
  - 0
181
- hash: 4032073337181857520
181
+ hash: -258423526564247738
182
182
  requirements: []
183
183
  rubyforge_project: assimilate
184
184
  rubygems_version: 1.8.24