caboose-rets 0.1.198 → 0.1.200
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e58a15caa7ab2646f05b78313f01811c7ce5a7325c65d0ae365c0e55a70a4b82
|
4
|
+
data.tar.gz: 0dee44f4abd7a2253da39c0c6bec415b82c053e0868765ffb4b5026da4a05860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ff636613c91556cfbaee76ff81bb6bc5c193fbc9404043fa65b0832aa1e1baced9ab92a938272b83fea464741d1a469442cac824afe2241f1bdc4222744a06c
|
7
|
+
data.tar.gz: 0ebe526e708478a86bc6fbcc6015a2e051e6e9bbbf86cc8f90febc382f930331d5850e784f6314ca1c70a6b04b2bbd9ec6579039dac6c5ffdb99d36654369a33
|
@@ -233,7 +233,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
233
233
|
self.import('Property', "ListingId eq '#{mls_id}'")
|
234
234
|
p = CabooseRets::Property.where(:mls_number => mls_id.to_s).first
|
235
235
|
if p != nil && p.status == 'Active'
|
236
|
-
self.download_property_images(p) if save_images
|
236
|
+
self.download_property_images(p) if save_images
|
237
237
|
if p.latitude.blank? || p.latitude == '0.0' || p.longitude.blank? || p.longitude == '0.0'
|
238
238
|
self.update_coords(p)
|
239
239
|
end
|
@@ -386,8 +386,8 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
386
386
|
# `rm #{tmp_path}`
|
387
387
|
# end
|
388
388
|
|
389
|
-
rescue
|
390
|
-
self.log3("Media",p.mls_number,"Error downloading images for property with MLS # #{p.mls_number}")
|
389
|
+
rescue Exception => err
|
390
|
+
self.log3("Media",p.mls_number,"Error downloading images for property with MLS # #{p.mls_number}: #{err}")
|
391
391
|
end
|
392
392
|
|
393
393
|
# If we downloaded new images, look for old images to delete.
|
data/lib/caboose_rets/version.rb
CHANGED
data/lib/tasks/caboose_rets.rake
CHANGED