aidp 0.49.25 → 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 +4 -4
- data/lib/aidp/cli/security_command.rb +4 -1
- data/lib/aidp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 751ce2f03c934acfd78d274f2c1e8b89a68b1f90ceacf0cd6c73a8701ddc97a8
|
|
4
|
+
data.tar.gz: 9353a850d2951694bc6adcb065c9a25c3fbc05fda446c29d96fda45a22fe8298
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08e8759e6bb537604055b42603336b452304a3bdcdd40078e6e583d7d4edadefe0c4d95c60729691897badb36c03ed37a9d92eb360f3f97a761256dbcc134dd1'
|
|
7
|
+
data.tar.gz: 37ad0710a255723ab11bde149869b66bcf0288a1281261fda9914ac2badab5c5d2e2f806c92a728a8427345ee5c52cc8d338bceca8f9115f279ca50ab1c6c512
|
|
@@ -370,7 +370,10 @@ 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
|
-
|
|
373
|
+
program, *arguments = command_args.map(&:to_s)
|
|
374
|
+
raise ArgumentError, "command must not be blank" if program.empty?
|
|
375
|
+
|
|
376
|
+
pid = Process.spawn([program, program], *arguments)
|
|
374
377
|
start_time = Time.now
|
|
375
378
|
|
|
376
379
|
loop do
|
data/lib/aidp/version.rb
CHANGED