[Groonga-commit] droonga/droonga-engine at 0b891b6 [master] Use Pathname.glob correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jun 26 14:45:39 JST 2014


YUKI Hiroshi	2014-06-26 14:45:39 +0900 (Thu, 26 Jun 2014)

  New Revision: 0b891b6ef947f32face7003df319322e3e41a4f0
  https://github.com/droonga/droonga-engine/commit/0b891b6ef947f32face7003df319322e3e41a4f0

  Message:
    Use Pathname.glob correctly

  Modified files:
    lib/droonga/forwarder.rb

  Modified: lib/droonga/forwarder.rb (+1 -1)
===================================================================
--- lib/droonga/forwarder.rb    2014-06-26 14:27:13 +0900 (fecfb82)
+++ lib/droonga/forwarder.rb    2014-06-26 14:45:39 +0900 (98ce8d5)
@@ -55,7 +55,7 @@ module Droonga
       return unless Path.buffer.exist?
       Pathname.glob("#{Path.buffer}/*") do |path|
         next unless path.directory?
-        next if path.glob("*").zero?
+        next if Pathname.glob("#{path.to_s}/*").zero?
 
         destination = path.basename.to_s
         next if****@sende*****?(destination)
-------------- next part --------------
HTML����������������������������...
Télécharger 



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