caboose-rets 0.1.113 → 0.1.114
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8aa59dad09a2d19f43954cc59a1b9018661239d62cc41d6fb07cfd9b018f2a3
|
4
|
+
data.tar.gz: 9658cb7d00567430c0421eb4531f0c53036e6db48ee9bbbbd56797d3933783df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e55ba71f32a7032ecebef4bdfaac83b1490b93290850018f152f3f6a2c119c3f82c3948961d1bfb865572cf5c1673dd5b339325cd0924c3e95a637e947e3da
|
7
|
+
data.tar.gz: 47f7c57eb4715a764c77b1097e234e47fb57af9b230048f051e7f6d1acb659a5763f8a3f4319d87d4c76c4b043b58f5f3d1c74705160a8320de2f3d00329276a
|
@@ -22,7 +22,7 @@ module CabooseRets
|
|
22
22
|
params[:street_name_like][0] = '' if params[:street_name_like][0].to_i == 0
|
23
23
|
end
|
24
24
|
end
|
25
|
-
where = @site && @site.id == 558 ? "(style ILIKE '%condo%' OR res_style ILIKE '%condo%' OR property_subtype ILIKE '%condo%')" : "(id is not null)"
|
25
|
+
where = @site && @site.id == 558 ? "(style ILIKE '%condo%' OR res_style ILIKE '%condo%' OR property_subtype ILIKE '%condo%' OR property_subtype ILIKE '%townhouse%')" : "(id is not null)"
|
26
26
|
sortby = @site && @site.id == 558 ? "original_entry_timestamp" : CabooseRets::default_property_sort
|
27
27
|
@pager = Caboose::PageBarGenerator.new(params, {
|
28
28
|
'area' => '',
|
@@ -443,7 +443,7 @@ class CabooseRets::RetsImporter # < ActiveRecord::Base
|
|
443
443
|
|
444
444
|
def self.coords_from_address(address)
|
445
445
|
begin
|
446
|
-
uri = "https://maps.googleapis.com/maps/api/geocode/json?key=
|
446
|
+
uri = "https://maps.googleapis.com/maps/api/geocode/json?key=AIzaSyB9Wwx7sdWaUnFyLcdQ61NOV7DE2NZkDUE&address=#{address}"
|
447
447
|
uri.gsub!(" ", "+")
|
448
448
|
resp = HTTParty.get(uri)
|
449
449
|
json = JSON.parse(resp.body)
|
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.114
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|