- Apr 09, 2018
-
-
Alex Reisner authored
Freegeoip/IPstack no longer provides keyless service.
-
- Apr 05, 2018
-
-
David authored
-
- Apr 04, 2018
-
-
David authored
-
- Mar 13, 2018
-
-
Jordan Moncharmont authored
some google geocoding requests have bounds within the result. add a helper to extract these. * Add tests to cover results with no bounds In this case, calling .bounds should return nil. Oddly, calling viewport on a result with no viewport causes the current code to `fail`. I have preserved this behavior even though I think it to be a little odd.
-
Alex Reisner authored
but default to HTTPS (custom hosts may not support HTTPS). This partially reverts 7cb0acc9.
-
- Feb 27, 2018
-
-
Alex Reisner authored
This reverts commit 385aafa0.
-
- Feb 20, 2018
-
-
Alex Reisner authored
Should have been part of 7cb0acc9
-
- Feb 04, 2018
-
-
- Jan 16, 2018
-
-
German Velasco authored
Bing returns the status codes within the json response. When a request is forbidden, it will return a 403. If there is an internal server error, it will return a 500. And if the service is unavailable for some other reason, it will return a 503. That information was obtained from bing's [Status Codes and Error Handling](https://msdn.microsoft.com/en-us/library/ff701703.aspx) documentation. We handle those three status codes here to raise `Geocoder::RequestDenied` (for 403) and `Geocoder::ServiceUnavailable` (for 500 and 503). This allows for the users of the Geocoder to handle those errors in their applications.
-
- Jan 11, 2018
-
-
Robert Schaefer authored
-
Robert Schaefer authored
-
- Jan 10, 2018
-
-
Robert Schaefer authored
Remove silly check for HTML tags Add test case for invalid json
-
Robert Schaefer authored
-
- Jan 02, 2018
-
-
Abe Voelker authored
-
- Nov 17, 2017
-
-
Alex Reisner authored
-
Carlos Villela authored
* Handle Geocoder::OverQueryLimitError gracefully. Geocoder::OverQueryLimitError errors were not being generated correctly, and the response was coming back empty but with no indication. This changes the behavior slightly so that unknown errors are also returned. * Add error handling tests * Remove unnecessary config in tests
-
- Nov 09, 2017
-
-
Alexander Logunov authored
-
- Oct 12, 2017
-
-
Thu Trang Pham authored
-
- Sep 25, 2017
-
-
Carlos Villela authored
* Add support for DB-IP.com geocoding service * Added support for https with paid accounts * Use `use_https` to distinguish between paid/unpaid API usage * Clean rubocop warnings
-
Srihari Thalla authored
* Update LocationIQ geocoding provider with limits and handle errors * Correct syntax errors * Update over limit fixture * Set HTTPS as the assertion for the URL * Add missing fixtures for unit tests * Correct the mistakes in doc * Let users decide SSL usage * Revert incorrectly asserted URL without https * Remove use_ssl from lookup subclass * Update the assertion of the URL to HTTP and not HTTPS
-
- Aug 18, 2017
-
-
Leonel Galán authored
* Allows radius to be a symbol representing a column in DB * Proposed changes by @alexreisner: - Keeping branching condition consistent - Not overwrite the method argument: ‘radius’ - Not assigning two variables in a single line, and - Add code comments where needed By “proposed” I meant, I copy/paste them from his comment. But we are in agreement. * Fixes broken test in PR
-
- Jul 27, 2017
-
-
ydakuka authored
-
- Jul 24, 2017
-
-
Sam Oliver authored
-
- Jun 28, 2017
-
-
Vladimir Kalinkin authored
-
Yuri Veremeyenko authored
-
- Jun 02, 2017
-
-
Thu Trang Pham authored
-
- May 25, 2017
-
-
Dounan Shi authored
-
- May 04, 2017
-
-
vyrak bunleang authored
-
- Apr 25, 2017
-
-
http://lbs.amap.comLeon Guan authored
* Added support for AMap, aka AutoNavi Map, 高德地图 * Try to include amap error info if failed * Get correct result from amap response * Fix result error in amap return * Refactor codes for AMap handling * Refactor codes for amap result handling * Refactor amap handling codes * Fixed coordinates handling error * Added tests * Fixded amap result handling and tests * Lock webmock on 2.3.2 for ruby 1.9.3 support
-
- Mar 13, 2017
-
-
Michal Musialik authored
Maxmind geoip2 returns a collection of names in all available languages for each field. This commit allows us to change the language of a single result without having to reconfigure Geocoder.
-
- Mar 03, 2017
-
-
ghbooth12 authored
* Create methods removing port from ip addresses; Add test * Update geocoder_reject_non_ipv4_addresses; Add more tests
-
- Feb 25, 2017
-
-
Roy Lee authored
Update smarty streets results coordinates method to return nil when both latitude and longitude do not exist
-
- Jan 31, 2017
-
-
Taufiq Muhammadi authored
-
Alex Reisner authored
-
Alex Reisner authored
TypeError: ActiveSupport::Duration can't be coerced into Integer
-
Alex Reisner authored
DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:sqlite) instead.
-
- Dec 10, 2016
-
-
Dzmitry authored
-
- Dec 09, 2016
-
-
Dzmitry authored
In the sea for example [Fix #1131]
-
- Nov 30, 2016
-
-
Alex Reisner authored
-
Julian Nacci authored
add new lookup to lookup.rb add new lookup file ban_data_gouv_fr.rb add new results file ban_data_gouv_fr.rb update README with new lookup create fixtures to test new lookup create unit test file for new lookup update test helper default fixture for new lookup remove invalid multibyte char (US-ASCII) 'ç' from lookup name Revert "remove invalid multibyte char (US-ASCII) 'ç' from lookup name" This reverts commit 7dbfcab4dc4bcb9473edc43651e7d53884f0e24d. Add '# encoding: utf-8' to files containing special chars Add '# encoding: utf-8' to files containing special chars Add '# encoding: utf-8' to files containing special chars remove useless Geocoder.config from test methods refacto of ban lookup results method change city serach param to fit naming conventions in ban lookup test renamed no results ban lookup fixture to fit tests removed no search results unnecessary test remove useless commented code add alias method to handle state and state_code + move from department to region name as state refacto results method
-