YUKI Hiroshi
null+****@clear*****
Thu Apr 24 18:47:02 JST 2014
YUKI Hiroshi 2014-04-24 18:47:02 +0900 (Thu, 24 Apr 2014) New Revision: fe1150f93bfeccd41278b42b3ff0af4213cc32a4 https://github.com/droonga/droonga-engine/commit/fe1150f93bfeccd41278b42b3ff0af4213cc32a4 Message: Fix syntax error as Ruby Modified files: lib/droonga/catalog_generator.rb Modified: lib/droonga/catalog_generator.rb (+7 -7) =================================================================== --- lib/droonga/catalog_generator.rb 2014-04-24 18:46:15 +0900 (421a572) +++ lib/droonga/catalog_generator.rb 2014-04-24 18:47:02 +0900 (adb2f2d) @@ -115,9 +115,9 @@ module Droonga slices << generate_slice end { - "dimension": "_key", - "slicer": "hash", - "slices": slices + "dimension" => "_key", + "slicer" => "hash", + "slices" => slices, } end @@ -125,10 +125,10 @@ module Droonga name = sprintf('%03d', @n_volumes) @n_volumes += 1 { - "weight": weight, - "volume": { - "address": "#{host}:#{port}/#{tag}.#{name}" - } + "weight" => weight, + "volume" => { + "address" => "#{host}:#{port}/#{tag}.#{name}", + }, } end -------------- next part -------------- HTML����������������������������...Download