[Groonga-commit] droonga/grn2drn at 323fe83 [master] Add "command" prefix

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Mar 14 16:02:06 JST 2014


Kouhei Sutou	2014-03-14 16:02:06 +0900 (Fri, 14 Mar 2014)

  New Revision: 323fe834b6c1bb5de8640513b20e054fa6dbb4eb
  https://github.com/droonga/grn2drn/commit/323fe834b6c1bb5de8640513b20e054fa6dbb4eb

  Message:
    Add "command" prefix
    
    I will add schema converter.

  Modified files:
    bin/grn2drn
  Renamed files:
    lib/grn2drn/command-converter.rb
      (from lib/grn2drn/converter.rb)
    test/test-command-converter.rb
      (from test/test-converter.rb)

  Modified: bin/grn2drn (+2 -2)
===================================================================
--- bin/grn2drn    2014-02-09 12:50:47 +0900 (8b15076)
+++ bin/grn2drn    2014-03-14 16:02:06 +0900 (7b8ad4c)
@@ -19,7 +19,7 @@
 require "ostruct"
 require "optparse"
 
-require "grn2drn/converter"
+require "grn2drn/command-converter"
 
 options = OpenStruct.new
 option_parser = OptionParser.new do |parser|
@@ -64,7 +64,7 @@ convert_options = {
   :reply_to => options.reply_to,
   :dataset => options.dataset,
 }
-converter = Grn2Drn::Converter.new(convert_options)
+converter = Grn2Drn::CommandConverter.new(convert_options)
 
 source_file = args[0]
 result_file = args[1]

  Renamed: lib/grn2drn/command-converter.rb (+1 -1) 99%
===================================================================
--- lib/grn2drn/converter.rb    2014-02-09 12:50:47 +0900 (65cb9bf)
+++ lib/grn2drn/command-converter.rb    2014-03-14 16:02:06 +0900 (a9ca7f9)
@@ -22,7 +22,7 @@ require "json"
 require "groonga/command/parser"
 
 module Grn2Drn
-  class Converter
+  class CommandConverter
     def initialize(options={})
       @options = options
       @count = 0

  Renamed: test/test-command-converter.rb (+3 -3) 98%
===================================================================
--- test/test-converter.rb    2014-02-09 12:50:47 +0900 (4f69f6f)
+++ test/test-command-converter.rb    2014-03-14 16:02:06 +0900 (cf892ac)
@@ -13,9 +13,9 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-require "grn2drn/converter"
+require "grn2drn/command-converter"
 
-class ConverterTest < Test::Unit::TestCase
+class CommandConverterTest < Test::Unit::TestCase
   private
   def converter
     options = {
@@ -24,7 +24,7 @@ class ConverterTest < Test::Unit::TestCase
       :reply_to => reply_to,
       :dataset => dataset,
     }
-    Grn2Drn::Converter.new(options)
+    Grn2Drn::CommandConverter.new(options)
   end
 
   def convert(groonga_commands)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index