Skip to content
Snippets Groups Projects
  1. 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
  2. Nov 09, 2017
  3. Oct 12, 2017
  4. 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
  5. 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
  6. Jul 27, 2017
  7. Jul 24, 2017
  8. Jun 28, 2017
  9. Jun 02, 2017
  10. May 25, 2017
  11. May 04, 2017
  12. 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
  13. Mar 13, 2017
  14. Mar 03, 2017
  15. Feb 25, 2017
  16. Jan 31, 2017
  17. Dec 10, 2016
  18. Dec 09, 2016
  19. Nov 30, 2016
    • Alex Reisner's avatar
      Remove debugging line. · aa5aba66
      Alex Reisner authored
      aa5aba66
    • Julian Nacci's avatar
      Add new lookup: ban_data_gouv_fr · 4e9f1139
      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
      4e9f1139
  20. Nov 28, 2016
  21. Nov 15, 2016
  22. Sep 09, 2016
  23. Sep 05, 2016
  24. Aug 31, 2016
  25. Jun 28, 2016
  26. Jun 27, 2016
  27. Jun 26, 2016
  28. Jun 07, 2016
  29. Jun 02, 2016
    • Jeffects's avatar
      Change SmartyStreets Zipcode API · 722c2278
      Jeffects authored
      SmartyStreets is permanently changing their ZIP Code API endpoint by
      June 22 at 9am Mountain Time.  The legacy API endpoint is available
      until the 22nd.
      
      This change basically changes the API endpoint and updated the tests to
      reflect the change.
      722c2278
  30. May 27, 2016
Loading