juice_extractor 0.0.1.2 → 0.0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module ColorExtractor
2
2
  def self.implicit_colors(site_url, quantize = nil)
3
- return [] if site_url.nil?
3
+ return [] if site_url.nil? || site_url.empty?
4
4
  image_path = Base.screenshot(site_url)
5
5
  img = Magick::ImageList.new(image_path)
6
6
  img = img.quantize(quantize) if quantize
@@ -1,3 +1,3 @@
1
1
  module JuiceExtractor
2
- VERSION = "0.0.1.2"
2
+ VERSION = "0.0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: juice_extractor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 79
4
+ hash: 77
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 1
10
- - 2
11
- version: 0.0.1.2
10
+ - 3
11
+ version: 0.0.1.3
12
12
  platform: ruby
13
13
  authors:
14
14
  - Adrian Castillo
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-10-23 00:00:00 Z
19
+ date: 2012-11-05 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rmagick