YUKI Hiroshi
null+****@clear*****
Mon Dec 9 14:08:28 JST 2013
YUKI Hiroshi 2013-12-09 14:08:28 +0900 (Mon, 09 Dec 2013) New Revision: 52de36e192de33dcf503469106b2493ad454058c https://github.com/droonga/fluent-plugin-droonga/commit/52de36e192de33dcf503469106b2493ad454058c Message: Accept offset larger than the size of the items Modified files: lib/droonga/plugin/collector/basic.rb Modified: lib/droonga/plugin/collector/basic.rb (+1 -1) =================================================================== --- lib/droonga/plugin/collector/basic.rb 2013-12-09 13:49:09 +0900 (57e7aae) +++ lib/droonga/plugin/collector/basic.rb 2013-12-09 14:08:28 +0900 (5a52160) @@ -67,7 +67,7 @@ module Droonga if items && items.is_a?(Array) offset = output["offset"] || 0 unless offset.zero? - items = items[offset..-1] + items = items[offset..-1] || [] end limit = output["limit"] || 0 -------------- next part -------------- HTML����������������������������...ダウンロード