Kouhei Sutou
null+****@clear*****
Mon Mar 21 22:19:35 JST 2016
Kouhei Sutou 2016-03-21 22:19:35 +0900 (Mon, 21 Mar 2016) New Revision: f0fb82dafe1f83d40a9ab07d5153d5d88a523f50 https://github.com/ranguba/groonga-client/commit/f0fb82dafe1f83d40a9ab07d5153d5d88a523f50 Message: Accept nil as read_timeout Modified files: lib/groonga/client/protocol/http/synchronous.rb Modified: lib/groonga/client/protocol/http/synchronous.rb (+1 -1) =================================================================== --- lib/groonga/client/protocol/http/synchronous.rb 2016-03-21 22:19:24 +0900 (8103de9) +++ lib/groonga/client/protocol/http/synchronous.rb 2016-03-21 22:19:35 +0900 (136bcea) @@ -111,7 +111,7 @@ module Groonga def read_timeout timeout = @options[:read_timeout] - if timeout < 0 + if timeout.nil? or timeout < 0 nil else timeout -------------- next part -------------- HTML����������������������������... Descargar