[Groonga-commit] ranguba/chupa-text-decomposer-libreoffice at 376b821 [master] Follow new ChupaText API

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jul 6 15:38:20 JST 2017


Kouhei Sutou	2017-07-06 15:38:20 +0900 (Thu, 06 Jul 2017)

  New Revision: 376b821f75caaef0deebe76c73ad3f65a56b4606
  https://github.com/ranguba/chupa-text-decomposer-libreoffice/commit/376b821f75caaef0deebe76c73ad3f65a56b4606

  Message:
    Follow new ChupaText API

  Modified files:
    lib/chupa-text/decomposers/libreoffice.rb

  Modified: lib/chupa-text/decomposers/libreoffice.rb (+2 -2)
===================================================================
--- lib/chupa-text/decomposers/libreoffice.rb    2017-07-06 15:37:32 +0900 (b98f1e1)
+++ lib/chupa-text/decomposers/libreoffice.rb    2017-07-06 15:38:20 +0900 (d17a1b7)
@@ -94,7 +94,7 @@ module ChupaText
                                    "--nologo",
                                    "--convert-to", "pdf",
                                    "--outdir", temporary_directory,
-                                   data.path,
+                                   data.path.to_s,
                                    {
                                      :spawn_options => {
                                        :out => output.path,
@@ -123,7 +123,7 @@ module ChupaText
             return nil
           end
           File.open(pdf_path, "rb") do |pdf|
-            ChupaText::VirtualFileData.new(pdf_path, pdf)
+            ChupaText::VirtualFileData.new(pdf_path, pdf, :source_data => data)
           end
         end
       end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index