rroonga 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd29ed62575d3db06ed7cdf23cef22b2d3e82f93
4
- data.tar.gz: 3347850c6d34e77c4513b39123a85488f92d02ab
3
+ metadata.gz: 450be499e880c47f2314a3857389a9cf8dc09c25
4
+ data.tar.gz: b604764debc83c0b075de9becc94c04ac2f2a409
5
5
  SHA512:
6
- metadata.gz: 00d22aee2a5ad87495f4ff6e47a7d094d2e484efb9949a814e84027c701e0f4978c2c5518d5c157f33bb2a1361b01112f4ae313c8786ca93358aec85c54a0ca1
7
- data.tar.gz: 357757448937499624e178775995844e217f54412c253d703034f93300a0974f88075daf865f1818b736568fbc64662cdf1fdfffc194c2e9b1154503871d99e0
6
+ metadata.gz: 4a77d83e9f7f4d53da85d686d334a16fe2c5af57cf475d0774bf8f6477576657512dde969a0e915f79e38e43b68499dbde32784e917e8a33bb5d5a04c06ed2cc
7
+ data.tar.gz: 96148756e41053414d8bacc15f69262e6d7f4d0eac8f44ec318619641e29260e0d263430f25b1964f3d4f94225e5617fac5a793c141be3f5f51d1f9a650fe599
data/README.textile CHANGED
@@ -53,7 +53,7 @@ h2. Documents
53
53
 
54
54
  h2. Mailing list
55
55
 
56
- * English: "groonga-users-en":http://rubyforge.org/mailman/listinfo/groonga-users-en
56
+ * English: "groonga-talk":http://lists.sourceforge.net/mailman/listinfo/groonga-talk
57
57
  * Japanese: "groonga-dev":http://lists.sourceforge.jp/mailman/listinfo/groonga-dev
58
58
 
59
59
  h2. Thanks
data/Rakefile CHANGED
@@ -26,13 +26,6 @@ require "bundler/gem_helper"
26
26
  require "rake/extensiontask"
27
27
  require "packnga"
28
28
 
29
- if YAML.const_defined?(:ENGINE)
30
- begin
31
- YAML::ENGINE.yamler = "psych"
32
- rescue LoadError
33
- end
34
- end
35
-
36
29
  base_dir = File.join(File.dirname(__FILE__))
37
30
 
38
31
  groonga_ext_dir = File.join(base_dir, "ext", "groonga")
@@ -105,38 +98,7 @@ relative_binary_dir = File.join("vendor", "local")
105
98
  vendor_dir = File.join(base_dir, relative_vendor_dir)
106
99
  binary_dir = File.join(base_dir, relative_binary_dir)
107
100
 
108
- groonga_win32_i386_p = ENV["GROONGA64"] != "yes"
109
-
110
- namespace :win32 do
111
- namespace :groonga do
112
- task :download do
113
- require "open-uri"
114
- require "./rroonga-build"
115
- groonga_version = RroongaBuild::LatestGroongaVersion::VERSION.join(".")
116
- base_name = "groonga-#{groonga_version}-"
117
- if groonga_win32_i386_p
118
- base_name << "x86"
119
- else
120
- base_name << "x64"
121
- end
122
- base_name << ".zip"
123
- base_url = "http://packages.groonga.org/windows/groonga/"
124
- Dir.chdir(base_dir) do
125
- unless File.exist?(base_name)
126
- open("#{base_url}#{base_name}", "rb") do |zip|
127
- File.open(base_name, "wb") do |output|
128
- output.print(zip.read)
129
- end
130
- end
131
- end
132
- sh("unzip", base_name)
133
- rm_rf(relative_binary_dir)
134
- mkdir_p(File.dirname(relative_binary_dir))
135
- mv(File.basename(base_name, ".*"), relative_binary_dir)
136
- end
137
- end
138
- end
139
- end
101
+ groonga_win32_i386_p = ENV["RROONGA_USE_GROONGA_X64"].nil?
140
102
 
141
103
  Rake::ExtensionTask.new("groonga", spec) do |ext|
142
104
  if groonga_win32_i386_p
data/bin/grndump CHANGED
@@ -16,11 +16,11 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 
19
- require 'ostruct'
20
- require 'optparse'
21
- require 'pathname'
19
+ require "ostruct"
20
+ require "optparse"
21
+ require "pathname"
22
22
 
23
- require 'groonga'
23
+ require "groonga"
24
24
 
25
25
  options = OpenStruct.new
26
26
  options.tables = []
@@ -29,6 +29,7 @@ options.dump_schema = true
29
29
  options.dump_tables = true
30
30
  options.order_by = "id"
31
31
  option_parser = OptionParser.new do |parser|
32
+ parser.version = Groonga::BINDINGS_VERSION
32
33
  parser.banner += " DB_PATH"
33
34
 
34
35
  parser.on("--no-dump-schema",
@@ -16,11 +16,11 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 
19
- require 'ostruct'
20
- require 'optparse'
21
- require 'pathname'
19
+ require "ostruct"
20
+ require "optparse"
21
+ require "pathname"
22
22
 
23
- require 'groonga/grntest-log'
23
+ require "groonga/grntest-log"
24
24
 
25
25
  options = OpenStruct.new
26
26
  options.format = "tsv"
@@ -28,6 +28,7 @@ options.resolution = 1
28
28
  options.output_items = ["qps"]
29
29
  options.output_path = nil
30
30
  option_parser = OptionParser.new do |parser|
31
+ parser.version = Groonga::BINDINGS_VERSION
31
32
  parser.banner += " LOG1 ..."
32
33
 
33
34
  available_formats = ["tsv", "csv"]
@@ -22,10 +22,19 @@ require "pathname"
22
22
 
23
23
  require "groonga"
24
24
 
25
- options = OpenStruct.new
25
+ options = Groonga::DatabaseInspector::Options.new
26
26
 
27
27
  parser = OptionParser.new
28
+ parser.version = Groonga::BINDINGS_VERSION
28
29
  parser.banner += " DB_PATH"
30
+ parser.on("--no-tables",
31
+ "Don't show table information") do |boolean|
32
+ options.show_tables = boolean
33
+ end
34
+ parser.on("--no-columns",
35
+ "Don't show column information") do |boolean|
36
+ options.show_columns = boolean
37
+ end
29
38
  args = parser.parse!(ARGV)
30
39
 
31
40
  if args.size != 1
@@ -35,6 +44,6 @@ end
35
44
  db_path = args[0]
36
45
 
37
46
  Groonga::Database.open(db_path) do |database|
38
- inspector = Groonga::DatabaseInspector.new(database)
47
+ inspector = Groonga::DatabaseInspector.new(database, options)
39
48
  inspector.report
40
49
  end
@@ -26,6 +26,7 @@ options = OpenStruct.new
26
26
  options.output_directory = "index-dump"
27
27
 
28
28
  option_parser = OptionParser.new do |parser|
29
+ parser.version = Groonga::BINDINGS_VERSION
29
30
  parser.banner += " DB_PATH"
30
31
 
31
32
  parser.on("--output-directory=DIRECTORY",
@@ -1,5 +1,24 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#3-1-1). 3.1.1: 2013-12-29
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Groonga 3.1.1.
8
+ * [groonga-database-inspect]: Added @--no-tables@ option for hiding
9
+ all table information.
10
+ * [groonga-database-inspect]: Added @--no-columns@ option for hiding
11
+ all column information.
12
+ * [doc] Updated English mailing list to use Groonga-talk.
13
+ [GitHub#14] [Patch by Masafumi Yokoyama]
14
+ * {Groonga::Expression#append_operation} supports operator name.
15
+ * {Groonga::Expression#append_constant} supports operator name.
16
+ * {Groonga::Expression#append_object} supports operator name.
17
+
18
+ h3. Thanks
19
+
20
+ * Masafumi Yokoyama
21
+
3
22
  h2(#3-1-0). 3.1.0: 2013-11-29
4
23
 
5
24
  h3. Improvements
@@ -7,6 +26,7 @@ h3. Improvements
7
26
  * Reduced build failure by automatically Groonga build.
8
27
  [Reported by SHIMADA Koji]
9
28
  * Added @groonga-database-inspect@ command that inspects passed database.
29
+ [Suggested by Genki Takiuchi]
10
30
  * {Groonga::Database#tables} ignores missing objects rather than raising
11
31
  an exception. Because the method is interested in only existing tables.
12
32
 
@@ -18,6 +38,7 @@ h3. Fixes
18
38
  h3. Thanks
19
39
 
20
40
  * SHIMADA Koji
41
+ * Genki Takiuchi
21
42
 
22
43
  h2(#3-0-9). 3.0.9: 2013-10-29
23
44
 
@@ -22,12 +22,7 @@ require "fileutils"
22
22
  require "shellwords"
23
23
  require "open-uri"
24
24
 
25
- begin
26
- require "pkg-config"
27
- rescue LoadError
28
- require "rubygems"
29
- require "pkg-config"
30
- end
25
+ require "pkg-config"
31
26
 
32
27
  base_dir = Pathname(__FILE__).dirname.parent.parent.expand_path
33
28
  $LOAD_PATH.unshift(base_dir.to_s)
@@ -184,7 +184,7 @@ rb_grn_expression_append_object (int argc, VALUE *argv, VALUE self)
184
184
 
185
185
  rb_scan_args(argc, argv, "12", &rb_object, &rb_operation, &rb_n_arguments);
186
186
  if (!NIL_P(rb_operation))
187
- operation = NUM2INT(rb_operation);
187
+ operation = RVAL2GRNOPERATOR(rb_operation);
188
188
  if (!NIL_P(rb_n_arguments))
189
189
  n_arguments = NUM2INT(rb_n_arguments);
190
190
 
@@ -222,7 +222,7 @@ rb_grn_expression_append_constant (int argc, VALUE *argv, VALUE self)
222
222
 
223
223
  rb_scan_args(argc, argv, "12", &rb_constant, &rb_operator, &rb_n_arguments);
224
224
  if (!NIL_P(rb_operator))
225
- operator = NUM2INT(rb_operator);
225
+ operator = RVAL2GRNOPERATOR(rb_operator);
226
226
  if (!NIL_P(rb_n_arguments))
227
227
  n_arguments = NUM2INT(rb_n_arguments);
228
228
 
@@ -259,7 +259,7 @@ rb_grn_expression_append_operation (VALUE self, VALUE rb_operation,
259
259
  NULL, NULL,
260
260
  NULL, NULL, NULL);
261
261
 
262
- operation = NUM2INT(rb_operation);
262
+ operation = RVAL2GRNOPERATOR(rb_operation);
263
263
  n_arguments = NUM2INT(rb_n_arguments);
264
264
  grn_expr_append_op(context, expression, operation, n_arguments);
265
265
  rb_grn_context_check(context, self);
data/ext/groonga/rb-grn.h CHANGED
@@ -84,7 +84,7 @@ RB_GRN_BEGIN_DECLS
84
84
 
85
85
  #define RB_GRN_MAJOR_VERSION 3
86
86
  #define RB_GRN_MINOR_VERSION 1
87
- #define RB_GRN_MICRO_VERSION 0
87
+ #define RB_GRN_MICRO_VERSION 1
88
88
 
89
89
  #define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
90
90
 
@@ -20,8 +20,10 @@ module Groonga
20
20
  # of the database.
21
21
  class DatabaseInspector
22
22
  # @param database [Database] The database to be inspected.
23
- def initialize(database)
23
+ # @param options [Options] The options to custom this inspector behavior.
24
+ def initialize(database, options=nil)
24
25
  @database = database
26
+ @options = options || Options.new
25
27
  end
26
28
 
27
29
  # Report inspected result of the database.
@@ -30,15 +32,42 @@ module Groonga
30
32
  # If it is @nil@, @$stdout@ is used.
31
33
  def report(output=nil)
32
34
  output ||= $stdout
33
- reporter = Reporter.new(@database, output)
35
+ reporter = Reporter.new(@database, @options, output)
34
36
  reporter.report
35
37
  end
36
38
 
39
+ # It is a class that keeps options for {DatabaseInspector}.
40
+ class Options
41
+ # @return [Boolean] (true) Shows information about tables if true,
42
+ # doesn't show it otherwise.
43
+ attr_writer :show_tables
44
+
45
+ # @return [Boolean] (true) Shows information about columns if true,
46
+ # doesn't show it otherwise. If {#show_tables} is false, information
47
+ # about columns isn't always shown.
48
+ attr_writer :show_columns
49
+ def initialize
50
+ @show_tables = true
51
+ @show_columns = true
52
+ end
53
+
54
+ # (see #show_tables=)
55
+ def show_tables?
56
+ @show_tables
57
+ end
58
+
59
+ # (see #show_columns=)
60
+ def show_columns?
61
+ @show_columns
62
+ end
63
+ end
64
+
37
65
  # @private
38
66
  class Reporter
39
- def initialize(database, output)
67
+ def initialize(database, options, output)
40
68
  @database = database
41
69
  @context = @database.context
70
+ @options = options
42
71
  @output = output
43
72
  @indent_width = 0
44
73
  end
@@ -75,6 +104,7 @@ module Groonga
75
104
  end
76
105
 
77
106
  def report_tables
107
+ return unless @options.show_tables?
78
108
  write("Tables:\n")
79
109
  indent do
80
110
  tables = @database.tables
@@ -109,6 +139,7 @@ module Groonga
109
139
  end
110
140
 
111
141
  def report_columns(table)
142
+ return unless @options.show_columns?
112
143
  write("Columns:\n")
113
144
  indent do
114
145
  columns = table.columns
@@ -127,7 +158,6 @@ module Groonga
127
158
  indent do
128
159
  write("ID: #{column.id}\n")
129
160
  write("Type: #{inspect_column_type(column)}\n")
130
- write("Value type: #{inspect_column_value_type(column)}\n")
131
161
  write("Path: #{inspect_path(column.path)}\n")
132
162
  write("Disk usage: #{inspect_sub_disk_usage(column.disk_usage)}\n")
133
163
  end
@@ -270,10 +300,6 @@ module Groonga
270
300
  "scalar"
271
301
  end
272
302
  end
273
-
274
- def inspect_column_value_type(column)
275
- column.domain.name
276
- end
277
303
  end
278
304
  end
279
305
  end
data/rroonga-build.rb CHANGED
@@ -27,7 +27,7 @@ module RroongaBuild
27
27
  module LatestGroongaVersion
28
28
  MAJOR = 3
29
29
  MINOR = 1
30
- MICRO = 0
30
+ MICRO = 1
31
31
  VERSION = [MAJOR, MINOR, MICRO]
32
32
  end
33
33
 
@@ -18,14 +18,23 @@ class DatabaseInspectorTest < Test::Unit::TestCase
18
18
 
19
19
  setup :setup_database, :before => :append
20
20
 
21
+ setup
22
+ def setup_options
23
+ @options = Groonga::DatabaseInspector::Options.new
24
+ end
25
+
21
26
  private
22
27
  def report
23
28
  output = StringIO.new
24
- inspector = Groonga::DatabaseInspector.new(@database)
29
+ inspector = Groonga::DatabaseInspector.new(@database, @options)
25
30
  inspector.report(output)
26
31
  output.string
27
32
  end
28
33
 
34
+ def create_reporter(output)
35
+ Groonga::DatabaseInspector::Reporter.new(@database, @options, output)
36
+ end
37
+
29
38
  def total_disk_usage
30
39
  @database.tables.inject(@database.disk_usage) do |previous, table|
31
40
  previous + total_table_disk_usage(table)
@@ -135,7 +144,6 @@ class DatabaseInspectorTest < Test::Unit::TestCase
135
144
  #{column.local_name}:
136
145
  ID: #{column.id}
137
146
  Type: #{inspect_column_type(column)}
138
- Value type: #{column.domain.name}
139
147
  Path: <#{column.path}>
140
148
  Disk usage: #{inspect_sub_disk_usage(column.disk_usage)}
141
149
  INSPECTED
@@ -173,6 +181,21 @@ Database
173
181
  INSPECTED
174
182
  end
175
183
 
184
+ def test_no_show_tables
185
+ @options.show_tables = false
186
+ assert_equal(<<-INSPECTED, report)
187
+ Database
188
+ Path: <#{@database_path}>
189
+ Total disk usage: #{inspect_disk_usage(total_disk_usage)}
190
+ Disk usage: #{inspect_sub_disk_usage(@database.disk_usage)}
191
+ N records: 0
192
+ N tables: 0
193
+ N columns: 0
194
+ Plugins:
195
+ None
196
+ INSPECTED
197
+ end
198
+
176
199
  class NRecordsTest < self
177
200
  setup
178
201
  def setup_tables
@@ -353,7 +376,7 @@ Database
353
376
  private
354
377
  def report
355
378
  output = StringIO.new
356
- reporter = Groonga::DatabaseInspector::Reporter.new(@database, output)
379
+ reporter = create_reporter(output)
357
380
  reporter.send(:report_table, @table)
358
381
  output.string
359
382
  end
@@ -607,13 +630,41 @@ Database
607
630
  INSPECTED
608
631
  end
609
632
  end
633
+
634
+ class ColumnsTest < self
635
+ setup
636
+ def setup_tables
637
+ Groonga::Schema.create_table("Users") do |table|
638
+ table.short_text("name")
639
+ table.int8("age")
640
+ end
641
+ @table = Groonga["Users"]
642
+ end
643
+
644
+ def test_no_show_columns
645
+ @options.show_columns = false
646
+ assert_equal(<<-INSPECTED, report)
647
+ #{@table.name}:
648
+ ID: #{@table.id}
649
+ Type: #{inspect_table_type(@table)}
650
+ Key type: #{inspect_key_type(@table)}
651
+ Tokenizer: #{inspect_tokenizer(@table)}
652
+ Normalizer: #{inspect_normalizer(@table)}
653
+ Path: <#{@table.path}>
654
+ Total disk usage: #{inspect_sub_disk_usage(total_table_disk_usage(@table))}
655
+ Disk usage: #{inspect_sub_disk_usage(@table.disk_usage)}
656
+ N records: #{@table.size}
657
+ N columns: #{@table.columns.size}
658
+ INSPECTED
659
+ end
660
+ end
610
661
  end
611
662
 
612
663
  class ColumnTest < self
613
664
  private
614
665
  def report
615
666
  output = StringIO.new
616
- reporter = Groonga::DatabaseInspector::Reporter.new(@database, output)
667
+ reporter = create_reporter(output)
617
668
  reporter.send(:report_column, @column)
618
669
  output.string
619
670
  end
@@ -666,7 +717,6 @@ Database
666
717
  #{@column.local_name}:
667
718
  ID: #{@column.id}
668
719
  Type: #{type}
669
- Value type: #{@column.domain.name}
670
720
  Path: <#{@column.path}>
671
721
  Disk usage: #{inspect_sub_disk_usage(@column.disk_usage)}
672
722
  INSPECTED
@@ -132,6 +132,71 @@ class ExpressionTest < Test::Unit::TestCase
132
132
  snippet.close
133
133
  end
134
134
 
135
+ class AppendObjectTest < self
136
+ setup
137
+ def setup_expression
138
+ @expression = Groonga::Expression.new
139
+ end
140
+
141
+ class OperatorTest < self
142
+ def test_constant
143
+ @expression.append_object(Groonga["TokenBigram"],
144
+ Groonga::Operator::PUSH,
145
+ 1)
146
+ assert_equal("#<Groonga::Expression noname(){0TokenBigram}>",
147
+ @expression.inspect)
148
+ end
149
+
150
+ def test_name
151
+ @expression.append_object(Groonga["TokenBigram"], "push", 1)
152
+ assert_equal("#<Groonga::Expression noname(){0TokenBigram}>",
153
+ @expression.inspect)
154
+ end
155
+ end
156
+ end
157
+
158
+ class AppendConstantTest < self
159
+ setup
160
+ def setup_expression
161
+ @expression = Groonga::Expression.new
162
+ end
163
+
164
+ class OperatorTest < self
165
+ def test_constant
166
+ @expression.append_constant(29, Groonga::Operator::PUSH, 1)
167
+ assert_equal("#<Groonga::Expression noname(){029}>",
168
+ @expression.inspect)
169
+ end
170
+
171
+ def test_name
172
+ @expression.append_constant(29, "push", 1)
173
+ assert_equal("#<Groonga::Expression noname(){029}>",
174
+ @expression.inspect)
175
+ end
176
+ end
177
+ end
178
+
179
+ class AppendOperatorTest < self
180
+ setup
181
+ def setup_expression
182
+ @expression = Groonga::Expression.new
183
+ @expression.append_constant(29)
184
+ @expression.append_constant(92)
185
+ end
186
+
187
+ def test_constant
188
+ @expression.append_operation(Groonga::Operator::PLUS, 2)
189
+ assert_equal("#<Groonga::Expression noname(){229,092,0PLUS}>",
190
+ @expression.inspect)
191
+ end
192
+
193
+ def test_name
194
+ @expression.append_operation("plus", 2)
195
+ assert_equal("#<Groonga::Expression noname(){229,092,0PLUS}>",
196
+ @expression.inspect)
197
+ end
198
+ end
199
+
135
200
  class VariableTest < self
136
201
  def test_reference
137
202
  expression = Groonga::Expression.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rroonga
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-11-29 00:00:00.000000000 Z
15
+ date: 2013-12-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: pkg-config
@@ -194,9 +194,9 @@ email:
194
194
  - y.hayamizu@gmail.com
195
195
  - dara@shidara.net
196
196
  executables:
197
+ - grntest-log-analyze
197
198
  - groonga-database-inspect
198
199
  - groonga-index-dump
199
- - grntest-log-analyze
200
200
  - grndump
201
201
  extensions:
202
202
  - ext/groonga/extconf.rb
@@ -207,141 +207,141 @@ files:
207
207
  - AUTHORS
208
208
  - Rakefile
209
209
  - Gemfile
210
- - doc/text/news.textile
211
210
  - doc/text/tutorial.textile
211
+ - doc/text/news.textile
212
212
  - rroonga.gemspec
213
213
  - rroonga-build.rb
214
214
  - extconf.rb
215
- - lib/groonga/schema.rb
216
- - lib/groonga/database.rb
215
+ - lib/groonga.rb
217
216
  - lib/groonga/geo-point.rb
218
- - lib/groonga/expression-builder-19.rb
219
- - lib/groonga/sub-records.rb
220
- - lib/groonga/pagination.rb
217
+ - lib/groonga/table.rb
218
+ - lib/groonga/logger.rb
219
+ - lib/groonga/record.rb
221
220
  - lib/groonga/index-column.rb
222
- - lib/groonga/patricia-trie.rb
223
221
  - lib/groonga/database-inspector.rb
224
- - lib/groonga/context/command-executor.rb
225
- - lib/groonga/statistic-measurer.rb
226
- - lib/groonga/grntest-log.rb
227
- - lib/groonga/dumper.rb
228
- - lib/groonga/posting.rb
222
+ - lib/groonga/sub-records.rb
229
223
  - lib/groonga/memory-pool.rb
230
- - lib/groonga/table.rb
231
- - lib/groonga/query-logger.rb
232
224
  - lib/groonga/context.rb
225
+ - lib/groonga/grntest-log.rb
226
+ - lib/groonga/pagination.rb
227
+ - lib/groonga/database.rb
233
228
  - lib/groonga/column.rb
234
- - lib/groonga/record.rb
229
+ - lib/groonga/schema.rb
230
+ - lib/groonga/statistic-measurer.rb
231
+ - lib/groonga/posting.rb
232
+ - lib/groonga/patricia-trie.rb
235
233
  - lib/groonga/expression-builder.rb
236
- - lib/groonga/logger.rb
237
- - lib/groonga.rb
238
- - benchmark/common.rb
239
- - benchmark/repeat-load.rb
240
- - benchmark/read-write-many-small-items.rb
234
+ - lib/groonga/context/command-executor.rb
235
+ - lib/groonga/dumper.rb
236
+ - lib/groonga/query-logger.rb
237
+ - lib/groonga/expression-builder-19.rb
241
238
  - benchmark/create-wikipedia-database.rb
239
+ - benchmark/common.rb
242
240
  - benchmark/write-many-small-items.rb
241
+ - benchmark/read-write-many-small-items.rb
243
242
  - benchmark/select.rb
243
+ - benchmark/repeat-load.rb
244
244
  - misc/grnop2ruby.rb
245
245
  - example/index-html.rb
246
246
  - example/bookmark.rb
247
- - ext/groonga/rb-grn-procedure.c
248
- - ext/groonga/rb-grn-column.c
249
- - ext/groonga/rb-grn-index-column.c
250
- - ext/groonga/rb-grn-encoding-support.c
251
- - ext/groonga/rb-grn-variable.c
252
- - ext/groonga/rb-grn-table.c
247
+ - ext/groonga/rb-grn-exception.c
253
248
  - ext/groonga/rb-grn-hash-cursor.c
254
- - ext/groonga/rb-grn-table-cursor-key-support.c
255
- - ext/groonga/rb-grn-object.c
256
- - ext/groonga/rb-grn-double-array-trie.c
257
- - ext/groonga/rb-grn-table-key-support.c
258
- - ext/groonga/rb-grn-array.c
259
- - ext/groonga/rb-grn-patricia-trie.c
260
- - ext/groonga/rb-grn-double-array-trie-cursor.c
261
- - ext/groonga/rb-grn-utils.c
262
249
  - ext/groonga/rb-grn-record.c
250
+ - ext/groonga/rb-grn-variable.c
251
+ - ext/groonga/rb-grn-table-cursor-key-support.c
263
252
  - ext/groonga/rb-grn-normalizer.c
264
- - ext/groonga/rb-groonga.c
265
- - ext/groonga/rb-grn-exception.c
253
+ - ext/groonga/rb-grn-fix-size-column.c
254
+ - ext/groonga/rb-grn-context.c
255
+ - ext/groonga/rb-grn-plugin.c
256
+ - ext/groonga/rb-grn-hash.c
266
257
  - ext/groonga/rb-grn-variable-size-column.c
267
- - ext/groonga/rb-grn-encoding.c
268
- - ext/groonga/rb-grn-geo-point.c
269
- - ext/groonga/rb-grn-expression-builder.c
258
+ - ext/groonga/rb-grn-index-column.c
270
259
  - ext/groonga/rb-grn-operator.c
271
- - ext/groonga/rb-grn-snippet.c
272
- - ext/groonga/rb-grn-array-cursor.c
273
- - ext/groonga/rb-grn-type.c
260
+ - ext/groonga/rb-grn-table-key-support.c
261
+ - ext/groonga/rb-grn-patricia-trie.c
274
262
  - ext/groonga/rb-grn-table-cursor.c
275
- - ext/groonga/rb-grn-fix-size-column.c
276
- - ext/groonga/rb-grn-logger.c
277
- - ext/groonga/rb-grn-plugin.c
278
- - ext/groonga/rb-grn-database.c
263
+ - ext/groonga/rb-grn-object.c
264
+ - ext/groonga/rb-grn-table.c
265
+ - ext/groonga/rb-grn-procedure.c
266
+ - ext/groonga/rb-grn-snippet.c
267
+ - ext/groonga/rb-grn-encoding-support.c
279
268
  - ext/groonga/rb-grn-patricia-trie-cursor.c
269
+ - ext/groonga/rb-grn-array.c
270
+ - ext/groonga/rb-grn-database.c
271
+ - ext/groonga/rb-grn-query-logger.c
272
+ - ext/groonga/rb-grn-column.c
280
273
  - ext/groonga/rb-grn-index-cursor.c
274
+ - ext/groonga/rb-grn-type.c
281
275
  - ext/groonga/rb-grn-accessor.c
282
- - ext/groonga/rb-grn-context.c
283
- - ext/groonga/rb-grn-query-logger.c
276
+ - ext/groonga/rb-grn-double-array-trie-cursor.c
284
277
  - ext/groonga/rb-grn-posting.c
278
+ - ext/groonga/rb-groonga.c
279
+ - ext/groonga/rb-grn-geo-point.c
280
+ - ext/groonga/rb-grn-array-cursor.c
281
+ - ext/groonga/rb-grn-utils.c
282
+ - ext/groonga/rb-grn-logger.c
285
283
  - ext/groonga/rb-grn-expression.c
286
- - ext/groonga/rb-grn-hash.c
284
+ - ext/groonga/rb-grn-encoding.c
285
+ - ext/groonga/rb-grn-expression-builder.c
286
+ - ext/groonga/rb-grn-double-array-trie.c
287
287
  - ext/groonga/rb-grn.h
288
288
  - ext/groonga/extconf.rb
289
289
  - ext/groonga/groonga.def
290
- - test/test-normalizer.rb
291
- - test/test-schema.rb
292
- - test/test-vector-column.rb
293
- - test/test-schema-dumper.rb
294
- - test/run-test.rb
295
- - test/test-database-inspector.rb
296
- - test/test-procedure.rb
297
- - test/test-hash.rb
298
- - test/test-expression.rb
299
- - test/test-version.rb
300
290
  - test/test-remote.rb
301
- - test/test-table-offset-and-limit.rb
302
- - test/test-expression-builder.rb
303
- - test/test-sub-records.rb
304
- - test/test-encoding.rb
305
- - test/test-snippet.rb
306
- - test/test-statistic-measurer.rb
307
- - test/test-index-cursor.rb
308
- - test/test-type.rb
309
- - test/test-table-dumper.rb
310
- - test/test-table-traverse.rb
311
- - test/test-convert.rb
312
- - test/test-table.rb
313
- - test/test-pagination.rb
314
- - test/groonga-test-utils.rb
315
- - test/test-logger.rb
316
- - test/test-context.rb
317
- - test/test-memory-pool.rb
318
- - test/test-table-select-weight.rb
319
- - test/test-exception.rb
320
- - test/test-table-select-normalize.rb
321
- - test/test-command-select.rb
322
- - test/test-gqtp.rb
291
+ - test/test-accessor.rb
323
292
  - test/test-database-dumper.rb
293
+ - test/test-database-inspector.rb
324
294
  - test/test-index-column.rb
325
- - test/test-geo-point.rb
326
- - test/test-plugin.rb
295
+ - test/groonga-test-utils.rb
296
+ - test/test-pagination.rb
297
+ - test/test-table.rb
298
+ - test/test-memory-pool.rb
327
299
  - test/test-variable-size-column.rb
300
+ - test/test-plugin.rb
301
+ - test/test-hash.rb
302
+ - test/test-table-traverse.rb
303
+ - test/test-encoding.rb
328
304
  - test/test-schema-create-table.rb
329
- - test/test-array.rb
330
- - test/test-fix-size-column.rb
305
+ - test/test-type.rb
331
306
  - test/test-table-key-support.rb
332
- - test/test-schema-type.rb
333
- - test/test-table-select.rb
307
+ - test/test-database.rb
334
308
  - test/test-variable.rb
335
- - test/test-column.rb
309
+ - test/test-table-select.rb
336
310
  - test/test-patricia-trie.rb
311
+ - test/test-geo-point.rb
312
+ - test/test-expression-builder.rb
313
+ - test/test-logger.rb
314
+ - test/test-array.rb
315
+ - test/test-record.rb
316
+ - test/test-statistic-measurer.rb
317
+ - test/test-column.rb
318
+ - test/test-fix-size-column.rb
319
+ - test/run-test.rb
320
+ - test/test-procedure.rb
321
+ - test/test-table-dumper.rb
322
+ - test/test-schema.rb
337
323
  - test/test-table-select-mecab.rb
338
- - test/test-accessor.rb
339
- - test/test-database.rb
324
+ - test/test-command-select.rb
325
+ - test/test-table-select-normalize.rb
326
+ - test/test-expression.rb
327
+ - test/test-normalizer.rb
328
+ - test/test-vector-column.rb
329
+ - test/test-version.rb
330
+ - test/test-index-cursor.rb
340
331
  - test/test-double-array-trie.rb
341
- - test/test-record.rb
332
+ - test/test-exception.rb
333
+ - test/test-schema-dumper.rb
334
+ - test/test-schema-type.rb
335
+ - test/test-table-select-weight.rb
336
+ - test/test-convert.rb
337
+ - test/test-gqtp.rb
338
+ - test/test-context.rb
339
+ - test/test-snippet.rb
340
+ - test/test-table-offset-and-limit.rb
341
+ - test/test-sub-records.rb
342
+ - bin/grntest-log-analyze
342
343
  - bin/groonga-database-inspect
343
344
  - bin/groonga-index-dump
344
- - bin/grntest-log-analyze
345
345
  - bin/grndump
346
346
  homepage: http://groonga.rubyforge.org/#about-rroonga
347
347
  licenses:
@@ -364,62 +364,62 @@ required_rubygems_version: !ruby/object:Gem::Requirement
364
364
  version: '0'
365
365
  requirements: []
366
366
  rubyforge_project: groonga
367
- rubygems_version: 2.0.13
367
+ rubygems_version: 2.0.14
368
368
  signing_key:
369
369
  specification_version: 4
370
370
  summary: Ruby bindings for Groonga that provide full text search and column store
371
371
  features.
372
372
  test_files:
373
- - test/test-normalizer.rb
374
- - test/test-schema.rb
375
- - test/test-vector-column.rb
376
- - test/test-schema-dumper.rb
377
- - test/run-test.rb
378
- - test/test-database-inspector.rb
379
- - test/test-procedure.rb
380
- - test/test-hash.rb
381
- - test/test-expression.rb
382
- - test/test-version.rb
383
373
  - test/test-remote.rb
384
- - test/test-table-offset-and-limit.rb
385
- - test/test-expression-builder.rb
386
- - test/test-sub-records.rb
387
- - test/test-encoding.rb
388
- - test/test-snippet.rb
389
- - test/test-statistic-measurer.rb
390
- - test/test-index-cursor.rb
391
- - test/test-type.rb
392
- - test/test-table-dumper.rb
393
- - test/test-table-traverse.rb
394
- - test/test-convert.rb
395
- - test/test-table.rb
396
- - test/test-pagination.rb
397
- - test/groonga-test-utils.rb
398
- - test/test-logger.rb
399
- - test/test-context.rb
400
- - test/test-memory-pool.rb
401
- - test/test-table-select-weight.rb
402
- - test/test-exception.rb
403
- - test/test-table-select-normalize.rb
404
- - test/test-command-select.rb
405
- - test/test-gqtp.rb
374
+ - test/test-accessor.rb
406
375
  - test/test-database-dumper.rb
376
+ - test/test-database-inspector.rb
407
377
  - test/test-index-column.rb
408
- - test/test-geo-point.rb
409
- - test/test-plugin.rb
378
+ - test/groonga-test-utils.rb
379
+ - test/test-pagination.rb
380
+ - test/test-table.rb
381
+ - test/test-memory-pool.rb
410
382
  - test/test-variable-size-column.rb
383
+ - test/test-plugin.rb
384
+ - test/test-hash.rb
385
+ - test/test-table-traverse.rb
386
+ - test/test-encoding.rb
411
387
  - test/test-schema-create-table.rb
412
- - test/test-array.rb
413
- - test/test-fix-size-column.rb
388
+ - test/test-type.rb
414
389
  - test/test-table-key-support.rb
415
- - test/test-schema-type.rb
416
- - test/test-table-select.rb
390
+ - test/test-database.rb
417
391
  - test/test-variable.rb
418
- - test/test-column.rb
392
+ - test/test-table-select.rb
419
393
  - test/test-patricia-trie.rb
394
+ - test/test-geo-point.rb
395
+ - test/test-expression-builder.rb
396
+ - test/test-logger.rb
397
+ - test/test-array.rb
398
+ - test/test-record.rb
399
+ - test/test-statistic-measurer.rb
400
+ - test/test-column.rb
401
+ - test/test-fix-size-column.rb
402
+ - test/run-test.rb
403
+ - test/test-procedure.rb
404
+ - test/test-table-dumper.rb
405
+ - test/test-schema.rb
420
406
  - test/test-table-select-mecab.rb
421
- - test/test-accessor.rb
422
- - test/test-database.rb
407
+ - test/test-command-select.rb
408
+ - test/test-table-select-normalize.rb
409
+ - test/test-expression.rb
410
+ - test/test-normalizer.rb
411
+ - test/test-vector-column.rb
412
+ - test/test-version.rb
413
+ - test/test-index-cursor.rb
423
414
  - test/test-double-array-trie.rb
424
- - test/test-record.rb
415
+ - test/test-exception.rb
416
+ - test/test-schema-dumper.rb
417
+ - test/test-schema-type.rb
418
+ - test/test-table-select-weight.rb
419
+ - test/test-convert.rb
420
+ - test/test-gqtp.rb
421
+ - test/test-context.rb
422
+ - test/test-snippet.rb
423
+ - test/test-table-offset-and-limit.rb
424
+ - test/test-sub-records.rb
425
425
  has_rdoc: