lib/iconoclasm.rb in iconoclasm-1.0.8 vs lib/iconoclasm.rb in iconoclasm-1.0.9

- old
+ new

@@ -1,14 +1,8 @@ require 'rubygems' require 'curb' -module Iconoclasm - def self.version - "1.0.8" - end -end - $:.unshift(File.dirname(__FILE__)) require 'iconoclasm/downloader' require 'iconoclasm/errors' require 'iconoclasm/extractor' require 'iconoclasm/favicon' @@ -17,9 +11,13 @@ module Iconoclasm class << self include Iconoclasm::Extractor attr_accessor :timeout + + def version + "1.0.9" + end def extract(url, content = nil) Iconoclasm::Favicon.new(extract_favicon_from(url, content)) end end \ No newline at end of file