caboose-rets 0.0.65 → 0.0.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/caboose_rets/rets_importer.rb +3 -3
- data/lib/caboose_rets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Yjk5MmNkNDAxZWJhODdlMTRlMjQ4MDdhMGQzZmY4MGQxMTI2Mzc2ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWMyMzEwZmNhMTVhMTg0NGU0MjExNjM4NjlhYmZkYWNkODBmZjYzYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWY1NTQ1Mjk2MjlmNGE1ZDNmOGQ0OGQ2ODY2Mjk3MTFmOGE4NGZhZjM4ODJh
|
10
|
+
YWJhMDcxNmQwMmNiODc3ZDNjYWUyNDUwYTRjN2Y4NGM1YjdhOGM3NDVmNmJi
|
11
|
+
ZTE3OGQ0NDVhN2MwZDBmNTAyM2Q5MzJhZTU0ZDg0MzIwN2ZmMGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzcyM2NjMjZiYjQ3MjdhMmM4ZTFhMTllYTkxNmY2NmQ0MjFjZjkyNjNiMGNm
|
14
|
+
ZDM2MWY0ZGY3MDY1OTk4NTlkYzllMDBmYWZmZDQ0M2M3Y2QxNzRlNmMxZWY2
|
15
|
+
NTFkNDNjODlmZWVmMzJjN2M2Y2ZhZWI2NjBiMWQ3MTJkMDU2NDM=
|
@@ -66,7 +66,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
66
66
|
# Import method
|
67
67
|
#=============================================================================
|
68
68
|
|
69
|
-
def self.import(class_type, query)
|
69
|
+
def self.import(class_type, query)
|
70
70
|
m = self.meta(class_type)
|
71
71
|
self.log("Importing #{m.search_type}:#{class_type} with query #{query}...")
|
72
72
|
self.get_config if @@config.nil? || @@config['url'].nil?
|
@@ -217,11 +217,11 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
217
217
|
end
|
218
218
|
|
219
219
|
def self.import_open_house(id, save_images = true)
|
220
|
-
self.import('OPH', "(ID
|
220
|
+
self.import('OPH', "((ID=#{id}+),(ID=#{id}-))")
|
221
221
|
end
|
222
222
|
|
223
223
|
def self.import_media(id, save_images = true)
|
224
|
-
self.import('GFX', "(MEDIA_ID
|
224
|
+
self.import('GFX', "((MEDIA_ID=#{id}+),(MEDIA_ID=#{id}-))")
|
225
225
|
end
|
226
226
|
|
227
227
|
#=============================================================================
|
data/lib/caboose_rets/version.rb
CHANGED