grntest 1.8.3 → 1.8.4

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: '0013159908bcac111c7776f0a3dadd4e9566c1ca864359e48165f602046d26b8'
4
- data.tar.gz: f586bb84d9337cd155f83c60e246a5f0920b7b80b57038ea111f14d1bef4d806
3
+ metadata.gz: 6455869776dca39246bac4338793e91579836a6762c20fb33a9710c01f38bfff
4
+ data.tar.gz: 5e4f4186f61d6b0d7ba597fe59c0cfa886bd03d7f25227fe835502f801dd6be6
5
5
  SHA512:
6
- metadata.gz: ba6a8777de61c2327f98266c485cc9d0a94932faaab380c6bae046d43cb08ce74fba40d25f71bc180cd60cb40839b343486a03fa474ee59017aa93864beebcb4
7
- data.tar.gz: 801eace8ff064342b324fc33d23da68f803a44dcbe48782dc1c9ba49bd74057869496824fa60c71042588f77c86a8d46066c930e3ae9ac7af778d6bd2a57977f
6
+ metadata.gz: 3c3c5cec9561a57952c72c4e3b2eea956328553308ff9fe84d2b828f142f1f8f0e57d491c4a326dc6cda7d7c95e56bacb497cad319ae4508a41a19e2df781a90
7
+ data.tar.gz: 8ad7895b6201d721efaaab67141ac80af2c589f6f7883206350d3e7cda19470aeba8efa3c925b91689b945ac408c9097544c3b94dcd799a9bb730ba42639dcfa
data/doc/text/news.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # News
2
2
 
3
+ ## 1.8.4: 2026-03-16
4
+
5
+ ### Improvements
6
+
7
+ * Changed to use non-blocking mode for pipe between `grntest` and
8
+ `groonga` for stable test result.
9
+
3
10
  ## 1.8.3: 2025-04-29
4
11
 
5
12
  ### 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", ">= 2.11.3")
52
+ spec.add_runtime_dependency("json", ">= 2.12.0")
53
53
  spec.add_runtime_dependency("msgpack")
54
54
  spec.add_runtime_dependency("rexml")
55
55
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2024 Sutou Kouhei <kou@clear-code.com>
1
+ # Copyright (C) 2012-2026 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
@@ -13,11 +13,12 @@
13
13
  # You should have received a copy of the GNU General Public License
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
- require "pathname"
17
16
  require "fileutils"
17
+ require "io/nonblock"
18
+ require "pathname"
19
+ require "socket"
18
20
  require "tempfile"
19
21
  require "timeout"
20
- require "socket"
21
22
 
22
23
  require "groonga-log"
23
24
  require "json"
@@ -270,7 +271,9 @@ module Grntest
270
271
 
271
272
  def open_pipe
272
273
  IO.pipe("ASCII-8BIT") do |input_read, input_write|
274
+ input_write.nonblock = false
273
275
  IO.pipe("ASCII-8BIT") do |output_read, output_write|
276
+ output_write.nonblock = false
274
277
  yield(input_read, input_write, output_read, output_write)
275
278
  end
276
279
  end
@@ -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.8.3"
17
+ VERSION = "1.8.4"
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.8.3
4
+ version: 1.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 2.11.3
103
+ version: 2.12.0
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: 2.11.3
110
+ version: 2.12.0
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.7
286
+ rubygems_version: 4.0.3
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.