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: e16d6630ce581c4f8c36a77f19be4db02c6031a5 https://github.com/ranguba/epub-searcher/commit/e16d6630ce581c4f8c36a77f19be4db02c6031a5 Message: [BUG FIX]Don't use 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����������������������������...Download