Kouhei Sutou
null+****@clear*****
Tue Dec 17 18:02:21 JST 2013
Kouhei Sutou 2013-12-17 18:02:21 +0900 (Tue, 17 Dec 2013) New Revision: e42c7592b26f339ed9f4a3f0d045eb692fa57841 https://github.com/droonga/drntest/commit/e42c7592b26f339ed9f4a3f0d045eb692fa57841 Message: Remove needless "json_" prefix Parsed JSON is not JSON. It is just an object. Modified files: lib/drntest/test-executor.rb Modified: lib/drntest/test-executor.rb (+3 -3) =================================================================== --- lib/drntest/test-executor.rb 2013-12-17 18:00:44 +0900 (00e0cfb) +++ lib/drntest/test-executor.rb 2013-12-17 18:02:21 +0900 (650c217) @@ -59,9 +59,9 @@ module Drntest def load_jsons(path) parser = Yajl::Parser.new - json_objects = [] - parser.on_parse_complete = Proc.new do |json_object| - json_objects << json_object + objects = [] + parser.on_parse_complete = Proc.new do |object| + objects << object end Pathname(path).read.each_line do |line| if line[0] == "#" -------------- next part -------------- HTML����������������������������...Download