grntest 1.7.7 → 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 +7 -0
- data/lib/grntest/executors/base-executor.rb +4 -2
- data/lib/grntest/version.rb +1 -1
- metadata +3 -4
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
@@ -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,15 +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
|
-
original_platform: ''
|
7
6
|
authors:
|
8
7
|
- Kouhei Sutou
|
9
8
|
- Haruka Yoshihara
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: diff-lcs
|
@@ -284,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
283
|
- !ruby/object:Gem::Version
|
285
284
|
version: '0'
|
286
285
|
requirements: []
|
287
|
-
rubygems_version: 3.6.
|
286
|
+
rubygems_version: 3.6.2
|
288
287
|
specification_version: 4
|
289
288
|
summary: Grntest is a testing framework for Groonga. You can write a test for Groonga
|
290
289
|
by writing Groonga commands and expected result.
|