lib/iconoclasm.rb in iconoclasm-1.0.7 vs lib/iconoclasm.rb in iconoclasm-1.0.8
- old
+ new
@@ -1,5 +1,14 @@
+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'
@@ -21,6 +30,6 @@
# For 1.8.6 compatibility.
class String
def lines
Enumerable::Enumerator.new(self.split("\n"))
end
-end unless ''.respond_to?(:lines)
+end unless ''.respond_to?(:lines)
\ No newline at end of file