[Groonga-commit] groonga/grntest [master] Remove the convert for json object

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 6日 (水) 13:58:28 JST


Haruka Yoshihara	2012-06-06 13:58:28 +0900 (Wed, 06 Jun 2012)

  New Revision: a1d2e91f3eade7fb41dc358dbfbaac31128a2f7c

  Log:
    Remove the convert for json object

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+0 -7)
===================================================================
--- lib/groonga/tester.rb    2012-06-06 13:53:47 +0900 (86fb3c9)
+++ lib/groonga/tester.rb    2012-06-06 13:58:28 +0900 (2a22a48)
@@ -624,13 +624,6 @@ module Groonga
         line = @gqtp_command.chomp
         return "" if line.empty?
 
-        line = line.gsub(/"/, "\\\\\"")
-        json = line[/\[.+\]/]
-
-        unless json.nil?
-          line[/\[.+\]/] = "--values #{json.gsub(/\s/, "")}"
-        end
-
         command = nil
         arguments = nil
         load_values = ""




Groonga-commit メーリングリストの案内
Back to archive index