reso 0.1.6.1 → 0.1.6.2

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: f9d0015930576a0b7ce0143a976c9c4fb05a424b
4
- data.tar.gz: 7f09f122bdc3ebbabaa12f584a5899fb9a914547
3
+ metadata.gz: 2388bfae3185335090bcf878bba7f4c0b12c2830
4
+ data.tar.gz: 83645882f49a3b6efc5be8dc56aad665c489ba46
5
5
  SHA512:
6
- metadata.gz: e7bf0a4d5bd4159167417f01cf40797c50c565fac6ea11e35f1c6c9e74121bd27435039bb33681497a1d812d6d4c6db8f32d3331e1ddf3d6f523b08a52dece13
7
- data.tar.gz: fc2ca9847e71979db67b1b7f939f339d8e45e5a5312cd78b44c352e54235583af4ad6f0b055e340f3cbcaaa500e9fa124b380d9ff22748a9457eb359e077a9a4
6
+ metadata.gz: 73897d324fc9d57b4bcec2ace70f411d8f2edfaeb271b91bf9ab597716b99188753cf3b873a7088776de6f8931c0d1d6d4d6e4f534f626a04f0256c09a815b66
7
+ data.tar.gz: 4296f7185d384b89c12773b5abe7d9907364e66436f04dc4ee7796ad56b644c3e2431cde4adc1d324a3a1264a4ff7bd216c50cde2a517c398148b0dad6e9dec3
@@ -20,7 +20,11 @@ class QueuedListing < ActiveRecord::Base
20
20
  Mapper::RESO_LISTING_ATTRIBUTES.each do |attribute|
21
21
  listing.send("#{attribute}=", mapper.send(attribute, self, listing))
22
22
  end
23
- Listing.import Array(listing), :validate => false
23
+ if listing.id
24
+ listing.save
25
+ else
26
+ Listing.import Array(listing), :validate => false
27
+ end
24
28
  end
25
29
  end
26
30
 
data/lib/reso/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Reso
2
- VERSION = "0.1.6.1"
2
+ VERSION = "0.1.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6.1
4
+ version: 0.1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund