grntest 1.5.3 → 1.5.6
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 +18 -0
- data/grntest.gemspec +1 -0
- data/lib/grntest/test-runner.rb +10 -0
- data/lib/grntest/version.rb +2 -2
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc70a0713dc6900659018742093257e50ab5569b05e603934d3554939fd0c246
|
4
|
+
data.tar.gz: 953a77a00a938f5126cc925228195b3dfad9bffc08e2aec83f168acb316cb9c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cc8ec7a63366dd1f0af5e5b414a2f5dd270225eb31905e43712a5c73d049a31b7ecb7e5ed4d61ef124659e660c59c4ae99988b39b5fa5c40b4d8b6fe01db7fe
|
7
|
+
data.tar.gz: e8ff6acc4e760082c9511a7445baa9662057d12d1cb046b60eafe53277e6310b832198767cbeabd582db6b20fb34bdd9c7e838ccdfc5f9dbf459a138fcd7feef
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.5.6: 2022-03-16
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Added `groonga-synomym` to required dependencies.
|
8
|
+
|
9
|
+
## 1.5.5: 2022-01-18
|
10
|
+
|
11
|
+
### Improvements
|
12
|
+
|
13
|
+
* Added support for normalizing function name.
|
14
|
+
|
15
|
+
## 1.5.4: 2022-01-17
|
16
|
+
|
17
|
+
### Improvements
|
18
|
+
|
19
|
+
* `http`: Added support for long query.
|
20
|
+
|
3
21
|
## 1.5.3: 2021-08-14
|
4
22
|
|
5
23
|
### Improvements
|
data/grntest.gemspec
CHANGED
@@ -48,6 +48,7 @@ Gem::Specification.new do |spec|
|
|
48
48
|
spec.add_runtime_dependency("groonga-command-parser")
|
49
49
|
spec.add_runtime_dependency("groonga-log")
|
50
50
|
spec.add_runtime_dependency("groonga-query-log", ">= 1.4.1")
|
51
|
+
spec.add_runtime_dependency("groonga-synonym")
|
51
52
|
spec.add_runtime_dependency("json")
|
52
53
|
spec.add_runtime_dependency("msgpack")
|
53
54
|
spec.add_runtime_dependency("rexml")
|
data/lib/grntest/test-runner.rb
CHANGED
@@ -547,6 +547,8 @@ http {
|
|
547
547
|
groonga on;
|
548
548
|
client_max_body_size 500m;
|
549
549
|
}
|
550
|
+
client_header_buffer_size 64k;
|
551
|
+
large_client_header_buffers 4 64k;
|
550
552
|
}
|
551
553
|
}
|
552
554
|
HTTP
|
@@ -733,6 +735,10 @@ http {
|
|
733
735
|
normalized_values = {}
|
734
736
|
message = error["message"]
|
735
737
|
normalized_values["message"] = normalize_error_message(message)
|
738
|
+
function = error["function"]
|
739
|
+
if function
|
740
|
+
normalized_values["function"] = normalize_error_function(function)
|
741
|
+
end
|
736
742
|
file = error["file"]
|
737
743
|
if file
|
738
744
|
normalized_values["file"] = normalize_error_file_path(file)
|
@@ -821,6 +827,10 @@ http {
|
|
821
827
|
end
|
822
828
|
end
|
823
829
|
|
830
|
+
def normalize_error_function(function)
|
831
|
+
function.split("::").last
|
832
|
+
end
|
833
|
+
|
824
834
|
def normalize_error_file_path(path)
|
825
835
|
File.basename(path)
|
826
836
|
end
|
data/lib/grntest/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2012-
|
1
|
+
# Copyright (C) 2012-2022 Sutou Kouhei <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
|
@@ -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.5.
|
17
|
+
VERSION = "1.5.6"
|
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.5.
|
4
|
+
version: 1.5.6
|
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:
|
12
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: diff-lcs
|
@@ -81,6 +81,20 @@ dependencies:
|
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 1.4.1
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: groonga-synonym
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
84
98
|
- !ruby/object:Gem::Dependency
|
85
99
|
name: json
|
86
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
284
|
- !ruby/object:Gem::Version
|
271
285
|
version: '0'
|
272
286
|
requirements: []
|
273
|
-
rubygems_version: 3.
|
287
|
+
rubygems_version: 3.4.0.dev
|
274
288
|
signing_key:
|
275
289
|
specification_version: 4
|
276
290
|
summary: Grntest is a testing framework for Groonga. You can write a test for Groonga
|