assimilate 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ class Assimilate::Batch
20
20
  end
21
21
 
22
22
  def load_baseline
23
- stored_records = @catalog.catalog.find(@domainkey => @domain).to_a
23
+ stored_records = @catalog.catalog.find(@domainkey => @domain, @idfield => {"$exists" => 1}).to_a
24
24
  @baseline = stored_records.each_with_object({}) do |rec, h|
25
25
  key = rec[@idfield]
26
26
  if h.include?(key)
@@ -1,3 +1,3 @@
1
1
  module Assimilate
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
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.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-23 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongo
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  segments:
180
180
  - 0
181
- hash: 1943096819041455805
181
+ hash: 3776853293402426240
182
182
  requirements: []
183
183
  rubyforge_project: assimilate
184
184
  rubygems_version: 1.8.24