YUKI Hiroshi
null+****@clear*****
Thu May 29 21:01:16 JST 2014
YUKI Hiroshi 2014-05-29 21:01:16 +0900 (Thu, 29 May 2014) New Revision: 9daab7f2f11a3515c0c1513172e388473758d488 https://github.com/droonga/droonga-engine/commit/9daab7f2f11a3515c0c1513172e388473758d488 Message: Expand path Modified files: bin/droonga-engine-catalog-generate lib/droonga/live_nodes_list_observer.rb Modified: bin/droonga-engine-catalog-generate (+1 -1) =================================================================== --- bin/droonga-engine-catalog-generate 2014-05-29 20:04:22 +0900 (76180b4) +++ bin/droonga-engine-catalog-generate 2014-05-29 21:01:16 +0900 (90f3900) @@ -100,7 +100,7 @@ def open_output(path) yield($stdout) else # Don't output the file directly to prevent loading of incomplete file! - path = Pathname(path) + path = Pathname(path).expand_path Tempfile.open(path.basename.to_s, path.parent.to_s, "w") do |output| yield(output) output.flush Modified: lib/droonga/live_nodes_list_observer.rb (+1 -1) =================================================================== --- lib/droonga/live_nodes_list_observer.rb 2014-05-29 20:04:22 +0900 (c080c0c) +++ lib/droonga/live_nodes_list_observer.rb 2014-05-29 21:01:16 +0900 (0249390) @@ -39,7 +39,7 @@ module Droonga def start path = self.class.path - file_name = path.to_s + file_name = path.expand_path.to_s directory = path.dirname.to_s FileUtils.mkdir_p(directory) @listener = Listen.to(directory) do |modified, added, removed| -------------- next part -------------- HTML����������������������������... 下载