aidp 0.49.22 → 0.49.24

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: 6cb8dcb8dbf9eb841ad69223a465c30329b9e9ed29853ddb168e237a6f3bebfb
4
- data.tar.gz: 39d511353116c51196a464c85775ea9227f6e40ccd5028a7174fe048d7adc567
3
+ metadata.gz: 9f5c77b9a8a52b78ccff3a2e0556f0fac66566ac04115fe8e067b3ee90c5183b
4
+ data.tar.gz: 5540c17626531734d463bb12dabd4bf21a5f414306712208cbb40ad9818eea53
5
5
  SHA512:
6
- metadata.gz: cb5c58bbf3c79069585f2341f9b4839d2d03489f6a50bebba5b05d971f6deb4184050d987b6bc07547e79938de204ca44a45dfe112622b12b8d42f488dcc28d7
7
- data.tar.gz: 555d5538815206f1ce3fd104a6a5f8c93b243320993fb73d0fdc9ac05d1f01e59197886d2f806b5a02dce45d9dd705305107f3ef388086aed987c1cf646cf1c4
6
+ metadata.gz: b5cd7d017600cdfbe5e153e8f045fa9b181a47ba0d249330708bdb345d6fbbba7328430a32a4dec6bc84e034696ebb96252afef60ff9c93cfa5a3001f7f67e7a
7
+ data.tar.gz: df758ce7f6ac7ef17e3872d4d8d80fccc41f5a029b84eb09f72f20ac143257d87ae900a272b23a58affd8876f6f9024d7427f5719694b3ba63a0a41e1e3800ef
@@ -195,7 +195,8 @@ module Aidp
195
195
 
196
196
  def execute_command(command, args, input_data, timeout, options)
197
197
  env = options.delete(:env) || {}
198
- Open3.popen3(env, command.to_s, *args.map(&:to_s), **options) do |stdin, stdout, stderr, wait_thread|
198
+ program = command.to_s
199
+ Open3.popen3(env, [program, program], *args.map(&:to_s), **options) do |stdin, stdout, stderr, wait_thread|
199
200
  write_input(stdin, input_data)
200
201
  out_reader = Thread.new { read_stream(stdout) }
201
202
  err_reader = Thread.new { read_stream(stderr) }
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.22"
4
+ VERSION = "0.49.24"
5
5
  end
@@ -357,7 +357,8 @@ module Aidp
357
357
  # data instead of being interpreted by a shell.
358
358
  def run_git_command(command, *args)
359
359
  Dir.chdir(@project_dir) do
360
- output, status = Open3.capture2e(command, *args)
360
+ program = command.to_s
361
+ output, status = Open3.capture2e([program, program], *args.map(&:to_s))
361
362
  raise StandardError, output unless status.success?
362
363
  output
363
364
  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.22
4
+ version: 0.49.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan