grntest 1.2.7 → 1.2.8

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: f81f534889d10b04307d564e1513adc17f92a75c
4
- data.tar.gz: cead0e701169cf08b5f3ac386f7833955f455173
3
+ metadata.gz: 7fc4b8ad50b9380d89b7e00d312afdfd95a09cd0
4
+ data.tar.gz: ada70512822106409a4c74293b3311d96cce5031
5
5
  SHA512:
6
- metadata.gz: 4f54f9eb7e1bdb896c60be55f17919b822f78e39732f8b330d5a8cdd3f8363b3136f8fb45dbde8114ad07cd15918de0feeca72d7d49019d3e5b779dc36247e81
7
- data.tar.gz: 41b0b1e61f34cb9b744241c121bd7ae0a6ad9ac0ac1e6ff8ca1922600749fb1cc4180371a27991a19d3be78c93b76ff8e2a27ca2c32301b94a06e57459db4cf9
6
+ metadata.gz: ee26ec65b89cbbbf721b89377f3e1afe307dbec61efb4ee5f681fe6f403f2e07c213a982174aee17b2be7a580d0a53a591af6ae87aadc20034cf4b2362ecccbe
7
+ data.tar.gz: 0bb94869865c873894a9b3bfeafba3b1522c3570137b42ffc8fe92c62f73a67acc9c693334e101c17f88d50bc8e036a17a821bfe6aed8a3d5e30852d9ec5b38c
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.2.8: 2017-12-04
4
+
5
+ ### Improvements
6
+
7
+ * Added `load` support to `collect-query-log` directive.
8
+
3
9
  ## 1.2.7: 2017-10-31
4
10
 
5
11
  ### Fixes
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2015-2017 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # This program is free software: you can redistribute it and/or modify
4
4
  # it under the terms of the GNU General Public License as published by
@@ -43,7 +43,15 @@ module Grntest
43
43
  end
44
44
 
45
45
  def normalize_command(message)
46
- command = Groonga::Command::Parser.parse(message)
46
+ command = nil
47
+ Groonga::Command::Parser.parse(message) do |status, *args|
48
+ case status
49
+ when :on_command
50
+ command = args[0]
51
+ when :on_load_start
52
+ command = args[0]
53
+ end
54
+ end
47
55
  if command.output_type == :json
48
56
  command[:output_type] = nil
49
57
  end
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module Grntest
17
- VERSION = "1.2.7"
17
+ VERSION = "1.2.8"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grntest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-31 00:00:00.000000000 Z
12
+ date: 2017-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json