[Groonga-commit] ranguba/rroonga at 08009eb [master] Revert "Add Groonga::Type::REGEXP for TokenRegexp"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 2 18:00:27 JST 2015


Kouhei Sutou	2015-04-02 18:00:27 +0900 (Thu, 02 Apr 2015)

  New Revision: 08009ebc23628eda8ec72ddffb4719c4f1d19755
  https://github.com/ranguba/rroonga/commit/08009ebc23628eda8ec72ddffb4719c4f1d19755

  Merged 588ff73: Merge pull request #77 from ranguba/revert-76-add-token-regexp-type

  Message:
    Revert "Add Groonga::Type::REGEXP for TokenRegexp"

  Modified files:
    ext/groonga/rb-grn-type.c
    test/test-type.rb

  Modified: ext/groonga/rb-grn-type.c (+0 -1)
===================================================================
--- ext/groonga/rb-grn-type.c    2015-04-02 17:58:36 +0900 (bb755b0)
+++ ext/groonga/rb-grn-type.c    2015-04-02 18:00:27 +0900 (30d2c98)
@@ -278,5 +278,4 @@ rb_grn_init_type (VALUE mGrn)
     rb_define_const(rb_cGrnType, "BIGRAM", INT2NUM(GRN_DB_BIGRAM));
     rb_define_const(rb_cGrnType, "TRIGRAM", INT2NUM(GRN_DB_TRIGRAM));
     rb_define_const(rb_cGrnType, "MECAB", INT2NUM(GRN_DB_MECAB));
-    rb_define_const(rb_cGrnType, "REGEXP", INT2NUM(GRN_OP_REGEXP));
 }

  Modified: test/test-type.rb (+0 -4)
===================================================================
--- test/test-type.rb    2015-04-02 17:58:36 +0900 (408abb8)
+++ test/test-type.rb    2015-04-02 18:00:27 +0900 (9defdbf)
@@ -156,9 +156,5 @@ class TypeTest < Test::Unit::TestCase
       check_mecab_availability
       assert_equal_type("TokenMecab",  Groonga::Type::MECAB)
     end
-
-    def test_regexp
-      assert_equal_type("TokenRegexp",  Groonga::Type::REGEXP)
-    end
   end
 end
-------------- next part --------------
HTML����������������������������...
Descargar 



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