iconoclasm 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
22
  *.gemspec
23
+ *.gem
@@ -1,12 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'curb'
3
3
 
4
- module Iconoclasm
5
- def self.version
6
- "1.0.8"
7
- end
8
- end
9
-
10
4
  $:.unshift(File.dirname(__FILE__))
11
5
  require 'iconoclasm/downloader'
12
6
  require 'iconoclasm/errors'
@@ -19,6 +13,10 @@ module Iconoclasm
19
13
  class << self
20
14
  include Iconoclasm::Extractor
21
15
  attr_accessor :timeout
16
+
17
+ def version
18
+ "1.0.9"
19
+ end
22
20
 
23
21
  def extract(url, content = nil)
24
22
  Iconoclasm::Favicon.new(extract_favicon_from(url, content))
@@ -1,7 +1,7 @@
1
1
  module Iconoclasm
2
2
  module Downloader
3
3
 
4
- @@user_agent = %Q{Mozilla/5.0 (compatible; Iconoclasm/#{Iconoclasm.version}; +http://github.com/sander6/iconoclasm)}
4
+ @@user_agent = %Q{Mozilla/5.0 (compatible; Iconoclasm/1.0; +http://github.com/sander6/iconoclasm)}
5
5
 
6
6
  def self.user_agent=(agent)
7
7
  @@user_agent = agent
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 8
9
- version: 1.0.8
8
+ - 9
9
+ version: 1.0.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sander Hartlage