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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWRiNDM5N2Q1YzRhMzRiMDRlY2FmYzVlMWY0MDUwOTcyN2MxMWQxNA==
4
+ Yjk5MmNkNDAxZWJhODdlMTRlMjQ4MDdhMGQzZmY4MGQxMTI2Mzc2ZA==
5
5
  data.tar.gz: !binary |-
6
- YTcyYWRlOGNhMzRiN2RlZmQzY2M4Y2ZlZTE0ZjcxNGE1Mjc5ODIwNA==
6
+ OWMyMzEwZmNhMTVhMTg0NGU0MjExNjM4NjlhYmZkYWNkODBmZjYzYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDUxZWRkNTJhNDZiODZmMjhiNmIxMGFlZmRmMmUxZGFiZjU0YmQ2YTUyOTQw
10
- MWIwMjBiYzk1ZjBmNGVlN2IwZGUyODlkZTBmNjdmNjM0ZmU1Y2FmN2ZiM2Jl
11
- M2M5ZmU3MTk2OTgxODQ2NmMzYjI2ZGVmZTQyYThlMTQ5ZmY3MDk=
9
+ OWY1NTQ1Mjk2MjlmNGE1ZDNmOGQ0OGQ2ODY2Mjk3MTFmOGE4NGZhZjM4ODJh
10
+ YWJhMDcxNmQwMmNiODc3ZDNjYWUyNDUwYTRjN2Y4NGM1YjdhOGM3NDVmNmJi
11
+ ZTE3OGQ0NDVhN2MwZDBmNTAyM2Q5MzJhZTU0ZDg0MzIwN2ZmMGU=
12
12
  data.tar.gz: !binary |-
13
- Yzg5MjU0YmE3Y2Q2Mzk4MTY2Yjk1ZTc3ZjdiOGViMjAwNGY3YzllNzZhOWY5
14
- ZTBmZDgxZTFkYzU3ZWM4N2RiNTgzZWZmYmViYjk0MTBiNDU0ZTcyMjBjNmFj
15
- YTZiY2E4ZGE5ODY1YjA1ZmJlYTA1MzEyNWZiMmJiNGQ0OTAwZTI=
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=*#{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=*#{id}*)")
224
+ self.import('GFX', "((MEDIA_ID=#{id}+),(MEDIA_ID=#{id}-))")
225
225
  end
226
226
 
227
227
  #=============================================================================
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.0.65'
2
+ VERSION = '0.0.66'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-rets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.65
4
+ version: 0.0.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry