process_executer 4.0.2 → 4.0.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: a033cd4abe84b2a664cb59bd5a3110302a478d871e096ecde3031fc76278f324
4
- data.tar.gz: 5de784c728d11852efac17fb035e15e9e3c2f35ff36e402f260cf011a3ce55b8
3
+ metadata.gz: 326f0746501479260d59d78579f9ff9e049a516a7b76e177e7ade04b90f0eece
4
+ data.tar.gz: 7352423248b6d8d7b1785e450ff0aae1c836fa1dfcc2a4e6b791d29d8a3d386c
5
5
  SHA512:
6
- metadata.gz: 0c5b2ae5438c7c263b1105b8e6a5d4ecf18b0836a5cc1a376b610fae3adbee123f851b8357b5113ff1bb35af5048af08f9a2d0b1ac50bc89a7234b2480727c9e
7
- data.tar.gz: d29494c96b22e31e994a880d7a3c514c7e13d08d695e41794ed2609f76048dc2e4c8a995d48eb5babe8f5da27a9649dce5198baf09c35828a40547bba149c382
6
+ metadata.gz: 2147f37dc71f48a5c8a525103bc517d4be9bf4fde29f1a7d4d12952cf42976c96567256c5eea8ffe101d409829f63011093828551bc30fc779627978df7219c7
7
+ data.tar.gz: 175fe9b38d29b3b6c7441293ca837344231019f22d0cb815013cd766f606487873ebb062134e00a493f3a5c41a7f1f5b6c2d3e152ea51ab800f12536aa695d50
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.0.2"
2
+ ".": "4.0.4"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -5,6 +5,25 @@ All notable changes to the process_executer gem will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.0.4](https://github.com/main-branch/process_executer/compare/v4.0.3...v4.0.4) (2026-04-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **rubocop:** Fix offenses introduced by new rubocop cops ([b21ca99](https://github.com/main-branch/process_executer/commit/b21ca991641784146b0c92c1dd3205fc9d2c0f4f))
14
+
15
+
16
+ ### Other Changes
17
+
18
+ * **dependencies:** Update dependencies for all GitHub Actions workflows ([3524dbf](https://github.com/main-branch/process_executer/commit/3524dbf8b5945c233be96381f4555407b537f236))
19
+
20
+ ## [4.0.3](https://github.com/main-branch/process_executer/compare/v4.0.2...v4.0.3) (2026-01-04)
21
+
22
+
23
+ ### Other Changes
24
+
25
+ * Note JRuby Windows support issue ([4cc6903](https://github.com/main-branch/process_executer/commit/4cc69036bbdda383a8ecb50bd63b19f96303203a))
26
+
8
27
  ## [4.0.2](https://github.com/main-branch/process_executer/compare/v4.0.1...v4.0.2) (2026-01-03)
9
28
 
10
29
 
data/README.md CHANGED
@@ -203,17 +203,12 @@ This gem will be expected to function correctly on:
203
203
  - The latest version of TruffleRuby 24+ on Linux
204
204
 
205
205
  It is this project's intent to support the latest version of JRuby on Windows once
206
- Process.wait2 and Process.wait work correctly on this platform.
206
+ Process.wait and Process.wait2 report subprocess status correctly on that platform
207
+ (tracking: https://github.com/main-branch/process_executer/issues/156).
207
208
 
208
- Currently, JRuby on Windows does not capture and report the subprocess status via $?
209
- (or $CHILD_STATUS), Process.wait, or Process.wait2. These values always return `nil`
210
- for the status, preventing this gem from properly detecting command failures and
211
- timeouts.
212
-
213
- This repository includes a separate test suite in the `process_spawn_test/` directory
214
- that specifically validates JRuby's subprocess behavior. The [Process Spawn Test
215
- workflow](https://github.com/main-branch/process_executer/actions/workflows/process-spawn-test.yml)
216
- can be run manually to verify the status of this issue.
209
+ This repository includes a separate test suite in the `process_spawn_test/` directory.
210
+ The [Process Spawn Test workflow](https://github.com/main-branch/process_executer/actions/workflows/process-spawn-test.yml)
211
+ can be run manually to check the current JRuby/Windows status.
217
212
 
218
213
  ## Breaking Changes
219
214
 
@@ -76,7 +76,7 @@ module ProcessExecuter
76
76
  destination_classes =
77
77
  ProcessExecuter::Destinations.constants
78
78
  .map { |const| ProcessExecuter::Destinations.const_get(const) }
79
- .select { |const| const.is_a?(Class) }
79
+ .grep(Class)
80
80
  .reject { |klass| klass == ProcessExecuter::Destinations::DestinationBase }
81
81
 
82
82
  destination_classes.find { |klass| klass.handles?(destination) }
@@ -87,8 +87,8 @@ module ProcessExecuter
87
87
  #
88
88
  def allowed_options
89
89
  @allowed_options ||=
90
- define_options.each_with_object({}) do |option, hash|
91
- hash[option.name] = option
90
+ define_options.to_h do |option|
91
+ [option.name, option]
92
92
  end.freeze
93
93
  end
94
94
 
@@ -3,5 +3,5 @@
3
3
  module ProcessExecuter
4
4
  # The current Gem version
5
5
  # @return [String]
6
- VERSION = '4.0.2'
6
+ VERSION = '4.0.4'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: process_executer
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Couball
@@ -293,8 +293,8 @@ metadata:
293
293
  allowed_push_host: https://rubygems.org
294
294
  homepage_uri: https://github.com/main-branch/process_executer
295
295
  source_code_uri: https://github.com/main-branch/process_executer
296
- documentation_uri: https://rubydoc.info/gems/process_executer/4.0.2
297
- changelog_uri: https://rubydoc.info/gems/process_executer/4.0.2/file/CHANGELOG.md
296
+ documentation_uri: https://rubydoc.info/gems/process_executer/4.0.4
297
+ changelog_uri: https://rubydoc.info/gems/process_executer/4.0.4/file/CHANGELOG.md
298
298
  rubygems_mfa_required: 'true'
299
299
  rdoc_options: []
300
300
  require_paths:
@@ -312,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  requirements:
313
313
  - 'Platform: Mac, Linux, or Windows'
314
314
  - 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
315
- rubygems_version: 4.0.3
315
+ rubygems_version: 4.0.6
316
316
  specification_version: 4
317
317
  summary: Enhanced subprocess execution with timeouts, output capture, and flexible
318
318
  redirection