caboose-rets 0.1.34 → 0.1.35
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ac12820737c472929dadb2afc066d570538664c6
|
4
|
+
data.tar.gz: f770032c4f643c62fd964d82a2ed40879780f1cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6e8c01ef9b5ece373ac65cd685de511b52045f5980d19d387bc6d1b1119c52eb1f36007936b6223ac366276776144835aea4401b0997b7b5fa9904d7245d1eb
|
7
|
+
data.tar.gz: b15e910b669818c78747e7d1c3a91176fa9319bd793a4c23dced71ce08ca31f35abb88731d73e69e9c69d69b11f57b55dfb4c434afbb24b50387058a171f45da
|
@@ -19,7 +19,8 @@ module CabooseRets
|
|
19
19
|
params[:street_name_like][0] = '' if params[:street_name_like][0].to_i == 0
|
20
20
|
end
|
21
21
|
end
|
22
|
-
where = @site && @site.id == 558 ? "(style = 'Condo')" : "()"
|
22
|
+
where = @site && @site.id == 558 ? "(style = 'Condo' OR res_style = 'Condo')" : "(id is not null)"
|
23
|
+
sortby = @site && @site.id == 558 ? "original_entry_timestamp" : CabooseRets::default_property_sort
|
23
24
|
@pager = Caboose::PageBarGenerator.new(params, {
|
24
25
|
'area' => '',
|
25
26
|
'area_like' => '',
|
@@ -61,8 +62,8 @@ module CabooseRets
|
|
61
62
|
'status' => 'Active'
|
62
63
|
},{
|
63
64
|
'model' => 'CabooseRets::Property',
|
64
|
-
'sort' =>
|
65
|
-
'desc' =>
|
65
|
+
'sort' => sortby,
|
66
|
+
'desc' => true,
|
66
67
|
'abbreviations' => {
|
67
68
|
'address_like' => 'street_number_concat_street_name_like'
|
68
69
|
},
|
@@ -131,6 +131,7 @@ class CabooseRets::Property <ActiveRecord::Base
|
|
131
131
|
self.open_house_public_count = data['OpenHousePublicCount']
|
132
132
|
self.open_house_public_upcoming = data['OpenHousePublicUpcoming']
|
133
133
|
self.open_house_upcoming = data['OpenHouseUpcoming']
|
134
|
+
self.original_entry_timestamp = data['OriginalEntryTimestamp'].blank? ? data['ListingContractDate'] : data['OriginalEntryTimestamp']
|
134
135
|
self.parcel_number = data['ParcelNumber']
|
135
136
|
self.pending_date = data['PendingDate']
|
136
137
|
self.pets_allowed_yn = data['PetsAllowedYN']
|
@@ -217,6 +217,7 @@ class CabooseRets::Schema < Caboose::Utilities::Schema
|
|
217
217
|
[ :open_house_public_count , :text],
|
218
218
|
[ :open_house_public_upcoming , :text],
|
219
219
|
[ :open_house_upcoming , :text],
|
220
|
+
[ :original_entry_timestamp , :text],
|
220
221
|
[ :parcel_number , :text],
|
221
222
|
[ :pending_date , :text],
|
222
223
|
[ :pets_allowed_yn , :text],
|
data/lib/caboose_rets/version.rb
CHANGED
data/lib/tasks/caboose_rets.rake
CHANGED
@@ -24,7 +24,7 @@ namespace :caboose_rets do
|
|
24
24
|
:search_type => 'Property',
|
25
25
|
:class => 'Listing',
|
26
26
|
:query => "(Matrix_Unique_ID=0+)",
|
27
|
-
:limit =>
|
27
|
+
:limit => 100,
|
28
28
|
:timeout => -1
|
29
29
|
}
|
30
30
|
elsif t == 'a'
|
@@ -52,7 +52,6 @@ namespace :caboose_rets do
|
|
52
52
|
:timeout => -1
|
53
53
|
}
|
54
54
|
end
|
55
|
-
|
56
55
|
client.search(params) do |data|
|
57
56
|
ap data
|
58
57
|
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.1.
|
4
|
+
version: 0.1.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.2.0
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Library to download RETS data to a local website.
|