caboose-rets 0.1.206 → 0.1.208

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: d28ea32f3e30b0d94d9e7b42227deed730bcbd6bf184d25110890a833dbe958c
4
- data.tar.gz: fd19be09b7075db2d087987494ccae4cc98436d5ba96c81cf54b24801f28f073
3
+ metadata.gz: 7710c1fa098307511d90dd30269f71e1d170496d2da0a53b77e9f51a7355a89b
4
+ data.tar.gz: ae100058d51302607459d5c61794bfa5b3ee604d9e6f443432f96997b7d8039b
5
5
  SHA512:
6
- metadata.gz: 57b5f4facb0f84dc0a2b3a936392e150887d58fb2e897ec7286e0ddc68b82f7e75e7b9681c8993c4a78269d81cba11cfb9b6de14d46fc5423956d16c3a5f89b6
7
- data.tar.gz: e2ec05bdbed52341198165d5cc88d936cd2a472e01844043890a6dafb0f62ccd914465c94aa27dc22a1470716505200e874fd37f3a064e3fa8e36017ee7930cd
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"] = "ListingId"
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-01T') end
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
@@ -70,7 +70,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
70
70
  :search_type => m.search_type,
71
71
  :class => class_type,
72
72
  :query => query,
73
- :timeout => -1
73
+ :timeout => -1
74
74
  }
75
75
  obj = nil
76
76
 
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.206'
2
+ VERSION = '0.1.208'
3
3
  end
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.206
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-01-31 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms