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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 417256a76006a053e9a8222481058f0435ad42d88087880a6b92814861cd8cc4
4
- data.tar.gz: 6566eed404fb51944bcaf4a3c359f3fadf7e386dbaa1864a45287114a69834d1
3
+ metadata.gz: 752069b1fbd54477134ea42d54fea3097660e6189b6cb93d5934830bc9c8d0ca
4
+ data.tar.gz: a1003ddfd8e94e76fbe216ecb7b66a85988aee59e55a440640f99cf20d3e6e29
5
5
  SHA512:
6
- metadata.gz: 736f768bc6cf5e4cf4d1804b1ad54bdbf1e5e1962a5f6d7a8e76f01cdf00931d3c009dc9de8f8a920d5f3c4dd7476ce11479a4e14a63a36656ad68a10efef6ac
7
- data.tar.gz: 758b54b31db6f51624b32b645b3a51fe2e6863f3fefdf139e47a9dd3d99f0beafe93d591c1eab166d1379ded4e68b92578f46ef5c04b6429e1d023b9eec2c579
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,12 @@
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
+
3
10
  ## 1.7.7: 2024-11-12
4
11
 
5
12
  ### Improvements
@@ -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 = TemplateEvaluator.new("\"#{substituted}\"")
527
- normalized_evaluator = TemplateEvaluator.new("\"#{normalized}\"")
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,
@@ -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.7.7"
17
+ VERSION = "1.7.8"
18
18
  end
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.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: 2024-11-12 00:00:00.000000000 Z
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.0.dev
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.