KITAITI Makoto
null+****@clear*****
Mon Mar 14 01:26:01 JST 2016
KITAITI Makoto 2016-03-14 01:26:01 +0900 (Mon, 14 Mar 2016) New Revision: 4abed5f3bafede71b1eca30abd6a5f92037594cc https://github.com/ranguba/epub-searcher/commit/4abed5f3bafede71b1eca30abd6a5f92037594cc Message: [BUG FIX]Don't use String#puts on handling with binary files Modified files: lib/epub-searcher/epub-file.rb Modified: lib/epub-searcher/epub-file.rb (+1 -1) =================================================================== --- lib/epub-searcher/epub-file.rb 2016-03-14 01:25:15 +0900 (296eeac) +++ lib/epub-searcher/epub-file.rb 2016-03-14 01:26:01 +0900 (3560077) @@ -29,7 +29,7 @@ module EPUBSearcher local_path = make_temporary_local_path(basename) FileUtils.mkdir_p(File.dirname(local_path)) open(local_path, 'w:ASCII-8BIT') do |file| - file.puts download_remote_file(url) + file.print download_remote_file(url) end return local_path end -------------- next part -------------- HTML����������������������������... Descargar