cyx / ip_to_country

Gives you the 2 letter iso of the country given an ip address (based off of rubyquiz, just made it a plugin)

This URL has Read+Write access

name age message
file MIT-LICENSE Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
file README Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
file Rakefile Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
directory bin/ Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
file init.rb Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
file install.rb Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
directory lib/ Fri Nov 06 08:32:38 -0800 2009 tweaks to add white lists [cyx]
directory spec/ Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
directory tasks/ Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
file uninstall.rb Wed Oct 08 23:00:22 -0700 2008 initial commit [cyx]
README
IpToCountry
===========

This plugin is based off of rubyquiz. 

Example
=======

IpToCountry.country_of( "121.254.166.40" ) 

# => 'KR'

Copyright (c) 2008 [Cyril David], released under the MIT license