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 +4 -4
- data/doc/text/news.md +6 -0
- data/lib/grntest/query-log-parser.rb +10 -2
- data/lib/grntest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fc4b8ad50b9380d89b7e00d312afdfd95a09cd0
|
4
|
+
data.tar.gz: ada70512822106409a4c74293b3311d96cce5031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee26ec65b89cbbbf721b89377f3e1afe307dbec61efb4ee5f681fe6f403f2e07c213a982174aee17b2be7a580d0a53a591af6ae87aadc20034cf4b2362ecccbe
|
7
|
+
data.tar.gz: 0bb94869865c873894a9b3bfeafba3b1522c3570137b42ffc8fe92c62f73a67acc9c693334e101c17f88d50bc8e036a17a821bfe6aed8a3d5e30852d9ec5b38c
|
data/doc/text/news.md
CHANGED
@@ -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 =
|
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
|
data/lib/grntest/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|