Skip to content
Snippets Groups Projects
  1. May 14, 2018
    • Heath Attig's avatar
      Deprecate Freegeoip and Implement Ipstack (#1289) · 0f575821
      Heath Attig authored
      * Update initializer template to use ipinfo_io
      
      * Implement ipstack lookup
      
      * Add Ipstack readme documentation
      
      * Add post-install message
      
      * Remove DSL from ipstack lookup
      
      * Remove unnecessary logging
      
      * Update post-install message
      0f575821
  2. Apr 19, 2018
  3. Apr 10, 2018
  4. Apr 09, 2018
  5. Apr 05, 2018
  6. Apr 04, 2018
  7. Mar 13, 2018
    • Jordan Moncharmont's avatar
      add bounds detection for google results (#1196) · dcfd6e36
      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.
      dcfd6e36
    • Alex Reisner's avatar
      Allow HTTP protocol for Nominatim lookup · 26d57fd3
      Alex Reisner authored
      but default to HTTPS (custom hosts may not support HTTPS).
      This partially reverts 7cb0acc9.
      26d57fd3
  8. Feb 27, 2018
  9. Feb 20, 2018
  10. Feb 04, 2018
  11. Jan 16, 2018
    • German Velasco's avatar
      Raise bing errors for statuses 403, 500, 503 · 4dc3b36e
      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.
      4dc3b36e
  12. Jan 11, 2018
  13. Jan 10, 2018
  14. Jan 02, 2018
  15. Nov 17, 2017
  16. Nov 09, 2017
  17. Oct 12, 2017
  18. Sep 25, 2017
    • Carlos Villela's avatar
      Add support for DB-IP.com geocoding service, take 2 (#1223) · b2da2604
      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
      b2da2604
    • Srihari Thalla's avatar
      Update LocationIQ geocoding provider with limits and handle errors (#1216) · bd86c08a
      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
      bd86c08a
  19. Aug 18, 2017
    • Leonel Galán's avatar
      Allows radius to be a symbol representing a column in DB (#1107) · 5353fea4
      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
      5353fea4
  20. Jul 27, 2017
  21. Jul 24, 2017
  22. Jun 28, 2017
  23. Jun 02, 2017
  24. May 25, 2017
  25. May 04, 2017
  26. Apr 25, 2017
    • Leon Guan's avatar
      Added Amap(AutoNavi) integration: http://lbs.amap.com (#1164) · 2921ed13
      Leon 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
      2921ed13
  27. Mar 13, 2017
  28. Mar 03, 2017
  29. Feb 25, 2017
  30. Jan 31, 2017
Loading