Add new lookup: ban_data_gouv_fr
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
Showing
- README.md 10 additions, 0 deletionsREADME.md
- lib/geocoder/lookup.rb 1 addition, 0 deletionslib/geocoder/lookup.rb
- lib/geocoder/lookups/ban_data_gouv_fr.rb 130 additions, 0 deletionslib/geocoder/lookups/ban_data_gouv_fr.rb
- lib/geocoder/results/ban_data_gouv_fr.rb 257 additions, 0 deletionslib/geocoder/results/ban_data_gouv_fr.rb
- test/fixtures/ban_data_gouv_fr_montpellier 125 additions, 0 deletionstest/fixtures/ban_data_gouv_fr_montpellier
- test/fixtures/ban_data_gouv_fr_no_results 9 additions, 0 deletionstest/fixtures/ban_data_gouv_fr_no_results
- test/fixtures/ban_data_gouv_fr_no_reverse_results 8 additions, 0 deletionstest/fixtures/ban_data_gouv_fr_no_reverse_results
- test/fixtures/ban_data_gouv_fr_paris 117 additions, 0 deletionstest/fixtures/ban_data_gouv_fr_paris
- test/fixtures/ban_data_gouv_fr_reverse 33 additions, 0 deletionstest/fixtures/ban_data_gouv_fr_reverse
- test/fixtures/ban_data_gouv_fr_rue_yves_toudic 33 additions, 0 deletionstest/fixtures/ban_data_gouv_fr_rue_yves_toudic
- test/test_helper.rb 13 additions, 0 deletionstest/test_helper.rb
- test/unit/lookups/ban_data_gouv_fr_test.rb 135 additions, 0 deletionstest/unit/lookups/ban_data_gouv_fr_test.rb
Loading
Please register or sign in to comment