Skip to content
Snippets Groups Projects
  1. Feb 20, 2018
  2. Feb 16, 2018
  3. Jan 19, 2018
  4. 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
  5. Jan 11, 2018
  6. Jan 10, 2018
  7. Jan 02, 2018
  8. Nov 30, 2017
  9. Nov 17, 2017
  10. Nov 09, 2017
  11. Nov 03, 2017
  12. Oct 23, 2017
    • Ryan Dlugosz's avatar
      Update docs to include additional Mapbox options (#1236) · 0adc761b
      Ryan Dlugosz authored
      * Update docs to include additional Mapbox options
      
      Support for additional query params was added with commit
      844da1c11c2e74777ee8aab40cf82cee0f68dfa8 but this was not reflected in
      the documentation.
      
      * Remove duplicate info; use consistent wording
      
      Removed an unneeded example from the Mapbox docs & use a single level of
      indentation. Also, change "options" to "params" in both the Google and
      Mapbox examples.
      0adc761b
  13. Oct 18, 2017
  14. Oct 17, 2017
  15. Oct 12, 2017
  16. Oct 11, 2017
  17. Sep 26, 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. Sep 19, 2017
  20. Sep 15, 2017
  21. Sep 12, 2017
  22. Sep 06, 2017
  23. 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
  24. Jul 27, 2017
Loading