caboose-rets 0.1.207 → 0.1.208
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 -5
- data/lib/caboose_rets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7710c1fa098307511d90dd30269f71e1d170496d2da0a53b77e9f51a7355a89b
|
4
|
+
data.tar.gz: ae100058d51302607459d5c61794bfa5b3ee604d9e6f443432f96997b7d8039b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dc865433913bfcd75b70c8d5c2cb247fc2bcc46382308227427bb6e29753d880a38670667fc9054be3f4961f7c5942378a043c37b77d8c0edaecddbe375250c
|
7
|
+
data.tar.gz: 9412207c2d5ed1954034cf651e99d5e86620e4c99915bce7695950d7e75093c0a595db71c603a237b0719ade8a37172843b70eab6c7b86760370adda30463ecc
|
@@ -55,7 +55,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
55
55
|
end
|
56
56
|
|
57
57
|
if !select_column.blank?
|
58
|
-
params["$select"] =
|
58
|
+
params["$select"] = select_column
|
59
59
|
end
|
60
60
|
|
61
61
|
if page_number > 1
|
@@ -479,7 +479,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
479
479
|
|
480
480
|
def self.purge_properties() self.delay(:priority => 10, :queue => 'rets').purge_helper('Property', '2012-01-01') end
|
481
481
|
def self.purge_offices() self.delay(:priority => 10, :queue => 'rets').purge_helper('Office', '2012-01-01') end
|
482
|
-
def self.purge_agents() self.delay(:priority => 10, :queue => 'rets').purge_helper('Member', '2012-01-
|
482
|
+
def self.purge_agents() self.delay(:priority => 10, :queue => 'rets').purge_helper('Member', '2012-01-01') end
|
483
483
|
def self.purge_open_houses() self.delay(:priority => 10, :queue => 'rets').purge_helper('OpenHouse', '2012-01-01') end
|
484
484
|
|
485
485
|
|
@@ -514,13 +514,11 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
514
514
|
ids = []
|
515
515
|
k = m.remote_key_field
|
516
516
|
(0...batch_count).each do |i|
|
517
|
-
self.log3(class_type,nil,"Getting ids for #{class_type} (batch #{i+1} of #{batch_count})...")
|
518
|
-
|
517
|
+
self.log3(class_type,nil,"Getting ids for #{class_type} with key #{k} (batch #{i+1} of #{batch_count})...")
|
519
518
|
results = self.resource(class_type, query, 1000, false, k, (i+1))
|
520
519
|
results.each do |data|
|
521
520
|
ids << data[k]
|
522
521
|
end
|
523
|
-
|
524
522
|
end
|
525
523
|
|
526
524
|
# Only do stuff if we got a real response from the server
|
data/lib/caboose_rets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-rets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.208
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|