groonga-client 0.5.7 → 0.5.8

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: 5ab83b95c15d85e5f1bd05e37b597c490afbee4e
4
- data.tar.gz: d4fdb392b428c81b7509b434995337d1f887beb8
3
+ metadata.gz: 4513c924b1dc4c7ca3b26afc382163620d09d26c
4
+ data.tar.gz: dd01a037ba7ff770cf04b6d3118d9847061e0fe4
5
5
  SHA512:
6
- metadata.gz: d270ba5225a0e4a57cb39183c48938073303b153e8a5175e67b20dbf8297e214dd211bd68824d4f78154f7785dc096f4f2ecb2ba0348e31e727fe4995137e9b3
7
- data.tar.gz: 9b7e87d042245811c979a02e6dcf609f55dbdefb020e8925f5594ff9369ad9c0fa10b77ee4f9241812b792fad8b9932c0005e8463e007804a581670b7efd80a5
6
+ metadata.gz: a71e2bd65572c69a35956b928c533754ae6411e5788bc5a412e939eeb7435d765b341ac4f623a8ca30778c8ed7ccf356489007628fafdddb8e94c3716ad2119f
7
+ data.tar.gz: 698187d4515e5d45bd1b4572f046ca7e30c915f99b35b676a6027c7c107549b5a52c69b5629612ced8a9d2597f29ea0402536d2574529ff82e025f972f78bebd
@@ -1,5 +1,12 @@
1
1
  # NEWS
2
2
 
3
+ ## 0.5.8 - 2017-11-09
4
+
5
+ ### Improvements
6
+
7
+ * `groonga-client-index-check`: Added Groonga 7.0.5 or earlier
8
+ support.
9
+
3
10
  ## 0.5.7 - 2017-11-09
4
11
 
5
12
  ### Fixes
@@ -76,6 +76,10 @@ module Groonga
76
76
  if object_exist?(:schema)
77
77
  info = execute_command(:schema)["#{table_name}.#{base_column_name}"]
78
78
  arguments = info.command.arguments.merge("name" => column_name)
79
+ # For workaround Groonga < 7.0.6
80
+ if arguments.key?("sources")
81
+ arguments["source"] = arguments["sources"]
82
+ end
79
83
  execute_command(:column_create, arguments).body
80
84
  else
81
85
  base_column = column_list(table_name).find do |column|
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Groonga
18
18
  class Client
19
- VERSION = "0.5.7"
19
+ VERSION = "0.5.8"
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Haruka Yoshihara
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-11-09 00:00:00.000000000 Z
13
+ date: 2017-11-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gqtp
@@ -161,9 +161,9 @@ email:
161
161
  - kou@clear-code.com
162
162
  - tfortress58@gmail.com
163
163
  executables:
164
+ - groonga-client
164
165
  - groonga-client-index-check
165
166
  - groonga-client-index-recreate
166
- - groonga-client
167
167
  extensions: []
168
168
  extra_rdoc_files: []
169
169
  files:
@@ -287,35 +287,35 @@ specification_version: 4
287
287
  summary: Groonga-client is a client for Groonga (http://groonga.org/) implemented
288
288
  with pure Ruby. You can use it without Groonga.
289
289
  test_files:
290
- - test/test-client.rb
291
- - test/command-line/test-index-check.rb
292
- - test/command-line/helper.rb
293
- - test/command-line/test-index-recreate.rb
294
290
  - test/test-script-syntax.rb
295
- - test/request/select/test-backward-compatible-sort-keys-parameter.rb
296
- - test/request/select/test-filter.rb
297
- - test/request/select/test-sort-keys-parameter.rb
298
- - test/request/select/test-output-columns-parameter.rb
299
- - test/request/select/test-values-parameter.rb
300
- - test/request/select/test-scorer.rb
301
- - test/request/test-merger.rb
302
- - test/request/test-generic.rb
303
- - test/request/test-select.rb
304
- - test/test-command.rb
305
- - test/protocol/test-gqtp.rb
306
291
  - test/protocol/test-http.rb
307
- - test/run-test.rb
308
- - test/response/test-base.rb
309
- - test/response/test-load.rb
310
- - test/response/test-column-list.rb
311
- - test/response/helper.rb
292
+ - test/protocol/test-gqtp.rb
293
+ - test/response/test-schema.rb
312
294
  - test/response/test-error.rb
313
- - test/response/test-table-list.rb
314
- - test/response/test-status.rb
295
+ - test/response/test-table-remove.rb
315
296
  - test/response/test-select-xml.rb
316
- - test/response/test-schema.rb
317
297
  - test/response/test-select-command-version3.rb
298
+ - test/response/test-table-list.rb
299
+ - test/response/test-column-list.rb
300
+ - test/response/test-load.rb
301
+ - test/response/helper.rb
302
+ - test/response/test-base.rb
318
303
  - test/response/test-select-command-version1.rb
304
+ - test/response/test-status.rb
319
305
  - test/response/test-table-create.rb
320
- - test/response/test-table-remove.rb
321
306
  - test/results/test-table-list.rb
307
+ - test/test-command.rb
308
+ - test/run-test.rb
309
+ - test/request/test-generic.rb
310
+ - test/request/select/test-values-parameter.rb
311
+ - test/request/select/test-output-columns-parameter.rb
312
+ - test/request/select/test-scorer.rb
313
+ - test/request/select/test-backward-compatible-sort-keys-parameter.rb
314
+ - test/request/select/test-filter.rb
315
+ - test/request/select/test-sort-keys-parameter.rb
316
+ - test/request/test-select.rb
317
+ - test/request/test-merger.rb
318
+ - test/test-client.rb
319
+ - test/command-line/test-index-recreate.rb
320
+ - test/command-line/helper.rb
321
+ - test/command-line/test-index-check.rb