groonga-command 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 564117c9b45a098b80b12b0543cb5ebd67df3194
4
- data.tar.gz: feff6da395499e403cc69ede535b56249c73d4df
3
+ metadata.gz: b7bb10ee1c1f12c2be163b0e91b3886565fc543f
4
+ data.tar.gz: 81011615f7ca437dbca6318e491a3a9b3b62765d
5
5
  SHA512:
6
- metadata.gz: cf58105ea452626bb29fc82bc88d92f59fc21495149e6958cf7e5df60e343783a395aefef0fd0f01f8af93d7ad7d88357e3dc69592e4ec45c33905756c7da58d
7
- data.tar.gz: 5b3f769bb4a91f8e79c83cc649a4cd860ffa6e76675389d4ccc0cfe755a86dc96587163b139c552706902bfd52dee93bab3ca67a34c1830abe7c40255c2e6ff8
6
+ metadata.gz: fd27f441564438c85cf4fda0a59de6127c88307154868b8ce7b08e4a069425e38e9778a1c7a760828bc5c9e4511d06e1e2cfe056e3aac873306f2ddc1f1917ad
7
+ data.tar.gz: eb02fd78d75c54db1107efaa1768cf15f8d1615f9e84538c648305ee1be9522196c405ee411bfc4820d64f7a7b5dc906cc8918dafb28dc9536c671b6447a174c
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.2.6: 2016-08-09
4
+
5
+ ### Improvements
6
+
7
+ * {Groonga::Command::Base#initialize}: Accepted Symbol as command name.
8
+
3
9
  ## 1.2.5: 2016-08-08
4
10
 
5
11
  ### Improvements
@@ -82,8 +82,8 @@ module Groonga
82
82
  # ordered arguments.
83
83
  def initialize(arg1=nil, arg2=nil, arg3=nil)
84
84
  case arg1
85
- when String
86
- command_name = arg1
85
+ when String, Symbol
86
+ command_name = arg1.to_s
87
87
  pair_arguments = arg2
88
88
  ordered_arguments = arg3
89
89
  else
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Groonga
18
18
  module Command
19
- VERSION = "1.2.5"
19
+ VERSION = "1.2.6"
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-08 00:00:00.000000000 Z
11
+ date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -264,54 +264,54 @@ specification_version: 4
264
264
  summary: Groonga-command is a library that represents [Groonga](http://groonga.org/)'s
265
265
  command. You can write a program that handle Groonga's command by using groonga-command.
266
266
  test_files:
267
- - test/command/test-schema.rb
267
+ - test/command/test-plugin-register.rb
268
+ - test/command/test-ruby-load.rb
269
+ - test/command/test-dump.rb
270
+ - test/command/test-column-list.rb
271
+ - test/command/test-tokenize.rb
272
+ - test/command/test-delete.rb
273
+ - test/command/test-column-rename.rb
274
+ - test/command/test-query-expand.rb
275
+ - test/command/test-object-exist.rb
276
+ - test/command/test-io-flush.rb
277
+ - test/command/test-normalize.rb
278
+ - test/command/test-shutdown.rb
268
279
  - test/command/test-column-remove.rb
269
- - test/command/test-range-filter.rb
270
- - test/command/test-object-inspect.rb
280
+ - test/command/test-register.rb
281
+ - test/command/test-select.rb
282
+ - test/command/test-get.rb
283
+ - test/command/test-table-tokenize.rb
271
284
  - test/command/test-column-copy.rb
272
- - test/command/test-io-flush.rb
273
- - test/command/test-log-put.rb
274
285
  - test/command/test-plugin-unregister.rb
275
286
  - test/command/test-table-remove.rb
276
- - test/command/test-column-rename.rb
287
+ - test/command/test-config-get.rb
288
+ - test/command/test-config-delete.rb
289
+ - test/command/test-truncate.rb
277
290
  - test/command/test-column-create.rb
278
- - test/command/test-select.rb
279
- - test/command/test-shutdown.rb
291
+ - test/command/test-status.rb
292
+ - test/command/test-schema.rb
293
+ - test/command/test-log-put.rb
294
+ - test/command/test-object-inspect.rb
295
+ - test/command/test-table-create.rb
296
+ - test/command/test-logical-shard-list.rb
280
297
  - test/command/test-object-remove.rb
298
+ - test/command/test-logical-table-remove.rb
299
+ - test/command/test-base.rb
300
+ - test/command/test-ruby-eval.rb
301
+ - test/command/test-thread-limit.rb
281
302
  - test/command/test-logical-select.rb
282
- - test/command/test-table-tokenize.rb
283
- - test/command/test-logical-shard-list.rb
284
- - test/command/test-object-exist.rb
285
- - test/command/test-suggest.rb
286
- - test/command/test-request-cancel.rb
287
- - test/command/test-query-expand.rb
288
303
  - test/command/test-log-level.rb
289
- - test/command/test-table-list.rb
290
- - test/command/test-column-list.rb
304
+ - test/command/test-request-cancel.rb
291
305
  - test/command/test-load.rb
292
- - test/command/test-dump.rb
293
- - test/command/test-truncate.rb
294
- - test/command/test-delete.rb
295
- - test/command/test-ruby-load.rb
296
- - test/command/test-plugin-register.rb
297
- - test/command/test-base.rb
298
306
  - test/command/test-table-rename.rb
299
- - test/command/test-config-get.rb
300
- - test/command/test-logical-count.rb
301
- - test/command/test-normalize.rb
302
- - test/command/test-get.rb
303
- - test/command/test-logical-range-filter.rb
304
- - test/command/test-config-delete.rb
305
- - test/command/test-logical-table-remove.rb
307
+ - test/command/test-config-set.rb
306
308
  - test/command/format/test-command.rb
309
+ - test/command/test-suggest.rb
310
+ - test/command/test-logical-range-filter.rb
311
+ - test/command/test-logical-count.rb
307
312
  - test/command/test-reindex.rb
308
- - test/command/test-thread-limit.rb
309
- - test/command/test-config-set.rb
310
- - test/command/test-tokenize.rb
311
- - test/command/test-ruby-eval.rb
312
- - test/command/test-status.rb
313
- - test/command/test-register.rb
314
- - test/command/test-table-create.rb
313
+ - test/command/test-range-filter.rb
314
+ - test/command/test-table-list.rb
315
315
  - test/run-test.rb
316
316
  - test/groonga-command-test-utils.rb
317
317
  has_rdoc: