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: d5556798711d95dc0c5a824b21f70f688bfaf9aeb67b59bfc6fc6f30b7c30309
4
- data.tar.gz: 1f9fad0552f89d7307605843cc0ef851fbab294d1295d2989ee9b41828f5b444
3
+ metadata.gz: c8aa59dad09a2d19f43954cc59a1b9018661239d62cc41d6fb07cfd9b018f2a3
4
+ data.tar.gz: 9658cb7d00567430c0421eb4531f0c53036e6db48ee9bbbbd56797d3933783df
5
5
  SHA512:
6
- metadata.gz: e5e3289f87d3b4328d574f9166d98fdc59ec178cb5fe5b06ebde7c8488687fbc379aae063b2a1f5c2719454a53f9c9e1faa866a2ed1a8903aea7c9d49e9e1f00
7
- data.tar.gz: a29099135e0850cf30812048b22820a92662c202e9d92dd66070659cb73eed260c3decf5454d06a26d1ba40deced23a2390800891fd03fa23c115f7b98e3ea10
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=AIzaSyBD34Da5DhRH5wkq3sROsE7-jv90-f1v6o&address=#{address}"
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)
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.113'
2
+ VERSION = '0.1.114'
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.113
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-03-29 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms