lib/scrapzirra/injector.rb in scrapzirra-0.0.5 vs lib/scrapzirra/injector.rb in scrapzirra-0.0.6

- old
+ new

@@ -3,9 +3,9 @@ attr_accessor :feed def initialize feed, options = {} @feed = feed @feed.class.send :include, Scrapzirra::FeedUtilities - @feed.entries.first.class.send :include, Scrapzirra::FeedUtilities unless @feed.entries.blank? + @feed.entries.first.class.send :include, Scrapzirra::FeedUtilities unless @feed.entries.size.zero? end end end