lib/anemone/core.rb in anemone-0.0.3 vs lib/anemone/core.rb in anemone-0.0.4

- old
+ new

@@ -101,10 +101,12 @@ @pages[page.url] = page puts "#{page.url} Queue: #{link_queue.size}" if Anemone.options.verbose do_page_blocks(page) + + page.doc = nil if Anemone.options.discard_page_bodies page.links.each do |link| if visit_link?(link) link_queue.enq(link) @pages[link] = nil @@ -129,10 +131,10 @@ break end end end - + @tentacles.each { |t| t.join } self end