Update LocationIQ geocoding provider with limits and handle errors (#1216)
* 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
Showing
- README.md 3 additions, 3 deletionsREADME.md
- lib/geocoder/lookups/location_iq.rb 13 additions, 5 deletionslib/geocoder/lookups/location_iq.rb
- test/fixtures/location_iq_invalid_request 3 additions, 0 deletionstest/fixtures/location_iq_invalid_request
- test/fixtures/location_iq_over_limit 3 additions, 1 deletiontest/fixtures/location_iq_over_limit
- test/fixtures/location_iq_request_denied 3 additions, 0 deletionstest/fixtures/location_iq_request_denied
- test/unit/lookups/location_iq_test.rb 21 additions, 0 deletionstest/unit/lookups/location_iq_test.rb
Loading
Please register or sign in to comment