groonga-query-log 1.1.3 → 1.1.4
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 +4 -4
- data/doc/text/news.md +7 -0
- data/lib/groonga/query-log/command/run-regression-test.rb +18 -8
- data/lib/groonga/query-log/version.rb +2 -2
- 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: 5f5ad917944ca7bd674f39986f174b4654fd66ec
|
|
4
|
+
data.tar.gz: 47e5fd5e81acda2018b453db2544653564d858b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da229bc1ca6774432310b71320f295735ad0e755cb66e42fde36876465ad61989a2593f3f796df65d00dfea6551991fb49c0c847e78eca3376ed241d8c3913d8
|
|
7
|
+
data.tar.gz: a1e34feb150710f80a0f9a49082285d195fb18948a148b76f8a25368ecddd0617a5c3c767fecf6adde9c7fb8823a046c43dc96efe43843e3c2ae160702817928
|
data/doc/text/news.md
CHANGED
|
@@ -42,6 +42,7 @@ module Groonga
|
|
|
42
42
|
@load_data = true
|
|
43
43
|
@run_queries = true
|
|
44
44
|
@skip_finished_queries = false
|
|
45
|
+
@output_query_log = false
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
def run(command_line)
|
|
@@ -119,6 +120,10 @@ module Groonga
|
|
|
119
120
|
"Don't run finished query logs.") do
|
|
120
121
|
@skip_finished_queries = true
|
|
121
122
|
end
|
|
123
|
+
parser.on("--output-query-log",
|
|
124
|
+
"Output query log in verified target Groonga servers") do
|
|
125
|
+
@output_query_log = true
|
|
126
|
+
end
|
|
122
127
|
|
|
123
128
|
parser
|
|
124
129
|
end
|
|
@@ -136,6 +141,7 @@ module Groonga
|
|
|
136
141
|
:run_queries => @run_queries,
|
|
137
142
|
:recreate_database => @recreate_database,
|
|
138
143
|
:skip_finished_queries => @skip_finished_queries,
|
|
144
|
+
:output_query_log => @output_query_log,
|
|
139
145
|
}
|
|
140
146
|
directory_options.merge(options)
|
|
141
147
|
end
|
|
@@ -175,14 +181,18 @@ module Groonga
|
|
|
175
181
|
ensure_database
|
|
176
182
|
return unless @options[:run_queries]
|
|
177
183
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
arguments = [
|
|
185
|
+
"--bind-address", @host,
|
|
186
|
+
"--port", @port.to_s,
|
|
187
|
+
"--protocol", "http",
|
|
188
|
+
"--log-path", log_path.to_s,
|
|
189
|
+
]
|
|
190
|
+
if @options[:output_query_log]
|
|
191
|
+
arguments.concat(["--query-log-path", query_log_path.to_s])
|
|
192
|
+
end
|
|
193
|
+
arguments << "-s"
|
|
194
|
+
arguments << @database_path.to_s
|
|
195
|
+
@pid = spawn(@groonga, *arguments)
|
|
186
196
|
|
|
187
197
|
n_retries = 10
|
|
188
198
|
begin
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) 2012-
|
|
3
|
+
# Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com>
|
|
4
4
|
#
|
|
5
5
|
# This library is free software; you can redistribute it and/or
|
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
|
|
19
19
|
module Groonga
|
|
20
20
|
module QueryLog
|
|
21
|
-
VERSION = "1.1.
|
|
21
|
+
VERSION = "1.1.4"
|
|
22
22
|
end
|
|
23
23
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groonga-query-log
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: groonga-command-parser
|