caboose-rets 0.1.198 → 0.1.199
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/caboose_rets/rets_importer.rb +3 -3
- data/lib/caboose_rets/version.rb +1 -1
- data/lib/tasks/caboose_rets.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10b3335574760bea42e853c4c2fa92a22fe69d437891f9f8c797717085194bf2
|
4
|
+
data.tar.gz: 0d38d67d87072622ade25442a6509482c597708aafb6fb6951bf675af5b4daaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d3795fe30799268fc683d640596839717bafff3c31c142421bca193a156b5428d0b231485c7292331c499b9437f3b196e5619703e869f96bbd7b1a930a765aa
|
7
|
+
data.tar.gz: f55c7fde6d480e1bbffbc5ce43b038c10eb42ccece6e3869eb3a5ca00e58a5f2867023466ed854ba408abb8cad0b9ecd92c43724c3debe2be90c1900d2a6446e
|
@@ -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