Skip to content
Snippets Groups Projects
  1. Apr 09, 2018
  2. Apr 04, 2018
  3. Mar 22, 2018
  4. Mar 13, 2018
  5. Feb 28, 2018
  6. Feb 27, 2018
  7. Feb 20, 2018
  8. Feb 16, 2018
  9. Feb 04, 2018
  10. 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
  11. Jan 11, 2018
  12. Jan 10, 2018
  13. Jan 02, 2018
  14. Nov 30, 2017
  15. Nov 17, 2017
    • Carlos Villela's avatar
      [db-ip] Handle Geocoder::OverQueryLimitError gracefully (#1230) · ce7d0571
      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
      ce7d0571
  16. Nov 09, 2017
  17. 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
  18. Sep 19, 2017
  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. Jul 20, 2017
  23. Jul 18, 2017
  24. Jun 28, 2017
  25. Jun 20, 2017
  26. Jun 15, 2017
  27. Jun 02, 2017
  28. May 25, 2017
  29. May 17, 2017
Loading