lib/geonames_api.rb in geonames_api-0.1.5 vs lib/geonames_api.rb in geonames_api-0.1.6

- old
+ new

@@ -39,9 +39,10 @@ }.delete_if{ |k, v| v.blank? } end end +require 'geonames_api/version' # explicit require version file because it doesn't contain any class which can be autoload Dir[File.dirname(__FILE__) + '/geonames_api/*.rb'].each do |file| tgt = File.basename(file, File.extname(file)) GeoNamesAPI.autoload tgt.camelize, "geonames_api/#{tgt}" end