caboose-rets 0.1.190 → 0.1.191
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 +4 -4
- data/app/models/caboose_rets/rets_importer.rb +1 -1
- data/lib/caboose_rets/version.rb +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: a2fc7fbb6f605500f900eb5625e09397dfe0f64eef3ccef6ad71724f2f828b02
|
|
4
|
+
data.tar.gz: f5c15dbb38706eafa7b16b41bb5446ba74bc591d5c29ab8a4f59a3730d861681
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81166c1c9d6d5f749f097a154a314e8356ca22a6fcbbea7c9cdf4a4fb783bd616d2dfea38704fa577addef1d8e722dd21156a8cceac2ab2237a446f248e773bf
|
|
7
|
+
data.tar.gz: 321d54398c54ca8a356208108a9eab3f08a2e6351544e0cee22d119b6074e748b0063cc626e9b8fac5544881dcf538b05448e1929f6ef3d52a57538032df350d
|
|
@@ -454,7 +454,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
|
454
454
|
ids_to_remove = local_ids - ids
|
|
455
455
|
self.log3(class_type,nil,"Found #{ids_to_remove.count} #{class_type} records in the local database that are not in the remote database.")
|
|
456
456
|
|
|
457
|
-
# Delete all RetsMedia and CabooseMedia for the deleted property listings (except keep the first image)
|
|
457
|
+
# Delete all RetsMedia and CabooseMedia for the deleted property listings (except keep the first image)
|
|
458
458
|
if class_type == 'Property' && ids_to_remove && ids_to_remove.count > 0
|
|
459
459
|
self.log3(class_type,nil,"Deleting Media objects that shouldn't be there...")
|
|
460
460
|
muis = CabooseRets::Property.where("#{k} in (?)", ids_to_remove).pluck(:matrix_unique_id)
|
data/lib/caboose_rets/version.rb
CHANGED