Kouhei Sutou
null+****@clear*****
Tue Oct 8 23:17:52 JST 2013
Kouhei Sutou 2013-10-08 23:17:52 +0900 (Tue, 08 Oct 2013) New Revision: 7fd56e63d9a716a4e217dba7cba2c953ed3ef6f1 https://github.com/groonga/groonga/commit/7fd56e63d9a716a4e217dba7cba2c953ed3ef6f1 Message: mruby: expand abbreviated name "expr" to "expression" We use rroonga like API rather than groonga like API. Because rroonga provides more Ruby-ish API. Modified files: lib/mrb/mrb_expr.c lib/mrb/scripts/sources.am test/command/suite/ruby/load/existent.expected test/command/suite/ruby/load/existent.test Renamed files: lib/mrb/scripts/expression.rb (from lib/mrb/scripts/expr.rb) Modified: lib/mrb/mrb_expr.c (+1 -1) =================================================================== --- lib/mrb/mrb_expr.c 2013-10-08 23:13:22 +0900 (1d9cd73) +++ lib/mrb/mrb_expr.c 2013-10-08 23:17:52 +0900 (4751b76) @@ -348,7 +348,7 @@ grn_mrb_expr_init(grn_ctx *ctx) mrb_define_class_method(mrb, module, "build", mrb_grn_expr_build, MRB_ARGS_REQ(4)); - grn_mrb_load(ctx, "expr.rb"); + grn_mrb_load(ctx, "expression.rb"); } scan_info ** Renamed: lib/mrb/scripts/expression.rb (+1 -1) 56% =================================================================== --- lib/mrb/scripts/expr.rb 2013-10-08 23:13:22 +0900 (058fee3) +++ lib/mrb/scripts/expression.rb 2013-10-08 23:17:52 +0900 (1d5d57e) @@ -1,4 +1,4 @@ module Groonga - class Expr + class Expression end end Modified: lib/mrb/scripts/sources.am (+1 -1) =================================================================== --- lib/mrb/scripts/sources.am 2013-10-08 23:13:22 +0900 (1115afc) +++ lib/mrb/scripts/sources.am 2013-10-08 23:17:52 +0900 (5b59552) @@ -1,2 +1,2 @@ ruby_scripts_DATA = \ - expr.rb + expression.rb Modified: test/command/suite/ruby/load/existent.expected (+1 -1) =================================================================== --- test/command/suite/ruby/load/existent.expected 2013-10-08 23:13:22 +0900 (526ebe0) +++ test/command/suite/ruby/load/existent.expected 2013-10-08 23:17:52 +0900 (0164760) @@ -1,4 +1,4 @@ register ruby/load [[0,0.0,0.0],true] -ruby_load "expr.rb" +ruby_load "expression.rb" [[0,0.0,0.0],{"value":null}] Modified: test/command/suite/ruby/load/existent.test (+1 -1) =================================================================== --- test/command/suite/ruby/load/existent.test 2013-10-08 23:13:22 +0900 (4f79d38) +++ test/command/suite/ruby/load/existent.test 2013-10-08 23:17:52 +0900 (03d95b3) @@ -2,4 +2,4 @@ register ruby/load #@on-error default -ruby_load "expr.rb" +ruby_load "expression.rb" -------------- next part -------------- HTML����������������������������...Download