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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8336b012b736ba934a824ca0cb7080aa9d68282d3fa9e9bee67b308a96e07d4b
4
- data.tar.gz: 4d821294b7d9fd200a8aa7e58472805325bb17d1477d292235f9d958174d05a7
3
+ metadata.gz: 7710c1fa098307511d90dd30269f71e1d170496d2da0a53b77e9f51a7355a89b
4
+ data.tar.gz: ae100058d51302607459d5c61794bfa5b3ee604d9e6f443432f96997b7d8039b
5
5
  SHA512:
6
- metadata.gz: 25dd73d7aebc7797cdace5f1f816b0cfd330f6f94ab22da289cececacfbbe40e672c66e94e54b24736883274a41be78f7ad97b2e6e03a6bcfaa74571b0fc6c8e
7
- data.tar.gz: b89054e18cf9d3f104446b2ea952f10601671ef602cf266d6c53ab078729f05565664593a6b9d081d9db2b978dc79a148705848cbe2b9da1f1189fa143039384
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
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.207'
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.207
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