metainspector 1.9.4 → 1.9.5

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.
@@ -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