Explorar el Código

Silence Nokogiri warnings

Thibaut hace 11 años
padre
commit
1fa81b8461
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      lib/docs/core/scraper.rb

+ 2 - 1
lib/docs/core/scraper.rb

@@ -137,7 +137,8 @@ module Docs
     end
 
     def process_response(response)
-      pipeline.call parse(response.body), pipeline_context(response), data = {}
+      data = {}
+      quietly { pipeline.call(parse(response.body), pipeline_context(response), data) }
       data
     end