groonga-query-log 1.1.2 → 1.1.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f007a575881ee98da8e25e382f5b9f030af90a3
|
|
4
|
+
data.tar.gz: c5d542d6760b07717c6b5ae95cc93ffd2db8be31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a9a5580509be7a9814f9f4ed0cb5a9f220b4cb34d3691f11831f7a1bfdc868652125ba00f15e28b43e9812518bfb5ff7df3986e5b95c865734457bb03f1da01
|
|
7
|
+
data.tar.gz: 08fa8ead3377a33288c13f1ed31b4a4837325ebbb2fe3033b0edc810c5fec3c6b60fa92392498066cd26652bae2b122a81bed30e49053760e4896f892238afee
|
data/doc/text/news.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# News
|
|
2
2
|
|
|
3
|
+
## 1.1.3: 2015-05-26
|
|
4
|
+
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
* groonga-query-log-run-regression-test: Ignored no command request
|
|
8
|
+
such as `/`.
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
|
|
12
|
+
* groonga-query-log-analyzer: Fixed a bug that `--no-color` option
|
|
13
|
+
is ignored. [Reported by Gurunavi, Inc.]
|
|
14
|
+
* groonga-query-log-analyzer: Fixed a bug that options aren't
|
|
15
|
+
applied when `--stream` is given.
|
|
16
|
+
|
|
17
|
+
### Thanks
|
|
18
|
+
|
|
19
|
+
* Gurunavi, Inc.
|
|
20
|
+
|
|
3
21
|
## 1.1.2: 2014-11-20
|
|
4
22
|
|
|
5
23
|
### Fixes
|
|
@@ -69,7 +69,9 @@ module Groonga
|
|
|
69
69
|
statistics = SizedStatistics.new
|
|
70
70
|
statistics.apply_options(@options)
|
|
71
71
|
if stream
|
|
72
|
-
|
|
72
|
+
reporter = create_reporter(statistics)
|
|
73
|
+
reporter.apply_options(@options)
|
|
74
|
+
streamer = Streamer.new(reporter)
|
|
73
75
|
streamer.start
|
|
74
76
|
process_statistic = lambda do |statistic|
|
|
75
77
|
streamer << statistic
|
|
@@ -223,17 +225,6 @@ module Groonga
|
|
|
223
225
|
end
|
|
224
226
|
end
|
|
225
227
|
|
|
226
|
-
def create_stream_reporter
|
|
227
|
-
case @options[:reporter]
|
|
228
|
-
when "json"
|
|
229
|
-
Groonga::QueryLog::StreamJSONQueryLogReporter.new
|
|
230
|
-
when "html"
|
|
231
|
-
raise UnsupportedReporter, "HTML reporter doesn't support --stream."
|
|
232
|
-
else
|
|
233
|
-
Groonga::QueryLog::StreamConsoleQueryLogReporter.new
|
|
234
|
-
end
|
|
235
|
-
end
|
|
236
|
-
|
|
237
228
|
def parse(log_paths, &process_statistic)
|
|
238
229
|
parser = Groonga::QueryLog::Parser.new(@options)
|
|
239
230
|
if log_paths.empty?
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: groonga-command-parser
|