Kouhei Sutou
null+****@clear*****
Sat Feb 18 00:48:17 JST 2017
Kouhei Sutou 2017-02-18 00:48:17 +0900 (Sat, 18 Feb 2017) New Revision: 17361df2784705e3ff2118bc3dcd9b5256f404cd https://github.com/ranguba/chupa-text/commit/17361df2784705e3ff2118bc3dcd9b5256f404cd Message: Show URI instead of path Modified files: lib/chupa-text/extractor.rb Modified: lib/chupa-text/extractor.rb (+2 -2) =================================================================== --- lib/chupa-text/extractor.rb 2017-02-18 00:24:57 +0900 (a83d659) +++ lib/chupa-text/extractor.rb 2017-02-18 00:48:17 +0900 (615ae18) @@ -62,7 +62,7 @@ module ChupaText until targets.empty? target = targets.pop debug do - "#{log_tag}[extract][target] <#{target.path}>:<#{target.mime_type}>" + "#{log_tag}[extract][target] <#{target.uri}>:<#{target.mime_type}>" end decomposer = find_decomposer(target) if decomposer.nil? @@ -80,7 +80,7 @@ module ChupaText debug do "#{log_tag}[extract][decomposed] " + "#{decomposer.class}: " + - "<#{target.path}>:<#{target.mime_type}> -> " + + "<#{target.uri}>:<#{target.mime_type}> -> " + "<#{decomposed.mime_type}>" end targets.push(decomposed) -------------- next part -------------- HTML����������������������������... Descargar