]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm.rb
Sort node ids in test_ways_for_node
[rails.git] / lib / osm.rb
index a85a7dfecd91be7d22ee18f07c3e8c252371932a..dd62d6620c7ca4f06eb7f726ba962eb0a39e0241 100644 (file)
@@ -455,7 +455,7 @@ module OSM
   end
 
   def self.IPToCountry(ip_address)
-    Timeout::timeout(4) do
+    Timer.timeout(4) do
       ipinfo = Quova::IpInfo.new(ip_address)
 
       if ipinfo.status == Quova::Success then