grntest 1.7.6 → 1.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +10 -0
- data/doc/text/news.md +16 -0
- data/grntest.gemspec +1 -1
- data/lib/grntest/executors/base-executor.rb +4 -2
- data/lib/grntest/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 752069b1fbd54477134ea42d54fea3097660e6189b6cb93d5934830bc9c8d0ca
|
4
|
+
data.tar.gz: a1003ddfd8e94e76fbe216ecb7b66a85988aee59e55a440640f99cf20d3e6e29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a29d70d424e56e5b3eb042cbe6aa6b007bf59a0f7188197a9b9213e4fc2262ef8ebe5cff0f7c293223efdc6c1af3109b9f7b7af91ec57a314d3c984f53da283
|
7
|
+
data.tar.gz: 2fdd8a5056c20e100710799e3c5ceeae7f51763cb2fad786c7867bd928c6dd6871b102f44cbdf928ff2a2a813475e8d6694cdbec4ebfe6c2f841f1c4531e7395
|
data/Rakefile
CHANGED
@@ -43,3 +43,13 @@ desc "Run tests"
|
|
43
43
|
task :test do
|
44
44
|
ruby("test/run-test.rb")
|
45
45
|
end
|
46
|
+
|
47
|
+
release_task = Rake.application["release"]
|
48
|
+
# We use Trusted Publishing.
|
49
|
+
release_task.prerequisites.delete("build")
|
50
|
+
release_task.prerequisites.delete("release:rubygem_push")
|
51
|
+
release_task_comment = release_task.comment
|
52
|
+
if release_task_comment
|
53
|
+
release_task.clear_comments
|
54
|
+
release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
|
55
|
+
end
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.7.8: 2025-01-15
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* `@add-substitution`: Added support for `"` in substituted and
|
8
|
+
normalized templates.
|
9
|
+
|
10
|
+
## 1.7.7: 2024-11-12
|
11
|
+
|
12
|
+
### Improvements
|
13
|
+
|
14
|
+
* Required json 2.8.1 or later. Because json 2.8.0 changed
|
15
|
+
`JSON.pretty_generate` result.
|
16
|
+
* Note that this broke existing tests. We need to update
|
17
|
+
`.expected` contents with new output.
|
18
|
+
|
3
19
|
## 1.7.6: 2024-09-25
|
4
20
|
|
5
21
|
### Improvements
|
data/grntest.gemspec
CHANGED
@@ -49,7 +49,7 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.add_runtime_dependency("groonga-log")
|
50
50
|
spec.add_runtime_dependency("groonga-query-log", ">= 1.4.1")
|
51
51
|
spec.add_runtime_dependency("groonga-synonym")
|
52
|
-
spec.add_runtime_dependency("json")
|
52
|
+
spec.add_runtime_dependency("json", ">= 2.8.1")
|
53
53
|
spec.add_runtime_dependency("msgpack")
|
54
54
|
spec.add_runtime_dependency("rexml")
|
55
55
|
|
@@ -523,8 +523,10 @@ module Grntest
|
|
523
523
|
substituted, normalized = Shellwords.shellsplit(rest)
|
524
524
|
substituted.force_encoding("UTF-8")
|
525
525
|
normalized.force_encoding("UTF-8")
|
526
|
-
substituted_evaluator =
|
527
|
-
|
526
|
+
substituted_evaluator =
|
527
|
+
TemplateEvaluator.new("<<STRING.chomp\n#{substituted}\nSTRING")
|
528
|
+
normalized_evaluator =
|
529
|
+
TemplateEvaluator.new("<<STRING.chomp\n#{normalized}\nSTRING")
|
528
530
|
@substitutions[pattern] = [
|
529
531
|
compile_pattern(pattern),
|
530
532
|
substituted_evaluator,
|
data/lib/grntest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grntest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
- Haruka Yoshihara
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diff-lcs
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.8.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.8.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: msgpack
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -283,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
283
|
- !ruby/object:Gem::Version
|
284
284
|
version: '0'
|
285
285
|
requirements: []
|
286
|
-
rubygems_version: 3.6.
|
286
|
+
rubygems_version: 3.6.2
|
287
287
|
specification_version: 4
|
288
288
|
summary: Grntest is a testing framework for Groonga. You can write a test for Groonga
|
289
289
|
by writing Groonga commands and expected result.
|