parallel_tests 5.5.0 → 5.6.0

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: d850a10c42ab69c909b57532fd5ae2cb7d7c3af53024f00d3ef1eaebefb2c4c7
4
- data.tar.gz: a63452a8f64c81e4529dc3afa7947ed6b4a03625952b09fff4723c474f18e9e8
3
+ metadata.gz: 34db466ecb3d4a72ee1d4f44ebb67bd4676a93df745163aa0fb2cd981365ec1a
4
+ data.tar.gz: e90ab9fdf7af7a731e5586036dc0b305ae37464caa77e481736ff1919754d7fa
5
5
  SHA512:
6
- metadata.gz: 910b76b85bea7b62cc213d3cd43d755879419823aad07db8a6786cda89fcab58fa5fbac11e483a84dc5fddaba5e5c087f949ee0747b22f06ad00590089c3b0d2
7
- data.tar.gz: 7cbb580dd6438424b86473e4a3a09ad721b7da6e274f37f4aa6473761f4ab64206c08fbe3016447c49b2b7e42b0a92a1916c8aeaa453f7b3251138c7a256ff9c
6
+ metadata.gz: a42a001f0d39194e71db4900d9b979bbb6ccfd7ec947bf6b0d9e68d351badc1f4b453228a5e22a9ab56783ae1ed16f3bc2911f93c68aa9eb82e945ef0896bbbf
7
+ data.tar.gz: 5872ee0b123aed1e52ef43f5eb1785c9bb653351be215c2b00ff2665e2e5debab7b27b6f8a00f6d2b8af9f23080ea0d976b00b2ffb056d1c5eb8026f570bc7b1
@@ -436,7 +436,7 @@ module ParallelTests
436
436
 
437
437
  def report_time_taken(&block)
438
438
  seconds = ParallelTests.delta(&block).to_i
439
- puts "\nTook #{seconds} seconds#{detailed_duration(seconds)}"
439
+ puts "\nTook #{pluralize(seconds, 'second')}#{detailed_duration(seconds)}"
440
440
  end
441
441
 
442
442
  def detailed_duration(seconds)
@@ -110,7 +110,16 @@ module ParallelTests
110
110
  capture_output(io, env, options)
111
111
  end
112
112
  ParallelTests.pids.delete(pid) if pid
113
- exitstatus = $?.exitstatus
113
+
114
+ status = $?
115
+ exitstatus = if status.exitstatus
116
+ status.exitstatus
117
+ elsif status.termsig
118
+ status.termsig + 128
119
+ else
120
+ 1
121
+ end
122
+
114
123
  seed = output[/seed (\d+)/, 1]
115
124
 
116
125
  output = "#{Shellwords.shelljoin(cmd)}\n#{output}" if report_process_command?(options) && options[:serialize_stdout]
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ParallelTests
3
- VERSION = '5.5.0'
3
+ VERSION = '5.6.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.0
4
+ version: 5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-30 00:00:00.000000000 Z
11
+ date: 2026-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -69,9 +69,9 @@ licenses:
69
69
  - MIT
70
70
  metadata:
71
71
  bug_tracker_uri: https://github.com/grosser/parallel_tests/issues
72
- changelog_uri: https://github.com/grosser/parallel_tests/blob/v5.5.0/CHANGELOG.md
73
- documentation_uri: https://github.com/grosser/parallel_tests/blob/v5.5.0/Readme.md
74
- source_code_uri: https://github.com/grosser/parallel_tests/tree/v5.5.0
72
+ changelog_uri: https://github.com/grosser/parallel_tests/blob/v5.6.0/CHANGELOG.md
73
+ documentation_uri: https://github.com/grosser/parallel_tests/blob/v5.6.0/Readme.md
74
+ source_code_uri: https://github.com/grosser/parallel_tests/tree/v5.6.0
75
75
  wiki_uri: https://github.com/grosser/parallel_tests/wiki
76
76
  rubygems_mfa_required: 'true'
77
77
  post_install_message: