Configurations changed to provide a DSL (similar to Rails) to configure Geocoder. A singleton pattern was used to allow the code *Geocoder.configure { |config| ... }*, and delegation was used to maintain compatibility. New configuration options (units and method) for calculations were implemented, with default value: km and spherical, respectively.
Reimplemented +set_defaults+, all tests are well succeded
New configuration tests addedd
Improviments in configuration DSL (no argument for block configuration needed).
Models chenged to use the configurations for units and method. Some tests included.
Some tests with model configuration included.
Tests to the configuration chain included.
Creating a config generator for Geocoder.
Including some requires
Making generators work by solving the lookup path...
Removing some dirty debugging strings...
add MaxMind support for ip geocoding
fixes Maxmind data parsing (now using csv lib)
Initial implementation of test mode for easier stubbing
Merge branch 'test_mode' of git://github.com/mguterl/geocoder into mguterl-test_mode
Replace Geocoder::Configuration.test_mode with implementation on Geocoder::Lookup::Test
Fix a typo 'villiage' with village
Added mapquest open api
Add an :all flag to pass through all errors so none are ignored
Fix inconsistent indent.