Implement support for all MaxMind services.
Now it is necessary to specify which service is being used: Geocoder.configure(:maxmind => {:service => ...}) where '...' is one of: < :country | :city | :city_isp_org | :omni >
Showing
- lib/geocoder/lookups/maxmind.rb 30 additions, 6 deletionslib/geocoder/lookups/maxmind.rb
- lib/geocoder/results/maxmind.rb 105 additions, 24 deletionslib/geocoder/results/maxmind.rb
- test/fixtures/maxmind_24_24_24_21 1 addition, 0 deletionstest/fixtures/maxmind_24_24_24_21
- test/fixtures/maxmind_24_24_24_22 1 addition, 0 deletionstest/fixtures/maxmind_24_24_24_22
- test/fixtures/maxmind_24_24_24_23 1 addition, 0 deletionstest/fixtures/maxmind_24_24_24_23
- test/fixtures/maxmind_24_24_24_24 1 addition, 0 deletionstest/fixtures/maxmind_24_24_24_24
- test/fixtures/maxmind_74_200_247_59 1 addition, 1 deletiontest/fixtures/maxmind_74_200_247_59
- test/services_test.rb 35 additions, 5 deletionstest/services_test.rb
- test/test_helper.rb 6 additions, 1 deletiontest/test_helper.rb
test/fixtures/maxmind_24_24_24_21
0 → 100644
test/fixtures/maxmind_24_24_24_22
0 → 100644
test/fixtures/maxmind_24_24_24_23
0 → 100644
test/fixtures/maxmind_24_24_24_24
0 → 100644
Please register or sign in to comment