metainspector 1.9.4 → 1.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -154,12 +154,13 @@ module MetaInspector
154
154
 
155
155
  def parsed_images
156
156
  @parsed_images ||= parsed_document.search('//img') \
157
- .reject{|i| i.attributes['src'].blank? } \
157
+ .reject{|i| (i.attributes['src'].nil? || i.attributes['src'].value.empty?) } \
158
158
  .map{ |i| i.attributes['src'].value }.uniq
159
159
  end
160
160
 
161
161
  # Stores the error for later inspection
162
162
  def add_fatal_error(error)
163
+ warn error
163
164
  @errors << error
164
165
  end
165
166
 
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module MetaInspector
4
- VERSION = "1.9.4"
4
+ VERSION = "1.9.5"
5
5
  end