groonga-query-log 1.7.9 → 1.8.0
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae803e531a9de7b9dde04c51ee0bfe903f363b522c6c409d54379ffed90092ca
|
|
4
|
+
data.tar.gz: 14025325da45477c2f4b30023bef1776b25998e3ce26366f3a364086866fb3cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ca696e6d91aa061d0ef26daec4485526d21770bc7285ce7de4c3bdd7491d9a81343f1e338674d0e3d0cccdbcab8231213d644f08e71fba15687f9c2a579218e
|
|
7
|
+
data.tar.gz: 7273e19841b3f33e0747bd59b63a01758eb790a2413b164214d0304a5a52be8f18c327951f1fe29afde49092040d75b5d9ce8ae17294b57911e8c1d7385ab199
|
data/doc/text/news.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# News
|
|
2
2
|
|
|
3
|
+
## 1.8.0: 2026-10-07
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
* `server-verifier`: Stopped overriding `output_type` with `json`. It now uses the request's `output_type` as is.
|
|
8
|
+
* As a result, regression tests now compare responses in the request's `output_type` format.
|
|
9
|
+
|
|
3
10
|
## 1.7.9: 2026-01-27
|
|
4
11
|
|
|
5
12
|
### Improvements
|
|
@@ -355,10 +355,16 @@ module GroongaQueryLog
|
|
|
355
355
|
def normalize_columns(columns)
|
|
356
356
|
columns.collect do |name, type|
|
|
357
357
|
type = nil if type == "null"
|
|
358
|
+
type = normalize_type(type) if type
|
|
358
359
|
[name, type]
|
|
359
360
|
end
|
|
360
361
|
end
|
|
361
362
|
|
|
363
|
+
def normalize_type(type)
|
|
364
|
+
type.gsub(/dictionary<values=([^,]+), indices=[a-z0-9]+, ordered=\d+>/,
|
|
365
|
+
'\1')
|
|
366
|
+
end
|
|
367
|
+
|
|
362
368
|
def normalize_value(value, column)
|
|
363
369
|
type = column[1]
|
|
364
370
|
case type
|
|
@@ -115,6 +115,44 @@ class ResponseComparerTest < Test::Unit::TestCase
|
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
class ArrowDictionaryTypeTest < self
|
|
119
|
+
def test_dictionary_string
|
|
120
|
+
assert_true(same?([
|
|
121
|
+
[
|
|
122
|
+
[1],
|
|
123
|
+
[["User", "string"]],
|
|
124
|
+
["groonga"],
|
|
125
|
+
],
|
|
126
|
+
],
|
|
127
|
+
[
|
|
128
|
+
[
|
|
129
|
+
[1],
|
|
130
|
+
[["User",
|
|
131
|
+
"dictionary<values=string, indices=int32, ordered=0>"]],
|
|
132
|
+
["groonga"],
|
|
133
|
+
],
|
|
134
|
+
]))
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def test_list_dictionary_list_string
|
|
138
|
+
assert_true(same?([
|
|
139
|
+
[
|
|
140
|
+
[1],
|
|
141
|
+
[["Details", "list<item: string>"]],
|
|
142
|
+
[["groonga", "mroonga"]],
|
|
143
|
+
],
|
|
144
|
+
],
|
|
145
|
+
[
|
|
146
|
+
[
|
|
147
|
+
[1],
|
|
148
|
+
[["Details",
|
|
149
|
+
"list<item: dictionary<values=string, indices=int32, ordered=0>>"]],
|
|
150
|
+
[["groonga", "mroonga"]],
|
|
151
|
+
],
|
|
152
|
+
]))
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
118
156
|
class SortKeysTest < self
|
|
119
157
|
class DetectScoreSortTest < self
|
|
120
158
|
private
|
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.
|
|
4
|
+
version: 1.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|