- Aug 25, 2016
-
-
aleem uddin authored
-
- Aug 19, 2016
-
-
Will Jordan authored
-
- Jul 27, 2016
-
-
Alex Reisner authored
Prevent rake task crash when BATCH not specified
-
Paul Cantrell authored
In Rails 5, `rake geocode:all` crashes: ``` $ rake geocode:all CLASS=Whatzit rake aborted! ArgumentError: comparison of Fixnum with nil failed /Users/paul/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb:217:in `<' /Users/paul/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb:217:in `block in in_batches' /Users/paul/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb:198:in `loop' /Users/paul/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb:198:in `in_batches' /Users/paul/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb:120:in `find_in_batches' /Users/paul/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb:58:in `find_each' /Users/paul/.rvm/gems/ruby-2.2.2/gems/geocoder-1.2.2/lib/tasks/geocoder.rake:11:in `block (2 levels) in <top (required)>' /Users/paul/.rvm/gems/ruby-2.2.2/gems/rake-11.2.2/exe/rake:27:in `<top (required)>' /Users/paul/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval' /Users/paul/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => geocode:all (See full trace by running task with --trace) ``` The problem seems to be that `find_each` used to default the `batch:` param when it was explicitly set to nil, but now passes an explicit nil on through. This patch fixes the issue by defaulting the batch size in the rake task.
-
- Jun 27, 2016
-
-
Alex Reisner authored
-
Steve Jorgensen authored
-
Alex Reisner authored
Fix ambiguous 1st argument warnings in Ruby 2.3.x
-
Alex Reisner authored
Add .ruby-version to .gitignore
-
- Jun 26, 2016
-
-
Steve Jorgensen authored
-
Steve Jorgensen authored
-
- Jun 25, 2016
-
-
Steve Jorgensen authored
-
- Jun 09, 2016
-
-
Alex Reisner authored
-
Eric Bouchut authored
Was causing: NoMethodError: private method `include' called for ActionDispatch::Request:Class
-
- Jun 07, 2016
-
-
Hassanin Ahmed authored
* handles unreachable network exception * adds network error class * tests unreachable host exception handling
-
- Jun 02, 2016
-
-
Alex Reisner authored
Change SmartyStreets Zipcode API. Smarty street's new zipcode api endpoint as of 26 March 2016. http://status.smartystreets.com/incidents/4hjpfqh9q2k7
-
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.
-
- May 31, 2016
-
-
Alex Reisner authored
-
Alex Reisner authored
try Rack::Request if ActionDispatch::Request is not defined, fixes #1060
-
Alessandro Lepore authored
-
- May 27, 2016
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Wasn't testing what it claimed to be testing.
-
- May 26, 2016
-
-
Aaron Parecki authored
-
Alex Reisner authored
Intended to fix #1048.
-
Alex Reisner authored
add `source_country` parameter for esri geocoder
-
- May 25, 2016
-
-
Aaron Parecki authored
-
Alex Reisner authored
Add Method for Merging Lookup Configuration
-
Alex Reisner authored
ESRI lookup now uses this method.
-
Alex Reisner authored
-
Alex Reisner authored
fix merging esri config when generating a token
-
Aaron Parecki authored
-
Alex Reisner authored
This should improve readability and make testing easier as it separates the various tasks into separate methods.
-
Alex Reisner authored
-
Alex Reisner authored
-
- May 24, 2016
-
-
Alex Reisner authored
Add Mapzen reverse geocoding
-
Shinya Kitamura authored
-
- May 20, 2016
-
-
Alessandro Lepore authored
-
- May 17, 2016
-
-
Alex Reisner authored
fix reference to EsriToken, avoid using rails .minutes
-
Aaron Parecki authored
-
- May 16, 2016
-
-
Alex Reisner authored
Disable SSL v2 and v3 if ssl enabled
-