aidp 0.49.26 → 0.49.27

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: ad427b304fbab62202b4bf445c7fdf23a54f034c5b1b5c47110c4f11f9ed7dd2
4
- data.tar.gz: f4177f6fa4a069625e9b1aeec3778a61635841dbb140c31b030936bcc9e781be
3
+ metadata.gz: 751ce2f03c934acfd78d274f2c1e8b89a68b1f90ceacf0cd6c73a8701ddc97a8
4
+ data.tar.gz: 9353a850d2951694bc6adcb065c9a25c3fbc05fda446c29d96fda45a22fe8298
5
5
  SHA512:
6
- metadata.gz: c2054896073c0426e7a76ae6220a77f5f3ea089d2c229f469bd7af720b656339e371500aef4188c7025cb8d3331f712deceee894f86bd9e595d03caa9659d4a6
7
- data.tar.gz: 73106bacf7cd4f8b5f13ce76f1a8d25a9d7ed38a8a61394736dad4572a5659e89f1a91f3f0c395324eeeb99b95a7bff71c5a64b6db11c9055f4e55e40e0593a4
6
+ metadata.gz: '08e8759e6bb537604055b42603336b452304a3bdcdd40078e6e583d7d4edadefe0c4d95c60729691897badb36c03ed37a9d92eb360f3f97a761256dbcc134dd1'
7
+ data.tar.gz: 37ad0710a255723ab11bde149869b66bcf0288a1281261fda9914ac2badab5c5d2e2f806c92a728a8427345ee5c52cc8d338bceca8f9115f279ca50ab1c6c512
@@ -370,7 +370,9 @@ module Aidp
370
370
  # @param timeout [Integer] Timeout in seconds
371
371
  # @return [Integer, Symbol] Exit status or :timeout
372
372
  def run_with_timeout(command_args, timeout)
373
- program, *arguments = command_args
373
+ program, *arguments = command_args.map(&:to_s)
374
+ raise ArgumentError, "command must not be blank" if program.empty?
375
+
374
376
  pid = Process.spawn([program, program], *arguments)
375
377
  start_time = Time.now
376
378
 
data/lib/aidp/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aidp
4
- VERSION = "0.49.26"
4
+ VERSION = "0.49.27"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aidp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.26
4
+ version: 0.49.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan