Skip to content
Snippets Groups Projects
  1. Jan 31, 2017
  2. Jan 19, 2017
  3. Jan 11, 2017
  4. Jan 07, 2017
  5. Dec 25, 2016
  6. Dec 10, 2016
  7. Dec 09, 2016
  8. Dec 06, 2016
  9. Dec 02, 2016
  10. Nov 30, 2016
    • Alex Reisner's avatar
      Remove debugging line. · aa5aba66
      Alex Reisner authored
      aa5aba66
    • Alex Reisner's avatar
      Avoid calling fetch_data within method. · 9d48fb85
      Alex Reisner authored
      9d48fb85
    • 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
  11. Nov 28, 2016
  12. Nov 15, 2016
  13. Nov 09, 2016
    • tunamonster's avatar
      Refactor calculations (#1116) · 1c306367
      tunamonster authored
      * Refactor calculations
      
      Refactored calculations::extract_coordinates and calculations::coordinates_present?
      
      coordinates_present?
      Checks whether an argument matches validating criteria (numeric, not NaN), rather than returning false when matching invalidating criteria.
      
      Also replaced .to_s == NaN with .to_f..nan? 
      
      extract_coordinates 
      Now calls coordinates_present? to validate the array, instead of comparing four booleans and initialising extra vars.
      
      * Removed .map and ternary from coordinates_present?
      
      Updated pull request according to Lime's suggestions.
      1c306367
  14. Oct 18, 2016
  15. Oct 08, 2016
  16. Sep 27, 2016
  17. Sep 22, 2016
Loading