trulia_api 1.6 → 1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trulia_api.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 322eff8e37d4baa87635afbf379f7ef5bdcf73a1
4
- data.tar.gz: ab8597613972830b7d48f94ebc8607869395d0ed
3
+ metadata.gz: 45475a27415311e37b6d329c2e01a3f57c69ca73
4
+ data.tar.gz: d4b103e53d513dff694a17850dc584158af6a9c3
5
5
  SHA512:
6
- metadata.gz: 1876070612d57e27107812e5bdd63194e54e63f6e6718a17da76e181cb3ec1d9ddbd8635873d1ad6de0037d73cb4a3a3380a5b4710cd8636d9748b30f6daa0bd
7
- data.tar.gz: ab7aa8162a8199764323d5959ae51eb50139e8153826bcf6391bb4b4c936038e7b543c49faafa262312a9d7b36b0cb4f5510c98532286e7c731fd554107f6482
6
+ metadata.gz: 4ee35bda10f45739a15338c54a3386a31b3dbc7dcd98d2b0ae981151a689317532942bdd64df6265ebab5b37ff47d04c591b3a3094f476ad79a08df7cabdacb6
7
+ data.tar.gz: fbd1d8e9f6d992e36b9196daf02353c5009b76661210b6e7ee1b6203df10b725d55b26873871b2583dab88804336d48ebe0b7be76b099db4e7c0e63da973d40a
data/lib/trulia_api.rb CHANGED
@@ -61,7 +61,7 @@ class TruliaAPI
61
61
  neighborhoods = {}
62
62
  neighborhoods_in_city_xml = Nokogiri::HTML(open("http://api.trulia.com/webservices.php?library=LocationInfo&function=getNeighborhoodsInCity&city=#{CGI::escape(city)}&state=#{state}&apikey=#{@api_key}"))
63
63
  neighborhoods_in_city_xml.css("neighborhood").each do |neighborhood|
64
- neeghborhoods[neighborhood.css("name").text.downcase] = {
64
+ neighborhoods[neighborhood.css("name").text.downcase] = {
65
65
  zillow_id: neighborhood.css("id").text.to_i,
66
66
  }
67
67
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trulia_api
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Freeman